/* ===== Шрифт Inter (локально, кириллица + латиница) ===== */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter-v20-cyrillic_latin-300.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-v20-cyrillic_latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-v20-cyrillic_latin-500.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-v20-cyrillic_latin-600.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/inter-v20-cyrillic_latin-900.woff2") format("woff2");
}

/* ===== Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* якоря не прячутся под липким хедером */
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: #f2f2f0;
    color: #1c1c1c;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

button {
    font: inherit;
}

/* ===== Tokens ===== */
.page {
    --c-bg: #f2f2f0;
    --c-ink: #1c1c1c;
    --c-text-2: #5e6266;
    --c-muted: #8a8e93;
    --c-line: #d5d7d6;
    --c-accent: #2f5a48;
    --c-surface-2: #e6e7e4;
    --photo-grad: linear-gradient(145deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);

    --page-pad: 24px;
    /* Страница на всю ширину окна, а контент — по центру, не шире 1440px (с полями).
       Так фон липкой шапки тянется на весь экран. */
    --gutter: max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad)));

    padding: var(--page-pad) var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--c-bg);
    color: var(--c-ink);
    /* clip, а не hidden — иначе position: sticky у хедера не работает */
    overflow-x: clip;
}

.page p {
    margin: 0;
}

.page h1, .page h2 {
    margin: 0;
    font-weight: 300;
}

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

.muted {
    color: var(--c-muted);
}

/* ===== Pills ===== */
.pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 14px;
    border: 1px solid var(--c-ink);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}

.pill-lg {
    padding: 12px 21px;
    border-width: 1.5px;
    font-size: 15.4px;
}

.pill-dark {
    background: var(--c-ink);
    border-color: var(--c-ink);
    color: #fff;
    align-self: flex-end;
}

/* ===== Photo placeholders ===== */
.photo {
    background: var(--photo-grad);
    border-radius: 16px;
    color: #fff;
    overflow: hidden;
}

.photo-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.photo-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Nav ===== */
/* Липкий хедер: выходит на поля страницы, чтобы фон занимал всю ширину окна */
.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: calc(var(--page-pad) * -1) calc(var(--gutter) * -1) 0;
    padding: 16px calc(var(--gutter) + 8px) 12px;
    background: var(--c-bg);
    transition: background-color .25s ease;
}

/* После начала прокрутки шапка становится белой (класс ставит js/site.js) */
.nav.scrolled {
    background: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links a {
    color: var(--c-text-2);
    letter-spacing: 0.04em;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--c-ink);
}

.nav-links a.active {
    font-weight: 600;
}

.nav-dot {
    color: var(--c-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-ink);
}

.nav-actions .pill:hover {
    background: var(--c-ink);
    color: #fff;
}

/* ===== Hero ===== */
.hero {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 48px 8px 32px;
}

.hero-intro {
    flex: 0 0 267px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 150px;
}

.caption {
    color: var(--c-text-2);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-title {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: clamp(56px, 10.4vw, 150px);
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-title-first {
    font-weight: 900;
}

.hero-title-last {
    font-weight: 300;
    text-align: right;
}

.hero-image {
    height: 600px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 220px;
    font-weight: 500;
    text-transform: uppercase;
    background-image: linear-gradient(157deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);
}

.hero-image-label {
    font-size: 22px;
    letter-spacing: 0.06em;
}

.hero-image-sub {
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

/* ===== Statement ===== */
.statement {
    padding: 110px 80px;
    text-align: center;
}

.statement p {
    font-size: clamp(22px, 2.65vw, 38px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ===== Section heads ===== */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 8px 8px;
}

.h-section {
    font-size: clamp(36px, 3.9vw, 56px);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.h-64 {
    font-size: clamp(40px, 4.45vw, 64px);
    line-height: 1;
}

.section-note {
    width: 260px;
    color: var(--c-text-2);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: right;
    text-transform: uppercase;
}

/* ===== Напрямки ===== */
.directions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.directions-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.feature-list {
    flex: 0 0 600px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px;
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 28, 28, .06);
}

.feature-top,
.feature-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-transform: uppercase;
}

.feature-bottom {
    align-items: flex-end;
}

.feature-num {
    color: var(--c-muted);
    font-size: 12px;
    font-weight: 500;
}

.feature-title {
    max-width: 380px;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.05;
    text-align: right;
}

.feature-body {
    max-width: 300px;
    color: var(--c-text-2);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.feature-card img {
    flex-shrink: 0;
    transition: transform .25s ease;
}

.feature-card:hover img {
    transform: translate(2px, -2px);
}

.feature-card.dark {
    background: var(--c-ink);
    color: #fff;
}

.feature-card.dark .feature-num,
.feature-card.dark .feature-body {
    color: #b8bbbe;
}

.directions-photo {
    flex: 1;
    min-width: 0;
    min-height: 300px;
    background-image: linear-gradient(144deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);
}

/* ===== Сесія ===== */
.session {
    display: flex;
    gap: 40px;
    padding: 24px;
    border-radius: 16px;
    background: var(--c-surface-2);
}

.session-photo {
    flex: 0 0 500px;
    min-height: 460px;
    background-image: linear-gradient(136deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);
}

.session-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 24px 24px 24px 0;
}

.session-head {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    text-align: right;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-num {
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 500;
}

.step-title {
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.step-body {
    color: var(--c-text-2);
    font-size: 13px;
    line-height: 1.55;
}

/* ===== Про мене ===== */
.about {
    display: flex;
    gap: 16px;
}

.about-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    border-radius: 16px;
    background: #fff;
}

.about-quote {
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.about-body {
    color: var(--c-text-2);
    font-size: 15px;
    line-height: 1.6;
}

.about-photo {
    flex: 0 0 440px;
    min-height: 520px;
    background-image: linear-gradient(130deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);
}

/* ===== Відгуки ===== */
.reviews {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 64px 8px 48px;
}

.reviews .section-head {
    padding: 0;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-counter {
    margin-right: 12px;
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.slider-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--c-ink);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}

.slider-btn:active {
    transform: scale(.96);
}

.slider-btn:disabled {
    opacity: .35;
    cursor: default;
}

.slider-btn-dark {
    background: var(--c-ink);
}

.slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 500px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    scroll-snap-align: start;
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-tag {
    padding: 6px 12px;
    border: 1px solid var(--c-accent);
    border-radius: 999px;
    color: var(--c-accent);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.review-quote-mark {
    height: 24px;
    color: #c9cccb;
    font-size: 64px;
    font-weight: 300;
    line-height: 0.6;
}

.review-text {
    font-size: 17px;
    line-height: 1.55;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #e1e3e2;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.review-meta {
    margin-top: 3px !important;
    color: var(--c-muted);
    font-size: 12px;
}

.review-card.dark {
    background: var(--c-ink);
    color: #fff;
}

.review-card.dark .review-tag {
    border-color: #b8d4c4;
    color: #b8d4c4;
}

.review-card.dark .review-quote-mark {
    color: #4a4d50;
}

.review-card.dark .review-author {
    border-top-color: #3a3d40;
}

.review-card.dark .review-meta {
    color: #a6aaad;
}

.slider-progress {
    position: relative;
    height: 2px;
    border-radius: 2px;
    background: var(--c-line);
    overflow: hidden;
}

.slider-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 20%;
    background: var(--c-ink);
    transition: left .3s ease, width .3s ease;
}

/* ===== FAQ ===== */
.faq {
    display: flex;
    gap: 40px;
    padding: 64px 8px;
}

.faq-title {
    flex: 0 0 238px;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.faq-list {
    flex: 1;
    min-width: 0;
}

.faq-row {
    display: flex;
    gap: 43px;
    min-height: 108px;
    padding: 24px 0;
    border-top: 1px solid var(--c-line);
}

.faq-q {
    flex: 0 0 326px;
    font-size: 17px;
    text-transform: uppercase;
}

.faq-a {
    flex: 1;
    color: var(--c-text-2);
    font-size: 15px;
    line-height: 1.55;
}

/* ===== CTA ===== */
.cta {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 56px 48px 48px;
    border-radius: 16px;
    background: var(--c-ink);
    color: #fff;
}

.cta-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: #b8bbbe;
    font-weight: 500;
    text-transform: uppercase;
}

.cta-label {
    font-size: 14px;
    letter-spacing: 0.06em;
}

.cta-note {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-align: right;
}

.cta-phone {
    font-size: clamp(36px, 8.35vw, 120px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background-color .2s, border-color .2s;
}

.btn-white {
    background: #fff;
    color: var(--c-ink) !important;
    font-weight: 600;
}

.btn-white:hover {
    background: #e6e7e4;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

/* ===== Footer ===== */
.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 8px 0;
    color: var(--c-muted);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== Progressive blur внизу экрана =====
   Несколько слоёв backdrop-filter с нарастающим размытием,
   каждый виден только в своей полосе (mask), — получается плавный переход. */
.bottom-blur {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(242, 242, 240, 0), rgba(242, 242, 240, .55));
    transition: opacity .35s ease;
}

.bottom-blur.hidden {
    opacity: 0;
}

.bottom-blur span {
    position: absolute;
    inset: 0;
}

.bottom-blur span:nth-child(1) {
    -webkit-backdrop-filter: blur(.5px);
    backdrop-filter: blur(.5px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 33%, transparent 50%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 33%, transparent 50%);
}

.bottom-blur span:nth-child(2) {
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 16%, #000 33%, #000 50%, transparent 66%);
    mask-image: linear-gradient(to bottom, transparent 16%, #000 33%, #000 50%, transparent 66%);
}

.bottom-blur span:nth-child(3) {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 33%, #000 50%, #000 66%, transparent 83%);
    mask-image: linear-gradient(to bottom, transparent 33%, #000 50%, #000 66%, transparent 83%);
}

.bottom-blur span:nth-child(4) {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 50%, #000 66%, #000 83%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 50%, #000 66%, #000 83%, transparent 100%);
}

.bottom-blur span:nth-child(5) {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 66%, #000 83%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 66%, #000 83%, #000 100%);
}

.bottom-blur span:nth-child(6) {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 83%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 83%, #000 100%);
}

@media (max-width: 768px) {
    .bottom-blur {
        height: 88px;
    }
}

/* ===== Scroll to top ===== */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-ink);
    box-shadow: 0 6px 20px rgba(28, 28, 28, .18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.scroll-top:hover {
    background: var(--c-accent);
}

.scroll-top:active {
    transform: scale(.94);
}

/* ===== Mobile-only helpers & menu (hidden on desktop) ===== */
.m-only {
    display: none;
}

.menu-btn {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--c-ink);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.menu-btn-icon,
.menu-btn-icon::before {
    display: block;
    width: 12px;
    height: 1.2px;
    border-radius: 1px;
    background: var(--c-ink);
    transition: transform .25s ease;
}

.menu-btn-icon {
    position: relative;
    transform: translateY(-3px);
}

.menu-btn-icon::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
}

.nav.menu-open .menu-btn-icon {
    transform: translateY(0) rotate(45deg);
}

.nav.menu-open .menu-btn-icon::before {
    transform: translateY(-6px) rotate(-90deg);
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 40;
    display: flex;
    flex-direction: column;
    padding: 8px 20px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(28, 28, 28, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid #e1e3e2;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mobile-menu a.mobile-menu-phone {
    margin-top: 16px;
    padding: 16px;
    border: 0;
    border-radius: 999px;
    background: var(--c-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* ===== Tablet ===== */
@media (max-width: 1200px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: grid;
    }

    .call-icon {
        width: 44px;
        height: 44px;
    }

    .feature-list {
        flex-basis: 50%;
    }

    .session-photo {
        flex-basis: 38%;
    }

    .about-photo {
        flex-basis: 36%;
    }
}

/* ===== Mobile (макет 390) ===== */
@media (max-width: 768px) {
    .d-only {
        display: none;
    }

    .m-only {
        display: revert;
    }

    .page {
        --page-pad: 16px;
        gap: 12px;
    }

    /* Nav */
    .nav {
        padding: 12px 16px 10px;
    }

    .logo {
        gap: 8px;
        font-size: 14px;
    }

    .logo img {
        width: 22px;
        height: 22px;
    }

    .nav-phone {
        display: none;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        gap: 18px;
        padding: 28px 0 8px;
    }

    .hero-intro {
        display: contents;
    }

    .hero .pill-lg {
        order: 1;
        padding: 8px 14px;
        border-width: 1px;
        font-size: 11px;
    }

    .hero-title {
        order: 2;
        width: 100%;
        font-size: clamp(44px, 15.4vw, 72px);
        line-height: 0.95;
    }

    .hero .caption {
        order: 3;
        font-size: 13px;
        letter-spacing: 0.02em;
    }

    .hero-image {
        height: 440px;
        padding: 20px;
        justify-content: space-between;
        gap: 24px;
        border-radius: 14px;
        background-image: linear-gradient(129deg, #d9ddda 14%, #a9b3ae 54%, #6f7d76 86%);
    }

    .hero-image-label {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .hero-cta.m-only {
        display: flex;
        justify-content: center;
        padding: 16px;
        border-radius: 999px;
        background: var(--c-ink);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    /* Statement */
    .statement {
        padding: 56px 4px;
    }

    .statement p {
        font-size: 24px;
        line-height: 1.2;
    }

    /* Section heads */
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0 0 8px;
    }

    .h-section,
    .h-64 {
        font-size: 40px;
        line-height: 1;
    }

    .section-note {
        width: auto;
        font-size: 12px;
        letter-spacing: 0.03em;
        text-align: left;
    }

    /* Напрямки */
    .directions {
        gap: 10px;
    }

    .directions-row {
        flex-direction: column;
        gap: 10px;
    }

    .feature-list {
        flex-basis: auto;
    }

    .feature-card {
        gap: 18px;
        padding: 20px;
    }

    .feature-num {
        font-size: 13px;
    }

    .feature-title {
        max-width: 250px;
        font-size: 26px;
    }

    .feature-body {
        max-width: 260px;
        font-size: 12px;
        letter-spacing: 0.02em;
    }

    .feature-card img {
        width: 22px;
        height: 22px;
    }

    .directions-photo {
        min-height: 0;
        height: 280px;
        border-radius: 14px;
    }

    .photo-label {
        letter-spacing: 0.06em;
    }

    /* Сесія */
    .session {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
        border-radius: 14px;
    }

    .session-photo {
        order: 2;
        flex-basis: auto;
        min-height: 0;
        height: 220px;
        border-radius: 14px;
    }

    .session-content {
        gap: 24px;
        padding: 0;
    }

    .session-head {
        align-items: flex-start;
        gap: 24px;
        text-align: left;
    }

    .pill-dark {
        align-self: flex-start;
        font-size: 11px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .step-num {
        font-size: 14px;
    }

    .step-title {
        font-size: 22px;
    }

    .step-body {
        font-size: 15px;
    }

    /* Про мене */
    .about {
        flex-direction: column;
        gap: 12px;
    }

    .about-text {
        gap: 20px;
        padding: 20px;
        border-radius: 14px;
    }

    .about-text .pill {
        font-size: 11px;
    }

    .about-quote {
        font-size: 26px;
        line-height: 1.18;
    }

    .about-photo {
        flex-basis: auto;
        min-height: 0;
        height: 420px;
        border-radius: 14px;
    }

    /* На мобільному «Питання» йдуть перед «Відгуками» */
    .reviews {
        order: 1;
    }

    .cta,
    .footer,
    .scroll-top {
        order: 2;
    }

    /* Питання */
    .faq {
        flex-direction: column;
        gap: 16px;
        padding: 40px 0 24px;
    }

    .faq-title {
        flex-basis: auto;
        font-size: 40px;
    }

    .faq-row {
        flex-direction: column;
        gap: 8px;
        min-height: 0;
        padding: 18px 0;
    }

    .faq-row:last-child {
        border-bottom: 1px solid var(--c-line);
    }

    .faq-q {
        flex-basis: auto;
        font-size: 15px;
    }

    .faq-a {
        font-size: 14px;
    }

    /* Відгуки: заголовок → слайдер → керування → прогрес */
    .reviews {
        gap: 20px;
        padding: 40px 0 24px;
    }

    .reviews .section-head {
        display: contents;
    }

    .reviews .h-section {
        order: 1;
    }

    .slider-track {
        order: 2;
        gap: 12px;
    }

    .slider-controls {
        order: 3;
        width: 100%;
    }

    .slider-progress {
        order: 4;
    }

    .slider-counter {
        margin-right: auto;
        font-size: 12px;
    }

    .review-card {
        flex: 0 0 300px;
        min-height: 0;
        padding: 22px;
    }

    /* CTA */
    .cta {
        gap: 24px;
        padding: 32px 20px 24px;
        border-radius: 14px;
    }

    .cta-top {
        flex-direction: column;
        gap: 24px;
    }

    .cta-label {
        font-size: 11px;
    }

    .cta-note {
        color: #fff;
        font-size: 20px;
        font-weight: 300;
        line-height: 1.25;
        letter-spacing: 0;
        text-align: left;
    }

    .cta-phone {
        font-size: 30px;
        letter-spacing: -0.02em;
        white-space: normal;
    }

    .cta-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .btn {
        padding: 16px 22px;
        font-size: 13px;
        text-align: center;
    }

    .btn-white {
        grid-column: 1 / -1;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        gap: 6px;
        padding: 8px 4px 4px;
        font-size: 11px;
        letter-spacing: 0.03em;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 360px) {
    .review-card {
        flex-basis: 86%;
    }
}

/* ===== Анимации ===== */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes image-in {
    from {
        opacity: 0;
        transform: translateY(32px) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Первый экран — при загрузке, по очереди */
.nav {
    animation: fade-in .6s ease both;
}

.hero .pill-lg,
.hero .caption,
.hero-title-first,
.hero-title-last {
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-title-first {
    animation-delay: .1s;
}

.hero-title-last {
    animation-delay: .22s;
}

.hero .pill-lg {
    animation-delay: .35s;
}

.hero .caption {
    animation-delay: .45s;
}

.hero-image {
    animation: image-in 1.1s cubic-bezier(.2, .7, .2, 1) .5s both;
}

.hero-cta {
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .65s both;
}

/* Остальные блоки — появляются при прокрутке (класс is-visible ставит js/site.js) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Лесенка для элементов в списках */
.feature-card:nth-child(2), .step:nth-child(2), .faq-row:nth-child(2) { --d: 1; }
.feature-card:nth-child(3), .step:nth-child(3), .faq-row:nth-child(3) { --d: 2; }
.feature-card:nth-child(4), .step:nth-child(4), .faq-row:nth-child(4) { --d: 3; }
.directions-photo,
.about-photo,
.slider-controls { --d: 2; }

/* Когда появление закончилось (класс reveal-done ставит js), карточкам возвращаем быстрый hover */
.js .feature-card.reveal-done {
    transition: transform .25s ease, box-shadow .25s ease;
}

.js .feature-card.reveal-done:hover {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ===== Страница 404 ===== */
.notfound {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 64px 8px;
    text-align: center;
}

/* Страница на всю высоту экрана: контент по центру, футер прижат к низу */
.page-fullheight {
    min-height: 100vh;
    min-height: 100dvh;
}

.notfound-code {
    margin: 0;
    font-size: clamp(120px, 24vw, 320px);
    font-weight: 300;
    line-height: .85;
    letter-spacing: -0.04em;
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .1s both;
}

.notfound-title {
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .25s both;
}

.notfound-text {
    max-width: 420px;
    color: var(--c-text-2);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .35s both;
}

.notfound-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .45s both;
}

.btn-dark {
    background: var(--c-ink);
    color: #fff !important;
    font-weight: 600;
}

.btn-dark:hover {
    background: var(--c-accent);
}

.btn-outline-dark {
    border: 1px solid var(--c-ink);
}

.btn-outline-dark:hover {
    background: var(--c-ink);
    color: #fff !important;
}

@media (max-width: 768px) {
    .notfound {
        gap: 20px;
    }

    .notfound-buttons {
        width: 100%;
        flex-direction: column;
    }

    .notfound-buttons .btn {
        text-align: center;
    }
}
