/* ============================================================
   main.css — Полная стабильная верстка «Midnight Indigo & Soothing Mist»
   ============================================================ */

/* ---- SVG Helpers ---- */
.ico {
    display: inline-block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.ico-check {
    width: 1em;
    height: 1em;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.i-arrow {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.1em;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---- Контейнеры и сетка ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section {
    padding-block: var(--section-y);
    position: relative;
    overflow: hidden;
}
.section--dark {
    background-color: var(--dark);
    color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .lead { color: var(--cream-soft); }

/* Надзаголовок-бейдж */
.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--theme-accent);
    background: var(--theme-accent-soft);
    padding: 0.35rem 0.95rem;
    border-radius: var(--r-full);
    margin-bottom: 0.9rem;
    width: fit-content;
}
.eyebrow::before { display: none; }
.section--dark .eyebrow {
    background: rgba(74, 85, 130, 0.25);
    color: #BAC2E2;
}

.section__head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__head--center {
    margin-inline: auto;
    text-align: center;
}
.section__head--center .eyebrow { margin-inline: auto; }
.section__head h2 { font-size: var(--fs-h2); }
.lead {
    font-size: var(--fs-lead);
    color: var(--ink-soft);
    line-height: 1.55;
    margin-top: 0.8rem;
}

/* ---- Кнопки: Ночной индиго (#1E2540) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.85rem 1.85rem;
    border-radius: var(--r-full);
    background: var(--theme-cta);
    color: var(--theme-cta-text);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--dur) var(--ease), transform 0.15s ease, box-shadow var(--dur) var(--ease);
    text-align: center;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        background: var(--theme-cta-hover);
        transform: translateY(-1.5px);
        box-shadow: var(--shadow-md);
    }
}
.btn:active { transform: translateY(0.5px); }

.btn--glass {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--border-strong);
}
@media (hover: hover) and (pointer: fine) {
    .btn--glass:hover { background: var(--bg-alt); border-color: var(--theme-accent); }
}
.btn--rose {
    background: var(--theme-cta);
    color: #FFFFFF;
}
@media (hover: hover) and (pointer: fine) {
    .btn--rose:hover { background: var(--theme-cta-hover); }
}
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding-inline: 2.2rem; font-size: 1.02rem; }

/* ---- Фоновая аура (прохладные вечерние полутона) ---- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}
.aurora__blob--1 { width: 45vw; height: 45vw; left: -10vw; top: -5vw; background: #9BA6D1; }
.aurora__blob--2 { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: #C4D6CE; }
.aurora__blob--3 { width: 40vw; height: 40vw; left: 30vw; bottom: -10vw; background: #D9DFEE; }

/* ============================================================
   HEADER & МОБИЛЬНОЕ МЕНЮ
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    height: var(--header-h);
    background: rgba(248, 249, 252, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
    background: rgba(248, 249, 252, 0.98);
    box-shadow: var(--shadow-sm);
}
.site-header.menu-open {
    background: #F8F9FC !important;
    border-bottom-color: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand__name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.22rem;
    letter-spacing: -0.01em;
}
.brand__role {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin-top: 2px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav__links {
    display: flex;
    gap: 1.3rem;
    list-style: none;
}
.nav__links a {
    font-size: 0.9rem;
    color: var(--ink-soft);
    font-weight: 500;
    transition: color var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--theme-accent); }
.nav__cta { min-height: 42px; padding: 0.55rem 1.3rem; font-size: 0.88rem; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}
.burger span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), top 0.25s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    height: calc(100dvh - var(--header-h));
    background: #F8F9FC;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease), visibility 0.28s;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    z-index: 1990;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    text-align: left;
}
.mobile-menu .btn { margin-top: 1.6rem; }

body.menu-open .sticky-bar,
body.menu-open .to-top {
    display: none !important;
}

/* ============================================================
   HERO (БЕЗУПРЕЧНАЯ СЕТКА И АДАПТИВ)
   ============================================================ */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.8rem));
    padding-bottom: var(--section-y);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero__content { min-width: 0; }
.hero__title {
    font-size: var(--fs-hero);
    font-weight: 560;
    margin: 0.8rem 0 1.2rem;
    line-height: 1.12;
}
/* Акцентное слово в заголовке — лаванда-сланец (#4A5582) */
.hero__title .accent {
    color: var(--theme-accent);
}
.hero__sub {
    max-width: 48ch;
    margin-bottom: 2rem;
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}
.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}
.hero__link-alt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}
.hero__link-alt:hover { color: var(--theme-accent); }

/* Монолитный трастовый бейдж */
.hero__trust-strip {
    display: flex;
    align-items: center;
    margin-top: 0.6rem;
}
.hero__trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ink-mute);
    background: var(--bg-alt);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-full);
}
.hero__trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34A853;
    flex-shrink: 0;
}

/* Медиа-блок и инфокарта */
.hero__media {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}
.hero__photo {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(248, 249, 252, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    color: var(--ink);
    padding: 0.55rem 1rem;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* ЭТАЛОННАЯ ИНФОКАРТА МЕТОДА */
.hero__infocard {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(1.6rem, 3.5vw, 2.4rem);
    box-shadow: var(--shadow-md);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 100%;
}
.hero__infocard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hero__infocard-tag {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--theme-accent);
    background: var(--theme-accent-soft);
    padding: 0.35rem 0.85rem;
    border-radius: var(--r-full);
}
.hero__infocard-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.hero__status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34A853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.2);
}
.hero__infocard-title {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}
.hero__infocard-steps { display: grid; gap: 1.1rem; }
.hero__info-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.hero__info-num {
    flex-shrink: 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-accent);
    background: var(--theme-accent-soft);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: 2px;
}
.hero__info-body b {
    display: block;
    font-size: 0.94rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.hero__info-body p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.45;
    margin: 0;
}
.hero__infocard-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}
.hero__info-stat b {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--theme-accent);
    margin-bottom: 0.25rem;
}
.hero__info-stat span {
    font-size: 0.78rem;
    color: var(--ink-mute);
    line-height: 1.35;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    background: var(--surface);
    border-block: 1px solid var(--border);
    padding: 0.9rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee__track {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    will-change: transform;
}
.marquee__item {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--ink-soft);
    padding-inline: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}
.marquee__item::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--theme-accent);
    opacity: 0.6;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   RECOGNIZE («Узнаёте себя»)
   ============================================================ */
.recog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-bottom: 2.2rem;
}
.recog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.recog-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
    margin-bottom: 1.2rem;
}
.recog-card__icon svg { width: 24px; height: 24px; }
.recog-card h3 { font-size: 1.22rem; margin-bottom: 1rem; }
.recog-card ul { list-style: none; display: grid; gap: 0.75rem; }
.recog-card li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.recog-card li::before {
    content: "";
    flex-shrink: 0;
    width: 12px;
    height: 2px;
    margin-top: 0.65em;
    background: var(--theme-accent);
    border-radius: 2px;
}
.recog-note {
    max-width: 60ch;
    font-size: var(--fs-lead);
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
    text-align: left;
}

/* ============================================================
   STATS («Метод в цифрах»)
   ============================================================ */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.stat-tile {
    text-align: center;
    padding: 2.2rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.stat-tile__num {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.05;
    font-weight: 600;
    color: var(--theme-accent);
    margin-bottom: 0.6rem;
}
.stat-tile__label {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-picker {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    display: grid;
    gap: 0.85rem;
}
.quiz-picker__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.3rem 1.6rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    text-align: left;
    width: 100%;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .quiz-picker__card:hover {
        border-color: var(--theme-accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}
.quiz-picker__info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
}
.quiz-picker__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}
.quiz-picker__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.quiz-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: var(--bg-alt);
    border-radius: var(--r-full);
    font-size: 0.76rem;
    color: var(--ink-mute);
    font-weight: 600;
}
.quiz-tag--clinical {
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
}
.quiz-picker__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--theme-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: left;
}
.quiz-intro h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    margin-bottom: 0.8rem;
}
.quiz-privacy {
    background: var(--bg-alt);
    border-radius: var(--r-md);
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 1.4rem 0 2rem;
}
.quiz-progress {
    height: 6px;
    background: var(--bg-alt);
    border-radius: var(--r-full);
    margin-bottom: 1.2rem;
    overflow: hidden;
}
.quiz-progress__fill {
    height: 100%;
    background: var(--theme-accent);
    transition: width 0.3s ease;
}
.quiz-counter { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 0.5rem; }
.quiz-question {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.35;
    margin-bottom: 1.5rem;
}
.quiz-answers { display: grid; gap: 0.6rem; }
.quiz-answer {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md);
    background: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s;
}
.quiz-answer:hover {
    border-color: var(--theme-accent);
    background: var(--theme-accent-soft);
}
.quiz-scale {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.quiz-scale button {
    height: 46px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: #FFFFFF;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.quiz-scale button:hover { border-color: var(--theme-accent); background: var(--theme-accent-soft); }
.quiz-scale__ends {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.82rem;
    color: var(--ink-mute);
    margin-top: 0.6rem;
}

.quiz-back,
.quiz-back-to-list,
#qRetry {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--ink-mute);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.6rem 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.quiz-back:hover,
.quiz-back-to-list:hover,
#qRetry:hover { color: var(--theme-accent); }

.quiz-result__badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.quiz-result__sessions {
    margin: 1.2rem 0;
    padding: 0.9rem 1.2rem;
    border-radius: var(--r-md);
    background: var(--point-b-bg);
    color: var(--point-b-text);
    font-size: 0.95rem;
}
.quiz-result__sessions b { font-size: 1.1rem; }
.quiz-personal { margin: 1.4rem 0; display: grid; gap: 0.8rem; }
.quiz-personal__item {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    border-left: 3px solid var(--theme-accent);
}
.quiz-personal__item h4 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.quiz-personal__item ul { list-style: none; display: grid; gap: 0.3rem; }
.quiz-personal__item li { font-size: 0.88rem; color: var(--ink-soft); }

.quiz-result__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.8rem;
    margin-bottom: 1.2rem;
}
.quiz-disclaimer {
    margin-top: 1.6rem;
    font-size: 0.82rem;
    color: var(--ink-mute);
    line-height: 1.55;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* ============================================================
   METHOD
   ============================================================ */
.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.method-step {
    position: relative;
    padding: 1.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.method-step__num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--theme-accent);
}
.method-step h3 { font-size: 1.24rem; margin: 0.8rem 0 0.5rem; }
.method-step p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.method-step__arrow {
    position: absolute;
    top: 2.2rem;
    right: -1rem;
    width: 24px;
    height: 24px;
    color: var(--theme-accent);
    opacity: 0.6;
    z-index: 2;
}
.method-step__arrow svg { width: 24px; height: 24px; }

.method-quote {
    max-width: 32ch;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    line-height: 1.35;
    color: var(--ink);
    padding-top: 1.5rem;
}
.method-quote__mark {
    display: block;
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    margin: 0 auto 0.8rem;
    color: var(--theme-accent);
    opacity: 0.85;
}
.method-quote__mark svg { width: 32px !important; height: 32px !important; display: block; }

/* ============================================================
   COMPARE
   ============================================================ */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.compare__col {
    border-radius: var(--r-xl);
    padding: 2.2rem;
    text-align: left;
}
.compare__col--old { background: var(--bg-alt); border: 1px solid var(--border); }
.compare__col--new { background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); }
.compare__col h3 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.compare__col--new h3 { color: var(--theme-accent); }
.compare__col ul { list-style: none; display: grid; gap: 1rem; }
.compare__col li { display: flex; gap: 0.75rem; font-size: 0.98rem; line-height: 1.5; }
.compare__col li .mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: 1px;
}
.compare__col--old .mark { background: rgba(30, 37, 64, 0.08); color: var(--ink-mute); }
.compare__col--new .mark { background: var(--theme-accent); color: #FFFFFF; }
.compare__col .mark svg { width: 14px; height: 14px; }

/* ============================================================
   REQUESTS
   ============================================================ */
.tabs { width: 100%; }
.tabs__nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.35rem;
    background: rgba(248, 249, 252, 0.08);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-full);
    margin: 0 auto 2.2rem;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding: 0.5rem;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tab-btn {
    padding: 0.65rem 1.4rem;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--cream-soft);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
    scroll-snap-align: center;
    flex-shrink: 0;
}
.tab-btn[aria-selected="true"] { background: var(--theme-accent); color: #FFFFFF; }
.tabs__panels { display: grid; }
.tab-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur);
    pointer-events: none;
}
.tab-panel.active { opacity: 1; visibility: visible; pointer-events: auto; }
.tab-panel ul { list-style: none; display: grid; gap: 1rem; }
.tab-panel li {
    display: flex;
    gap: 0.75rem;
    font-size: 1.02rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-border);
    color: var(--cream);
    text-align: left;
}
.tab-panel li::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 0.6em;
    border-radius: 50%;
    background: var(--theme-accent);
}
.tab-result {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    text-align: left;
}
.tab-result p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--cream);
}

/* ============================================================
   SAFETY
   ============================================================ */
.safety {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.safety-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.safety-card__ic {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
    flex-shrink: 0;
}
.safety-card__ic svg {
    width: 22px !important;
    height: 22px !important;
    display: block;
}
.safety-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.safety-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.process-step {
    padding: 1.8rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.process-step__num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--theme-cta);
    color: #FFFFFF;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   SESSION FLOW
   ============================================================ */
.session-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.session-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.session-card__time {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #BAC2E2;
    background: rgba(74, 85, 130, 0.24);
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    margin-bottom: 1rem;
}
.session-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--cream); }
.session-card p { font-size: 0.95rem; color: var(--cream-soft); line-height: 1.55; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about__photo {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    min-height: 320px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
    text-align: left;
}
.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.8rem 0;
}
.about-metric {
    text-align: center;
    padding: 1.1rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.about-metric b {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--theme-accent);
}
.about-metric span { font-size: 0.8rem; color: var(--ink-mute); }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.cred-card {
    padding: 1.8rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.cred-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
}
.cred-card__icon svg { width: 24px; height: 24px; }
.cred-card h3 { font-size: 1.16rem; margin-bottom: 0.6rem; }
.cred-card p { font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.cred-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2.2rem;
}
.cred-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--r-full);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.cred-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--theme-accent); }

/* ============================================================
   PRICES (Премиальная подача тарифов)
   ============================================================ */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}
.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: left;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.price-card--featured {
    background: var(--dark);
    color: var(--cream);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.price-card--featured h3 { color: var(--cream); }
.price-card__tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-accent);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: var(--r-full);
    white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.price-card__desc {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 1.3rem;
    min-height: 2.8em;
}
.price-card--featured .price-card__desc { color: var(--cream-soft); }
.price-card__amount {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.price-card--featured .price-card__amount { color: #BAC2E2; }
.price-card__unit { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 1.6rem; }
.price-card--featured .price-card__unit { color: var(--cream-soft); }
.price-card ul { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.6rem; flex-grow: 1; }
.price-card li { display: flex; gap: 0.6rem; font-size: 0.92rem; align-items: flex-start; }
.price-card li .ico-check { color: #34A853; margin-top: 0.3em; flex-shrink: 0; }
.price-card--featured li .ico-check { color: #81C784; }

.price-card__microcopy {
    font-size: 0.78rem;
    color: var(--ink-mute);
    text-align: center;
    margin-top: 0.8rem;
}
.price-card--featured .price-card__microcopy { color: rgba(248, 249, 252, 0.6); }

/* ============================================================
   REVIEWS (ТОЧКА А: ПЕПЕЛ #ECEEF4 → ТОЧКА Б: ШАЛФЕЙ #E2ECE7)
   ============================================================ */
.reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: left;
}
.review-ab {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}
.review-point {
    padding: 1.1rem;
    border-radius: var(--r-md);
}
.review-point--a {
    background: var(--point-a-bg);
}
.review-point--b {
    background: var(--point-b-bg);
}
.review-point__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}
.review-point--a .review-point__label { color: var(--point-a-text); }
.review-point--b .review-point__label { color: var(--point-b-text); }
.review-point p { font-size: 0.96rem; line-height: 1.45; color: var(--ink); }

.review-arrow {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    color: var(--theme-accent);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-arrow svg {
    width: 18px !important;
    height: 18px !important;
    display: block;
}

.review-meta {
    font-size: 0.82rem;
    color: var(--ink-mute);
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
}

.reviews-controls { display: none; }
.reviews-swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--ink-mute);
    margin-top: 1.2rem;
}
.reviews-swipe-hint svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 780px;
    margin-inline: auto;
    display: grid;
    gap: 0.8rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
}
.faq-q__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}
.faq-q__icon::before, .faq-q__icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--theme-accent);
    border-radius: 2px;
    transform: translate(-50%, -50%);
}
.faq-q__icon::before { width: 12px; height: 2px; }
.faq-q__icon::after {
    width: 2px; height: 12px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-item.open .faq-q__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-a__inner {
    padding: 0 1.4rem 1.3rem;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.6;
    text-align: left;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { text-align: center; }
.final-cta h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    max-width: 20ch;
    margin: 0 auto 1rem;
}
.final-cta p {
    max-width: 45ch;
    margin: 0 auto 2rem;
}

/* ============================================================
   FOOTER (ГЛУБОКИЙ САПФИР #121624)
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: var(--cream-soft);
    padding-top: clamp(3.5rem, 6vw, 5rem);
    padding-bottom: clamp(1.8rem, 3vw, 2.5rem);
    border-top: 1px solid var(--dark-border);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--dark-border);
    text-align: left;
}
.footer-brand__name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1.2rem;
}
.footer-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34A853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.25);
}
.footer-brand p {
    max-width: 38ch;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #BAC2E2;
    margin-bottom: 1.2rem;
}

.footer-links { display: grid; gap: 0.35rem; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    color: var(--cream-soft);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    width: fit-content;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 1.5px;
    background: var(--theme-accent);
    transition: width 0.25s var(--ease);
}
.footer-links a:hover {
    color: var(--cream);
    transform: translateX(4px);
}
.footer-links a:hover::after { width: 100%; }

.footer-contacts { display: grid; gap: 0.6rem; }
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-md);
    color: var(--cream-soft);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.footer-contact-card:hover {
    border-color: var(--theme-accent);
    background: rgba(248, 249, 252, 0.06);
    transform: translateY(-1.5px);
}
.footer-contact-card svg {
    width: 20px;
    height: 20px;
    color: #BAC2E2;
    flex-shrink: 0;
}
.footer-contact-card span {
    font-size: 0.92rem;
    color: var(--cream);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.84rem;
}
.footer-bottom__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--ink-mute);
    line-height: 1.55;
    text-align: left;
}

/* ============================================================
   LIGHTBOX (ЖЕСТКО СКРЫТ)
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(18, 22, 36, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}
.lightbox__close {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    font-size: 1.6rem;
    cursor: pointer;
    display: grid;
    place-items: center;
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.book-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(18, 22, 36, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.book-overlay.open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease); }

.book-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    background: #FFFFFF;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.book-modal__head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    z-index: 10;
}
.book-modal__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }
.book-modal__close {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: none;
    display: grid; place-items: center;
    cursor: pointer;
    color: var(--ink);
}
.book-modal__close svg { width: 18px; height: 18px; }

.book-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.4rem 1.6rem calc(2.2rem + env(safe-area-inset-bottom));
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 37, 64, 0.2) transparent;
}
.book-modal__body::-webkit-scrollbar { width: 6px; }
.book-modal__body::-webkit-scrollbar-thumb {
    background: rgba(30, 37, 64, 0.2);
    border-radius: 10px;
}
.book-modal__body::-webkit-scrollbar-thumb:hover { background: rgba(30, 37, 64, 0.4); }

.sheet-handle { display: none; }
.book-steps { display: flex; gap: 0.4rem; margin-bottom: 1.6rem; }
.book-steps__dot { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-alt); }
.book-steps__dot.done { background: var(--theme-cta); }
.book-step { display: none; }
.book-step.active { display: block; animation: fadeUp 0.3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.book-step__title { font-size: 1.25rem; margin-bottom: 0.3rem; text-align: left; }
.book-step__sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.3rem; text-align: left; }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-nav__btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: none;
    display: grid; place-items: center;
    cursor: pointer;
}
.cal-nav__btn svg { width: 16px; height: 16px; }
.cal-nav__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav__label { font-family: var(--font-serif); font-size: 1.05rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.cal-wd { text-align: center; font-size: 0.72rem; color: var(--ink-mute); text-transform: uppercase; padding-bottom: 0.3rem; }
.cal-day {
    aspect-ratio: 1;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 0.92rem;
    display: grid; place-items: center;
    cursor: pointer;
    position: relative;
}
.cal-day[aria-pressed="true"] { background: var(--theme-cta); color: #FFFFFF; }
.cal-day:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-day--empty { background: none; }
.cal-day.has-slots::after {
    content: "";
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--theme-accent);
}
.cal-day[aria-pressed="true"].has-slots::after { background: #FFFFFF; }

.book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.5rem; margin-top: 1.2rem; }
.book-time {
    padding: 0.65rem 0.3rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: #FFFFFF;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    cursor: pointer;
}
.book-time[aria-pressed="true"] { background: var(--theme-cta); color: #FFFFFF; border-color: var(--theme-cta); }
.book-time:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* Валидация полей */
.field { margin-bottom: 1.2rem; text-align: left; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink-soft); }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: #FFFFFF;
    color: var(--ink);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input.is-invalid,
.field textarea.is-invalid,
.custom-select-wrap.is-invalid .custom-select-trigger {
    border-color: var(--danger) !important;
    background: var(--danger-soft) !important;
    box-shadow: 0 0 0 3px rgba(185, 56, 44, 0.15) !important;
    animation: shake 0.4s ease;
}
.consent.is-invalid {
    color: var(--danger) !important;
    animation: shake 0.4s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 3px var(--theme-accent-soft);
}
.field textarea { resize: vertical; min-height: 80px; }
.field__hint { font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.35rem; }
.field--hp { position: absolute; left: -9999px; opacity: 0; }

.consent {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.84rem;
    color: var(--ink-soft);
    margin: 1.2rem 0;
    text-align: left;
    cursor: pointer;
}
.consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--theme-cta);
    flex-shrink: 0;
}
.consent a { text-decoration: underline; }

.book-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.8rem;
    padding-bottom: 0.6rem;
}
.book-nav #bookBack {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0.6rem 1.2rem;
}
.book-nav #bookNext {
    flex: 1 1 auto;
    min-height: 50px;
}

.btn.is-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: #6D7387 !important;
    box-shadow: none !important;
    transform: none !important;
}

.slot-error-msg {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--danger-soft);
    border: 1px solid rgba(185, 56, 44, 0.2);
    border-radius: var(--r-sm);
    color: var(--danger);
    font-size: 0.86rem;
    font-weight: 600;
    text-align: center;
}
.slot-error-msg.show { display: block; animation: shake 0.4s ease; }

.form-msg {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
}
.form-msg.show { display: block; animation: shake 0.4s ease; }
.form-msg--err {
    background: var(--danger-soft);
    border: 1px solid rgba(185, 56, 44, 0.2);
    color: var(--danger);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ---- КАСТОМНЫЙ СЕЛЕКТ ---- */
.custom-select-wrap {
    position: relative;
    width: 100%;
}
.custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: #FFFFFF;
    color: var(--ink);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select-trigger:focus,
.custom-select-wrap.is-open .custom-select-trigger {
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 3px var(--theme-accent-soft);
    outline: none;
}
.custom-select-trigger::after {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.25s ease;
}
.custom-select-wrap.is-open .custom-select-trigger::after {
    transform: rotate(180deg);
}
.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #FFFFFF;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.4rem;
    margin: 0;
    z-index: 50;
    display: none;
}
.custom-select-wrap.is-open .custom-select-options { display: block; animation: fadeUp 0.2s ease; }
.custom-select-option {
    padding: 0.7rem 0.85rem;
    border-radius: 6px;
    font-size: 0.92rem;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.custom-select-option:hover,
.custom-select-option.is-selected {
    background: var(--theme-accent-soft);
    color: var(--theme-accent);
    font-weight: 600;
}

/* ---- ПЛАВАЮЩИЙ МОБИЛЬНЫЙ БАР ---- */
.sticky-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    display: none;
    gap: 0.6rem;
    padding: 0.75rem var(--gutter);
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(248, 249, 252, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(18, 22, 36, 0.08);
}
.sticky-bar .btn { flex: 1; min-height: 48px; }
.sticky-bar .btn--glass { flex: 0 0 auto; width: 48px; padding: 0; }
.sticky-bar .btn--glass svg { width: 20px; height: 20px; }

/* Кнопка «Наверх» */
.to-top {
    position: fixed;
    right: 1.2rem;
    bottom: calc(5.4rem + env(safe-area-inset-bottom));
    z-index: 850;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(248, 249, 252, 0.96);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top svg { width: 16px; height: 16px; }

/* ============================================================
   МОБИЛЬНЫЙ АДАПТИВ (ЕДИНАЯ СИСТЕМА ДЛЯ СМАРТФОНОВ)
   ============================================================ */
@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .burger { display: block; }

    .hero {
        padding-top: calc(var(--header-h) + 1.6rem + env(safe-area-inset-top));
    }
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero__title {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    .hero__sub {
        text-align: center;
        margin-inline: auto;
        max-width: 42ch;
    }
    .hero__actions {
        align-items: center;
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
        max-width: 380px;
    }
    .hero__link-alt {
        text-align: center;
        max-width: 34ch;
    }
    .hero__trust-strip {
        justify-content: center;
        width: 100%;
    }

    /* ИНФОКАРТА НА МОБИЛЬНОМ: НА ВСЮ ШИРИНУ КОНТЕЙНЕРА */
    .hero__media {
        max-width: 100%;
        width: 100%;
        margin-top: 1rem;
    }
    .hero__infocard {
        padding: 1.4rem;
    }
    .hero__info-step {
        gap: 0.85rem;
    }

    .section__head {
        text-align: center;
        margin-inline: auto;
    }

    .recog-grid { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
    .stat-tile { padding: 1.5rem 0.8rem; }
    .method-steps { grid-template-columns: 1fr; gap: 1.5rem; }
    .method-step__arrow { display: none; }
    .compare { grid-template-columns: 1fr; }
    .tab-panel { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .session-flow { grid-template-columns: 1fr; }
    .safety { grid-template-columns: 1fr; }

    .about-grid { grid-template-columns: 1fr; }
    .about__photo { margin-inline: auto; max-width: 320px; min-height: 280px; }
    .cred-grid { grid-template-columns: 1fr 1fr; }
    .prices-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }

    .quiz-scale {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.4rem;
    }
    .quiz-scale button { height: 42px; font-size: 0.88rem; }

    .reviews-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        scrollbar-width: none;
        gap: 1rem;
    }
    .reviews-track::-webkit-scrollbar { display: none; }
    .review-card {
        flex: 0 0 calc(100% - 1.5rem);
        max-width: 340px;
        scroll-snap-align: center;
    }
    .reviews-swipe-hint { display: flex; }

    .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
    .footer-links { grid-template-columns: 1fr 1fr; }

    .sticky-bar { display: flex; }
    body { padding-bottom: 74px; }
}

@media (max-width: 640px) {
    .process-grid { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: 1fr; }

    .book-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .book-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .sheet-handle {
        display: block;
        width: 44px;
        height: 5px;
        background: rgba(30, 37, 64, 0.25);
        border-radius: 3px;
        margin: 12px auto 4px;
        cursor: grab;
        touch-action: none;
    }
}