:root {

    --gradient-card:  #23403c;

    --main_filter: hue-rotate(0deg);

    --gradient-soft: linear-gradient(
            100deg,
            rgb(10, 51, 45) 0%,
            rgb(12, 70, 58) 10%,
            rgb(15, 88, 70) 20%,
            rgb(18, 104, 81) 50%,
            rgb(22, 120, 91) 100%
    );

    --gradient-button:  linear-gradient(
    90deg,
    rgb(12 57 49 / 100%) 0%,
    rgb(17 74 64 / 100%) 30%,
    rgb(22 90 77 / 100%) 60%,
    rgb(28 111 96 / 100%) 100%
);
    --gradient-button-hover: linear-gradient(
            0deg,
            rgb(12 57 49 / 100%) 0%,
            rgb(17 74 64 / 100%) 30%,
            rgb(22 90 77 / 100%) 60%,
            rgb(28 111 96 / 100%) 100%
    );

    --text-color-title-with-background: white ;
    --text-color-subtitle-with-background: #d2f1ff ;
    --text-color-title: black;
    --text-color-subtitle: #003080;

}
/*Color-header*/
.offer h2,
.living h2,
.want h2,
.responsibilities h2,
.apply-section h2{
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.4px;
    font-family: "Cambria Math";
    text-align: left;
    font-size: 30px;
    text-align: center;

}
.offer h2, .want h2 {
    color: var(--text-color-title);
}
/*with-background*/
.living h2, .responsibilities h2 {
    color: var(--text-color-title-with-background);
}
/* Buttons */
.button-main {
    display: inline-block;
    background: var(--gradient-button);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease; /* ← плавность */
    font-size: 18px;
    border:1px solid;
}

.button-main:hover {
    background: var(--gradient-button-hover);
    transform: scale(1.03);
}
.button-main:active {
    transform: scale(0.97);
}


/* ==== GLOBAL ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: Arial, sans-serif;
    color: #111;
    line-height: 1.4;
    width: 100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;        /*  display:flex */
}

/* ==== TOP BANNER ==== */
.top-banner { position: relative; }


.topbar {
    background: var(--gradient-soft);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.header-logo{
    display: flex;
    flex-direction:row;
    gap: 5px;
}
.header-logo img{
    width: 30px;
}
.header-logo span{
    padding: 6px;
}

/*.banner-bg {*/
/*    position: relative;*/
/*    height: 400px;*/
/*    background: url("img/bg/png/bg_header.png") no-repeat center center;*/
/*    background: image-set(*/
/*            url("img/bg/avif/bg_header.avif") type("image/avif"),*/
/*            url("img/bg/webp/bg_header.webp") type("image/webp"),*/
/*            url("img/bg/png/bg_header.png") type("image/png")*/
/*    ) no-repeat center center;*/
/*    background-size: cover;*/
/*    filter: var(--main_filter);*/
/*             */
/*}*/
.banner-bg {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
            /*url(img/bg/avif/bg_header.avif) type("image/avif"),*/
            /*url(img/bg/webp/bg_header.webp) type("image/webp"),*/
            url(img/bg/png/header.png) type("image/png")
    ) no-repeat center center;
    background-size: cover;
    filter: var(--main_filter); /* фильтр теперь только для фона */
    z-index: 0;
}

.banner-bg > * {
    position: relative;
    z-index: 1; /* контент поверх фона */
}


.banner-box {
    height: 60%;
    position: relative;
    top: 10%;
    left: 5%;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    padding: 24px 28px;
    max-width: 480px;
    z-index: 1;
}
.banner-box .sub {
    font-size: 12px; font-weight: 700;
    color: #7c7c7c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.banner-box h1 {
    margin: 10px 0 18px;
    font-size: 24px; font-weight: 800; color: #111;
}



@media (max-width: 600px) {
    .banner-bg { height: 240px; }
    .header-logo span {
        font-size: 12px;
        width: 60%;
    }
    .banner-box {
        padding: 16px;
        max-width: 90%;
        height: 75%;
    }
    .banner-box h1 { font-size: 18px; }

}

/* ==== INFO SECTION ==== */
.info-section {

    background: var(--gradient-soft);
    color: #fff;
    padding: 60px 0;
}
.info-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.info-text {
    padding: 40px;
    border-radius: 30px;
    background: var(--gradient-card);
    box-shadow: 0 12px 12px rgb(111 64 12);

}
.info-text h2 {
    font-family: "Cambria Math";
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
.info-text ul { list-style: none; padding: 0; margin: 0; }
.info-text ul li { margin: 10px 0; font-size: 20px; }


.info-image{
    position: relative;
    display: inline-block;
    padding: 10px;
    /*background: rgba(255,255,255,0.12);*/
    /*border: 1px solid rgba(255,255,255,0.3);*/
    /*backdrop-filter: blur(12px);*/
    /*-webkit-backdrop-filter: blur(12px);*/
    /*box-shadow: 0 8px 32px rgba(0,0,0,0.3);*/
    /*clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);*/
    overflow: hidden; /* важно для clip-path */
}
.video-frame{
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgb(89 16 0 / 95%);
}
.info-image img{
    display: block; width: 100%; height: auto; object-fit: cover;
    transition: transform .3s ease;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}
.info-image img:hover{ transform: scale(1.02); }


@media (max-width: 768px) {
    .info-section .container { grid-template-columns: 1fr; text-align: center; }
    .info-image { margin-top: 20px; }
}

@media (max-width: 560px){
    .info-text {
        text-align: left;
    }
    .info-text h2 {
        font-size: 20px;
    }
    .info-text ul li {
        margin: 10px 0;
        font-size: 16px;
    }
}
/* === 3D Hover Effect for Info Card === */
.info-section .container {
    perspective: 1000px; /*  3D */
}

.info-text {
    position: relative;
    transform-style: preserve-3d;
    transition:
            transform 0.5s cubic-bezier(.25,.8,.25,1),
            box-shadow 0.4s ease;
}

.info-text:hover {
    transform: rotateY(6deg) rotateX(3deg) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

/* === INFO TEXT 3D hover effect (like .offer-item) === */
.info-section .container {
    perspective: 1200px; /* 3D */
}

.info-text {
    position: relative;
    padding: 40px;
    border-radius: 30px;
    background: var(--gradient-card);
    box-shadow: 0 12px 12px rgb(0 0 0 / 55%);
    transform-style: preserve-3d;
    transition:
            transform 0.4s cubic-bezier(.25,.8,.25,1),
            box-shadow 0.4s ease,
            border-color 0.3s ease;
}

/* 🔹 Поведение при наведении — как у карточек offer */
.info-text:hover {
    transform: rotateY(8deg) rotateX(4deg) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

/* 🔹 Мягкий световой отблеск, как у стекла */
.info-text::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    pointer-events: none;
    background: radial-gradient(circle at top left,
    rgba(255,255,255,0.25) 0%,
    rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-text:hover::after {
    opacity: 1;
}



/* ==== OUR OFFER ==== */
.offer {
    position: relative;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}

/* Фон и фильтр */
.offer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
            /*url(img/bg/avif/bg_offer.avif) type("image/avif"),*/
            /*url(img/bg/webp/bg_offer.webp) type("image/webp"),*/
            url(img/bg/png/bg_offer.png) type("image/png")
    ) center / cover no-repeat fixed;

    filter: var(--main_filter);
    z-index: 0;
    transition: filter 0.4s ease;
}

/* Контент выше фона */
.offer > * {
    position: relative;
    z-index: 1;
}
.offer h2 {}


.offer-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* десктоп: 3 */
    gap: 30px;
}
@media (max-width: 1024px){
    .offer-grid{ grid-template-columns: repeat(2, 1fr); } /* планшет: 2 */
}
@media (max-width: 640px){
    .offer-grid{ grid-template-columns: 1fr; }           /* мобайл: 1 */
}


.offer-item{
    display: flex; flex-direction: column;
    padding: 20px;
    border: 1px solid #e0e0e0; border-radius: 12px;
    background: #fff;
    background: var(--gradient-soft);

    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 10px 16px rgb(0 0 0 / 67%);
}
.offer-item:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #d6e7ff;
}

.offer-item-icon{
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    border-radius: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: rgb(255 255 255);
    /* border: 1px solid #e8eef7; */
    box-shadow: 0 10px 16px rgb(0 0 0 / 67%);
    image-rendering: -webkit-optimize-contrast;
    filter: var(--main_filter);
}


/* Pic 1 */
.offer-item-icon.i1 {
    background-image: url("img/2. Offer/png/1.png"); /* fallback */
    background-image: image-set(
            url("img/2. Offer/avif/1.avif") type("image/avif"),
            url("img/2. Offer/webp/1.webp") type("image/webp"),
            url("img/2. Offer/png/1.png") type("image/png")
    );

}

/* Pic 2 */
.offer-item-icon.i2 {
    background-image: url("img/2. Offer/png/2.png");
    background-image: image-set(
            url("img/2. Offer/avif/2.avif") type("image/avif"),
            url("img/2. Offer/webp/2.webp") type("image/webp"),
            url("img/2. Offer/png/2.png") type("image/png")
    );
}

/* Pic 3 */
.offer-item-icon.i3 {
    background-image: url("img/2. Offer/png/3.png");
    background-image: image-set(
            url("img/2. Offer/avif/3.avif") type("image/avif"),
            url("img/2. Offer/webp/3.webp") type("image/webp"),
            url("img/2. Offer/png/3.png") type("image/png")
    );
}

/* Pic 4 */
.offer-item-icon.i4 {
    background-image: url("img/2. Offer/png/4.png");
    background-image: image-set(
            url("img/2. Offer/avif/4.avif") type("image/avif"),
            url("img/2. Offer/webp/4.webp") type("image/webp"),
            url("img/2. Offer/png/4.png") type("image/png")
    );
}

/* Pic 5 */
.offer-item-icon.i5 {
    background-image: url("img/2. Offer/png/5.png");
    background-image: image-set(
            url("img/2. Offer/avif/5.avif") type("image/avif"),
            url("img/2. Offer/webp/5.webp") type("image/webp"),
            url("img/2. Offer/png/5.png") type("image/png")
    );
}

/* Pic 6 */
.offer-item-icon.i6 {
    background-image: url("img/2. Offer/png/6.png");
    background-image: image-set(
            url("img/2. Offer/avif/6.avif") type("image/avif"),
            url("img/2. Offer/webp/6.webp") type("image/webp"),
            url("img/2. Offer/png/6.png") type("image/png")
    );

}




.offer-item .icon{
    font-size: 40px; margin-bottom: 12px; color: #0072ff;
}
.offer-item h3{
    margin: 14px 0 0;
    line-height: 1.2;
    letter-spacing: 1.5;
    color: var(--text-color-title-with-background);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Cambria Math";
}
.offer-item p{
    margin: 14px 0 0;
    line-height: 1.2;
    min-height: 20%;
    color: var(--text-color-subtitle-with-background);
    font-size: 18px;

    font-family: "Cambria Math";
}
.offer-item .details{
    margin: 15px 0 0;
    line-height: 1.2;
    color: var(--text-color-subtitle-with-background);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Cambria Math";
    text-decoration: none;

    transition: all 0.3s ease-out allow-discrete;
}
.offer-item .details:hover{
    text-decoration: underline;
    color: var(--text-color-title-with-background);
}
.offer-item .details:active{

    transform: scale(.95);
}

.modal-data{ display: none; }


.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1200px; /* 3D */
}

@media (max-width: 1024px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .offer-grid { grid-template-columns: 1fr; }
}

.offer-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: var(--gradient-soft);
    box-shadow: 0 10px 16px rgb(0 0 0 / 67%);
    transition:
            transform 0.5s cubic-bezier(.25,.8,.25,1),
            box-shadow 0.3s ease,
            border-color 0.3s ease;
    transform-style: preserve-3d; /* важное свойство для 3D */
}

/* 🔹 Эффект при наведении */
.offer-item:hover {
    transform: rotateY(8deg) rotateX(4deg) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
    border-color: #d6e7ff;
}

/* ==== MODAL ==== */
.modal{
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.modal.show{ opacity: 1; visibility: visible; }
.modal-content{
    background: #fff; border-radius: 12px; padding: 24px;
    max-width: 500px; width: 90%; position: relative;
    transform: translateY(-20px); transition: transform .3s ease;
}


.modal.show .modal-content{
    transform: translateY(0);
    padding: 30px;
}

.modal-body{
    display:flex;
    flex-direction: column;
}

.modal-content ul{
    padding: 5px 30px;
}
.modal-btn {
    margin: 0 auto;
    width: 50%;
    text-align: center;
    display: inline-block;
    background: var(--gradient-card);
    color: #fff;
    padding: 10px 18px; border-radius: 6px;
    text-decoration: none; font-weight: 600;
}
.modal-btn:hover {
    background: #1e1e1e;
}

.modal-close{ position: absolute; top: 10px; right: 14px; font-size: 24px; cursor: pointer; color: #333; }
.modal-content h3{
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    font-family: "Cambria Math";
}
.modal-content p{ margin: 12px 0 18px; font-size: 15px; line-height: 1.5; }






/* ===== LIVING CONDITIONS ===== */
.living{
    background: var(--gradient-soft);
    color:#fff;
    padding: 56px 0;
    text-align:center;
}
.living h2{}

/* : 4 → 2 → 1 */
.living-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
    align-items:start;
}
@media (max-width: 1024px){
    .living-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
    .living-grid{ grid-template-columns: 1fr; }
}
.living-item{
    height: 100%;

    border-radius: 50px;
    padding: 10px;

}
/*  */
.living-item p{
    margin: 14px 0 0;
    line-height: 1.2;
    letter-spacing: 1.5;
    color: var(--text-color-title-with-background);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Cambria Math";


}



.living-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 14px;
    background-color: rgb(255 255 255);
    border-radius: 20px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    filter: var(--main_filter);

}


.living-icon.i1 {
    background-image: url("img/3. Living/png/1.png"); /* fallback */
    background-image: image-set(
            url("img/3. Living/avif/1.avif") type("image/avif"),
            url("img/3. Living/webp/1.webp") type("image/webp"),
            url("img/3. Living/png/1.png") type("image/png")
    );
}
.living-icon.i2 {
    background-image: url("img/3.Living/png/2.png");
    background-image: image-set(
            url("img/3. Living/avif/2.avif") type("image/avif"),
            url("img/3. Living/webp/2.webp") type("image/webp"),
            url("img/3. Living/png/2.png") type("image/png")
    );
}
.living-icon.i3 {
    background-image: url("img/3. Living/png/3.png");
    background-image: image-set(
            url("img/3. Living/avif/3.avif") type("image/avif"),
            url("img/3. Living/webp/3.webp") type("image/webp"),
            url("img/3. Living/png/3.png") type("image/png")
    );
}
.living-icon.i4 {
    background-image: url("img/3.Living/png/4.png");
    background-image: image-set(
            url("img/3. Living/avif/4.avif") type("image/avif"),
            url("img/3. Living/webp/4.webp") type("image/webp"),
            url("img/3. Living/png/4.png") type("image/png")
    );
}

@media (max-width: 560px){
    .living-icon{
        width: 250px;
        aspect-ratio: auto;
    }
    .living-icon img{ width:48px; height:48px; }
    .living-item p{ font-size:18px; }
}
/* ===== WE WANT TO SEE (background-image) ===== */
.want {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    text-align: center;
    z-index: 0;
}

/* Фон с фильтром */
.want::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
            /*url(img/bg/avif/bg_want.avif) type("image/avif"),*/
            /*url(img/bg/webp/bg_want.webp) type("image/webp"),*/
            url(img/bg/png/bg_want.png) type("image/png")
    ) center / cover no-repeat fixed;

    filter: var(--main_filter);
    z-index: 0;
    transition: filter 0.4s ease;
}

/* Контент поверх */
.want > * {
    position: relative;
    z-index: 1;
}


.want h2{ }


.want-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:24px 32px;
}
@media (max-width: 720px){
    .want-grid{ grid-template-columns: 1fr; }
}

/* карточка */
.want-card{
    display:flex; align-items:center; gap:18px;
    padding:20px 25px;
    background: var(--gradient-soft);
    background-attachment: fixed;


    box-shadow: 0 10px 16px rgb(0 0 0 / 67%);
    border-radius: 20px
    transform-style: preserve-3d;
    transition:
            transform 0.4s cubic-bezier(.25,.8,.25,1),
            box-shadow 0.4s ease,
            border-color 0.3s ease;
}


.want-thumb{
    flex: 0 0 150px;
    width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f6f8fc;
    border: 1px solid #e8eef7;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transition: transform .2s    ease, box-shadow .2s    ease;
    filter: var(--main_filter);
}
.want-thumb:hover{
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.want-text{
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-color-title-with-background);
    text-transform: uppercase;
    font-family: "Cambria Math";
    text-align: left;
    margin: 14px 0 0;
    padding-left: 12px;
}

/* мобильные правки */
@media (max-width: 720px){
    .want-card{ padding:16px 18px; }
    .want-thumb{ flex-basis:80px; width:80px; border-radius:12px; }
}


.want-thumb.i1 {
    background-image: image-set(
            url("img/4. Want/avif/1.avif") type("image/avif"),
            url("img/4. Want/webp/1.webp") type("image/webp"),
            url("img/4. Want/png/1.png") type("image/png")
    );
}

.want-thumb.i2 {
    background-image: image-set(
            url("img/4. Want/avif/2.avif") type("image/avif"),
            url("img/4. Want/webp/2.webp") type("image/webp"),
            url("img/4. Want/png/2.png") type("image/png")
    );
}

.want-thumb.i3 {
    background-image: image-set(
            url("img/4. Want/avif/3.avif") type("image/avif"),
            url("img/4. Want/webp/3.webp") type("image/webp"),
            url("img/4. Want/png/3.png") type("image/png")
    );
}

.want-thumb.i4 {
    background-image: image-set(
            url("img/4. Want/avif/4.avif") type("image/avif"),
            url("img/4. Want/webp/4.webp") type("image/webp"),
            url("img/4. Want/png/4.png") type("image/png")
    );
}

.want-thumb.i5 {
    background-image: image-set(
            url("img/4. Want/avif/5.avif") type("image/avif"),
            url("img/4. Want/webp/5.webp") type("image/webp"),
            url("img/4. Want/png/5.png") type("image/png")
    );
}

.want-thumb.i6 {
    background-image: image-set(
            url("img/4. Want/avif/6.avif") type("image/avif"),
            url("img/4. Want/webp/6.webp") type("image/webp"),
            url("img/4. Want/png/6.png") type("image/png")
    );
}


/* === UNIVERSAL 3D CARD EFFECT === */
.want-grid,
.resp-list {
    perspective: 1200px; /* 3D */
    padding: 40px;
}



/* ===== JOB RESPONSIBILITIES (image left, text right) ===== */
.responsibilities{
    background: var(--gradient-soft);
    color:#fff;
    padding:56px 0;
}
.responsibilities h2{}

.resp-list{ display:flex; flex-direction:column; gap:18px; }


.resp-row{
    display:grid;
    grid-template-columns: 320px 1fr;
    align-items:center;
    gap:22px;
    padding:18px 20px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.45);
    background: var(--gradient-card);
    box-shadow: 0 8px 26px rgba(0,0,0,.12);

    box-shadow: 0 12px 16px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
    transition:
            transform 0.4s cubic-bezier(.25,.8,.25,1),
            box-shadow 0.4s ease;
}
resp-row:hover {
    transform: rotateY(6deg) rotateX(3deg) scale(1.03);
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

.resp-hero{
    position:relative;
    border-radius:12px;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow:hidden;
    filter: var(--main_filter);
}

.resp-copy h3{
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-color-title-with-background);
    text-transform: uppercase;
    font-family: "Cambria Math";
    text-align: left;
}
.resp-copy p{
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-color-subtitle-with-background);
    /* text-transform: uppercase; */
    font-family: "Cambria Math";
    text-align: left;
    margin: 14px 0 0;
}

@media (max-width: 1024px){
    .resp-row{ grid-template-columns: 260px 1fr; }
}
@media (max-width: 720px){
    .resp-row{ grid-template-columns: 1fr; }
    .resp-hero{ order:1; }
    .resp-copy{ order:2; }
}

.resp-hero.i1 {
    background-image: image-set(
            url("img/5. Responsibilities/avif/1.avif") type("image/avif"),
            url("img/5. Responsibilities/webp/1.webp") type("image/webp"),
            url("img/5. Responsibilities/png/1.png") type("image/png")
    );
}

.resp-hero.i2 {
    background-image: image-set(
            url("img/5. Responsibilities/avif/2.avif") type("image/avif"),
            url("img/5. Responsibilities/webp/2.webp") type("image/webp"),
            url("img/5. Responsibilities/png/2.png") type("image/png")
    );
}

.resp-hero.i3 {
    background-image: image-set(
            url("img/5. Responsibilities/avif/3.avif") type("image/avif"),
            url("img/5. Responsibilities/webp/3.webp") type("image/webp"),
            url("img/5. Responsibilities/png/3.png") type("image/png")
    );
}


/* === RESPONSIBILITIES BLOCK === */

@media (max-width: 768px) {
    .want-card:hover,
    .resp-row:hover {
        transform: none;
        box-shadow: 0 12px 12px rgba(0,0,0,0.4);
    }
    .want-card::after,
    .resp-row::after {
        opacity: 0 !important;
    }
}

/* ===== APPLY (FORM) SECTION ===== */
.apply-section {
    position: relative;
    padding: 64px 0;
    min-height: 600px;
    overflow: hidden;
    z-index: 0;
}


.apply-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
            /*url(img/bg/avif/bg_application.avif) type("image/avif"),*/
            /*url(img/bg/webp/bg_application.webp) type("image/webp"),*/
            url(img/bg/png/bg_application.png) type("image/png")
    ) center / cover no-repeat fixed;

    filter: var(--main_filter);
    z-index: 0;
    transition: filter 0.4s ease;
}


.apply-section > * {
    position: relative;
    z-index: 1;
}



.apply-center{
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    min-height: 400px;
    padding: 24px 24px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.65);
    background: var(--gradient-soft);
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
    color: #fff;
}
.apply-main{
    display:none;
}
.apply-main.active {
    display: block;

}
.apply_submit{
    display: none;
}
.apply_submit.active {
    display: block;
}

.apply-tab{
    position: absolute;
    top: -16px; left: 24px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.75);
    background: #463000;
    color: #fff; font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.apply-lead{
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-color-subtitle-with-background);
    /* text-transform: uppercase; */
    font-family: "Cambria Math";
    text-align: left;
    margin: 14px 0 0;
    margin-bottom: 30px;
    padding: 10px 30px;
}

.apply-form .field{
    display:flex; flex-direction:column; gap:8px;
    margin-bottom: 14px;
}
.apply-form .field span{
    font-size: 14px; color: rgba(255,255,255,.95);
}
.apply-form input[type="text"],
.apply-form input[type="email"]{
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.65);
    background: #fff;
    color: #111;
    box-shadow: inset 0 1px 0 rgba(0,0,0,.06);
}
.apply-form input::placeholder{ color:#98a2b3; }


.btn-apply{
    margin-top: 8px;
    display:inline-block;
    border:none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    color:#fff;
    background: var(--gradient-card);
    cursor:pointer;
    box-shadow: 0 8px 28px rgba(10,110,240,.35);
    transition: transform .06s ease, filter .2s ease;
}
.btn-apply:hover{
    filter: brightness(1.02);
    background: #1d262e42;
    transform: scale(1.03);
}
.btn-apply:active{
    transform: scale(.97);
}

/* honeypot */
.hp{ display:none !important; }

@media (max-width: 680px){
    .apply-card{ padding: 20px; border-radius: 16px; }
    .apply-tab{ left: 20px; }
    .apply-lead{ font-size: 15px; }
}
/* ===== FOOTER ===== */
.site-footer{
    background:  var(--gradient-soft);
    border-top:1px solid #e9eef6;
    padding:24px 0;
}
.site-footer .container{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
}

.footer-logo img{
    display:block;
    height:40px;         
    width:auto;
    filter: saturate(0.95);
}

.footer-links{
    display:grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap:12px 40px;
}
.footer-links .col{
    list-style:none;
    margin:0; padding:0;
}
.footer-links a{
    display:block;
    padding:6px 0;
    color: var(--text-color-subtitle-with-background);
    text-decoration:none;
    font-size:15px;
}

.footer-links a:hover{
    color: var(--text-color-title-with-background);
}

/* mobile */
@media (max-width: 700px){
    .site-footer .container{
        flex-direction:column;
        align-items:flex-start;
    }
    .footer-links{
        grid-template-columns: 1fr;
        gap:8px 0;
    }
}

.simple_page{
    margin-top: 40px;
    padding: 30px;
}