/* ===== БАЗА ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2f2a28;
    background: #f6f1ed;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

/* ===== HEADER ===== */


/* .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    padding: 28px 0;
}
*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: #2b2b2b;
    min-width: 140px;
}

.logo-main {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.logo-sub {
    margin-top: -4px;
    margin-left: 34px;
    font-family: "Brush Script MT", cursive;
    font-size: 22px;
    font-weight: 400;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    font-size: 16px;
    font-weight: 400;
    color: #46413f;
    transition: color 0.25s ease;
}

.main-menu a:hover {
    color: #a67c52;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 140px;
    justify-content: flex-end;
}

.header-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(47, 42, 40, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
}

.header-socials a:hover {
    background: #2f2a28;
    color: #fff;
    border-color: #2f2a28;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #2f2a28;
}




/* мобильная панель по умолчанию скрыта */
.header-mobile-bar {
    display: none;
}

.mobile-menu {
    display: none;
}




.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

}

/* верхняя строка */
.header-contacts__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Telegram */
.header-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #2a2523;
    transition: all 0.3s ease;
}

.header-telegram:hover {
    background: #2a2523;
    color: #fff;
}

/* телефон */
.header-phone {
    font-size: 14px;
    color: #2a2523;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* кнопка */
.header-callback-btn {
    font-size: 13px;
    background: none;
    border: none;
    border-bottom: 1px dashed #b58b5a;
    color: #b58b5a;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.header-callback-btn:hover {
    opacity: 0.7;
}




/* =========================
   MOBILE HEADER ONLY
========================= */


@media (max-width: 768px) {



    .header-contacts {
        display: none;
    }

    .site-header {
        padding: 10px 0;
        border-bottom: 1px solid rgba(185, 165, 145, 0.14);
        box-shadow: 0 8px 24px rgba(42, 33, 27, 0.05);
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    /* скрываем старую десктопную версию */
    .main-nav,
    .header-socials {
        display: none !important;
    }

    /* показываем мобильную */
    .header-mobile-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-mobile-logo {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
    }

    .header-mobile-logo img {
        display: block;
        height: 42px;
        width: auto;
        max-width: 90px;
        object-fit: contain;
    }

    .header-mobile-messengers {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }

    .header-mobile-msg {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 14px rgba(34, 28, 25, 0.08);
    }

    .header-mobile-msg svg,
    .header-mobile-msg img {
        width: 16px;
        height: 16px;
        display: block;
    }

    .header-mobile-msg--tg {
        background: #229ed9;
    }

    .header-mobile-msg--tg svg {
        fill: #fff;
    }

    .header-mobile-msg--max {
        background: linear-gradient(135deg, #5d70ff 0%, #7b43ff 100%);
    }

    .header-mobile-msg--wa {
        background: #25d366;
    }

    .header-mobile-msg--wa svg {
        fill: #fff;
    }

    .header-mobile-contacts {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 2px;
        flex: 1 1 auto;
    }

    .header-mobile-phone {
        font-size: 14px;
        line-height: 1.1;
        font-weight: 600;
        color: #2b2522;
        white-space: nowrap;
    }

    .header-mobile-callback {
        padding: 0;
        border: none;
        background: transparent;
        font-size: 11px;
        line-height: 1.1;
        font-weight: 500;
        color: #d74a4a;
        border-bottom: 1px dashed rgba(215, 74, 74, 0.6);
        cursor: pointer;
    }

    .burger {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        margin-left: 8px;
        padding: 0;
        border: 1px solid rgba(166, 124, 82, 0.22);
        border-radius: 10px;
        background: rgba(255, 250, 247, 0.92);
        box-shadow:
            0 8px 20px rgba(44, 34, 27, 0.08),
            inset 0 0 0 1px rgba(255,255,255,0.45);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            background 0.25s ease,
            border-color 0.25s ease;
    }

    .burger span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 0;
        background: #3a3432;
        border-radius: 999px;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease,
            background 0.25s ease;
    }

    .burger:hover,
    .burger:active {
        transform: translateY(-1px);
        background: rgba(255, 248, 242, 0.98);
        border-color: rgba(166, 124, 82, 0.35);
        box-shadow:
            0 10px 24px rgba(44, 34, 27, 0.10),
            inset 0 0 0 1px rgba(255,255,255,0.5);
    }

    .burger.is-active {
        background: #2f2a28;
        border-color: #2f2a28;
        box-shadow: 0 10px 24px rgba(44, 34, 27, 0.16);
    }

    .burger.is-active span {
        background: #fff;
    }

    .burger.is-active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .burger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .burger.is-active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu__inner {
        margin-top: 8px;
        padding: 18px;
        border-radius: 18px;
        background: rgba(255, 250, 247, 0.98);
        box-shadow: 0 24px 60px rgba(40, 30, 25, 0.12);
        border: 1px solid rgba(185, 165, 145, 0.15);
    }

    .mobile-menu__nav {
        display: grid;
        gap: 14px;
    }

    .mobile-menu__nav a {
        font-family: "Cormorant Garamond", "Times New Roman", serif;
        font-size: 28px;
        line-height: 1;
        color: #2b2522;
    }
}

@media (max-width: 480px) {


    .header-mobile-logo img {
        height: 34px;
        max-width: 72px;
    }

    .header-mobile-messengers {
        gap: 4px;
    }

    .header-mobile-msg {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .header-mobile-msg svg,
    .header-mobile-msg img {
        width: 14px;
        height: 14px;
    }

    .header-mobile-phone {
        font-size: 12px;
    }

    .header-mobile-callback {
        font-size: 13px;
    }

    .burger {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}




/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 140px 0 0;
    background:
        linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.1)),
        url("../img/fon-bg1.jpg") center/cover no-repeat;
}

/* ✅ ПЕРЕОПРЕДЕЛЕНИЕ ДЛЯ МОБИЛКИ (должно быть НИЖЕ) */
@media (max-width: 768px) {
    .hero {
        padding: 0; /* или например 20px 0 */
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: end;
    gap: 40px;
    min-height: 760px;
}

.hero-content {
    padding: 70px 0 90px;
    position: relative;
    z-index: 2;
}

.hero-label {
    margin-bottom: 28px;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9b9590;
}

.hero-title {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.95;
    font-weight: 500;
    color: #262220;
}

.hero-line {
    width: 48px;
    height: 3px;
    margin: 28px 0 28px;
    background: #c69d5c;
}

.hero-text {
    max-width: 470px;
    margin: 0 0 38px;
    font-size: 18px;
    line-height: 1.8;
    color: #5a5552;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-width: 270px;
    padding: 20px 28px;
    background: #1f1f21;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #a67c52;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 24px;
    line-height: 1;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 760px;
    z-index: 2;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 760px;
    object-fit: cover;
    object-position: center bottom;
}

.hero-decor-frame {
    position: absolute;
    left: -30px;
    bottom: 0;
    width: 180px;
    padding: 10px;
    background: #f5eee8;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-decor-frame img {
    width: 100%;
    object-fit: cover;
}




/* ===== SERVICES ===== */
.services {
    padding: 42px 0 80px;
    background: #e8e1dc;
}

.section-title {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1;
    font-weight: 500;
    color: #3a3432;
    text-transform: uppercase;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    min-height: 250px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(120, 98, 77, 0.08);
    transition:
        transform 0.45s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.45s cubic-bezier(.22, 1, .36, 1),
        border-color 0.35s ease;
    background: #f7f3f0;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 42%,
        rgba(255,255,255,0) 62%
    );
    transform: translateX(-130%);
    transition: transform 0.9s ease;
    z-index: 3;
    pointer-events: none;
}

.service-card {
    background: #f7f3f0;
}

.service-card--text {
    position: relative;
    z-index: 2;
    padding: 30px 24px 22px;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%),
        #f7f3f0;
    transition: background 0.35s ease;
}

.service-card--image {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.service-card--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05) 0%,
        rgba(0,0,0,0.05) 100%
    );
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.service-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition:
        transform 0.9s cubic-bezier(.22, 1, .36, 1),
        filter 0.4s ease;
}

.service-title {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.02;
    font-weight: 500;
    color: #2f2a28;
    transition: color 0.3s ease;
}

.service-subtitle {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a8774;
}

.service-text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.65;
    color: #615a56;
    max-width: 270px;
    transition: color 0.3s ease;
}

.service-link {
    margin-top: auto;
    display: inline-block;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: #4b4542;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* hover */
.service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(166, 124, 82, 0.16);
    box-shadow:
        0 14px 30px rgba(58, 44, 31, 0.06),
        0 24px 52px rgba(58, 44, 31, 0.10);
}

.service-item:hover::before {
    transform: translateX(130%);
}

.service-item:hover .service-card--text {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.06) 100%),
        #f4ede7;
}

.service-item:hover .service-card--image img {
    transform: scale(1.06);
    filter: saturate(1.03) contrast(1.02);
}

.service-item:hover .service-title {
    color: #221f1d;
}

.service-item:hover .service-text {
    color: #4f4945;
}

.service-item:hover .service-link {
    color: #a67c52;
    transform: translateX(4px);
}

.service-item:focus-visible {
    outline: 2px solid #a67c52;
    outline-offset: 4px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {
    .services-row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE COMPACT
========================= */

@media (max-width: 768px) {
    .services {
        padding: 28px 0 44px;
    }

    .section-title {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .services-row {
        gap: 14px;
    }

    .service-item {
        grid-template-columns: 1fr;
        min-height: unset;
        border-radius: 18px;
    }

    .service-card--image {
        order: 1;
        min-height: 150px;
    }

    .service-card--image img {
        height: 150px;
        object-position: center;
    }

    .service-card--text {
        order: 2;
        min-height: unset;
        margin: -28px 12px 12px;
        padding: 18px 16px 14px;
        border-radius: 18px;
        background: rgba(247, 243, 240, 0.96);
        box-shadow: 0 10px 24px rgba(44, 34, 27, 0.08);
        position: relative;
        z-index: 5;
        max-width: 78%;
    }

    .service-title {
        margin-bottom: 6px;
        font-size: 24px;
        line-height: 1.05;
    }

    .service-subtitle {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .service-text {
        margin-bottom: 10px;
        max-width: none;
        font-size: 14px;
        line-height: 1.55;
    }

    .service-link {
        font-size: 17px;
    }

    .service-item:hover {
        transform: none;
        box-shadow: none;
    }

    .service-item:hover .service-card--image img {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .services {
        padding: 24px 0 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-row {
        gap: 12px;
    }

    .service-card--image {
        min-height: 132px;
    }

    .service-card--image img {
        height: 132px;
    }

    .service-card--text {
        margin: -24px 10px 10px;
        padding: 16px 14px 12px;
        max-width: 80%;
        border-radius: 16px;
    }

    .service-title {
        font-size: 21px;
    }

    .service-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .service-link {
        font-size: 16px;
    }
}






/* ===== CLEAN LIST ===== */
.clean-list {
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.clean-list li {
    position: relative;
    padding-left: 22px;
    font-size: 17px;
    line-height: 1.6;
    color: #57514d;
}

/* тонкая линия вместо иконки */
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 1px;
    background: #c69d5c;
}

/* ===== BENEFITS CLEAN ===== */
.clean-benefits {
    background: rgba(255,255,255,0.35);
    border-radius: 22px;
    padding: 36px 34px 30px;
}

/* убираем иконки */
.benefit-item.clean {
    display: block;
    padding: 20px 26px;
    min-height: auto;
}

/* вертикальные линии как в luxury дизайне */
.benefit-item.clean + .benefit-item.clean {
    border-left: 1px solid rgba(165, 145, 126, 0.2);
}

/* заголовок с линией */
.benefit-item.clean h4 {
    position: relative;
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 500;
    color: #2d2927;
}

.benefit-item.clean h4::after {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    margin-top: 10px;
    background: #c69d5c;
}

/* текст */
.benefit-item.clean p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5e5854;
    max-width: 260px;
}

/* сетка */
.service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* ===== HOVER (очень деликатный) ===== */
.benefit-item.clean {
    transition: transform 0.3s ease, color 0.3s ease;
}

.benefit-item.clean:hover {
    transform: translateY(-4px);
}

/* ===== MOBILE ===== */
@media (max-width: 1200px) {
    .service-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-item.clean:nth-child(3),
    .benefit-item.clean:nth-child(4) {
        border-top: 1px solid rgba(165, 145, 126, 0.2);
    }

    .benefit-item.clean:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .service-benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item.clean {
        border-left: none !important;
        border-top: 1px solid rgba(165, 145, 126, 0.2);
    }
}





/* =========================
   PREMIUM VERSION
========================= */

.service-detail--premium {
    position: relative;
    overflow: hidden;
}

.service-detail--premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.service-detail--premium .container {
    position: relative;
    z-index: 1;
}

/* плавное появление */
.service-detail-content > * {
    animation: premiumFadeUp 0.9s ease both;
}

.service-detail-content > *:nth-child(1) { animation-delay: 0.08s; }
.service-detail-content > *:nth-child(2) { animation-delay: 0.16s; }
.service-detail-content > *:nth-child(3) { animation-delay: 0.24s; }
.service-detail-content > *:nth-child(4) { animation-delay: 0.32s; }
.service-detail-content > *:nth-child(5) { animation-delay: 0.4s; }
.service-detail-content > *:nth-child(6) { animation-delay: 0.48s; }

@keyframes premiumFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* заголовок */
.service-detail--premium .service-detail-title {
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* линия под заголовком */
.service-detail--premium .service-detail-line {
    position: relative;
    overflow: hidden;
}

.service-detail--premium .service-detail-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: lineShine 2.8s ease-in-out infinite;
}

@keyframes lineShine {
    0% { left: -120%; }
    60% { left: 120%; }
    100% { left: 120%; }
}

/* список */
.service-detail--premium .clean-list li {
    transition: transform 0.28s ease, color 0.28s ease;
}

.service-detail--premium .clean-list li:hover {
    transform: translateX(6px);
    color: #2e2a28;
}

.service-detail--premium .clean-list li::before {
    transition: width 0.28s ease, background 0.28s ease;
}

.service-detail--premium .clean-list li:hover::before {
    width: 16px;
    background: #a67c52;
}

/* кнопка */
.premium-btn {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.premium-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(33, 27, 23, 0.14);
}

.premium-btn:hover::before {
    left: 140%;
}

/* изображение */
.premium-image {
    position: relative;
    background: #ebe4de;
}

.premium-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 24%),
        linear-gradient(0deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 22%);
    z-index: 2;
    pointer-events: none;
}

.premium-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
}

.premium-image img {
    transform: scale(1.01);
    transition: transform 1.6s cubic-bezier(.22, 1, .36, 1), filter 0.7s ease;
}

.service-detail--premium:hover .premium-image img {
    transform: scale(1.05);
    filter: saturate(1.03) contrast(1.02);
}

/* benefits block */
.premium-benefits {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        inset 0 0 0 1px rgba(188, 165, 140, 0.08),
        0 10px 30px rgba(74, 55, 38, 0.04);
}

.premium-benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-18deg);
    transition: left 1.1s ease;
    pointer-events: none;
}

.premium-benefits:hover::before {
    left: 140%;
}

/* карточки преимуществ */
.premium-benefits .benefit-item.clean {
    position: relative;
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.premium-benefits .benefit-item.clean:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.18);
}

.premium-benefits .benefit-item.clean h4 {
    transition: color 0.3s ease;
}

.premium-benefits .benefit-item.clean:hover h4 {
    color: #1f1a18;
}

.premium-benefits .benefit-item.clean h4::after {
    transition: width 0.35s ease, background 0.35s ease;
}

.premium-benefits .benefit-item.clean:hover h4::after {
    width: 52px;
    background: #a67c52;
}

/* очень деликатный editorial offset */
@media (min-width: 1201px) {
    .service-detail--premium .service-detail-content {
        padding-top: 8px;
    }

    .service-detail--premium .premium-image {
        transform: translateY(-6px);
    }
}

/* mobile */
@media (max-width: 768px) {
    .service-detail-content > * {
        animation-duration: 0.7s;
    }

    .premium-benefits .benefit-item.clean:hover,
    .service-detail--premium .clean-list li:hover,
    .premium-btn:hover {
        transform: none;
    }

    .service-detail--premium:hover .premium-image img {
        transform: scale(1.02);
    }
}





.service-detail-block {
    padding: 56px 0 90px;
    background: #f4efeb;
}

.service-detail-top {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 34px;
}

.service-detail-content {
    max-width: 560px;
}

.service-detail-label {
    margin-bottom: 26px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a938d;
}

.service-detail-title {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 74px);
    line-height: 0.95;
    font-weight: 500;
    color: #1f1b19;
}

.service-detail-line {
    width: 50px;
    height: 3px;
    margin: 26px 0 28px;
    background: #c69d5c;
}

.service-detail-text {
    max-width: 470px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.75;
    color: #5d5753;
}

.service-detail-list {
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 17px;
    line-height: 1.5;
    color: #57514d;
}

.service-detail-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    border: 1px solid #e3d8cf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c5652;
    font-size: 18px;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    min-height: 620px;
    box-shadow: 0 18px 40px rgba(65, 49, 36, 0.06);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    display: block;
}

.service-benefits {
    background: rgba(255,255,255,0.42);
    border-radius: 22px;
    padding: 34px 34px 28px;
    box-shadow: inset 0 0 0 1px rgba(188, 165, 140, 0.08);
}

.service-benefits-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 28px;
}

.service-benefits-head h3 {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
    color: #2d2826;
    text-align: center;
}

.service-benefits-line {
    width: 38px;
    height: 2px;
    background: #c69d5c;
    flex: 0 0 auto;
}

.service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.benefit-item {
    display: flex;
    gap: 18px;
    padding: 12px 22px 12px 22px;
    min-height: 150px;
}

.benefit-item + .benefit-item {
    border-left: 1px solid rgba(165, 145, 126, 0.18);
}

.benefit-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f8f4f1;
    border: 1px solid #e4d9cf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f4a46;
    font-size: 24px;
}

.benefit-body h4 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 500;
    color: #2d2927;
}

.benefit-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5e5854;
}

/* responsive */
@media (max-width: 1200px) {
    .service-detail-top {
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        max-width: 100%;
    }

    .service-detail-image {
        min-height: 500px;
    }

    .service-detail-image img {
        min-height: 500px;
    }

    .service-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) {
        border-top: 1px solid rgba(165, 145, 126, 0.18);
        padding-top: 24px;
    }

    .benefit-item:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .service-detail-block {
        padding: 40px 0 60px;
    }

    .service-detail-title {
        font-size: clamp(38px, 9vw, 54px);
    }

    .service-detail-text {
        font-size: 17px;
    }

    .service-detail-list li {
        align-items: flex-start;
    }

    .service-detail-image,
    .service-detail-image img {
        min-height: 360px;
    }

    .service-benefits {
        padding: 26px 20px 20px;
    }

    .service-benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 18px 0;
    }

    .benefit-item + .benefit-item {
        border-left: none;
        border-top: 1px solid rgba(165, 145, 126, 0.18);
    }

    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) {
        padding-top: 18px;
    }
}






/* =========================
   GALLERY SECTION
========================= */

.gallery-section {
    position: relative;
    padding: 80px 0 70px;
    background: #f3eeea;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 72%);
    pointer-events: none;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.gallery-head {
    max-width: 980px;
    margin: 0 auto 48px;
    text-align: center;
}

.gallery-kicker-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 26px;
}

.gallery-kicker-line {
    width: 36px;
    height: 1px;
    background: #c69d5c;
    flex: 0 0 auto;
}

.gallery-kicker {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d5753;
}

.gallery-title {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 58px);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #24201e;
    text-transform: uppercase;
}

.gallery-text {
    max-width: 860px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    color: #5f5955;
}

/* grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 42px;
}

.gallery-card {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    isolation: isolate;
    transform: translateY(0);
    transition:
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.55s cubic-bezier(.22, 1, .36, 1);
}

.gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 42%,
        rgba(255,255,255,0) 62%
    );
    transform: translateX(-130%);
    transition: transform 0.9s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #e7dfd8;
    aspect-ratio: 3 / 6;
}

.gallery-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition:
        transform 0.9s cubic-bezier(.22, 1, .36, 1),
        filter 0.45s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 14px 28px rgba(52, 40, 30, 0.08),
        0 24px 50px rgba(52, 40, 30, 0.10);
}

.gallery-card:hover::before {
    transform: translateX(130%);
}

.gallery-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.02) contrast(1.02);
}

.gallery-card:hover .gallery-card-image::after {
    opacity: 0.72;
}

.gallery-card:focus-visible {
    outline: 2px solid #a67c52;
    outline-offset: 4px;
}

/* CTA */
.gallery-cta {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    align-items: center;
    gap: 0;
    padding: 34px 40px;
    border-radius: 0;
    background: rgba(255,255,255,0.4);
    box-shadow:
        inset 0 0 0 1px rgba(188, 165, 140, 0.08),
        0 10px 30px rgba(74, 55, 38, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.gallery-cta-col {
    padding: 0 34px;
}

.gallery-cta-col + .gallery-cta-col {
    border-left: 1px solid rgba(165, 145, 126, 0.24);
}

.gallery-cta-title {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 50px);
    line-height: 0.98;
    font-weight: 500;
    color: #2a2523;
    font-style: italic;
}

.gallery-cta-title span {
    color: #c09a62;
}

.gallery-cta-col--text p {
    margin: 0;
    max-width: 430px;
    font-size: 18px;
    line-height: 1.7;
    color: #5d5753;
}

.gallery-cta-col--action {
    display: flex;
    justify-content: center;
}

/* =========================
   FADE UP
========================= */

.js-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid .gallery-card:nth-child(1) { transition-delay: 0.04s; }
.gallery-grid .gallery-card:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .gallery-card:nth-child(3) { transition-delay: 0.12s; }
.gallery-grid .gallery-card:nth-child(4) { transition-delay: 0.16s; }
.gallery-grid .gallery-card:nth-child(5) { transition-delay: 0.20s; }
.gallery-grid .gallery-card:nth-child(6) { transition-delay: 0.24s; }

/* =========================
   MODAL
========================= */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 15, 14, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 40px));
    height: min(90vh, 920px);
    margin: 4vh auto 0;
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    gap: 18px;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #e7dfd8;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.gallery-modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ede7e1;
}

.gallery-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-modal-close:hover {
    background: rgba(255,255,255,0.24);
    transform: scale(1.04);
}

.gallery-modal-nav {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-modal-nav:hover {
    background: rgba(255,255,255,0.24);
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1300px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-cta {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-cta-col {
        padding: 0;
    }

    .gallery-cta-col + .gallery-cta-col {
        border-left: none;
        border-top: 1px solid rgba(165, 145, 126, 0.24);
        padding-top: 24px;
    }

    .gallery-cta-col--action {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 52px 0 52px;
    }

    .gallery-head {
        margin-bottom: 30px;
    }

    .gallery-title {
        font-size: clamp(34px, 9vw, 52px);
    }

    .gallery-text {
        font-size: 17px;
        line-height: 1.7;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 28px;
    }

    .gallery-card-image {
        border-radius: 14px;
    }

    .gallery-cta {
        padding: 22px 20px;
    }

    .gallery-cta-title {
        font-size: 42px;
    }

    .gallery-cta-col--text p {
        font-size: 16px;
    }

    .gallery-modal-dialog {
        width: min(100% - 20px, 100%);
        grid-template-columns: 44px 1fr 44px;
        gap: 8px;
        height: min(84vh, 760px);
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-card:hover {
        transform: none;
        box-shadow: none;
    }

    .gallery-card:hover img {
        transform: scale(1.02);
    }
}







/* =========================
   video-gallery
========================= */

.video-reels--premium {
    position: relative;
    padding: 80px 0 72px;
    background: #f3eeea;
    overflow: hidden;
}

.video-reels--premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 42%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0) 72%);
    pointer-events: none;
}

.video-reels--premium .container {
    position: relative;
    z-index: 1;
}

.video-reels__head {
    max-width: 940px;
    margin: 0 auto 36px;
    text-align: center;
    opacity: 0;
    transform: translateY(26px);
    animation: reelsFadeUp 0.9s ease forwards;
}

.video-reels__kicker-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.video-reels__line {
    width: 36px;
    height: 1px;
    background: #c69d5c;
}

.video-reels__kicker {
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #605955;
    font-weight: 500;
}

.video-reels__title {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #26211f;
    text-transform: uppercase;
}

.video-reels__text {
    margin: 0 auto;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.75;
    color: #5e5854;
}

.video-reels__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.video-reels__arrow {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    color: #2f2926;
    font-size: 28px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(188, 165, 140, 0.1);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.video-reels__arrow:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.75);
    box-shadow: 0 10px 25px rgba(44, 34, 27, 0.08);
}

.video-reels__viewport {
    position: relative;
}

.video-reels__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 2px 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 124, 82, 0.35) transparent;
}

.video-reels__track::-webkit-scrollbar {
    height: 8px;
}

.video-reels__track::-webkit-scrollbar-thumb {
    background: rgba(166, 124, 82, 0.35);
    border-radius: 999px;
}

.video-card {
    flex: 0 0 290px;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: reelsFadeUpCard 0.9s ease forwards;
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
    filter: saturate(0.92);
}

.video-card:nth-child(1) { animation-delay: 0.06s; }
.video-card:nth-child(2) { animation-delay: 0.12s; }
.video-card:nth-child(3) { animation-delay: 0.18s; }
.video-card:nth-child(4) { animation-delay: 0.24s; }
.video-card:nth-child(5) { animation-delay: 0.30s; }

.video-card.is-active {
    transform: translateY(0) scale(1);
    filter: saturate(1);
}

.video-card__link {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.video-card__media {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 22px;
    overflow: hidden;
    background: #e6ddd6;
    box-shadow:
        0 12px 26px rgba(44, 34, 27, 0.06),
        0 24px 48px rgba(44, 34, 27, 0.08);
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1), box-shadow 0.55s cubic-bezier(.22, 1, .36, 1);
    isolation: isolate;
}

.video-card.is-active .video-card__media {
    box-shadow:
        0 18px 36px rgba(44, 34, 27, 0.09),
        0 32px 70px rgba(44, 34, 27, 0.13);
}

.video-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 40%, rgba(255,255,255,0) 60%);
    transform: translateX(-130%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.video-card__poster,
.video-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card__poster {
    z-index: 1;
    transform: scale(1.01);
    transition: transform 0.8s cubic-bezier(.22, 1, .36, 1), opacity 0.35s ease, filter 0.35s ease;
}

.video-card__video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: #ddd3cb;
}

.video-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.08) 100%);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.video-card__play {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, background 0.35s ease, opacity 0.35s ease;
}

.video-card__play span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
}

.video-card__content {
    padding: 16px 8px 0;
}

.video-card__meta {
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #927d6a;
    font-weight: 600;
}

.video-card__title {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.02;
    font-weight: 500;
    color: #2a2422;
}

.video-card__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5d5753;
}

@media (hover: hover) and (pointer: fine) {
    .video-card__link:hover .video-card__media {
        transform: translateY(-8px);
        box-shadow: 0 16px 34px rgba(44, 34, 27, 0.08), 0 28px 60px rgba(44, 34, 27, 0.12);
    }

    .video-card__link:hover .video-card__media::before {
        transform: translateX(130%);
    }

    .video-card__link:hover .video-card__poster {
        transform: scale(1.04);
    }

    .video-card__link:hover .video-card__play {
        transform: scale(0.92);
        opacity: 0;
    }

    .video-card__link:hover .video-card__overlay {
        opacity: 0.78;
    }
}

.video-card__link:focus-visible {
    outline: 2px solid #a67c52;
    outline-offset: 6px;
    border-radius: 22px;
}

/* modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 15, 14, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(920px, calc(100% - 24px));
    margin: 4vh auto 0;
}

.video-modal__body {
    border-radius: 22px;
    overflow: hidden;
    background: #151311;
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.video-modal__player {
    display: block;
    width: 100%;
    max-height: 82vh;
    background: #151311;
}

.video-modal__caption {
    padding: 14px 6px 0;
    text-align: center;
    font-size: 15px;
    color: #f2ece7;
    letter-spacing: 0.02em;
}

.video-modal__close {
    position: absolute;
    top: -10px;
    right: -2px;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .video-card {
        flex-basis: 260px;
    }
}

@media (max-width: 768px) {
    .video-reels--premium {
        padding: 56px 0 52px;
    }

    .video-reels__head {
        margin-bottom: 26px;
    }

    .video-reels__title {
        font-size: clamp(32px, 9vw, 48px);
    }

    .video-reels__text {
        font-size: 16px;
        line-height: 1.7;
    }

    .video-reels__controls {
        display: none;
    }

    .video-reels__track {
        gap: 12px;
        padding-bottom: 10px;
    }

    .video-card {
        flex: 0 0 210px;
        filter: none;
    }

    .video-card__media {
        border-radius: 18px;
    }

    .video-card__content {
        padding: 12px 4px 0;
    }

    .video-card__title {
        font-size: 24px;
    }

    .video-card__desc {
        font-size: 14px;
    }

    .video-card__play {
        width: 46px;
        height: 46px;
        left: 14px;
        bottom: 14px;
    }

    .video-card__play span {
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 12px;
    }

    .video-modal__dialog {
        width: min(100% - 12px, 100%);
        margin-top: 8vh;
    }

    .video-modal__close {
        top: -2px;
        right: 4px;
    }
}

@media (max-width: 480px) {
    .video-card {
        flex: 0 0 175px;
    }

    .video-reels__kicker-wrap {
        gap: 12px;
    }

    .video-reels__line {
        width: 24px;
    }
}

@keyframes reelsFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes reelsFadeUpCard {
    from { opacity: 0; transform: translateY(28px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}




/* =========================
   popup form
========================= */

.callback-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.callback-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.callback-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 26, 22, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.callback-popup__dialog {
    position: relative;
    z-index: 2;
width: min(980px, calc(100% - 32px)); /* было 1280px */
margin: 10px auto;
    background: #f5f0ec;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.callback-popup__close {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.callback-popup__close span {
    position: absolute;
    top: 19px;
    left: 7px;
    width: 26px;
    height: 2px;
    background: #26211f;
    border-radius: 2px;
}

.callback-popup__close span:first-child {
    transform: rotate(45deg);
}

.callback-popup__close span:last-child {
    transform: rotate(-45deg);
}

.callback-popup__inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 520px; /* было ~760 */
}

.callback-popup__left {
    position: relative;
    background: linear-gradient(180deg, #f2ece7 0%, #e9dfd6 100%);
    overflow: hidden;
}

.callback-popup__brand {
    position: absolute;
    top: 46px;
    left: 38px;
    z-index: 3;
}

.callback-popup__brand-main {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 64px;
    line-height: 0.92;
    letter-spacing: 0.04em;
    color: #2a2523;
}

.callback-popup__brand-sub {
    margin-top: 8px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 72px;
    line-height: 0.85;
    font-style: italic;
    color: #b58b5a;
}

.callback-popup__photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.callback-popup__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.callback-popup__right {
    padding: 20px 40px 34px 70px;
    background: #f7f2ee;
}

.callback-popup__label {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b69369;
    font-weight: 500;
}

.callback-popup__title {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 56px);
    line-height: 0.96;
    font-weight: 500;
    color: #24201e;
}

.callback-popup__line {
    width: 66px;
    height: 4px;
    margin: 20px 0 20px;
    background: #c69d5c;
}

.callback-popup__text {
    max-width: 640px;
    margin: 0 0 38px;
    font-size: 16px;
    line-height: 1.65;
    color: #615a56;
}

.callback-form {
    max-width: 640px;
}

.callback-form__field {
    position: relative;
    margin-bottom: 22px;
}

.callback-form__field input,
.callback-form__field textarea {
    width: 100%;
    border: 1px solid #ddd2ca;
    background: #efe8e2;
    border-radius: 12px;
    padding: 0 24px 0 76px;
    font-size: 20px;
    color: #3f3936;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.callback-form__field input {
    height: 56px; /* было 92 */
    font-size: 16px;
    padding-left: 52px;
}

.callback-form__field textarea {
    height: 80px; /* было 170 */
    font-size: 16px;
    padding-left: 52px;
    padding-top: 16px;
}

.callback-form__field input:focus,
.callback-form__field textarea:focus {
    border-color: #b58b5a;
    background: #f3ece7;
    box-shadow: 0 0 0 4px rgba(181, 139, 90, 0.08);
}

.callback-form__field input::placeholder,
.callback-form__field textarea::placeholder {
    color: #7d746e;
}

.callback-form__icon {
    position: absolute;
    left: 16px;
    top: 18px;
    z-index: 2;
    width: 16px;
    height: 16px;
    color: #4c4541;
}

.callback-form__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.callback-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 8px 0 5px;
    font-size: 14px;
    line-height: 1.6;
    color: #6f6762;
}

.callback-form__privacy-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    color: #b58b5a;
}

.callback-form__privacy-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.callback-form__submit {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
    padding: 26px 34px;
    font-size: 20px;
}

.callback-popup__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 28px 38px 32px;
    background: #f3ede8;
    border-top: 1px solid rgba(184, 162, 141, 0.16);
}

.callback-popup__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.45;
    text-transform: uppercase;
    color: #3f3936;
    font-weight: 500;
}

.callback-popup__feature + .callback-popup__feature {
    border-left: 1px solid rgba(184, 162, 141, 0.16);
}

.callback-popup__feature-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: #7a6b5f;
}

.callback-popup__feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

input.input-error {
    border-color: #d96a6a !important;
    box-shadow: 0 0 0 3px rgba(217, 106, 106, 0.1);
}

/* mobile */
@media (max-width: 1100px) {
    .callback-popup__inner {
        display: block; /* убираем grid */
    }

    .callback-popup__left {
        display: none;
    }

    .callback-popup__brand {
        top: 28px;
        left: 24px;
    }

    .callback-popup__brand-main {
        font-size: 46px;
    }

    .callback-popup__brand-sub {
        font-size: 52px;
    }

    .callback-popup__right {
        width: 100%;
        padding: 24px 18px;
        overflow-y: auto;
        max-height: calc(100dvh - 40px);
    }

    .callback-popup__text {
        font-size: 18px;
    }

    .callback-popup__bottom {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .callback-popup__feature + .callback-popup__feature {
        border-left: none;
        border-top: 1px solid rgba(184, 162, 141, 0.16);
        padding-top: 0px;
    }
}

@media (max-width: 768px) {
    .callback-popup__dialog {
        width: min(100% - 16px, 100%);
        margin: 8px auto;
        border-radius: 18px;
    }

    .callback-popup__left {
        min-height: 260px;
    }

    .callback-popup__brand-main {
        font-size: 34px;
    }

    .callback-popup__brand-sub {
        font-size: 38px;
    }

    .callback-popup__close {
        top: 14px;
        right: 14px;
    }

    .callback-popup__right {
        padding: 30px 18px 18px;
    }

    .callback-popup__label {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .callback-popup__title {
        font-size: 30px;
    }

    .callback-popup__line {
        width: 48px;
        height: 3px;
        margin: 18px 0 18px;
    }

    .callback-popup__text {
        font-size: 14px;
    }

    .callback-form__field {
        margin-bottom: 14px;
    }

    .callback-form__field input {
        height: 64px;
        padding-left: 54px;
        font-size: 16px;
    }

    .callback-form__field textarea {
        height: 80px;
        padding-left: 54px;
        padding-top: 18px;
        font-size: 16px;
    }

    .callback-form__icon {
        left: 18px;
        top: 19px;
        width: 20px;
        height: 20px;
    }

    .callback-form__privacy {
        font-size: 10px;
        gap: 10px;
    }

    .callback-form__privacy-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .callback-form__submit {
        padding: 18px 22px;
        font-size: 16px;
    }

    .callback-popup__bottom {
        padding: 18px;
    }

    .callback-popup__feature {
        padding: 0;
        font-size: 12px;
    }

    .callback-popup__feature-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }
}


.callback-form__messages {
    margin: 0 0 18px;
}

.callback-form__error,
.ajax_form .error,
.callback-form__messages .error {
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
    background: #fff1f1;
    border: 1px solid #efc8c8;
    color: #b54444;
}

.callback-form__success {
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    background: #eef8f1;
    border: 1px solid #cfe7d5;
    color: #3d7b4e;
}

.callback-form__success-box {
    margin-top: 18px;
}

.callback-form__status {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.callback-form__status.is-success {
    display: block;
    background: #eef8f1;
    border: 1px solid #cfe7d5;
    color: #2f6b43;
}

.callback-form__status.is-error {
    display: block;
    background: #fff1f1;
    border: 1px solid #efc8c8;
    color: #b54444;
}





/* mvideo-widgetbile */

.video-widget {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 120px;
  height: 190px;
  border-radius: 22px;
  overflow: hidden;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  border: 4px solid #1b2450;
  background: #000;

  transition: all .35s ease;
}

.video-widget__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* СОСТОЯНИЕ УВЕЛИЧЕНИЯ */
.video-widget.is-active {
  width: 360px;
  height: 600px;
  border-radius: 24px;
  z-index: 10000;
}

@media (max-width: 768px) {
  .video-widget {
    width: 90px;
    height: 150px;
    left: 12px;
    bottom: 12px;
  }

  .video-widget.is-active {
    width: 90vw;
    height: 70vh;
  }
}








.look-selection {
    padding: 80px 0;
    background: #f2ede8;
}

.look-selection__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr 1fr;
    gap: 34px;
}

.look-selection__left,
.look-selection__center,
.look-selection__right {
    min-width: 0;
}

.look-selection__center,
.look-selection__right {
    padding-left: 34px;
    border-left: 1px solid rgba(160, 135, 112, 0.22);
}

.look-selection__photo {
    overflow: hidden;
    background: #e8dfd7;
}

.look-selection__photo img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.look-selection__note {
    padding: 24px 28px;
    background: #e9e1db;
}

.look-selection__note h3,
.look-selection__title,
.look-selection__subtitle {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    color: #2d2927;
}

.look-selection__note h3 {
    margin-bottom: 12px;
    font-size: 26px;
    text-transform: uppercase;
}

.look-selection__note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5d5753;
}

.look-selection__title {
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(160, 135, 112, 0.24);
    font-size: 30px;
    text-transform: uppercase;
}

.look-selection__subtitle {
    padding-bottom: 18px;
    margin: 42px 0 24px;
    border-bottom: 1px solid rgba(160, 135, 112, 0.24);
    font-size: 28px;
    text-transform: uppercase;
}

.look-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 22px;
}

.look-product-card,
.look-detail-card {
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.look-product-card__image,
.look-detail-card__image {
    display: block;
    overflow: hidden;
    background: #e8dfd7;
    margin-bottom: 14px;
}

.look-product-card__image {
    aspect-ratio: 1 / 1;
}

.look-detail-card__image {
    aspect-ratio: 1 / 1;
}

.look-product-card img,
.look-detail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.look-product-card:hover img,
.look-detail-card:hover img {
    transform: scale(1.05);
}

.look-product-card__title,
.look-detail-card__title {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3a3431;
}

.look-product-card__text,
.look-detail-card__text {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #5d5753;
}

.look-palette__items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 10px;
    max-width: 100%;
}

.look-palette__item {
    width: 75px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.look-palette__item span {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.look-palette__item strong {
    max-width: 80px;
    font-size: 12px;
    line-height: 1.2;
}

.look-trends {
    margin: 0 0 56px;
    padding-left: 22px;
    display: grid;
    gap: 18px;
}

.look-trends li {
    font-size: 17px;
    line-height: 1.55;
    color: #504a46;
}

.look-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
}

.look-detail-card {
    display: block;
    text-align: left;
}

/* ВАЖНО: фиксируем размер блока картинки */
.look-detail-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* все карточки квадратные */
    overflow: hidden;
    background: #e8dfd7;
    margin-bottom: 12px;
}

/* Обрезаем изображение */
.look-detail-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* текст */
.look-detail-card__title {
    display: block;
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.look-detail-card__text {
    font-size: 13px;
    line-height: 1.4;
    color: #6b6562;
}

/* mobile */
@media (max-width: 1200px) {



    .look-selection__grid {
        grid-template-columns: 1fr;
    }

    .look-selection__right {
        display: none;
    }



    .look-selection__grid {
        grid-template-columns: 1fr;
    }

    .look-selection__center,
    .look-selection__right {
        padding-left: 0;
        border-left: none;
        padding-top: 34px;
        border-top: 1px solid rgba(160, 135, 112, 0.22);
    }

    .look-selection__photo img {
        height: auto;
        max-height: 720px;
    }
}

@media (max-width: 768px) {
    .look-selection {
        padding: 52px 0;
    }

    .look-products,
    .look-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }

    .look-selection__title {
        font-size: 26px;
    }

    .look-selection__subtitle {
        font-size: 24px;
    }

    .look-palette__items {
        gap: 18px;
        flex-wrap: wrap;
    }

    .look-palette__item span {
        width: 52px;
        height: 52px;
    }
}



@media (max-width: 768px) {
    .look-selection__grid {
        display: grid;
        grid-template-columns: 1fr 82px;
        gap: 10px;
        align-items: start;
    }

    .look-selection__left {
        grid-column: 1;
        grid-row: 1;
    }

    .look-selection__center {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
        border: none;
    }

    .look-selection__right {
        grid-column: 1 / -1;
        padding-top: 28px;
        border-top: 1px solid rgba(160, 135, 112, 0.22);
    }

    .look-selection__photo img {
        height: auto;
        max-height: none;
        aspect-ratio: 3 / 5;
        object-fit: cover;
        object-position: center top;
    }

    .look-selection__note {
        padding: 18px 16px;
    }

    .look-selection__center .look-selection__title,
    .look-palette {
        display: none;
    }

    .look-products {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .look-product-card {
        text-align: center;
    }

    .look-product-card__image {
        aspect-ratio: 1 / 1;
        margin-bottom: 5px;
    }

    .look-product-card__title {
        display: block;
        font-size: 8px;
        line-height: 1.15;
        font-weight: 700;
        text-transform: uppercase;
        color: #2f2a28;
    }

    .look-product-card__text,
    .look-product-card__arrow {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .look-selection__grid {
        grid-template-columns: 1fr 70px;
        gap: 8px;
    }

    .look-products {
        gap: 9px;
    }

    .look-product-card__title {
        font-size: 7px;
    }
}








.style-quiz {
    background: #f7f2ee;
    padding: 80px 0;
    overflow: hidden;
}

.style-quiz__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 720px;
    background: #f7f2ee;
}

.style-quiz__content {
    position: relative;
    padding: 64px 1vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.style-quiz__visual {
    position: relative;
    min-height: 720px;
    overflow: hidden;
border-radius: 20px;
}
/*
.style-quiz__visual::before {
    content: "";
    position: absolute;
    left: -90px;
    top: -10%;
    width: 180px;
    height: 120%;
    background: #f7f2ee;
    border-radius: 50%;
    z-index: 2;
}
*/

.style-quiz__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Градиент исчезания */
.style-quiz__visual::before {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to left,
        rgba(247,242,238,0) 70%,
        rgba(247,242,238,0.3) 80%,
        rgba(247,242,238,0.7) 90%,
        rgba(247,242,238,1) 100%
    );

    z-index: 2;
    pointer-events: none;
}






@media (max-width: 768px) {
    .quiz__right {
        padding: 0 16px;
    }

    .style-quiz__visual img{
        height: 200px;
        border-radius: 16px;
        object-fit: cover;
    }
}








/* top */
.style-quiz__top {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 18px;
    color: #b29274;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 15px;
}

.style-quiz__top span:first-child::after {
    content: "";
    display: inline-block;
    width: 56px;
    height: 1px;
    background: #c7ad94;
    margin-left: 18px;
    vertical-align: middle;
}

.style-quiz__progress {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: 420px;
    margin-bottom: 54px;
}

.style-quiz__progress span {
    height: 4px;
    border-radius: 20px;
    background: #ded8d2;
}

.style-quiz__progress span.is-active {
    background: #222;
}

/* screen */
.quiz-screen {
    animation: quizFadeUp .45s ease both;
}

@keyframes quizFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-kicker {
    margin-bottom: 22px;
    color: #b29274;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 15px;
}

.quiz-title {
    margin: 0 0 28px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 50px);
    line-height: .96;
    font-weight: 500;
    color: #24201e;
}

.quiz-text {
    max-width: 560px;
    margin: 0 0 42px;
    font-size: 22px;
    line-height: 1.55;
    color: #625b56;
}

.quiz-time {
    margin-top: 28px;
    color: #8c837c;
    font-size: 15px;
}

.quiz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    height: 66px;
    border: none;
    background: #202020;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

/* answers */
.quiz-answers {
    display: grid;
    gap: 12px;
    max-width: 620px;
}

.quiz-answer {
    width: 100%;
    min-height: 74px;
    border: 1px solid rgba(177, 158, 140, .32);
    border-radius: 16px;
    background: rgba(255,255,255,.58);
    display: grid;
    grid-template-columns: 54px 1fr 24px;
    align-items: center;
    gap: 18px;
    padding: 12px 24px 12px 16px;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    color: #34302e;
    transition: transform .28s ease, background .28s ease, border-color .28s ease;
}

.quiz-answer:hover {
    transform: translateX(6px);
    background: #fff;
    border-color: rgba(181, 139, 90, .42);
}

.quiz-answer__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eee6de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b826a;
    font-size: 22px;
}

.quiz-answer__arrow {
    font-size: 28px;
    color: #3b3633;
}

/* rating */
.quiz-rating {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.quiz-rating__item {
    flex: 1;
    text-align: center;
}

.quiz-rating button {
    width: 100%;
    height: 80px;
    border-radius: 14px;
    background: #f4f1ee;
    border: 1px solid rgba(0,0,0,0.08);

    font-size: 32px;
    font-family: "Cormorant Garamond", serif;

    transition: all 0.3s ease;
    cursor: pointer;
}

.quiz-rating button:hover {
    background: #eae3db;
}

.quiz-rating__text {
    margin-top: 12px;
    font-size: 14px;
    color: #5d5753;
    line-height: 1.3;
}






/* nav */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    max-width: 640px;
    margin-top: 46px;
}

.quiz-back {
    height: 54px;
    padding: 0 26px;
    border: 1px solid rgba(177, 158, 140, .32);
    border-radius: 12px;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: 17px;
}

/* final */
.quiz-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
    max-width: 680px;
}

.quiz-benefit {
    text-align: center;
    font-size: 15px;
    color: #514b47;
}

.quiz-benefit span {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #eee6de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b826a;
    font-size: 24px;
}

.quiz-form {
    max-width: 640px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 16px 40px rgba(48, 37, 28, .07);
}

.quiz-form h3 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 500;
}

.quiz-contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.quiz-contact-methods label {
    border: 1px solid rgba(177, 158, 140, .32);
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
}

.quiz-contact-methods input {
    display: none;
}

.quiz-contact-methods input:checked + span {
    color: #b58b5a;
    font-weight: 600;
}

.quiz-form input[type="tel"] {
    width: 100%;
    height: 58px;
    border: 1px solid rgba(177, 158, 140, .32);
    border-radius: 12px;
    padding: 0 18px;
    margin-bottom: 16px;
    font-size: 18px;
    background: #f6f1eb;
}

.quiz-form-note {
    margin-top: 14px;
    font-size: 13px;
    color: #9b928b;
}

/* mobile */
@media (max-width: 900px) {

.style-quiz__progress {
    margin-bottom: 20px;
}



    .style-quiz {
        padding: 48px 0;
    }

    .style-quiz__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .style-quiz__content {
        padding: 34px 20px;
        order: 2;
    }

    .style-quiz__visual {
        min-height: 200px;
        order: 1;
    }

    .style-quiz__visual::before {
        display: none;
    }

    .quiz-title {
        font-size: 35px;
    }

    .quiz-text {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .quiz-answer {
        min-height: 62px;
        grid-template-columns: 42px 1fr 18px;
        font-size: 16px;
        gap: 12px;
        padding: 10px 14px;
    }

    .quiz-answer__icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }


    .quiz-rating {
        gap: 10px;
    }

    .quiz-rating button {
        height: 60px;
        font-size: 24px;
    }

    .quiz-rating__text {
        font-size: 12px;
    }












    .quiz-benefits,
    .quiz-contact-methods {
        grid-template-columns: 1fr;

    }

    .quiz-btn {
        width: 100%;
        min-width: 0;
    }

    .quiz-benefits {
 display: none;
 }
}













/* =========================
   footer
========================= */

.site-footer {
    padding: 70px 0 32px;
    background: #f4efeb;
}

.footer-card {
    overflow: hidden;
    border-radius: 22px;
    background: #f8f4f0;
    box-shadow: 0 20px 60px rgba(48, 38, 30, 0.06);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    min-height: 560px;
}

.footer-content {
    padding: 72px 70px 54px;
}

.footer-title {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(44px, 4.8vw, 78px);
    line-height: 0.98;
    font-weight: 500;
    color: #25211f;
}

.footer-text {
    max-width: 620px;
    margin: 0 0 54px;
    font-size: 22px;
    line-height: 1.45;
    color: #5d5753;
}

.footer-form__label {
    display: block;
    margin-bottom: 16px;
    font-size: 15px;
    color: #5d5753;
}

.footer-form__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.footer-form__field {
    width: 100%;
    height: 72px;
    border: 1px solid rgba(170, 150, 132, 0.32);
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    padding: 0 26px;
    font-size: 16px;
    color: #3a3431;
    outline: none;
}

.footer-form__submit {
    height: 72px;
    border: none;
    border-radius: 8px;
    background: #b9a793;
    color: #fff;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 18px;
    line-height: 1.15;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.footer-form__submit:hover {
    transform: translateY(-2px);
    background: #a99682;
    box-shadow: 0 14px 30px rgba(95, 74, 54, 0.14);
}

.footer-policy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 14px;
    color: #8a8078;
}

.footer-policy input {
    accent-color: #b9a793;
}

.footer-online {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 44px;
    font-size: 28px;
    color: #26211f;
}

.footer-online__links,
.footer-contact__icons {
    display: flex;
    gap: 12px;
}

.footer-online__links a,
.footer-contact__icons a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #27a7e7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-online__links a:hover,
.footer-contact__icons a:hover {
    transform: translateY(-3px);
    background: #b9a793;
}

.footer-image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.footer-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(248,244,240,1) 0%,
        rgba(248,244,240,0.6) 24%,
        rgba(248,244,240,0) 52%
    );
    z-index: 1;
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 34px 70px;
    border-top: 1px solid rgba(170, 150, 132, 0.18);
    background: rgba(255,255,255,0.38);
}

.footer-copy p {
    margin: 0 0 8px;
    color: #6b625c;
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-links a {
    color: #7c716a;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact {
    display: grid;
    gap: 14px;
    color: #5d5753;
    font-size: 14px;
}

.footer-contact__icons a {
    width: 42px;
    height: 42px;
    color: #9f9184;
    background: #eee8e2;
}






/* fade + translate */
.js-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* mobile */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-image {
        min-height: 360px;
        order: -1;
    }

    .footer-content {
        padding: 44px 28px;
    }

    .footer-form__row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 24px;
    }

    .footer-card {
        border-radius: 18px;
    }

    .footer-content {
        padding: 34px 20px;
    }

    .footer-title {
        font-size: 38px;
    }

    .footer-text {
        font-size: 17px;
        margin-bottom: 32px;
    }

    .footer-form__field,
    .footer-form__submit {
        height: 60px;
    }

    .footer-online {
        align-items: flex-start;
        flex-direction: column;
        font-size: 22px;
        gap: 16px;
    }

    .footer-image {
        min-height: 260px;
    }
}



/* красивый select */
.footer-form__select-wrap {
    position: relative;
}

.footer-form__select-wrap::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #5d5753;
    border-bottom: 1.5px solid #5d5753;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.footer-form__select {
    appearance: none;
    -webkit-appearance: none;

    background:
        linear-gradient(180deg, #ffffff, #f3efe9);

    border: 1px solid rgba(170, 150, 132, 0.3);
    border-radius: 10px;

    font-size: 16px;
    color: #3a3431;

    transition: all 0.25s ease;
}

.footer-form__select:hover {
    border-color: #b9a793;
    background: #fff;
}

.footer-form__select:focus {
    border-color: #b9a793;
    box-shadow: 0 0 0 4px rgba(185, 167, 147, 0.15);
}

/* убрать картинку футера на мобильных */
@media (max-width: 768px) {
    .footer-image {
        display: none;
    }
}

.footer-form__select option {
    background: #ffffff;
    color: #2c2724;
    padding: 10px;
}


/* premium кнопка наверх */
.footer-up {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,0.55), rgba(255,255,255,0) 42%),
        linear-gradient(145deg, #d7c8b8, #b9a793);
    color: #2c2724;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    box-shadow:
        0 14px 32px rgba(81, 62, 45, 0.14),
        inset 0 0 0 1px rgba(255,255,255,0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.footer-up::before {
    content: "";
    width: 13px;
    height: 13px;
    border-top: 2px solid #2c2724;
    border-left: 2px solid #2c2724;
    transform: rotate(45deg) translate(2px, 2px);
}

.footer-up::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 1px solid rgba(185, 167, 147, 0.28);
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.footer-up:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(81, 62, 45, 0.2),
        inset 0 0 0 1px rgba(255,255,255,0.45);
}

.footer-up:hover::after {
    opacity: 1;
    transform: scale(1);
}





/* capsule */
.capsule-item {
    width: 100%;
    overflow: hidden;
    margin: 120px 0px 0px 0px;
}

.capsule-image {
    float: left;
    width: 800px;
    margin-right: 30px;
    margin-bottom: 15px;
}

.capsule-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.capsule-text {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}