/* ============================================
   VARIABLES
   ============================================ */
:root {
    --accent: #dd0086;
    --dark: #3e1d2a;
    --ink: #3a1c28;
    --label: #ae788f;
    --body: #8f858a;
    --line: #e9e3e6;
    --muted: #b08b98;
    --rose: #bb7f96;
    --plum: #95476f;
    --bg: #fff;
    --bg-soft: #fbf8f9;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Poppins', system-ui, sans-serif;
    --w: 1120px;
    --bar: 64px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} 

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--bar);
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

em {
    font-style: italic;
    color: var(--rose);
}

/* ============================================
   LAYOUT UTILS
   ============================================ */
.container {
    width: min(var(--w), 100% - 40px);
    margin-inline: auto;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(62, 29, 42, .96);
    backdrop-filter: blur(8px);
    color: #fff;
}

.topbar__in {
    height: var(--bar);
    width: min(1320px, 100% - 32px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

.logo span {
    font-weight: 400;
    color: var(--rose);
}

.nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav a {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c0aab5;
    padding: 8px 10px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: .2s;
}

.nav a:hover {
    color: #fff;
}

.nav a.is-active {
    color: #fff;
    border-color: var(--accent);
}

.progress {
    height: 2px;
    background: var(--accent);
    width: 0;
}

.burger {
    display: none;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.burger i {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: .25s;
}

.burger[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   COVER
   ============================================ */
.cover {
    position: relative;
    background: var(--dark);
    color: #fff;
    min-height: calc(100vh - var(--bar));
  /*  overflow: hidden; */
}

.cover__photo {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(40%, 520px);
    object-fit: cover;
    object-position: left center;
}

.cover::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(40%, 520px);
    background: linear-gradient(90deg, var(--dark), transparent 35%);
    z-index: 1;
    pointer-events: none;
}

.cover__in {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - var(--bar));
    display: flex;
    flex-direction: column;
    padding: 32px 0;
}

.cover__brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cover__brand img {
    width: 100px;
    height: 84px;
    object-fit: cover;
}

.cover__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.cover__sub {
    font-size: 28px;
    color: var(--rose);
    line-height: 1.1;
}

.cover__tag,
.kicker {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose);
    margin-top: 14px;
}

/* ГЛАВНОЕ ИСПРАВЛЕНИЕ: убран margin-block:auto, который центрировал блок и создавал огромные пустоты */
.cover__main {
    margin-top: 150px;
    padding-bottom: 24px;
    max-width: 600px;
}

.cover__kicker {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 20px;
    max-width: 340px;
}

.cover h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -.5px;
}

.cover__text {
    margin-top: 28px;
    font-size: 15px;
    color: #c0aab5;
    line-height: 1.7;
}

.benefits {
    margin-top: 24px; /* было 48px — уменьшили */
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.benefits li {
    border: 1px solid var(--plum);
    padding: 12px 18px;
    font-size: 13px;
    color: #c0aab5;
    max-width: 220px;
}

.cover__foot {
    margin-top: auto; /* прижимает футер к низу */
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #a47e90;
    padding-top: 20px;
    position: relative;
}

.cover__foot::before {
    content: "";
    width: 100px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 12px;
}

/* ============================================
   PAGE BLOCKS
   ============================================ */
.page {
    padding: 72px 0 28px;
    border-top: 1px solid var(--line);
}

.page:nth-of-type(odd) {
    background: var(--bg);
}

.page__head {
    margin-bottom: 40px;
}

.page__head .kicker {
    margin: 0 0 10px;
    color: #a07080;
    font-weight: 500;
    font-size: 11px;
}

.page__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.page__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.15;
    color: var(--ink);
    max-width: 760px;
}

.page__title .ru {
    font-weight: 700;
}

.cont {
    font-size: .5em;
    color: var(--muted);
    letter-spacing: 1px;
}

.page__title.big {
    font-size: clamp(32px, 4.4vw, 54px);
    max-width: none;
}

.page__title.big em {
    display: block;
}

.page__meta {
    display: flex;
    gap: 28px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 6px;
}

.rule {
    width: 60%;
    border: 0;
    height: 1px;
    background: var(--accent);
    margin-top: 18px;
}

.rule--dark {
    background: var(--plum);
    margin-block: 48px 24px;
    height: 1px;
}

.lead {
    margin-top: 20px;
    max-width: 880px;
    font-size: 15px;
    color: #8d7f84;
    line-height: 1.7;
}

/* ============================================
   GRID & CARDS
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--accent);
    z-index: 2;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(62, 29, 42, .12);
}

.card__photo {
    aspect-ratio: 150 / 132;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__photo img.is-missing {
    display: none;
}

.card__body {
    padding: 18px 20px 22px;
    flex: 1;
}

.card__title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

.card__title .sep {
    font-weight: 400;
    color: var(--muted);
}

.card dt {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--label);
    margin-top: 10px;
}

.card dd {
    font-size: 13.5px;
    color: var(--body);
    line-height: 1.5;
}

.page__foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    margin-top: 56px;
    padding-block: 18px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #b991a0;
}

.page__foot span:nth-child(2) {
    color: #cbb6c0;
    text-align: center;
}

.page__foot span:last-child {
    text-align: right;
}

/* ============================================
   BRANDS
   ============================================ */
.brands {
    background: var(--bg);
}

.brands__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
}

.brand {
    border: 1px solid var(--line);
    margin: -.5px;
    padding: 20px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 150px;
    justify-content: space-between;
}

.brand img {
    width: 100%;
    max-width: 190px;
    height: 64px;
    object-fit: contain;
}

.brand img.is-missing {
    visibility: hidden;
}

.brand span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b18c99;
    text-align: center;
}

.handshake {
    margin: 56px 0 0;
    height: clamp(160px, 26vw, 300px);
    background: var(--bg-soft);
}

.handshake img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.handshake img.is-missing {
    display: none;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 72px 0 40px;
   /* overflow: hidden; */
}

.contact__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: min(55%, 640px);
    height: 420px;
    object-fit: cover;
    opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
    mask-image: linear-gradient(90deg, transparent, #000 40%);
}

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

.contact__icon {
    width: 100px;
    height: 84px;
    object-fit: cover;
    margin-bottom: 56px;
}

.contact .kicker {
    margin: 0 0 14px;
}

.contact h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5.4vw, 64px);
    color: #e6e2e4;
    line-height: 1.1;
}

.contact__lead {
    margin-top: 28px;
    max-width: 520px;
    color: #c5afb7;
    font-size: 15px;
    line-height: 1.7;
}

.contact .brands__grid {
    margin-top: 72px;
    border-color: var(--plum);
    max-width: 760px;
}

.contact .brand {
    border-color: var(--plum);
    min-height: 120px;
}

.contact .brand img {
    filter: brightness(.95);
}

.seo__text {
    font-size: 12px;
    line-height: 1.75;
    color: #d9a9b3;
    max-width: 960px;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height .5s;
}

.seo__text::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    background: linear-gradient(transparent, var(--dark));
    transition: opacity .3s;
}

.seo__text.is-open {
    max-height: 3000px;
}

.seo__text.is-open::after {
    opacity: 0;
}

.seo__text p + p {
    margin-top: 12px;
}

.seo__btn {
    margin-top: 18px;
    background: none;
    border: 1px solid var(--plum);
    color: #fff;
    padding: 10px 22px;
    font: 500 11px var(--sans);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
}

.seo__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.contact__foot p {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #b991a0;
}

/* ============================================
   TO-TOP BUTTON
   ============================================ */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s;
    z-index: 40;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s, transform .6s;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

 

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 84px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .4);
    transition: transform .25s, box-shadow .25s;
    z-index: 40;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, .6);
}
.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .nav a {
        padding: 8px 7px;
        font-size: 10px;
    }
}

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

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: var(--bar) 0 auto;
        background: var(--dark);
        flex-direction: column;
        padding: 12px 20px 24px;
        max-height: calc(100vh - var(--bar));
        overflow: auto;
        transform: translateY(-120%);
        transition: transform .3s;
        gap: 0;
    }

    .nav.is-open {
        transform: none;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(149, 71, 111, .35);
        font-size: 12px;
    }

    .cover__photo,
    .cover::before {
        width: 100%;
        opacity: .28;
    }

    .cover::before {
        display: none;
    }

    .brands__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__photo {
        opacity: .35;
        width: 100%;
    }
}

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

    .page {
        padding-top: 48px;
    }

    .page__foot {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .page__foot span {
        text-align: left !important;
    }

    .page__meta {
        gap: 16px;
    }

    .benefits li {
        max-width: none;
        flex: 1 1 40%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .card {
        transition: none;
    }
}