/* =========================================================
   ТАИР — Premium Cinematic AI Companion
   style.css  (mobile-first)
========================================================= */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --color-graphite:        #17171c;
    --color-graphite-2:      #1d1d24;
    --color-graphite-light:  #2a2a30;
    --color-gold:            #c9a96e;
    --color-gold-light:      #dfc9a0;
    --color-gold-hover:      #b8934e;
    --color-beige:           #f5f0e8;
    --color-beige-dark:      #ebe4d8;
    --color-text-light:      #f0ede7;
    --color-text-dark:       #2d2b28;
    --color-text-muted:      #8a8680;
    --color-text-muted-dark: #6c6a66;
    --color-rose:            #c17a7a;
    --color-rose-light:      #d99a9a;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #d98a8a 0%, #c9a96e 100%);
    --grad-gold:    linear-gradient(135deg, var(--color-gold-light), var(--color-gold));

    /* Typography */
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius:    24px;
    --radius-sm: 14px;
    --radius-lg: 32px;

    /* Shadows */
    --shadow-soft:  0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-card:  0 14px 44px rgba(0, 0, 0, 0.10);
    --shadow-dark:  0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-gold:  0 8px 30px rgba(201, 169, 110, 0.35);

    /* Transitions */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur:  0.4s;

    --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-dark);
    background: var(--color-graphite);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.container--narrow { max-width: 800px; }

.section { padding: 52px 0; position: relative; }
.section--beige    { background: var(--color-beige); color: var(--color-text-dark); }
.section--dark     { background: var(--color-graphite-2); color: var(--color-text-light); }
.section--graphite { background: var(--color-graphite); color: var(--color-text-light); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 30px; }

.section__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.12;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}
.section__title--light { color: var(--color-text-light); }

.section__subtitle {
    font-size: clamp(1rem, 2.4vw, 1.18rem);
    color: var(--color-text-muted-dark);
    line-height: 1.55;
}
.section__subtitle--light { color: var(--color-text-muted); }

/* =========================================================
   Buttons
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 100px;
    color: #fff;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn--sm { padding: 11px 22px; font-size: 0.92rem; }
.btn--lg { padding: 18px 36px; font-size: 1.08rem; }

.btn--primary { background: var(--grad-primary); box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201, 169, 110, 0.5); }

.btn--vk { background: #4a76a8; box-shadow: 0 8px 30px rgba(74, 118, 168, 0.35); }
.btn--vk:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(74, 118, 168, 0.5); }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn__icon { font-size: 1.1em; }

/* =========================================================
   Header
========================================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.header--scrolled {
    background: rgba(23, 23, 28, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; }
.logo__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 3px;
    color: var(--color-gold-light);
    line-height: 1;
}
.logo__divider { width: 1px; height: 30px; background: rgba(240, 237, 231, 0.25); }
.logo__tagline {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    line-height: 1.3;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--color-gold-light); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.burger span { width: 26px; height: 2px; background: var(--color-text-light); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   БЛОК 1. HERO
========================================================= */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 60px;
    background: var(--color-graphite);
    color: var(--color-text-light);
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg-img--mobile { display: block; }
.hero__bg-img--desktop { display: none; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(23,23,28,0.65) 0%, rgba(23,23,28,0.40) 45%, rgba(23,23,28,0.85) 100%);
}

.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; }

.hero__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.8rem, 12vw, 4.4rem);
    line-height: 1.02;
    color: var(--color-gold-light);
    margin-bottom: 10px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__subtitle {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    color: var(--color-rose-light);
    margin-bottom: 22px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero__cta { margin-bottom: 26px; }

.hero__channels { display: flex; align-items: center; gap: 20px; }
.hero__channels-divider { width: 1px; height: 34px; background: rgba(240,237,231,0.2); }
.channel { display: flex; align-items: center; gap: 12px; transition: opacity var(--dur) var(--ease); }
.channel:hover { opacity: 0.8; }
.channel__icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-weight: 700; font-size: 0.85rem; color: #fff;
    flex-shrink: 0;
}
.channel__icon--vk { background: #4a76a8; }
.channel__icon--tg { background: #29a9eb; }
.channel__text { font-size: 0.85rem; line-height: 1.25; color: var(--color-text-light); }

/* Chat mockup (glassmorphism) */
.hero__chat { position: relative; z-index: 2; width: 100%; max-width: 380px; margin: 0 auto; }
.chat {
    background: rgba(30, 30, 38, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-dark);
    overflow: hidden;
}
.chat__header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chat__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: url('../images/tair_character_reference.png') center/cover;
    flex-shrink: 0;
}
.chat__meta { display: flex; flex-direction: column; flex: 1; }
.chat__name { font-weight: 600; font-size: 0.95rem; color: var(--color-text-light); }
.chat__status { font-size: 0.75rem; color: #7ec97e; }
.chat__dots { color: var(--color-text-muted); letter-spacing: 2px; }
.chat__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
    max-width: 82%;
    padding: 11px 15px;
    font-size: 0.88rem;
    line-height: 1.45;
    border-radius: 16px;
}
.bubble--in { align-self: flex-start; background: rgba(255,255,255,0.1); color: var(--color-text-light); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--grad-primary); color: #fff; border-bottom-right-radius: 5px; }
.chat__input {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.chat__field { color: var(--color-text-muted); font-size: 0.88rem; flex: 1; }
.chat__send {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--grad-primary);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.9rem; flex-shrink: 0;
}

/* Hero mini cards */
.hero__mini {
    position: relative; z-index: 2;
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.mini-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: var(--radius-sm);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.mini-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.mini-card__icon { font-size: 1.6rem; flex-shrink: 0; }
.mini-card__title { display: block; font-weight: 600; font-size: 1rem; color: var(--color-gold-light); margin-bottom: 3px; }
.mini-card__text { display: block; font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.35; }

/* =========================================================
   Cards (generic)
========================================================= */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
    padding: 24px 22px;
    border-radius: var(--radius);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card--light { background: #fff; box-shadow: var(--shadow-card); }
.card--light:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(0,0,0,0.14); }

.card--dark {
    background: var(--color-graphite-light);
    border: 1px solid rgba(201,169,110,0.14);
}
.card--dark:hover { transform: translateY(-6px); box-shadow: var(--shadow-dark); border-color: rgba(201,169,110,0.3); }
.card--soft { opacity: 0.82; transform: scale(0.97); }
.card--soft .card__icon { font-size: 1.7rem; }
.card--soft:hover { opacity: 1; transform: translateY(-4px) scale(0.98); }

.card__icon { display: block; font-size: 2rem; margin-bottom: 16px; }
.card__eyebrow {
    display: block; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-rose); margin-bottom: 8px;
}
.card__title {
    font-family: var(--font-head);
    font-weight: 600; font-size: 1.45rem; line-height: 1.2;
    color: var(--color-text-dark); margin-bottom: 10px;
}
.card__title--light { color: var(--color-text-light); }
.card__text { font-size: 0.96rem; color: var(--color-text-muted-dark); line-height: 1.6; }
.card__text--muted { color: var(--color-text-muted); }

/* =========================================================
   БЛОК 2. Problem
========================================================= */
.problem__grid { display: flex; flex-direction: column; gap: 30px; }
.problem__cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.problem__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.problem__visual img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   БЛОК 3. About
========================================================= */
.about__inner { display: flex; flex-direction: column; gap: 36px; align-items: center; }
.about__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-dark); max-width: 420px; }
.about__visual img { width: 100%; }
.about__text { font-size: 1.05rem; color: var(--color-text-light); opacity: 0.9; margin-bottom: 18px; }
.about__quote {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    font-weight: 500; font-style: italic;
    line-height: 1.35;
    color: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
    padding-left: 22px;
    margin-top: 26px;
}

/* =========================================================
   БЛОК 5. Example
========================================================= */
.example__visual {
    max-width: 560px; margin: 0 auto;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* =========================================================
   БЛОК 7. How (steps)
========================================================= */
.steps { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
    flex: 1;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(0,0,0,0.14); }
.step__num {
    display: flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad-gold);
    font-family: var(--font-head);
    font-weight: 700; font-size: 1.6rem; color: var(--color-graphite);
    box-shadow: var(--shadow-gold);
}
.step__title { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--color-text-dark); margin-bottom: 10px; }
.step__text { font-size: 0.96rem; color: var(--color-text-muted-dark); }
.step__connector { display: none; }

/* =========================================================
   БЛОК 9. FAQ (accordion)
========================================================= */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}
.accordion__trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 24px;
    font-family: var(--font-body);
    font-size: 1.08rem; font-weight: 600; text-align: left;
    color: var(--color-text-dark);
    transition: color var(--dur) var(--ease);
}
.accordion__trigger:hover { color: var(--color-gold-hover); }
.accordion__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.accordion__icon::before, .accordion__icon::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    background: var(--color-gold); border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform var(--dur) var(--ease);
}
.accordion__icon::before { width: 16px; height: 2px; }
.accordion__icon::after  { width: 2px; height: 16px; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion__panel {
    max-height: 0; overflow: hidden;
    transition: max-height var(--dur) var(--ease);
}
.accordion__panel p { padding: 0 24px 22px; color: var(--color-text-muted-dark); font-size: 0.98rem; }

/* =========================================================
   БЛОК 10. Final CTA
========================================================= */
.final-cta {
    position: relative;
    padding: 90px 0;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}
.final-cta__bg { position: absolute; inset: 0; z-index: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(23,23,28,0.85) 0%, rgba(23,23,28,0.75) 50%, rgba(23,23,28,0.92) 100%);
}
.final-cta__inner { position: relative; z-index: 2; max-width: 720px; }
.final-cta__text { font-size: 1.1rem; color: var(--color-text-light); opacity: 0.9; margin: 20px auto 32px; max-width: 580px; }
.final-cta__buttons { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.final-cta__buttons .btn { width: 100%; max-width: 320px; }

/* =========================================================
   Footer
========================================================= */
.footer { background: var(--color-graphite); color: var(--color-text-light); padding: 56px 0 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 34px; }
.logo__name--footer { font-size: 1.9rem; margin-bottom: 14px; display: inline-block; }
.footer__desc { color: var(--color-text-muted); font-size: 0.95rem; max-width: 320px; margin-bottom: 14px; }
.footer__email { color: var(--color-gold-light); font-weight: 500; transition: color var(--dur) var(--ease); }
.footer__email:hover { color: var(--color-gold); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title { font-weight: 600; font-size: 1rem; color: var(--color-text-light); margin-bottom: 4px; }
.footer__link { color: var(--color-text-muted); font-size: 0.94rem; transition: color var(--dur) var(--ease); }
.footer__link:hover { color: var(--color-gold-light); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.86rem; color: var(--color-text-muted); }

/* =========================================================
   Reveal animation (IntersectionObserver)
========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE — tablet (>=768px)
========================================================= */
@media (min-width: 768px) {
    .section { padding: 68px 0; }
    .section__head { margin-bottom: 38px; }

    .hero__bg-img--mobile { display: none; }
    .hero__bg-img--desktop { display: block; }
    .hero__overlay {
        background: linear-gradient(90deg, rgba(23,23,28,0.88) 0%, rgba(23,23,28,0.60) 45%, rgba(23,23,28,0.25) 100%);
    }
    .hero { padding-top: calc(var(--header-h) + 60px); padding-bottom: 80px; }
    .hero__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; }
    .hero__content { flex: 1; max-width: 560px; }
    .hero__chat { margin: 0; flex-shrink: 0; }

    .hero__mini { grid-template-columns: repeat(4, 1fr); gap: 16px; }

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

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

    .steps { flex-direction: row; align-items: stretch; }
    .step__connector {
        display: block; align-self: center;
        flex: 0 0 40px; height: 2px;
        background: linear-gradient(90deg, var(--color-gold), transparent);
    }

    .final-cta__buttons { flex-direction: row; justify-content: center; }
    .final-cta__buttons .btn { width: auto; }

    .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — desktop (>=1024px)
========================================================= */
@media (min-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(4, 1fr); }

    .problem__grid { flex-direction: row; align-items: center; }
    .problem__cards { flex: 1.4; }
    .problem__visual { flex: 1; align-self: stretch; }

    .about__inner { flex-direction: row; align-items: center; gap: 60px; }
    .about__visual { flex: 0 0 42%; }
    .about__content { flex: 1; }
}

/* =========================================================
   RESPONSIVE — mobile nav (<768px)
========================================================= */
@media (max-width: 767px) {
    .burger { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: 0;
        width: min(78vw, 320px);
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 26px;
        padding: 40px;
        background: rgba(20, 20, 26, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transform: translateX(100%);
        transition: transform var(--dur) var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }
    .nav.is-open { transform: translateX(0); }
    .nav__link { font-size: 1.2rem; }
    .nav__cta { margin-top: 10px; }
    body.nav-open { overflow: hidden; }
}

/* Large desktop tuning */
@media (min-width: 1366px) {
    .hero__title { font-size: 4.6rem; }
    .hero__chat { max-width: 400px; }
}


/* =========================================================
   TAIR UX REFINEMENT PATCH
   Production adjustments according to MASTER PROMPT
   Focus: 1366x768 screens, compactness, readability, premium feel
========================================================= */

/* More compact desktop rhythm */
@media (min-width: 1024px) {
    .section {
        padding: 44px 0;
    }

    .section__head {
        margin-bottom: 26px;
    }

    .section__title {
        margin-bottom: 12px;
    }

    .card {
        padding: 20px 20px;
    }

    .card__icon {
        margin-bottom: 12px;
    }

    .card__text {
        line-height: 1.5;
    }
}

/* Hero: clearer face, less heavy overlay, premium typography */
.hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(23,23,28,0.78) 0%,
            rgba(23,23,28,0.42) 48%,
            rgba(23,23,28,0.28) 100%
        );
}

.hero__title {
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero__subtitle {
    letter-spacing: 0.01em;
}

/* Main CTA stronger visibility */
.hero__cta,
.final-cta .btn--primary {
    min-height: 58px;
    font-weight: 700;
}

/* Better desktop first screen balance */
@media (min-width: 1024px) {
    .hero {
        min-height: calc(100vh - 20px);
        padding-top: calc(var(--header-h) + 20px);
        padding-bottom: 30px;
    }

    .hero__inner {
        gap: 24px;
    }

    .hero__chat {
        transform: scale(0.92);
    }

    .hero__mini {
        margin-top: 28px;
    }
}

/* Topic cards: cleaner grid spacing */
.features .grid {
    gap: 16px;
}

.features__secondary {
    margin-top: 16px;
}

/* Steps block compact */
.steps .step {
    padding: 22px 18px;
}

.step__num {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
}

/* FAQ stronger SEO readability */
.accordion__trigger {
    padding: 18px 22px;
}

.accordion__panel p {
    line-height: 1.55;
}

/* Footer compactness */
.footer {
    padding-top: 42px;
}

@media (min-width: 1366px) {
    .container {
        max-width: 1180px;
    }

    .hero__title {
        font-size: 4.3rem;
    }

    .hero__text {
        max-width: 460px;
    }
}

/* =========================================================
   TAIR landing corrections
   CTA pair and title emphasis
========================================================= */

/* Hero CTA: compact premium buttons in one row */
.hero__cta-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.hero__cta-group .hero__cta {
    margin-bottom: 0;
}

.hero__cta-group .btn {
    padding: 12px 22px;
    min-height: 44px;
    font-size: 0.92rem;
    font-weight: 600;
}

/* Champagne / soft gold premium CTA tone */
.hero__cta-group .btn--primary,
.hero__cta-group .btn--vk {
    background: linear-gradient(135deg, #d8c19a 0%, #bfa06a 100%);
    box-shadow: 0 8px 24px rgba(191, 160, 106, 0.28);
    color: #fff;
}

.hero__cta-group .btn--primary:hover,
.hero__cta-group .btn--vk:hover {
    box-shadow: 0 12px 32px rgba(191, 160, 106, 0.42);
}

/* About title visibility aligned with quote emphasis */
.about .section__title {
    color: var(--color-gold-light);
}

@media (max-width: 640px) {
    .hero__cta-group {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .hero__cta-group .btn {
        width: 100%;
    }
}


/* Новый блок "Когда ТАИР может помочь" */
.problem-help-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: stretch;
}

.help-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 14px 14px;
    display: flex;
    flex-direction: column;
    min-height: 285px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.help-card__icon {
    color: #d79b45;
    font-size: 30px;
    height: 38px;
}

.help-card h3 {
    font-size: 16px;
    margin: 14px 0 10px;
    color: var(--color-text);
}

.help-card p {
    font-size: 13px;
    line-height: 1.45;
    color: var(--color-text-muted);
    flex: 1;
    margin: 0 0 14px;
}

.help-card img {
    width: 100%;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
}

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

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


/* =========================================================
   БЛОК 3. Кто такой ТАИР — обновленный дизайн
========================================================= */
.about__inner--new {
    display: grid;
    grid-template-columns: 260px minmax(320px, 1fr) 260px;
    gap: 38px;
    align-items: center;
}

.about__inner--new .about__visual {
    max-width: 260px;
}

.about__inner--new .about__visual img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about__inner--new .section__title {
    text-align: left;
    margin-bottom: 18px;
}

.about__inner--new .about__text {
    margin-bottom: 0;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-left: 1px solid rgba(255,255,255,.18);
    padding-left: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
}

.about-feature span {
    width: 26px;
    color: var(--color-gold-light);
    font-size: 1.5rem;
    line-height: 1;
}

.about-feature p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .about__inner--new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__inner--new .about__visual {
        margin: 0 auto;
    }

    .about__inner--new .section__title {
        text-align: center;
    }

    .about__features {
        border-left: none;
        padding-left: 0;
        text-align: left;
    }
}


/* =========================================================
   БЛОК "КАК ПРОХОДИТ РАЗГОВОР" — PREMIUM REDESIGN
========================================================= */

.example {
    overflow: hidden;
}

.example .section__head {
    margin-bottom: 28px;
}

.example__visual {
    display:none;
}

.conversation-layout {
    position: relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    min-height:330px;
}

.conversation-steps {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
    flex:1;
    position:relative;
    z-index:2;
}

.conversation-step {
    position:relative;
    padding:0 5px;
}

.conversation-step:not(:last-child)::after {
    content:"→";
    position:absolute;
    right:-24px;
    top:30px;
    color:var(--color-gold);
    font-size:26px;
    opacity:.7;
}

.conversation-top {
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:16px;
}

.conversation-number {
    width:46px;
    height:46px;
    border-radius:50%;
    background:#a67b43;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:16px;
    font-weight:500;
}

.conversation-icon {
    color:#c99b5a;
    font-size:26px;
    line-height:1;
}

.conversation-step h3 {
    font-size:17px;
    line-height:1.3;
    color:#24242a;
    margin-bottom:14px;
    font-weight:600;
}

.conversation-step p {
    font-size:14px;
    line-height:1.45;
    color:#676360;
    max-width:220px;
}

.conversation-phone {
    width:300px;
    position:relative;
    flex-shrink:0;
    display:flex;
    justify-content:center;
    align-items:center;
}

.conversation-phone img {
    position:relative;
    width:100%;
    max-width:300px;
    filter:drop-shadow(0 25px 35px rgba(0,0,0,.25));
    z-index:2;
}

.phone-glow {
    position:absolute;
    width:260px;
    height:260px;
    background:rgba(201,169,110,.25);
    filter:blur(70px);
    border-radius:50%;
}

@media(max-width:900px){
    .conversation-layout{
        flex-direction:column;
    }
    .conversation-steps{
        grid-template-columns:1fr;
    }
    .conversation-step:not(:last-child)::after{
        display:none;
    }
    .conversation-phone{
        width:280px;
    }
}


/* Улучшения блоков: иконки, читаемость, hover */
.help-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border: 1px solid rgba(215,155,69,.08);
}
.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(166,123,67,.18);
    border-color: rgba(215,155,69,.45);
}
.help-card__icon {
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff8ed;
    font-size:28px;
    font-family: Georgia, serif;
}
.help-card p {
    color:#4f4a43;
    font-size:14px;
    font-weight:500;
}
.help-card h3 {
    font-weight:700;
}

/* иконки блока ТАИР */
.about-feature span {
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid rgba(215,155,69,.55);
    font-size:18px;
}

/* иконки этапов разговора */
.conversation-icon {
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff7ea;
    border:1px solid rgba(201,155,90,.45);
    font-size:24px;
}
.conversation-step p {
    font-size:15px;
    color:#4e4942;
    font-weight:500;
}

/* Icon update stage 5 */
.feature-icon,
.conversation-icon {
    display:flex;
    align-items:center;
    justify-content:center;
}
.feature-icon svg {
    width:26px;
    height:26px;
    fill:none;
    stroke:var(--color-gold-light);
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.conversation-icon svg {
    width:30px;
    height:30px;
    fill:none;
    stroke:#c99b5a;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* TAIR benefits block */
.tair-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}
.tair-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
    min-height: 110px;
}
.tair-benefit h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 8px;
    font-weight: 600;
}
.tair-benefit p {
    color: rgba(255,255,255,.72);
    font-size: .84rem;
    line-height: 1.45;
    margin: 0;
}
.tair-icon {
    flex: 0 0 auto;
    width: 30px;
    font-size: 30px;
    line-height: 1;
    color: #d8b574;
    font-family: Arial, sans-serif;
}
@media(max-width:900px){
    .tair-benefits-grid {grid-template-columns:1fr;}
}


/* ===== STORIES BLOCK ===== */
.stories .section__subtitle{margin-top:8px;color:#555;font-size:15px}
.stories__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:38px}
.story-card{background:#fff;border-radius:18px;padding:24px 22px;box-shadow:0 10px 30px rgba(20,20,20,.08);display:flex;flex-direction:column;justify-content:space-between;min-height:210px}
.story-card p{font-size:15px;line-height:1.55;color:#3d3d3d;margin:0}
.story-card__user{display:flex;align-items:center;gap:12px;margin-top:22px}
.story-card__user img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.story-card__user strong{font-size:14px;color:#222}
@media(max-width:900px){.stories__grid{grid-template-columns:1fr}.story-card{min-height:auto}}


/* =========================================================
   БЛОК 5 — карточная версия "Как проходит разговор?"
========================================================= */

.conversation-layout { display:none; }

.conversation-tiles {
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
    align-items:stretch;
}

.conversation-tile {
    position:relative;
    min-height:330px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(201,169,110,.18);
    border-radius:24px;
    padding:28px 24px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(30,25,20,.06);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.conversation-tile:hover {
    transform:translateY(-8px);
    border-color:rgba(201,169,110,.7);
    box-shadow:0 22px 45px rgba(166,123,67,.18);
}

.tile-number {
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#c9a96e;
    color:#fff;
    font-size:15px;
    margin-bottom:18px;
}

.conversation-tile .conversation-icon {
    margin-bottom:28px;
    background:#fff9ef;
}

.conversation-tile h3 {
    font-family:var(--font-head);
    font-size:21px;
    line-height:1.25;
    color:#24242a;
    margin-bottom:18px;
}

.conversation-tile p {
    font-size:15px;
    line-height:1.55;
    color:#686158;
}

.conversation-tile--phone {
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#211d19;
}

.conversation-tile--phone img {
    width:100%;
    height:100%;
    object-fit:cover;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 20px 35px rgba(0,0,0,.25));
}

.conversation-tile--phone .phone-glow {
    z-index:1;
}

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

@media(max-width:700px){
    .conversation-tiles{
        grid-template-columns:1fr;
    }
    .conversation-tile{
        min-height:auto;
    }
    .conversation-tile--phone{
        height:360px;
    }
}
