/* ═══════════════════════════════════════════════════════
   club.css — Стили для /club-v3/
   Depends on base.css (fonts, reset, tokens, nav, buttons).
   Base = mobile (375px). Expand with min-width queries.
   Breakpoints: 600px (tablet), 960px (desktop)
   Refactored: 26.03.2026
   ═══════════════════════════════════════════════════════ */


/* Playfair Display — headings, loaded from Google Fonts via <link> in HTML */
/* If moving to self-hosted: add @font-face here */



/* ─── 1.4 NAV OVERRIDE — blend with dark hero ───────── */
.club-page .site-header {
    background: transparent;
    box-shadow: none;
}

.club-page .site-header .nav-logo,
.club-page .site-header .nav-link,
.club-page .site-header .nav-cta {
    color: var(--white, #fff);
}

.club-page .site-header .nav-cta {
    background: rgba(255, 255, 255, 0.15);
}

.club-page .site-header .nav-burger-line {
    background: var(--white, #fff);
}

/* When mobile menu is open: dark burger X on white background */
.club-page.menu-open .site-header .nav-burger-line {
    background: #1a1a1a;
}

.club-page.menu-open .site-header .nav-logo,
.club-page.menu-open .site-header .nav-link,
.club-page.menu-open .site-header .nav-cta {
    color: #1a1a1a;
}

/* ─── 1.5 URGENCY TIMER ─────────────────────────────── */

/* Sticky bar */
.urgency-bar {
    background: var(--color-dark, #0a0a0a);
    color: var(--color-bg-warm, #faf8f5);
    padding: 9px 16px;
    padding-top: calc(9px + env(safe-area-inset-top, 0px)); /* iPhone Dynamic Island / notch */
    position: sticky;
    top: 0;
    z-index: var(--z-nav, 400);
}

.urgency-bar__inner {
    max-width: 960px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.urgency-bar__text {
    font-size: 13px;
    line-height: 1.4;
}

.urgency-bar__text strong {
    color: var(--color-accent, #c9a96e);
}

.urgency-bar__cta {
    background: var(--color-accent, #c9a96e);
    color: var(--color-dark, #0a0a0a);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.2px;
    transition: opacity 0.15s;
}

.urgency-bar__cta:hover { opacity: 0.85; }

/* Timer base (used in both bar and section) */
.urgency-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.urgency-timer__unit {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.urgency-timer__num {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 17px;
    color: var(--color-accent, #c9a96e);
    line-height: 1;
}

.urgency-timer__label {
    font-size: 10px;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.urgency-timer__sep {
    color: var(--color-accent, #c9a96e);
    font-weight: 700;
    opacity: 0.5;
    margin: 0 1px;
    line-height: 1;
}

/* Urgency section (above pricing) */

@media (max-width: 600px) {
    .urgency-bar__text { display: none; }
    .urgency-timer--large .urgency-timer__num { font-size: 28px; }
    .urgency-timer--large .urgency-timer__card { min-width: 56px; padding: 10px 12px; }
}

@media (min-width: 600px) {
    .urgency-timer--large .urgency-timer__num { font-size: 44px; }
    .urgency-timer--large .urgency-timer__card { min-width: 84px; padding: 16px 20px; }
}


/* ─── 2. LAYOUT PRIMITIVES ──────────────────────────── */

.stack > * + * {
    margin-block-start: var(--flow-space, var(--space-6));
}

.center {
    max-width: 70rem;
    margin-inline: auto;
    padding-inline: var(--space-4);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--space-6);
}

.grid > * {
    min-width: 0;
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}


/* ═══════════════════════════════════════════════════════
   3. MIGRATED SECTIONS (mobile-first)
   Base = mobile (375px). Expand with min-width queries.
   ═══════════════════════════════════════════════════════ */


/* Override home.css Montserrat → Playfair Display для всех заголовков на club-страницах */
h1, h2, h3,
.club-title, .section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
}

/* Typography contrast — extreme weights (VIBE-CODING §8) */
.club-page .section-title {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.club-page .section-label {
    font-weight: 500;
    letter-spacing: 2.5px;
}

/* Focus outlines for keyboard navigation — WCAG 2.4.7 */
.faq-question:focus-visible,
.cta-btn:focus-visible,
.btn-outline:focus-visible,
.sticky-cta-btn:focus-visible {
    outline: 2px solid var(--color-accent, #c9a96e);
    outline-offset: 2px;
}

/* Section labels — darker gold on light backgrounds for WCAG AA (>= 4.5:1) */
.club-page div.section-label {
    color: #8c7035; /* contrast ~4.7:1 on #faf8f5 */
}

/* On dark backgrounds keep original lighter gold */
.club-page .club-hero div.section-label,
.club-page .pain-strip div.section-label,
.club-page .pricing-section div.section-label,
.club-page .cta-section div.section-label {
    color: var(--color-accent, #c9a96e);
}

/* ─── 3.1 HERO ───────────────────────────────────────── */

.club-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end; /* mobile: текст внизу, фото видно сверху (scrim) */
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2520 100%);
    color: var(--color-bg, #fff);
    position: relative;
    overflow: hidden;
}

.club-hero-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    /* Mobile: static so .club-hero-photo positions relative to .club-hero */
}

/* Mobile: text above overlay, photo is absolute background */
.club-hero-text {
    position: relative;
    z-index: 2;
}

/* Mobile: full-bleed background photo (Full-bleed паттерн из text-on-photo.md) */
.club-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin-inline: unset;
    border-radius: 0;
    aspect-ratio: unset;
    overflow: hidden;
    background: linear-gradient(135deg, #3d3428 0%, #2d2520 100%);
}

/* Scrim overlay — фото видно сверху, текст читается снизу (text-on-photo.md §2 РЕКОМЕНДУЕТСЯ) */
.club-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        hsl(20 15% 5% / 0.92) 0%,
        hsl(20 15% 5% / 0.78) 20%,
        hsl(20 15% 5% / 0.45) 45%,
        hsl(20 15% 5% / 0.10) 65%,
        hsl(20 15% 5% / 0.00) 80%
    );
}

/* Label at top of hero, below sticky nav */
.club-hero-label {
    position: absolute;
    top: 70px;
    left: clamp(16px, 4vw, 40px);
    z-index: 3;
    background: rgba(0,0,0,0.45);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.club-hero-text h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: var(--leading-tight, 1.15);
    color: var(--color-bg, #fff);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}

.club-hero-text > p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.87); /* WCAG AA: contrast >= 4.5:1 */
    line-height: var(--leading-normal, 1.7);
    max-width: 480px;
    margin-bottom: var(--space-8);
}

.club-hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.club-hero-stats {
    display: flex;
    gap: var(--space-4);
    justify-content: space-between;
    text-align: center;
}

.club-hero-stat-num {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent, #d4a843);
    line-height: 1;
}

.club-hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--space-1);
}

.club-hero .btn-outline {
    color: var(--color-bg, #fff);
    border-color: rgba(255, 255, 255, 0.3);
}

.club-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* mobile scrim: лицо + фигура сверху, текст снизу */
    display: block;
}

/* Hero — tablet+ */
@media (min-width: 600px) {
    .club-hero-stats {
        gap: var(--space-8);
    }
}

/* Hero — desktop */
@media (min-width: 960px) {
    .club-hero {
        padding: var(--space-32) 80px var(--space-16);
        align-items: center; /* desktop: вертикально по центру */
    }

    .club-hero-inner {
        max-width: 960px;
        grid-template-columns: 1fr 380px;
        gap: var(--space-16);
        position: relative;
        z-index: 2;
    }

    /* Desktop: restore split layout — photo is static grid child, no overlay */
    .club-hero::after {
        display: none;
    }

    .club-hero-photo {
        position: static;
        width: auto;
        height: auto;
        max-width: none;
        margin-inline: unset;
        aspect-ratio: 3/4;
        border-radius: var(--radius-lg, 16px);
    }

    .club-hero-photo img {
        border-radius: inherit;
        object-position: top center; /* desktop: полная карточка, лицо сверху */
    }

    .club-hero-stat-num {
        font-size: 28px;
    }
}


/* ─── 3.2 ABOUT SECTION ─────────────────────────────── */

.about-section {
    background: #F5F2EE;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
}

.about-section .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-10);
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
}

.about-section .about-grid > * {
    min-width: 0;
}

/* Heading block — скрыт, заголовок внутри about-text */
.about-heading-block {
    display: none;
}

/* Mobile: одна колонка — заголовок → фото → текст */
@media (max-width: 600px) {
    .about-heading-block {
        display: block;
    }

    .about-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    /* Скрыть дублирующий заголовок из about-text на мобиле */
    .about-text .section-label,
    .about-text h2 {
        display: none;
    }

    .about-section .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .about-section .about-photo {
        width: 60%;
        max-width: 200px;
        margin-inline: auto;
    }

    .about-text h2 {
        font-size: var(--text-xl);
    }

    .about-text > p {
        font-size: var(--text-sm);
    }
}

/* Карусель фото */
.about-carousel {
    width: 75%;
    max-width: 300px;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 2/3;
}

.about-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.about-carousel-track img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
}

.about-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.about-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.about-carousel-dot.active {
    background: var(--color-accent, #c9a96e);
}

@media (max-width: 600px) {
    .about-carousel {
        width: 70%;
        max-width: 260px;
    }
}

/* Фото (legacy) */
.about-section .about-photo {
    width: 75%;
    max-width: 300px;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5ede4 0%, #e8d5b0 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-section .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(6%) contrast(1.03);
}

/* About — desktop */
@media (min-width: 960px) {
    .about-section .about-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: clamp(40px, 5vw, 72px);
    }

    .about-section .about-photo {
        width: 100%;
        max-width: none;
        margin-inline: unset;
    }
}

/* Tags */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding: var(--space-2) 0 var(--space-4);
}

/* Certs */
.certs-block {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}


/* Сертификаты на полную ширину секции */
.certs-block--full {
    max-width: 1100px;
    margin-inline: auto;
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.certs-label {
    margin-bottom: var(--space-4);
}

/* Marquee auto-scroll (анимация управляется JS) */
.certs-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.certs-track {
    display: flex;
    gap: 12px;
    width: max-content;
    will-change: transform;
}

/* Legacy scroll (kept for safety, HTML no longer uses) */
.certs-scroll {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-1);
}

.certs-scroll::-webkit-scrollbar {
    display: none;
}

/* Карточки по высоте — разные сертификаты разного соотношения сторон,
   фиксируем высоту, ширина подстраивается автоматически */
/* Обёртка: карточка + подпись */
.cert-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.cert-card {
    flex-shrink: 0;
    height: 140px;
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--white, #fff);
    padding: 0;
    display: flex;
    align-items: stretch;
}

/* Подпись под сертификатом */
.cert-caption {
    text-align: center;
    max-width: 120px;
}

.cert-caption__name {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-text-primary, #2d2d2d);
    line-height: 1.3;
}

.cert-caption__meta {
    display: block;
    font-size: 9px;
    color: var(--color-text-muted, #9a8a78);
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.cert-card img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
}

.cert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

@media (min-width: 600px) {
    .cert-card {
        height: 160px;
    }
}

@media (min-width: 960px) {
    .cert-card {
        height: 190px;
    }
}

/* Lightbox */
.cert-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-lightbox, 300);
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.cert-lightbox[data-open] {
    display: flex;
}

.cert-lightbox img {
    max-height: 80vh;
    max-width: min(90vw, 600px);
    width: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

.cert-lightbox-title {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    max-width: 500px;
}

.cert-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white, #fff);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px 8px;
    transition: opacity 0.15s;
}

.cert-lightbox-close:hover { opacity: 1; }

.cert-lightbox-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white, #fff);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.15s;
}

.cert-lightbox-nav:hover { background: rgba(255,255,255,0.25); }

.cert-lightbox-prev { left: 16px; }
.cert-lightbox-next { right: 16px; }

@media (min-width: 600px) {
    .cert-lightbox-nav {
        display: flex;
    }
}


/* ─── 3.3 ZIGZAG (mobile: timeline, desktop: zigzag) ── */

.zigzag-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* --- Mobile: Timeline layout --- */
.zigzag-block {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto var(--space-8);
    position: relative;
}

.zigzag-block:last-child {
    margin-bottom: 0;
}

/* Вертикальная линия таймлайна */
.zigzag-block:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 80px;
    bottom: -16px;
    width: 1.5px;
    background: linear-gradient(180deg, rgba(201,169,110,0.3), rgba(201,169,110,0.05));
}

.zigzag-media {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 1;
}

.zigzag-media .visual-metaphor-frame {
    width: 70px;
    height: 70px;
    min-height: unset;
    border-radius: 50%;
    background: rgba(201,169,110,0.08);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zigzag-media .visual-metaphor-frame svg {
    width: 100%;
    height: 100%;
}

.zigzag-text {
    padding: 0;
    padding-top: 4px;
}

.zigzag-text .zigzag-num {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-accent, #c9a96e);
    opacity: 0.45;
    line-height: 1;
    margin-bottom: 12px;
}

.zigzag-text h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-dark, #1a1a1a);
    line-height: 1.3;
}

.zigzag-text p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #666);
    line-height: 1.6;
}

/* --- Desktop: original zigzag --- */
@media (min-width: 600px) {
    .zigzag-block {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: center;
    }

    .zigzag-block:not(:last-child)::after {
        display: none;
    }

    .zigzag-media {
        width: auto;
        height: auto;
    }

    .zigzag-media .visual-metaphor-frame {
        width: 100%;
        height: auto;
        min-height: 260px;
        border-radius: 20px;
        padding: var(--space-4);
    }

    .zigzag-text {
        padding: 0 var(--space-6);
    }

    .zigzag-text h3 {
        font-size: var(--text-lg);
    }

    .zigzag-text p {
        font-size: var(--text-base);
    }

    .zigzag-block--reverse .zigzag-media {
        order: 2;
    }

    .zigzag-block--reverse .zigzag-text {
        order: 1;
    }

    .zigzag-media {
        max-width: 320px;
        margin: 0 auto;
    }
}


/* ─── 3.4 PAIN STRIP ───────────────────────────────── */

.pain-strip {
    background: var(--color-dark, #1a1a1a);
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 80%, rgba(201,169,110,0.06) 0%, transparent 70%);
    color: var(--color-bg, #fff);
    overflow: hidden;
    position: relative;
}

/* Noise texture overlay */
.pain-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 0;
}

.pain-strip > * {
    position: relative;
    z-index: 1;
}

.pain-strip-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1fr;
}

.pain-strip-text {
    padding: var(--space-12) var(--space-4) var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pain-strip-text .section-label {
    color: var(--color-accent, #d4a843);
}

.pain-strip-text h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: var(--text-xl);
    line-height: 1.5;
    margin-bottom: var(--space-4);
    color: var(--color-bg, #fff);
}

/* «бросаю» — затухает, визуализация отказа */
.pain-fade {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.pain-strip-text h2:hover .pain-fade {
    opacity: 0.85;
}

.pain-strip-text p,
.pain-strip-desc p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85); /* WCAG AA */
    line-height: var(--leading-normal, 1.7);
    max-width: 420px;
}

.pain-strip-desc {
    padding: 0 var(--space-4) var(--space-8);
}

.pain-strip-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-4) var(--space-8);
}

/* Кардиограмма — мягкое дыхание золотой части */
.pain-cardio {
    width: 100%;
    max-width: 380px;
    height: auto;
}

@keyframes cardio-breathe {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.65; }
}

.pain-cardio polyline:last-child {
    animation: cardio-breathe 4s ease-in-out infinite;
}

.pain-resolve-bar {
    background: var(--color-accent, #d4a843);
    color: var(--color-dark, #1a1a1a);
    text-align: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.5;
}

.pain-resolve-bar span {
    font-weight: 700;
}

/* Pain strip — desktop */
@media (min-width: 600px) {
    .pain-strip-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .pain-strip-text {
        padding: var(--space-12) var(--space-8) var(--space-4) var(--space-6);
    }

    .pain-strip-visual {
        grid-row: 1 / 3;
        grid-column: 2;
        padding: var(--space-8);
    }

    .pain-strip-desc {
        grid-column: 1;
        padding: 0 var(--space-8) var(--space-12) var(--space-6);
    }
}


/* ─── 3.5 CATALOG BENTO ────────────────────────────── */

.catalog-section {
    background: var(--color-bg-warm, #faf8f5);
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

.catalog-section .container {
    max-width: 1100px;
    margin-inline: auto;
}

.catalog-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: start;
}

.catalog-bento > * {
    min-width: 0;
}

.catalog-cell {
    background: var(--color-bg, #fff);
    border-radius: var(--radius-lg, 16px);
    padding: var(--space-6) var(--space-4);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.catalog-large {
    grid-column: span 1;
}

.catalog-accent {
    background: var(--color-dark, #0a0a0a);
    color: var(--color-bg, #fff);
}

.catalog-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-surface, #f5ede4) 0%, var(--color-accent-light, #fdf6e3) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #c9a96e);
    margin-bottom: var(--space-4);
    transition: transform 0.3s, background 0.3s;
    position: relative;
}

.catalog-icon svg {
    width: 36px;
    height: 36px;
}

.catalog-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 1.5px dashed rgba(201, 169, 110, 0.2);
    pointer-events: none;
}

.catalog-count {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent, #c9a96e);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.catalog-accent .catalog-count {
    color: var(--color-accent-light, #e8d5b0);
}

.catalog-cell h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-dark, #0a0a0a);
    margin-bottom: var(--space-2);
    line-height: var(--leading-snug, 1.3);
}

.catalog-accent h3 {
    color: var(--color-bg, #fff);
}

.catalog-cell > p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: var(--leading-normal, 1.6);
    margin-bottom: var(--space-4);
}

.catalog-accent > p {
    color: rgba(255, 255, 255, 0.75);
}

.catalog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-list li {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    padding: 5px 0 5px 16px;
    position: relative;
    line-height: 1.5;
}

.catalog-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 5px;
    height: 5px;
    border-radius: var(--radius-full, 9999px);
    background: var(--color-accent, #c9a96e);
}

.catalog-accent-num {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(42px, 10vw, 64px);
    font-weight: 700;
    color: var(--color-accent, #c9a96e);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.catalog-accent-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85); /* WCAG AA */
    margin-bottom: var(--space-4);
}

.catalog-accent-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: var(--space-4) 0;
}

.catalog-accent-chat {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.catalog-accent-chat svg {
    flex-shrink: 0;
    color: var(--color-accent, #c9a96e);
    margin-top: 1px;
}

/* Catalog — tablet */
@media (min-width: 600px) {
    .catalog-bento {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }

    .catalog-large {
        grid-column: span 2;
    }
}


/* ─── 3.6 FORMAT ────────────────────────────────────── */

.format-section {
    padding: var(--space-16) var(--space-4);
}

.format-section .section-label,
.format-section .section-title,
.format-section .section-desc {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
}

.format-section .section-desc {
    margin-bottom: var(--space-12);
}

.format-grid {
    max-width: 1100px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.format-grid > * {
    min-width: 0;
}

.format-card {
    background: var(--color-bg-warm, #faf8f5);
    border-radius: 14px;
    padding: var(--space-6) var(--space-4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.format-icon {
    width: 48px;
    height: 48px;
    background: var(--color-surface, #f5ede4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #c9a96e);
    margin-bottom: var(--space-4);
    transition: transform 0.3s, background 0.3s;
}

.format-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-dark, #0a0a0a);
    margin-bottom: var(--space-2);
    line-height: var(--leading-snug, 1.3);
}

.format-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: var(--leading-normal, 1.6);
}

/* Format — tablet */
@media (min-width: 600px) {
    .format-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

/* Format — desktop */
@media (min-width: 960px) {
    .format-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}


/* ─── 3.8 PRICING ───────────────────────────────────── */

.pricing-section .section-label,
.pricing-section .section-title,
.pricing-section .section-desc {
    text-align: center;
    margin-inline: auto;
}

.pricing-section .section-desc {
    max-width: 560px;
}

.pricing-card {
    max-width: 520px;
    margin-inline: auto;
    background: var(--color-dark, #0a0a0a);
    color: var(--color-bg, #fff);
    border-radius: 20px;
    padding: var(--space-8) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Layered shadow + ambient gold glow (VIBE-CODING §11) */
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(201, 169, 110, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.pricing-card > * {
    position: relative;
    z-index: var(--z-base, 1);
}

/* Бейджи в ряд */
.pricing-badges-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.pricing-badge {
    display: inline-block;
    background: var(--color-accent, #c9a96e);
    color: var(--color-dark, #0a0a0a);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
}

/* Бейдж скидки */
.pricing-discount-badge {
    display: inline-block;
    background: #e03131;
    color: var(--white, #fff);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    line-height: 1;
}

/* Блок цен: зачёркнутая + текущая */
.pricing-price-block {
    margin-bottom: var(--space-3);
}

.pricing-price-old {
    font-size: 18px;
    color: rgba(255,255,255,0.45);
    text-decoration: line-through;
    text-decoration-color: rgba(227,71,71,0.7);
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.pricing-price {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(36px, 10vw, 52px);
    font-weight: 700;
    color: var(--color-bg, #fff);
    line-height: 1;
}

.pricing-price span {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.6;
}

/* Таймер скидки внутри карточки */
.pricing-urgency-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.pricing-urgency-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.pricing-urgency-countdown {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-variant-numeric: tabular-nums;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent, #c9a96e);
    letter-spacing: 1px;
    line-height: 1;
}

.put-sep {
    opacity: 0.5;
    margin: 0 1px;
}

.pricing-daily {
    font-size: var(--text-base);
    color: var(--color-accent, #c9a96e);
    font-weight: 500;
    margin-bottom: var(--space-4);
    letter-spacing: 0.5px;
}

.pricing-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-6);
    line-height: var(--leading-normal, 1.6);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    line-height: 1.5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--color-accent, #c9a96e);
    margin-top: 1px;
}

.pricing-btn {
    display: block;
    background: var(--color-accent, #c9a96e);
    color: var(--color-dark, #0a0a0a);
    padding: 15px var(--space-8);
    border-radius: 10px;
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: var(--space-4);
}

.pricing-metaphor {
    margin-bottom: var(--space-4);
    opacity: 0.7;
}

.pricing-note {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.pricing-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.pricing-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.65);
}

.pricing-trust-item svg {
    flex-shrink: 0;
    color: var(--color-accent, #c9a96e);
    opacity: 0.7;
}

/* Pricing — tablet+ */
@media (min-width: 600px) {
    .pricing-card {
        padding: var(--space-12) var(--space-8);
    }

    .pricing-trust {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-6);
    }
}


/* ─── 3.9 FAQ ───────────────────────────────────────── */

.faq-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

.faq-section .section-label,
.faq-section .section-title {
    text-align: center;
}

.faq-section .section-title {
    margin-bottom: var(--space-8);
}

.faq-list {
    max-width: 680px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-4) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    text-align: left;
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark, #0a0a0a);
    transition: color 0.2s;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--color-text-muted, #6b6b6b);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-accent-dark, #b8934d);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer[aria-hidden="false"] {
    max-height: 400px;
}

.faq-answer p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: var(--leading-normal, 1.7);
    padding-bottom: var(--space-4);
}


/* ─── 3.10 TESTIMONIALS ─────────────────────────────── */

.testimonials-section {
    padding: var(--space-12) 0;
    background: linear-gradient(180deg, #fdf8f0 0%, #f9f0e3 100%);
}

.testimonials-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-desc {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
}

.testimonials-section .section-desc {
    margin-bottom: var(--space-8);
}

/* Photo marquee (ping-pong like certs) */
.testimonials-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    margin-bottom: var(--space-6);
}

.testimonials-track {
    display: flex;
    gap: var(--space-4);
    width: max-content;
}

.testimonials-track .testimonial-card--photo {
    flex-shrink: 0;
    height: 280px;
    border-radius: 14px;
    overflow: hidden;
}

.testimonials-track .testimonial-card--photo img {
    height: 100%;
    width: auto;
    display: block;
}

/* Card base */
.testimonial-card {
    background: var(--color-bg, #fff);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card-footer {
    padding: 12px 16px;
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Photo cards — default (overridden in marquee track) */

/* Text reviews */
.testimonial-card--text .testimonial-card-body {
    padding: var(--space-6) var(--space-5);
}

.testimonial-stars {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--color-accent, #c9a96e);
    margin-bottom: var(--space-3);
}

.testimonial-card--text blockquote {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-text, #1a1a1a);
    font-style: normal;
    margin: 0 0 var(--space-4);
    padding: 0;
    border: none;
}

.testimonial-card--text cite {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.testimonial-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text, #1a1a1a);
}

.testimonial-city {
    font-size: var(--text-xs, 0.75rem);
    color: var(--color-text-muted, #6b6b6b);
}

/* Video row — horizontal scroll on mobile, 3-col on desktop */
.testimonials-videos {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-2);
}

.testimonials-videos::-webkit-scrollbar {
    display: none;
}

.testimonials-videos .testimonial-card--video {
    flex-shrink: 0;
    width: 160px;
    scroll-snap-align: start;
}

@media (min-width: 600px) {
    .testimonials-videos {
        justify-content: center;
        overflow: visible;
        max-width: 580px;
        margin-inline: auto;
    }

    .testimonials-videos .testimonial-card--video {
        width: auto;
        flex: 1;
    }
}

.testimonial-card--video video,
.testimonial-card--video lite-youtube {
    width: 100%;
    display: block;
    border-radius: 14px 14px 0 0;
    aspect-ratio: 9/14;
    object-fit: cover;
}

/* Aggregate rating */
.aggregate-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.aggregate-rating-score {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
}

.aggregate-rating-stars {
    display: flex;
    gap: 2px;
    color: var(--color-accent, #c9a96e);
    margin-bottom: 2px;
}

.aggregate-rating-count {
    font-size: var(--text-xs, 0.75rem);
    color: var(--color-text-muted, #6b6b6b);
}

/* Social proof */
.testimonials-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
}

.testimonials-proof span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonials-results {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonials-results h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.testimonials-results p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: 1.6;
}

@media (min-width: 600px) {
    .testimonials-proof {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-6);
    }
}



/* ─── 3.11 FOR WHOM ─────────────────────────────────── */

.for-whom-section {
    background: var(--color-bg-warm, #faf8f5);
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.for-whom-section .container {
    padding: 0 var(--space-4);
}

/* Horizontal row layout */
.for-whom-horizontal {
    max-width: 800px;
    margin: var(--space-8) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.for-whom-row {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: var(--space-4);
    background: var(--color-bg, #fff);
    border-radius: 20px;
    padding: var(--space-6) var(--space-4);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.for-whom-photo {
    flex-shrink: 0;
}

.for-whom-illustration {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.for-whom-illustration svg {
    width: 120px;
    height: 120px;
}

.for-whom-content h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
    color: var(--color-dark, #0a0a0a);
}

.for-whom-content p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: var(--leading-normal, 1.7);
}

/* Grid layout variant */
.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 960px;
    margin: var(--space-8) auto 0;
    padding: 0 var(--space-4);
}

.for-whom-card {
    background: var(--color-bg, #fff);
    border-radius: var(--radius-lg, 16px);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.for-whom-emoji {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    background: var(--color-accent-light, #e8d5b0);
    border-radius: 14px;
    color: var(--color-accent-dark, #b8934d);
}

.for-whom-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    color: var(--color-dark, #0a0a0a);
}

.for-whom-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
    line-height: var(--leading-normal, 1.6);
}

/* For-whom — tablet+ */
@media (min-width: 600px) {
    .for-whom-row {
        flex-direction: row;
        text-align: left;
        gap: var(--space-8);
        padding: var(--space-8) var(--space-8);
    }

    .for-whom-illustration {
        width: 140px;
        height: 140px;
    }

    .for-whom-illustration svg {
        width: 140px;
        height: 140px;
    }

    .for-whom-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .for-whom-horizontal {
        max-width: 960px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }

    .for-whom-row {
        flex-direction: column;
        text-align: center;
    }
}


/* ─── 3.12 CTA SECTION ──────────────────────────────── */

.cta-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    padding: var(--space-8) 24px;
}

.cta-section .cta-block {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--color-bg, #fff);
    padding: 0;
}

.cta-section .cta-block h2 {
    color: var(--color-bg, #fff);
}

.cta-section .cta-block p {
    color: rgba(255, 255, 255, 0.85); /* WCAG AA */
}

.cta-section .cta-btn {
    padding: 14px 32px;
    font-size: 14px;
    white-space: nowrap;
    margin-top: var(--space-4);
    display: block;
    width: fit-content;
    margin-inline: auto;
}

.cta-proof {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-4);
}

/* Cookie banner — стили в base.css */


/* ─── 3.14 VISUAL PLACEHOLDERS ──────────────────────── */

.visual-placeholder {
    width: 100%;
    min-height: 200px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f0ece6 0%, #e8e2d8 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-text-muted, #999);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.visual-placeholder::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.visual-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.35;
}

.visual-placeholder span {
    font-size: var(--text-sm);
    max-width: 220px;
    text-align: center;
    line-height: 1.4;
    color: var(--color-text-muted, #888);
}

.visual-placeholder--dark {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

.visual-placeholder--dark span {
    color: rgba(255, 255, 255, 0.4);
}

.visual-placeholder--circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.visual-metaphor {
    display: block;
    max-width: 100%;
    height: auto;
}

.visual-metaphor-frame {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.04) 0%, rgba(201, 169, 110, 0.01) 100%);
    border-radius: 20px;
    padding: var(--space-2);
}

/* Visual — tablet+ */
@media (min-width: 600px) {
    .visual-placeholder {
        min-height: 280px;
    }

    .visual-metaphor-frame {
        min-height: 260px;
        padding: var(--space-4);
    }
}


/* ─── 3.16 SECTION DIVIDERS ─────────────────────────── */

.section-divider {
    line-height: 0;
    max-width: 1100px;
    margin: -1px auto 0;
    overflow: hidden;
    background: var(--color-dark, #1a1a1a);
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 40px;
}

.section-divider--diagonal svg {
    height: 30px;
}


/* ─── 3.17 ABOUT CREDENTIALS ───────────────────────── */

.about-credentials {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
    justify-content: space-between;
    margin: var(--space-6) 0;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.about-credential {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    flex: 1;
}

.about-credential strong {
    font-size: var(--text-base);
    color: var(--color-accent-dark, #b8934d);
    font-weight: 700;
}

.about-credential span {
    font-size: var(--text-xs, 0.75rem);
    color: var(--color-text-muted, #6b6b6b);
}

/* Credentials — tablet+ */
@media (min-width: 600px) {
    .about-credentials {
        gap: var(--space-8);
    }

    .about-credential strong {
        font-size: var(--text-lg);
    }

    .about-credential span {
        font-size: var(--text-sm);
    }
}


/* ═══════════════════════════════════════════════════════
   3.5 HERO PAGE-LOAD ANIMATION
   Staggered entrance: photo → heading → subheadline → CTA → stats
   Only transform + opacity (GPU). Easing: cubic-bezier(0.16, 1, 0.3, 1)
   ═══════════════════════════════════════════════════════ */

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.club-hero-photo {
    opacity: 0;
    animation: hero-scale-in 600ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}

.club-hero-label {
    opacity: 0;
    animation: hero-fade-up 400ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
}

.club-hero-text h1 {
    opacity: 0;
    animation: hero-fade-up 500ms cubic-bezier(0.16, 1, 0.3, 1) 400ms forwards;
}

.club-hero-text > p {
    opacity: 0;
    animation: hero-fade-up 500ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards;
}

.club-hero-actions {
    opacity: 0;
    animation: hero-fade-up 400ms cubic-bezier(0.16, 1, 0.3, 1) 800ms forwards;
}

.club-hero-stats {
    opacity: 0;
    animation: hero-fade-up 400ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms forwards;
}

.hero-scroll-cue {
    opacity: 0;
    animation: hero-fade-up 400ms cubic-bezier(0.16, 1, 0.3, 1) 1200ms forwards;
}


/* ═══════════════════════════════════════════════════════
   4. ANIMATIONS (scroll reveal, counters, pulse)
   ═══════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.pain-card.reveal:nth-child(1) { transition-delay: 0s; }
.pain-card.reveal:nth-child(2) { transition-delay: 0.18s; }
.pain-card.reveal:nth-child(3) { transition-delay: 0.36s; }

.catalog-cell.reveal:nth-child(1) { transition-delay: 0s; }
.catalog-cell.reveal:nth-child(2) { transition-delay: 0.12s; }
.catalog-cell.reveal:nth-child(3) { transition-delay: 0.24s; }
.catalog-cell.reveal:nth-child(4) { transition-delay: 0.36s; }
.catalog-cell.reveal:nth-child(5) { transition-delay: 0.48s; }
.catalog-cell.reveal:nth-child(6) { transition-delay: 0.60s; }

.format-card.reveal:nth-child(1) { transition-delay: 0s; }
.format-card.reveal:nth-child(2) { transition-delay: 0.18s; }
.format-card.reveal:nth-child(3) { transition-delay: 0.36s; }
.format-card.reveal:nth-child(4) { transition-delay: 0.54s; }


.testimonial-card.reveal:nth-child(1) { transition-delay: 0s; }
.testimonial-card.reveal:nth-child(2) { transition-delay: 0.22s; }
.testimonial-card.reveal:nth-child(3) { transition-delay: 0.36s; }
.testimonial-card.reveal:nth-child(4) { transition-delay: 0.48s; }
.testimonial-card.reveal:nth-child(5) { transition-delay: 0.60s; }
.testimonial-card.reveal:nth-child(6) { transition-delay: 0.72s; }

.faq-item.reveal:nth-child(1) { transition-delay: 0s; }
.faq-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.faq-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.faq-item.reveal:nth-child(4) { transition-delay: 0.3s; }
.faq-item.reveal:nth-child(5) { transition-delay: 0.4s; }

/* CTA pulse — transform-based per guide */
@keyframes cta-pulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5); }
    50%  { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(201, 169, 110, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.cta-pulse-active {
    animation: cta-pulse 0.8s ease 2;
}

/* Text highlight */
.text-highlight {
    background-image: linear-gradient(90deg, transparent 0%, rgba(201, 169, 110, 0.25) 50%, transparent 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-size 0.6s ease-out;
    padding: 0.1em 0;
}

.text-highlight.visible {
    background-size: 100% 100%;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .cta-pulse-active {
        animation: none !important;
    }
    .text-highlight {
        background-size: 100% 100% !important;
        transition: none !important;
    }
    .hero-blob {
        animation: none !important;
    }
    .hero-scroll-cue {
        animation: none !important;
        opacity: 0.35;
    }
}


/* ═══════════════════════════════════════════════════════
   5. HOVER (touch-safe) + ACTIVE states
   ═══════════════════════════════════════════════════════ */

@media (hover: hover) {
    /* Layered shadows with color tinting (VIBE-CODING §12) */
    .pain-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(201,169,110,0.04), 0 4px 12px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06); }
    .catalog-cell:hover { transform: translateY(-3px); box-shadow: 0 1px 3px rgba(201,169,110,0.06), 0 6px 16px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.07); }
    .catalog-cell:not(.catalog-accent):hover .catalog-icon { transform: scale(1.08); background: var(--color-accent-light, #e8d5b0); }
    .catalog-cell:not(.catalog-accent):hover .catalog-icon svg { color: var(--color-accent-dark, #b8934d); }
    .format-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(201,169,110,0.04), 0 4px 12px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06); }
    .format-card:hover .format-icon { transform: scale(1.08); background: var(--color-accent-light, #e8d5b0); }
    .format-card:hover .format-icon svg { color: var(--color-accent-dark, #b8934d); }
    .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 16px 48px rgba(0,0,0,0.25), 0 0 60px rgba(201,169,110,0.12); }
    .pricing-btn:hover { background: var(--color-accent-dark, #b8934d); }
    .faq-question:hover { color: var(--color-accent-dark, #b8934d); }
    .testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 1px 3px rgba(201,169,110,0.06), 0 6px 16px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.07); }
    .testimonial-card:hover .testimonial-play { opacity: 0.8; color: var(--color-accent, #c9a96e); transform: scale(1.1); }
    .cert-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.12); }
    .for-whom-row:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(201,169,110,0.04), 0 4px 12px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06); }
    .for-whom-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(201,169,110,0.04), 0 4px 12px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06); }
}

/* Nav link underline slide animation (VIBE-CODING §11) */
.club-page .nav-link {
    position: relative;
}

.club-page .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent, #c9a96e);
    transition: width 0.25s ease;
}

/* Active page — permanent underline */
.club-page .nav-link.is-active::after {
    width: 100%;
}

@media (hover: hover) {
    .club-page .nav-link:hover::after {
        width: 100%;
    }
}

/* Touch: предотвращает двойной тап zoom на кнопках (iOS) */
.cta-btn,
.btn-outline,
.pricing-btn,
.urgency-bar__cta,
.faq-question {
    touch-action: manipulation;
}

/* Active states for touch */
.pricing-btn:active,
.cta-btn:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.btn-outline:active {
    transform: scale(0.97);
    opacity: 0.85;
}

.format-card:active {
    transform: translateY(-1px);
}

.catalog-cell:active {
    transform: scale(0.98);
}

.cert-card:active {
    transform: scale(0.97);
}


/* ═══════════════════════════════════════════════════════
   6. ACCESSIBILITY — focus-visible
   ═══════════════════════════════════════════════════════ */

.pricing-btn:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid var(--color-accent, #c9a96e);
    outline-offset: 3px;
    border-radius: 4px;
}

.pricing-btn:focus:not(:focus-visible),
.faq-question:focus:not(:focus-visible) {
    outline: none;
}


/* Footer — стили в base.css */


/* ═══════════════════════════════════════════════════════
   7. RESPONSIVE HYPHENS (mobile readability)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .club-hero-text h1, .club-hero-text > p,
    .pain-card p, .pain-resolve,
    .catalog-cell > p, .format-card p,
    .pricing-desc, .faq-answer p,
    .testimonial-card-caption {
        -webkit-hyphens: auto;
        hyphens: auto;
    }

    .club-hero {
        min-height: 0;
        padding-top: 52vh; /* уменьшено — кнопка видна на первом экране */
        padding-bottom: var(--space-4);
    }

    .club-hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: var(--space-1);
    }

    .club-hero-text > p {
        font-size: 0.875rem; /* 14px — WCAG minimum */
        line-height: 1.4;
        margin-bottom: var(--space-3);
    }

    .club-hero-actions {
        flex-direction: column;
    }

    .club-hero-actions .cta-btn,
    .club-hero-actions .btn-outline {
        text-align: center;
    }

    .club-hero {
        padding-bottom: 12px;
    }

    .pain-strip {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .pain-strip-text {
        padding-top: 24px;
    }

    /* Уменьшить пустоты между блоками на мобиле */
    .for-whom-section,
    .catalog-section {
        padding: var(--space-10) var(--space-4);
    }

    .pricing-section {
        padding: var(--space-10) var(--space-4);
        margin-bottom: var(--space-8);
    }

    .faq-section {
        padding: var(--space-12) var(--space-4);
    }

    .section-divider {
        height: 20px;
    }

}

/* ─── Sticky CTA (мобиле) ────────────────────────────── */
.sticky-cta {
    display: none;
}

@media (max-width: 600px) {
    .sticky-cta {
        display: none; /* скрыт по умолчанию, показывается через JS */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: var(--z-sticky-cta, 900);
        padding: 8px 16px;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .sticky-cta.visible {
        display: block;
    }

    .sticky-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px;
        background: var(--color-accent, #c9a96e);
        color: var(--color-dark, #1a1a1a);
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: 10px;
        text-decoration: none;
    }
}

/* ═══════════════════════════════════════════════════════
   8. PHASE B — Mobile UX enhancements
   ═══════════════════════════════════════════════════════ */

/* Telegram button in hero */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: #2AABEE;
    color: var(--white, #fff);
    padding: 12px var(--space-6);
    border-radius: 10px;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-telegram svg {
    flex-shrink: 0;
}

@media (hover: hover) {
    .btn-telegram:hover {
        background: #229ED9;
        transform: translateY(-2px);
    }
}

.btn-telegram:active {
    transform: scale(0.97);
}


/* ═══════════════════════════════════════════════════════
   9. PHASE D — Social proof: aggregate rating
   ═══════════════════════════════════════════════════════ */

.aggregate-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: var(--color-bg, #fff);
    border-radius: var(--radius-lg, 16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 400px;
    margin-inline: auto;
}

.aggregate-rating-stars {
    display: flex;
    gap: 2px;
    color: var(--color-accent, #c9a96e);
}

.aggregate-rating-score {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark, #0a0a0a);
    line-height: 1;
}

.aggregate-rating-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted, #6b6b6b);
}


/* ═══════════════════════════════════════════════════════
   10. PHASE E — Visual enhancements
   ═══════════════════════════════════════════════════════ */

/* E.4: Image reveal — clip-path animation on photos */
.image-reveal {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-reveal.visible {
    clip-path: inset(0 0 0% 0);
}

/* E.3: Magnetic button — desktop only, controlled by JS */
.btn-magnetic {
    position: relative;
    transition: transform 0.2s ease-out;
}

/* E.2: removed — consolidated in main @media (min-width: 960px) block */

/* E.1: Glow accent on guarantee card */
.glow-accent {
    position: relative;
}

.glow-accent::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.4) 0%, rgba(201, 169, 110, 0.05) 40%, rgba(201, 169, 110, 0.3) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(8px);
}

.glow-accent.visible::before {
    opacity: 1;
}

/* C.3: @property for animated gradient on pricing card */
@property --gradient-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(from var(--gradient-angle), transparent 0%, rgba(201, 169, 110, 0.06) 25%, transparent 50%);
    animation: pricing-shimmer 6s linear infinite;
    pointer-events: none;
}

@keyframes pricing-shimmer {
    to { --gradient-angle: 360deg; }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent, #c9a96e), var(--color-accent-dark, #b8934d));
    z-index: var(--z-progress, 9999);
    width: 0%;
    transition: width 0.1s linear;
}


/* ═══════════════════════════════════════════════════════
   11. CSS SCROLL-DRIVEN ANIMATIONS (progressive enhancement)
   Требует Chrome 115+ / Safari 18+. Остальные получают JS reveal.
   ═══════════════════════════════════════════════════════ */

@supports (animation-timeline: view()) {
    /* Когда поддерживается CSS SDA — JS-класс .visible не нужен для фейда */
    .reveal {
        animation: sda-fade-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 25%;
    }

    @keyframes sda-fade-up {
        from {
            opacity: 0;
            translate: 0 24px;
        }
        to {
            opacity: 1;
            translate: 0 0;
        }
    }

    /* Stagger для карточек внутри секций */
    .testimonial-card:nth-child(2) { animation-delay: 60ms; }
    .testimonial-card:nth-child(3) { animation-delay: 120ms; }
    .testimonial-card:nth-child(4) { animation-delay: 180ms; }
    .pain-card:nth-child(2) { animation-delay: 60ms; }
    .pain-card:nth-child(3) { animation-delay: 120ms; }
}


/* ═══════════════════════════════════════════════════════
   12. PREFERS-REDUCED-MOTION
   Единая точка отключения всех анимаций.
   ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Сразу показать reveal-элементы без анимации */
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* Hero page-load — сразу показать */
    .club-hero-photo,
    .club-hero-label,
    .club-hero-text h1,
    .club-hero-text > p,
    .club-hero-actions,
    .club-hero-stats,
    .hero-scroll-cue {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ═══════════════════════════════════════
   PRICING GRID — два тарифа рядом
   ═══════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 1100px;
    margin-inline: auto;
}

@media (min-width: 960px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        align-items: start;
    }
    .pricing-card {
        max-width: none;
    }
    /* card1 → col1 row1, tg-mini → col1 row2, premium → col2 rows1-2 */
    .pricing-grid > .pricing-card:first-child {
        grid-column: 1;
        grid-row: 1;
    }
    .pricing-tg-mini {
        grid-column: 1;
        grid-row: 2;
    }
    .pricing-card--premium {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

/* Премиум карточка */
.pricing-card--premium {
    border: 2px solid var(--color-gold, #c9a96e);
}

.pricing-card--premium::before {
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 70%);
}

.pricing-badge--premium {
    background: var(--color-gold, #c9a96e);
    color: #0a0a0a;
    font-weight: 700;
}

.pricing-premium-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--color-gold, #c9a96e);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.pricing-btn--premium {
    background: var(--color-gold, #c9a96e);
    color: #0a0a0a;
    font-weight: 700;
}

.pricing-btn--premium:hover {
    background: #b8934d;
    color: #0a0a0a;
}

/* ─── ТГ-ТИЗЕР — бесплатная тренировка ──────────────── */
.tg-free-section {
    background: #0f0f0f;
    padding: var(--space-8, 2rem) var(--space-4, 1rem);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tg-free-inner {
    max-width: 560px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4, 1rem);
}

.tg-free-heading {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

.tg-free-micro {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    letter-spacing: 0.01em;
}

/* ─── pricing — мини-блок между тарифами ────────────── */
.pricing-tg-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    background: #1a1a1a;
    border-radius: 16px;
}

.pricing-tg-mini__text {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.pricing-tg-mini .cta-btn {
    color: #1a1a1a;
}

.pricing-tg-mini__micro {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
