@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2'), url('fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2'), url('fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-MediumItalic.woff2') format('woff2'), url('fonts/Gilroy-MediumItalic.woff') format('woff');
    font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.woff2') format('woff2'), url('fonts/Gilroy-Semibold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2'), url('fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Extrabold.woff2') format('woff2'), url('fonts/Gilroy-Extrabold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Heavy.woff2') format('woff2'), url('fonts/Gilroy-Heavy.woff') format('woff');
    font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Black.woff2') format('woff2'), url('fonts/Roboto-Black.woff') format('woff');
    font-weight: 900; font-style: normal; font-display: swap;
}



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

:root {
    --orange: #F89F22;
    --orange-bright: #FBA733;
    --orange-light: #FFF8EC;
    --orange-mid: #FFE8B0;
    --green: #B0C97E;
    --green-soft: #F1FFF7;
    --cream: #FFFCF5;
    --cream2: #FFF8EE;
    --brown: #6B5A3E;
    --text: #4F4F4F;
    --muted: #828282;
    --gray-light: #F6F7F6;
    --gray-light-2: #EDEDED;
    --white: #fff;
    --ai-bg: oklch(0.14 0.04 260);
    --ai-accent: #F89F22;
    --radius: 20px;
    --radius-sm: 12px;
    --ff: 'Gilroy', 'Montserrat', sans-serif;
    --ff-display: 'Roboto', 'Gilroy', sans-serif;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
    font-family: var(--ff);
    color: var(--text);
    background: var(--cream);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; color: var(--text); }

/* ── NAV ── */
nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,252,248,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid oklch(0.92 0.02 70);
    padding: 14px 40px;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-logo span { font-weight: 800; font-size: 18px; color: var(--orange); }
.nav-cta {
    background: var(--orange); color: #fff;
    border: none; border-radius: 100px; padding: 14px 26px;
    font-family: var(--ff); font-weight: 700; font-size: 16px;
    cursor: pointer; text-decoration: none;
    box-shadow: 0px 4px 20px rgba(190, 122, 27, 0.4);
    transition: background-color .2s, box-shadow .2s, transform .15s;
}
.nav-cta:hover { background: var(--green); box-shadow: 0px 4px 20px rgba(176, 201, 126, 0.4); transform: translateY(-1px); }

/* ── SECTIONS ── */
section { padding: 80px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block; background: var(--orange-mid);
    color: var(--brown); font-weight: 700; font-size: 13px;
    letter-spacing: .06em; text-transform: uppercase;
    border-radius: 50px; padding: 5px 16px; margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; }
h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; }

/* ── 1. HERO ── */
#hero {
    background: linear-gradient(145deg, #FFFCF5 0%, #FFF3D6 100%);
    display: flex; align-items: center;
    padding: 60px 40px;
    position: relative; overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute; right: -80px; top: -80px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(248,159,34,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid #FFD580;
    border-radius: 50px; padding: 6px 16px;
    font-size: 13px; font-weight: 700; color: #C47D00;
    margin-bottom: 20px;
}
.hero-tag span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: block; }
h1 {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900; line-height: 1.15;
    color: var(--text);
    margin-bottom: 14px;
}
h1 em { color: var(--orange); font-style: normal; }
.hero-sub {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--muted); margin-bottom: 20px;
    font-weight: 500;
}
.hero-food-strip {
    display: flex; gap: 10px; align-items: center;
    margin: 20px 0 8px;
}
.hero-food-strip img {
    width: 120px; height: 120px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(150,100,20,.14);
    flex-shrink: 1; min-width: 0;
    transition: opacity .22s ease;
}
/* Десктоп показывает только первые 4 тайла; остальные — резерв для мобильной свайп-ленты */
.hero-food-strip img:nth-child(n+5) { display: none; }
.hero-food-more {
    background: none; border: none;
    color: var(--muted);
    font-family: var(--ff); font-size: 13px; font-weight: 700;
    cursor: pointer;
    text-decoration: underline; text-decoration-style: dashed;
    text-underline-offset: 4px;
    padding: 4px 0;
    margin: 0 0 22px;
    transition: opacity .15s;
}
.hero-food-more:hover { opacity: .72; }
.hero-food-more:disabled { opacity: .5; cursor: wait; }
/* Мобайл (≤768): лента → горизонтальный свайп-скролл с «подглядыванием».
   Десктоп (>768) не меняется — там остаются 4 тайла + кнопка «Ещё». */
@media (max-width: 768px) {
    /* Без этого grid-колонка hero растягивается под ширину всей ленты (min-width:auto) */
    .hero-inner > div { min-width: 0; }
    .hero-food-strip {
        align-items: stretch;
        gap: 12px;
        margin: 18px 0 14px;
        padding: 2px 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-food-strip::-webkit-scrollbar { display: none; }
    .hero-food-strip img {
        width: 34vw; max-width: 150px;
        height: 34vw; max-height: 150px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        border-radius: 20px;
        box-shadow: none;          /* на мобиле тень со смещением вниз сливалась в полосу под лентой */
    }
    .hero-food-strip img:nth-child(n+5) { display: block; }   /* на мобиле показываем все */
    .hero-food-more { display: none; }   /* свайп заменяет кнопку «Ещё» */
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-price-block {
    display: inline-flex; flex-direction: column; gap: 8px;
    margin-bottom: 24px;
    background: #fff;
    border: 1.5px solid #FFD580;
    border-radius: 14px;
    padding: 12px 20px;
}
.hero-price-old {
    font-size: 15px; font-weight: 600;
    color: var(--muted); text-decoration: line-through;
    white-space: nowrap;
}
.hero-price-new {
    font-size: 28px; font-weight: 900;
    color: var(--text); line-height: 1;
    white-space: nowrap;
}
.hero-price-badge {
    background: #F89F22; color: #fff;
    font-size: 12px; font-weight: 800;
    border-radius: 50px; padding: 4px 11px;
    letter-spacing: .03em; white-space: nowrap;
}
.btn-primary {
    display: inline-block;
    background: #F89F22; color: #fff;
    border: none; border-radius: 100px; padding: 20px 38px;
    font-family: var(--ff); font-weight: 700; font-size: 22px;
    text-decoration: none; cursor: pointer;
    box-shadow: 0px 4px 20px rgba(190, 122, 27, 0.4);
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
.btn-primary:hover { background: var(--green); box-shadow: 0px 4px 20px rgba(176, 201, 126, 0.4); transform: translateY(-3px); }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.hero-note span { color: var(--orange); }
/* width: 340px фиксирует ширину блока — иначе при переключении promo/no-promo
   hero-buy-block расширяется, потому что inline-flex считает свой max-content
   по самому широкому ребёнку (а promo state шире: больше элементов в price-block
   + длиннее текст 'Купить со скидкой' vs 'Купить') */
.hero-buy-block {
    display: inline-flex; flex-direction: column; gap: 12px;
    width: 340px; max-width: 100%;
}
.hero-buy-block .hero-price-block { width: 100%; margin-bottom: 0; }
.hero-buy-block .btn-primary { width: 100%; text-align: center; }
.hero-price-row { display: flex; align-items: center; gap: 16px; }
.hero-price-deadline {
    font-size: 12px; color: var(--muted); font-weight: 600;
    border-top: 1px solid #FFD580; padding-top: 8px; text-align: center;
}
.hero-price-deadline span { color: var(--orange); font-weight: 700; }
.hero-img-wrap {
    position: relative; display: flex; justify-content: center;
    background: transparent;
}
.hero-mockup-modern {
    position: relative;
    width: 100%; max-width: 460px;
    margin: 0 auto;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
/* Hero-слайдер: скрины бота с CSS scroll-snap + autoplay */
.hero-slider {
    position: relative;
    width: 280px; max-width: 100%;
    margin: 0 auto;
}
.hero-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(79,79,79,.22), 0 10px 30px rgba(79,79,79,.12);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.hero-slider-track::-webkit-scrollbar { display: none; }
.hero-slider-img {
    flex: 0 0 100%;
    width: 100%; height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: block;
    border-radius: 36px;
    user-select: none;
    -webkit-user-drag: none;
}
.hero-slider-dots {
    display: flex; gap: 8px; justify-content: center;
    margin-top: 18px;
}
.hero-slider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(248,159,34,.28); border: none;
    cursor: pointer; padding: 0;
    transition: background-color .25s, transform .25s, width .25s;
}
.hero-slider-dot.active {
    background: var(--orange);
    width: 22px;
    border-radius: 4px;
}
.hero-slider-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    opacity: .75;
}
.hm-float {
    position: absolute;
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 12px 30px rgba(79,79,79,.16);
    z-index: 6;
}
.hm-float-rating {
    top: 4%; left: -4%;
    padding: 10px 14px;
    transform: rotate(-6deg);
    display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.hm-rating-stars { color: var(--orange); font-size: 12px; letter-spacing: 2px; }
.hm-rating-text { font-size: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.hm-rating-text b { color: var(--text); font-weight: 800; }
.hm-float-badge {
    bottom: 6%; right: -4%;
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 12px 30px rgba(190, 122, 27, .35);
    transform: rotate(8deg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; text-align: center;
}
.hm-badge-num { font-family: var(--ff-display); font-size: 24px; font-weight: 900; line-height: 1; }
.hm-badge-label { font-size: 9px; font-weight: 700; line-height: 1.2; margin-top: 3px; letter-spacing: .02em; }
.hero-img-wrap img:not(.hero-screenshot):not(.hero-slider-img) {
    width: 100%; max-width: 480px; border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    object-fit: cover; aspect-ratio: 4/3;
    display: block;
}
.hero-stats {
    display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap;
}
/* Высота strong фиксирована под максимум (∞ 32px) — иначе "∞" и "1 500+"
   занимают разную вертикальную зону и подписи разъезжаются по уровню */
.stat strong {
    display: flex; align-items: center;
    height: 32px;
    font-size: 22px; font-weight: 900; color: var(--orange); line-height: 1;
}
.stat strong.stat-inf { font-size: 32px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ── 2. БОЛИ ── */
#pains { background: var(--white); }
.pains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-top: 48px;
}
.pain-card {
    background: var(--cream); border-radius: var(--radius);
    padding: 28px 24px; border: 1.5px solid oklch(0.92 0.03 70);
    transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.pain-emoji { font-size: 36px; margin-bottom: 14px; display: block; }
.pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.pain-card p { font-size: 16px; color: var(--muted); line-height: 1.55; }
.pains-cta { text-align: center; margin-top: 48px; }
.pains-cta p { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 16px; }

/* ── 3. ЧТО ТАКОЕ ── */
#about { background: linear-gradient(160deg, #FFFCF5 0%, #FFF3D6 100%); }
.about-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-food-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-food-grid img {
    border-radius: var(--radius-sm); width: 100%; aspect-ratio: 4/3; object-fit: cover;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .3s;
}
.about-food-grid img:hover { transform: scale(1.03); }
.about-food-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.about-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 16px; font-weight: 600;
}
.about-list li::before {
    content: '✓';
    display: flex; align-items: center; justify-content: center;
    min-width: 26px; height: 26px;
    background: #F89F22; color: #fff;
    border-radius: 50%; font-size: 13px; font-weight: 900;
    margin-top: 1px;
}

/* ── 4. ИИ-ПОМОЩНИК ── */
#ai {
    background: var(--ai-bg);
    color: #fff;
    padding-top: 64px; padding-bottom: 64px;
    position: relative; overflow: hidden;
}
#ai::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(248,159,34,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ai-tag { background: rgba(248,159,34,0.20); color: #F89F22; }
.ai-header { margin-bottom: 40px; }
.ai-header h2 { color: #fff; }
.ai-header p { font-size: 16px; color: oklch(0.75 0.03 260); margin-top: 12px; max-width: 600px; }
.ai-inner {
    display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center;
}
.ai-features { display: flex; flex-direction: column; gap: 18px; }
.ai-feature { display: flex; gap: 14px; align-items: flex-start; }
.ai-feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(248,159,34,0.15);
    border: 1px solid rgba(248,159,34,0.30);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.ai-feature-text h4 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.ai-feature-text p { font-size: 16px; color: oklch(0.72 0.06 260); line-height: 1.5; }
.ai-phone {
    position: relative;
    width: 320px; margin: 0 auto;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px oklch(0.35 0.06 260);
}
.ai-phone::before {
    content: ''; position: absolute;
    top: 22px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 24px; border-radius: 100px;
    background: #000; z-index: 5;
}
.ai-phone-screen {
    background: oklch(0.18 0.04 260);
    border-radius: 32px;
    overflow: hidden;
    height: 560px;
    display: flex; flex-direction: column;
}
.tgd-screen {
    background: #0e1621 !important;
    border-radius: 32px;
    overflow: hidden;
    height: 600px !important;
    display: flex; flex-direction: column;
}
.tgd-header {
    background: #17212b;
    padding: 50px 12px 10px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid #0a1018;
}
.tgd-back { color: #6ab3f3; font-size: 22px; font-weight: 400; }
.tgd-bot-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.tgd-bot-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.tgd-meta { flex: 1; min-width: 0; }
.tgd-bot-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.tgd-bot-status { font-size: 11px; color: #6ab3f3; margin-top: 2px; }
.tgd-dots { color: #708499; font-size: 18px; padding: 0 6px; }
.tgd-body {
    flex: 1; padding: 12px 10px;
    display: flex; flex-direction: column; gap: 6px;
    background: radial-gradient(ellipse at top, rgba(106,179,243,.06), transparent 70%), #0e1621;
    overflow: hidden;
}
.tgd-day {
    align-self: center;
    background: rgba(23,33,43,.75);
    color: #c3d2e0;
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 100px;
    margin-bottom: 4px;
}
.tgd-msg {
    position: relative;
    max-width: 86%;
    padding: 7px 10px 18px;
    font-size: 12.5px; line-height: 1.45;
    border-radius: 12px;
}
.tgd-msg .tgd-time {
    position: absolute; right: 8px; bottom: 4px;
    font-size: 9.5px; opacity: .55; font-weight: 500;
}
.tgd-msg-bot {
    align-self: flex-start;
    background: #182533;
    color: #e8edf3;
    border-bottom-left-radius: 4px;
}
.tgd-msg-bot b { color: #6ab3f3; font-weight: 700; }
.tgd-msg-user {
    align-self: flex-end;
    background: #2b5278;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.tgd-menu-item {
    display: flex; align-items: center; gap: 6px;
    margin-top: 4px;
    color: #d6e0eb; font-size: 12.5px;
}
.tgd-menu-item::before { content: '→'; color: #6ab3f3; font-weight: 700; }
.tgd-keyboard {
    align-self: stretch;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-top: 4px;
}
.tgd-kb-btn {
    background: rgba(106,179,243,.14);
    color: #6ab3f3;
    font-size: 11.5px; font-weight: 600;
    padding: 9px 8px; border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(106,179,243,.18);
}
.tgd-kb-btn-wide { grid-column: 1 / -1; }
.tgd-input {
    background: #17212b;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 12px;
    border-top: 1px solid #0a1018;
}
.tgd-input-icon { color: #708499; font-size: 16px; }
.tgd-input-placeholder { flex: 1; color: #708499; font-size: 13px; }
.tgd-mic { color: #6ab3f3; }

/* ── 5. СРАВНЕНИЕ ── */
#compare { background: var(--white); }
.compare-table {
    margin-top: 48px; border-radius: var(--radius); overflow: hidden;
    border: 1.5px solid oklch(0.90 0.03 70);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.compare-head { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
.compare-head div { padding: 16px 24px; font-weight: 800; font-size: 17px; }
.compare-head div:nth-child(1) { background: oklch(0.96 0.02 70); }
.compare-head div:nth-child(2) { background: oklch(0.94 0.03 60); color: var(--muted); text-align: center; }
.compare-head div:nth-child(3) { background: #F89F22; color: #fff; text-align: center; }
.compare-row {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    border-top: 1px solid oklch(0.93 0.02 70);
}
.compare-row div { padding: 14px 24px; font-size: 16px; font-weight: 600; }
.compare-row div:nth-child(2) { text-align: center; background: oklch(0.97 0.01 70); }
.compare-row div:nth-child(3) { text-align: center; background: oklch(0.98 0.025 55); }
.compare-row:nth-child(even) div:nth-child(1) { background: oklch(0.985 0.01 70); }
.no { color: oklch(0.65 0.12 30); }
.yes { color: oklch(0.45 0.15 145); font-weight: 800; }

/* ── 6. ТАРИФ ── */
#tariff { background: linear-gradient(160deg, #FFFCF5 0%, #FFF3D6 100%); }
.tariff-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.tariff-card {
    background: #fff; border-radius: 28px; padding: 40px;
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
    border: 2px solid oklch(0.88 0.07 50);
    position: relative; overflow: hidden;
}
.tariff-card::before {
    content: 'Навсегда ✦';
    position: absolute; top: 0; left: 0; right: 0;
    background: #F89F22; color: #fff;
    text-align: center; font-weight: 800; font-size: 14px; letter-spacing: .05em;
    padding: 8px;
}
.tariff-name { font-size: 32px; font-weight: 900; margin-top: 32px; }
.tariff-old { font-size: 18px; color: var(--muted); text-decoration: line-through; margin-top: 8px; }
.tariff-price { font-size: 64px; font-weight: 900; color: #F89F22; line-height: 1; margin: 6px 0; font-family: var(--ff-display); }
.tariff-price sup { font-size: 28px; font-weight: 800; vertical-align: super; }
.tariff-once { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.tariff-discount {
    display: inline-block; background: oklch(0.94 0.18 145); color: oklch(0.35 0.15 145);
    border-radius: 50px; padding: 6px 16px; font-weight: 800; font-size: 14px; margin-bottom: 24px;
}
.tariff-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.tariff-features li {
    display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600;
}
.tariff-features li::before {
    content: '✓';
    width: 22px; height: 22px; border-radius: 50%;
    background: #FFF0CC; color: #C47D00;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900; flex-shrink: 0;
}
.btn-buy {
    display: block; width: 100%; background: #F89F22; color: #fff;
    border: none; border-radius: 100px; padding: 20px;
    font-family: var(--ff); font-weight: 700; font-size: 22px;
    cursor: pointer; text-align: center; text-decoration: none;
    box-shadow: 0px 4px 20px rgba(190, 122, 27, 0.4);
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
.btn-buy:hover { background: var(--green); box-shadow: 0px 4px 20px rgba(176, 201, 126, 0.4); transform: translateY(-3px); }
.tariff-guarantee { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; font-weight: 600; }
.tariff-benefits { display: flex; flex-direction: column; gap: 20px; }
.t-benefit { display: flex; gap: 16px; align-items: flex-start; }
.t-benefit-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: #FFE8B0; display: flex; align-items: center;
    justify-content: center; font-size: 30px; flex-shrink: 0;
}
.t-benefit-text h4 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.t-benefit-text p { font-size: 16px; color: var(--muted); line-height: 1.5; }

/* ── 6. ТАРИФНЫЙ БЛОК (2 карточки: 3 мес / 12 мес) ── */
#tariff { background: linear-gradient(160deg, #FFFCF5 0%, #FFF3D6 100%); }
.tariff-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 48px;
}
/* Десктоп: «Навсегда» (featured) — по центру (широкая колонка), слева 3 мес, справа 12 мес.
   Мобильный медиа-запрос ниже перебивает этот порядок своим (Навсегда, 12, 3). */
.pricing-card--starter  { order: 1; }
.pricing-card--featured { order: 2; }
.pricing-card--popular  { order: 3; }
.mode-2 .tariff-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 44px 28px 32px;
    border: 1.5px solid oklch(0.92 0.03 70);
    /* Inset shadow сверху = цветная полоска внутри radius'а карточки. Плюс внешняя мягкая тень. */
    box-shadow: inset 0 6px 0 var(--orange-mid), 0 4px 20px rgba(0,0,0,.05);
    position: relative;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 6px 0 var(--orange-mid), 0 8px 28px rgba(0,0,0,.08);
}
/* Starter («3 месяца»): бейдж в цвет полоски (песочный --orange-mid) */
.pricing-card--starter .pricing-card-badge {
    background: var(--orange-mid);
    color: var(--text);
    box-shadow: 0 6px 16px rgba(255, 232, 176, .55);
}
/* Popular («12 месяцев»): зелёный акцент + бейдж «Выгоднее» */
.pricing-card--popular {
    border-color: var(--green);
    box-shadow: inset 0 6px 0 var(--green), 0 12px 32px rgba(176, 201, 126, .18);
}
.pricing-card--popular:hover {
    box-shadow: inset 0 6px 0 var(--green), 0 16px 40px rgba(176, 201, 126, .25);
}
.pricing-card--popular .pricing-card-badge {
    background: var(--green);
    box-shadow: 0 6px 16px rgba(176, 201, 126, .35);
}
/* Featured («Навсегда»): оранжевый бордер, бейдж, акцент */
.pricing-card--featured {
    background: linear-gradient(180deg, #fff 0%, #FFF8EC 100%);
    border: 2.5px solid var(--orange);
    box-shadow: inset 0 6px 0 var(--orange), 0 20px 48px rgba(190, 122, 27, .18);
}
.pricing-card--featured:hover {
    box-shadow: inset 0 6px 0 var(--orange), 0 24px 56px rgba(190, 122, 27, .25);
}
.pricing-card-badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--orange); color: #fff;
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 12px; font-weight: 900;
    letter-spacing: .06em;
    box-shadow: 0 6px 16px rgba(190, 122, 27, .35);
    white-space: nowrap;
}
.pricing-card-period {
    font-size: 22px; font-weight: 900; color: var(--text);
    line-height: 1.2;
}
.pricing-card--featured .pricing-card-period { color: var(--orange); font-size: 26px; }
.pricing-card-desc {
    font-size: 14px; font-weight: 600;
    color: var(--muted);
    margin-top: 4px; margin-bottom: 20px;
}
.pricing-card-price { margin-bottom: 22px; }
.pricing-card-price-old {
    font-size: 15px; font-weight: 600;
    color: var(--muted); text-decoration: line-through;
    margin-bottom: 4px;
}
.pricing-card-price-new {
    font-size: 36px; font-weight: 900;
    color: var(--text); line-height: 1;
    font-family: var(--ff-display);
}
.pricing-card--featured .pricing-card-price-new {
    font-size: 48px; color: var(--orange);
}
.pricing-card-price-monthly,
.pricing-card-price-once {
    font-size: 13px; font-weight: 600;
    color: var(--muted); margin-top: 6px;
}
.pricing-card-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}
.pricing-card-features li {
    position: relative;
    padding-left: 30px;
    font-size: 14px; font-weight: 600;
    line-height: 1.45;
    color: var(--text);
}
/* Галочка через absolute, не flex — иначе <b> внутри li разбивается на отдельные flex-items */
.pricing-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 1px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #FFF0CC; color: #C47D00;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900;
}
.pricing-card--featured .pricing-card-features li::before {
    background: var(--orange); color: #fff;
}
.pricing-card-btn {
    display: block; width: 100%;
    border: none; border-radius: 100px;
    padding: 16px;
    font-family: var(--ff); font-weight: 700; font-size: 16px;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: background-color .2s, box-shadow .2s, transform .2s;
    margin-top: auto;
}
.pricing-card-btn--secondary {
    background: #fff;
    color: var(--orange);
    border: 1.5px solid var(--orange);
}
.pricing-card-btn--secondary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
}
.pricing-card-btn--primary {
    background: var(--orange);
    color: #fff;
    font-size: 18px;
    padding: 18px;
    box-shadow: 0px 4px 20px rgba(190, 122, 27, 0.4);
}
.pricing-card-btn--primary:hover {
    background: var(--green);
    box-shadow: 0px 4px 20px rgba(176, 201, 126, 0.4);
    transform: translateY(-2px);
}
.pricing-card-installment {
    text-align: center;
    font-size: 12px; font-weight: 600;
    color: var(--muted);
    margin-top: 10px;
}
.pricing-card-installment b { color: var(--text); font-weight: 800; }
.pricing-card .bonus-strip { margin-top: 0; margin-bottom: 16px; }
.tariff-grid-guarantee {
    text-align: center; font-size: 13px; color: var(--muted);
    margin-top: 24px; font-weight: 600;
}

/* ── BONUS STRIP (компактная плашка с подарками внутри tariff и offer) ── */
.bonus-strip {
    background: #FFF8EC;
    border: 1px dashed #FFD580;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 14px;
    text-align: left;
}
.bonus-strip-head {
    font-size: 12px; font-weight: 800;
    color: var(--brown);
    letter-spacing: .05em; text-transform: uppercase;
    margin-bottom: 6px;
}
.bonus-strip-row {
    font-size: 13px; font-weight: 600;
    color: var(--text); line-height: 1.5;
    display: flex; align-items: flex-start; gap: 6px;
}
.bonus-strip-row + .bonus-strip-row { margin-top: 2px; }
/* Вариант на оранжевом фоне (внутри #offer) */
.bonus-strip-on-orange {
    background: rgba(255,255,255,0.15);
    border: 1px dashed rgba(255,255,255,0.45);
    max-width: 420px;
    margin-left: auto; margin-right: auto;
    margin-top: 20px;
}
.bonus-strip-on-orange .bonus-strip-head { color: rgba(255,255,255,.95); }
.bonus-strip-on-orange .bonus-strip-row { color: #fff; }

/* ── 7. ОТЗЫВЫ ── OwlCarousel (как на /pricing) */
#reviews { background: var(--white); }
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 40px;
}
.reviews-header-text { min-width: 0; }
.reviews-sub {
    max-width: 540px; margin: 10px 0 0;
    font-size: 16px; color: var(--muted); line-height: 1.55;
}
/* Слайды и картинки */
.reviews-slider .reviews-slide {
    padding: 0 8px;
}
.reviews-slider .reviews-slide picture { display: block; }
.reviews-slider .reviews-slide img {
    width: 100%; height: auto; display: block;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    -webkit-user-drag: none; user-select: none;
}
/* Стрелки навигации — внутри .reviews-slider-nav (рядом с заголовком) */
.reviews-slider-nav {
    display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.reviews-slider-nav .owl-nav { display: flex; gap: 14px; margin: 0; }
.reviews-slider-nav button.owl-prev,
.reviews-slider-nav button.owl-next {
    width: 44px; height: 44px; border-radius: 50% !important;
    border: 1.5px solid #FFD580 !important;
    background: #fff !important; color: var(--orange) !important;
    font-size: 0; cursor: pointer; padding: 0 !important; margin: 0 !important;
    display: flex; align-items: center; justify-content: center;
    transition: background-color .15s, border-color .15s, transform .15s;
    position: relative;
}
.reviews-slider-nav button.owl-prev::before,
.reviews-slider-nav button.owl-next::before {
    font-size: 26px; font-weight: 700; line-height: 1; color: var(--orange);
}
.reviews-slider-nav button.owl-prev::before { content: '\2039'; }
.reviews-slider-nav button.owl-next::before { content: '\203A'; }
.reviews-slider-nav button.owl-prev:hover,
.reviews-slider-nav button.owl-next:hover {
    background: var(--orange-light) !important;
    border-color: var(--orange) !important;
    transform: translateY(-1px);
}
.reviews-slider-nav button.owl-prev.disabled,
.reviews-slider-nav button.owl-next.disabled { opacity: .4; cursor: default; }
/* Точки */
.reviews-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
    line-height: 1;
}
.reviews-slider .owl-dots .owl-dot {
    background: transparent !important;
    display: inline-block !important;
    vertical-align: middle;
}
.reviews-slider .owl-dots .owl-dot span {
    width: 9px !important; height: 9px !important;
    margin: 4px 5px !important;
    background: rgba(248,159,34,.32) !important;
    border-radius: 50% !important;
    display: block;
    transition: background-color .25s, width .25s, border-radius .25s;
}
.reviews-slider .owl-dots .owl-dot.active span {
    background: var(--orange) !important;
    width: 24px !important;
    border-radius: 5px !important;
}
.reviews-slider .owl-dots .owl-dot:hover span { background: var(--orange) !important; }
@media (max-width: 600px) {
    .reviews-header { text-align: center; margin-bottom: 28px; }
    .reviews-sub { margin-left: auto; margin-right: auto; }
    .reviews-slider-nav { display: none; }
}

/* ── 8. ОФФЕР ── */
#offer {
    background: #F89F22;
    color: #fff; text-align: center;
}
#offer h2 { color: #fff; font-size: clamp(28px, 4vw, 52px); margin-bottom: 12px; }
#offer p { font-size: 16px; opacity: .88; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.offer-price-block { margin-bottom: 36px; }
/* Белая плашка ввода промокода в блоке #offer (контраст на оранжевом фоне), п.5 */
.offer-promo { background: #fff; border-radius: 16px; padding: 12px 18px; max-width: 360px; margin: 0 auto 22px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.offer-promo .promo-input-error { color: #E5484D; }
.offer-old { font-size: 22px; opacity: .65; text-decoration: line-through; margin-bottom: 6px; }
.offer-new { font-size: 80px; font-weight: 900; line-height: 1; font-family: var(--ff-display); }
.offer-new sup { font-size: 32px; vertical-align: super; font-weight: 800; }
.offer-once { font-size: 16px; opacity: .75; margin-top: 6px; font-weight: 600; }
.btn-offer {
    display: inline-block; background: #fff; color: #F89F22;
    border: none; border-radius: 100px; padding: 22px 52px;
    font-family: var(--ff); font-weight: 900; font-size: 22px;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 12px 36px rgba(0,0,0,.2);
    transition: transform .2s;
}
.btn-offer:hover { transform: translateY(-3px) scale(1.02); }
.offer-trust { margin-top: 20px; font-size: 13px; opacity: .7; font-weight: 600; }
.offer-badges {
    display: flex; justify-content: center; gap: 20px;
    margin-top: 28px; flex-wrap: wrap;
}
.offer-badge {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px; padding: 8px 20px;
    font-size: 13px; font-weight: 700;
}

/* ── 9. FAQ ── */
#faq { background: var(--cream2); }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item {
    background: #fff; border-radius: var(--radius-sm);
    border: 1.5px solid oklch(0.92 0.03 70);
    overflow: hidden;
}
.faq-q {
    width: 100%; background: none; border: none;
    padding: 20px 24px; text-align: left;
    font-family: var(--ff); font-weight: 700; font-size: 18px;
    color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q::after {
    content: '+'; font-size: 22px; font-weight: 900;
    color: #F89F22; flex-shrink: 0;
    transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { height: 0; overflow: hidden; transition: height .3s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 16px; color: var(--muted); line-height: 1.65; }

/* ── 10. ФИНАЛЬНЫЙ CTA ── */
#final-cta {
    background: linear-gradient(160deg, #FFFCF5, #FFF3D6);
    text-align: center;
}
#final-cta h2 { margin-bottom: 12px; }
#final-cta p { font-size: 17px; color: var(--muted); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.founder-block {
    display: flex; align-items: center; gap: 24px;
    max-width: 660px; margin: 0 auto 48px;
    background: #fff; border-radius: 20px; padding: 28px 36px;
    border: 1.5px solid oklch(0.92 0.03 70);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    text-align: left;
    position: relative;
}
.founder-block::before {
    content: '\201C';
    position: absolute; top: 12px; right: 20px;
    font-size: 100px; line-height: 1;
    color: var(--orange); opacity: 0.15;
    font-family: var(--ff); font-weight: 900;
    pointer-events: none;
}
.founder-photo { width: 150px; min-width: 150px; flex-shrink: 0; }
.founder-photo img { width: 100%; height: auto; display: block; }
.founder-block p { font-size: 16px; color: var(--muted); line-height: 1.55; }
.founder-block strong { display: block; font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }

/* ── FOOTER ── */
footer {
    background: #FFF8EE; color: var(--muted);
    padding: 40px; text-align: center; font-size: 13px;
    border-top: 1px solid #FFE8B0;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--orange); }
.footer-logo { margin-bottom: 16px; opacity: 0.7; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
/* ── FOOTER SOCIAL (каналы проекта) ── */
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--orange-light); border: 1px solid var(--orange-mid);
    color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: .3px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.footer-social path { fill: var(--orange); }
.footer-social a:hover path { fill: inherit; }
.footer-legal {
    margin: 14px auto 10px;
    font-size: 12px; color: var(--muted); opacity: .8;
    line-height: 1.5; max-width: 600px;
}
.footer-legal-line { display: block; }

/* ── MOBILE ── */
@media (max-width: 768px) {
    /* Низ футера не должен прятаться под фикс-баром sticky-cta */
    footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0)); }
    /* Nav */
    nav { padding: 10px 16px; }
    .nav-logo img { height: 36px !important; }
    .nav-cta { font-size: 14px; padding: 10px 16px; }

    /* Body */
    body { font-size: 16px; }

    /* Sections */
    section { padding: 52px 20px; }
    #hero { padding: 40px 20px; }

    /* Hero */
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-img-wrap { order: 0; }
    .hero-img-wrap img { max-width: 100%; }
    .hero-buy-block { display: flex; width: 100%; }
    .hero-buy-block .hero-price-block { width: 100%; }
    .btn-primary { font-size: 18px; padding: 16px 28px; }
    .hero-stats { gap: 16px; justify-content: center; }
    .stat { text-align: center; }
    .stat strong { font-size: 20px; height: 28px; justify-content: center; }
    .stat strong.stat-inf { font-size: 28px; }

    /* Sections layout */
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .ai-inner { grid-template-columns: 1fr; gap: 40px; }
    .ai-phone { width: 100%; max-width: 320px; }
    .tariff-inner { grid-template-columns: 1fr; gap: 40px; }

    /* Compare */
    .compare-head, .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
    .compare-head div, .compare-row div { padding: 12px 10px; font-size: 13px; }

    /* Offer */
    .offer-new { font-size: 56px; }
    .btn-offer { padding: 18px 36px; font-size: 18px; }

    /* Tariff: ужимаем огромную цену и приводим главную кнопку к 18px (как остальные CTA) */
    .tariff-name { font-size: 26px; }
    .tariff-price { font-size: 48px; }
    .tariff-price sup { font-size: 22px; }
    .btn-buy { font-size: 18px; padding: 18px; }

    /* Final CTA: inline font-size:20px / padding:20px 48px перебивает мобильный 18px — выравниваем */
    #final-cta .btn-primary { font-size: 18px !important; padding: 16px 28px !important; }

    /* Misc */
    .founder-block { flex-direction: column; text-align: center; }
    .pains-grid { grid-template-columns: 1fr 1fr; }
    .hm-float-badge { width: 76px; height: 76px; }
    .hm-badge-num { font-size: 19px; }
    .hm-badge-label { font-size: 8px; }
}

@media (max-width: 480px) {
    .pains-grid { grid-template-columns: 1fr; }
    /* keep both compare columns at small width — hiding "сам по себе" разрушает смысл сравнения */
    .compare-head, .compare-row { grid-template-columns: 1.4fr .9fr 1fr; }
    .compare-head div, .compare-row div { padding: 10px 6px; font-size: 11px; }
    .hero-stats { gap: 8px; }
    .hero-stats .stat strong { font-size: 15px; height: 19px; }
    .hero-stats .stat strong.stat-inf { font-size: 19px; }
    .hero-stats .stat span { font-size: 10px; }
}

/* ── PROMO INPUT (для тех, у кого код есть, но они зашли без UTM-ссылки) ── */
.promo-input-wrap { text-align: center; }
.promo-input-toggle {
    background: none; border: none;
    color: var(--muted);
    font-family: var(--ff); font-size: 13px; font-weight: 600;
    cursor: pointer;
    text-decoration: underline; text-decoration-style: dashed;
    text-underline-offset: 3px;
    padding: 4px 8px;
    transition: color .15s;
}
.promo-input-toggle:hover { color: var(--orange); }
.promo-input-form[hidden] { display: none; }
.promo-input-form {
    display: flex; gap: 8px;
    max-width: 360px;
    margin: 6px auto 0;
}
.promo-input-form input {
    flex: 1; min-width: 0;
    font-family: var(--ff); font-size: 14px; font-weight: 700;
    border: 1.5px solid #FFD580;
    border-radius: 100px;
    padding: 10px 16px;
    outline: none;
    background: #fff;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.promo-input-form input::placeholder {
    color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none;
}
.promo-input-form input:focus { border-color: var(--orange); }
.promo-input-form button {
    background: var(--orange); color: #fff;
    border: none; border-radius: 100px;
    padding: 10px 18px;
    font-family: var(--ff); font-size: 14px; font-weight: 700;
    cursor: pointer; flex-shrink: 0;
    transition: background-color .15s;
}
.promo-input-form button:hover { background: var(--orange-bright); }
.promo-input-error {
    display: none;
    font-size: 12px; color: #C44; font-weight: 600;
    margin-top: 6px;
}
.promo-input-error.show { display: block; }

.promo-band { max-width: 420px; margin: 26px auto 0; background: var(--orange-light); border: 1px dashed #FFD580; border-radius: 16px; padding: 14px 20px; text-align: center; }
.promo-band-label { display: block; font-weight: 700; color: var(--text); margin-bottom: 8px; font-size: 15px; }

/* ── PROMO STATE TOGGLES ──
   Без промо (по умолчанию) — скидочные элементы скрыты, видна цена без скидки.
   С промо (body.has-promo) — наоборот. */
.promo-only { display: none; }
.promo-only.is-flex { display: none; }
.promo-only.is-inline { display: none; }
.promo-only.is-inline-block { display: none; }
body.has-promo .promo-only { display: block; }
body.has-promo .promo-only.is-flex { display: flex; }
body.has-promo .promo-only.is-inline { display: inline; }
body.has-promo .promo-only.is-inline-block { display: inline-block; }
body.has-promo .no-promo { display: none; }

/* ── PROMO APPLIED (UTM-персонализация под блогера, внутри hero-price-block) ── */
.promo-applied {
    display: none;
    background: linear-gradient(90deg, #B0C97E 0%, #8FB35F 100%);
    color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1.3;
    text-align: left;
    align-items: center;
    gap: 10px;
}
.promo-applied.active { display: flex; }
/* Fallback-стиль без блогера (центрированный текст как раньше) */
.promo-applied.no-blogger {
    text-align: center;
    justify-content: center;
    font-size: 12px;
    padding: 6px 10px;
    letter-spacing: .01em;
}
.promo-applied .promo-code {
    background: rgba(255,255,255,.25);
    border-radius: 4px;
    padding: 1px 6px;
    margin: 0 2px;
    font-weight: 800; letter-spacing: .04em;
    display: inline-block;
}
.promo-applied-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; line-height: 1;
    flex-shrink: 0;
    overflow: hidden;
}
.promo-applied-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.promo-applied-text { min-width: 0; }
.promo-applied-text strong {
    display: block; font-weight: 800; color: #fff;
}
.promo-applied-text-sub {
    font-size: 12px; font-weight: 600; opacity: .95; margin-top: 1px;
}
/* Подсветка всей карточки цены при активном промо */
.hero-price-block.promo-on {
    border-color: #8FB35F;
    box-shadow: 0 0 0 4px rgba(176, 201, 126, .15);
}

/* ── COUNTDOWN ── */
.countdown {
    display: inline-flex; gap: 4px;
    font-variant-numeric: tabular-nums; font-weight: 800;
}

/* ── INSTALLMENT TEXT ── */
.installment {
    font-size: 13px; color: var(--muted); font-weight: 600;
    text-align: center; margin-top: 10px;
}
.installment b { color: var(--text); font-weight: 800; }

/* ── STICKY MOBILE CTA ── */
.sticky-cta { display: none; }
@media (max-width: 768px) {
    /* На мобайле шапку не фиксируем: единственный плавающий CTA — нижний .sticky-cta (п.3). */
    nav { position: static; }
    .sticky-cta {
        display: flex;
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 99;
        background: rgba(255,252,245,0.97);
        backdrop-filter: blur(10px);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0));
        border-top: 1px solid #FFE8B0;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        flex-direction: column; gap: 4px;
        transform: translateY(120%); transition: transform .25s ease;
    }
    .sticky-cta.visible { transform: translateY(0); }
    .sticky-cta a {
        display: block; width: 100%;
        background: #F89F22; color: #fff;
        border-radius: 100px; padding: 14px;
        font-weight: 800; font-size: 16px;
        text-align: center; text-decoration: none;
        box-shadow: 0px 4px 16px rgba(190, 122, 27, 0.35);
    }
    .sticky-cta-meta {
        font-size: 11px; color: var(--muted); font-weight: 600; text-align: center;
    }
    .sticky-cta-meta span { color: var(--orange); font-weight: 800; }
    /* Footer не нуждается в защите padding-ом: sticky прячется когда пользователь
       прошёл final-cta (см. finalPassed в JS), и не возвращается в зоне футера. */
}

/* ── FOUNDER STRIP (компактный повтор внизу) ── */
.founder-strip {
    display: flex; width: fit-content; max-width: 100%;
    align-items: center; gap: 12px;
    background: rgba(255,255,255,.7);
    border: 1px solid oklch(0.92 0.03 70);
    border-radius: 100px;
    padding: 6px 18px 6px 6px;
    margin: 0 auto 28px;
    font-size: 14px; color: var(--muted); font-weight: 600;
    text-align: left;
}
.founder-strip img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    flex-shrink: 0;
}
.founder-strip b { color: var(--text); font-weight: 800; }
@media (max-width: 480px) {
    .founder-strip { font-size: 12px; padding: 5px 14px 5px 5px; gap: 10px; }
    .founder-strip img { width: 34px; height: 34px; }
}

/* ── 2.7. TRUST BLOCK ── */
#trust { background: var(--white); padding: 48px 40px 64px; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}
.trust-card {
    background: var(--cream);
    border: 1.5px solid oklch(0.92 0.03 70);
    border-radius: var(--radius);
    padding: 24px 22px;
    text-align: center;
    display: flex; flex-direction: column;
    gap: 6px; align-items: center;
}
.trust-ico {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--orange-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 6px;
}
.trust-card h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.trust-card p { font-size: 14px; color: var(--muted); line-height: 1.45; margin: 0; }

@media (max-width: 768px) {
    #trust { padding: 36px 20px 48px; }
    .trust-grid { grid-template-columns: 1fr; gap: 10px; max-width: 480px; }
    .trust-card {
        flex-direction: row; text-align: left;
        align-items: center;
        gap: 16px; padding: 14px 18px;
    }
    .trust-ico {
        width: 44px; height: 44px; font-size: 22px;
        flex-shrink: 0; margin-bottom: 0;
    }
    .trust-text {
        display: flex; flex-direction: column;
        align-items: flex-start; gap: 2px;
        min-width: 0;
    }
}

/* ── EXTRA MOBILE TUNING ── */
@media (max-width: 768px) {
    /* Tariff: на мобильном сначала выгоды, потом карточка с ценой */
    .tariff-inner > .tariff-card { order: 2; }
    .tariff-inner > .tariff-benefits { order: 1; }
    .tariff-inner { display: flex; flex-direction: column; }

    /* Меньше места под телефон в ИИ-блоке */
    .ai-phone { width: 280px; max-width: 280px; }
    .tgd-screen { height: 520px !important; }

    /* Hero-слайдер компактнее на мобайле */
    .hero-slider { width: 240px; }

    /* Меньше фото фаундера */
    .founder-photo { width: 100px; min-width: 100px; }

}

.mobile-only-text { display: none; }
@media (max-width: 768px) { .mobile-only-text { display: inline; } }





/* ФОРМЫ */
/* Обёртка-контейнер */
.form {
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
    max-width: 520px;
}

.form label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Текстовые поля, textarea, select */
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="search"],
.form input[type="date"],
.form textarea,
.form select {
    /*width: 100%;*/
    padding: 14px 16px;
    font-size: 17px;
    font-family: inherit;
    color: #222;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form textarea {
    resize: vertical;
    min-height: 130px;
}

.form input:hover,
.form textarea:hover,
.form select:hover {
    border-color: #bdbdbd;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: #fba733;
    box-shadow: 0 0 0 4px rgba(251, 167, 51, 0.2);
}

.form input::placeholder,
.form textarea::placeholder {
    color: #999;
}

/* Чекбоксы и радио-кнопки */
.form input[type="checkbox"],
.form input[type="radio"] {
    accent-color: #fba733;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    vertical-align: middle;
}

/* Кнопки */
.form button,
.form input[type="submit"],
.form input[type="button"] {
    display: inline-block;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background-color: #fba733;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.form button:hover,
.form input[type="submit"]:hover,
.form input[type="button"]:hover {
    background-color: #e8951f;
}

.form button:active,
.form input[type="submit"]:active,
.form input[type="button"]:active {
    transform: scale(0.98);
}

.form button:disabled,
.form input[type="submit"]:disabled,
.form input[type="button"]:disabled {
    background-color: #f5c98a;
    cursor: not-allowed;
}

/* Кнопка сброса — нейтральный стиль */
.form input[type="reset"] {
    background-color: transparent;
    color: #666;
    border: 1px solid #d0d0d0;
}

.form input[type="reset"]:hover {
    border-color: #bdbdbd;
}


/* Текстовые страницы */
/* Контейнер для текстовых страниц (статьи, документация, лендинги) */
.text-page {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
}

/* Заголовки */
.text-page h1,
.text-page h2,
.text-page h3,
.text-page h4,
.text-page h5,
.text-page h6 {
    /*font-weight: 600;*/
    /*line-height: 1.3;*/
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.text-page h1 {
    font-size: 2em;
    margin-top: 0;
}

.text-page h2 {
    font-size: 1.6em;
}

.text-page h3 {
    font-size: 1.3em;
}

.text-page h4 {
    font-size: 1.1em;
}

.text-page h5,
.text-page h6 {
    font-size: 1em;
}

/* Первый заголовок без лишнего отступа сверху */
.text-page > *:first-child {
    margin-top: 0;
}

/* Абзацы */
.text-page p {
    margin: 0 0 1.2em;
}

/* Ссылки */
.text-page a {
    color: #e8951f;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.text-page a:hover {
    color: #fba733;
}

/* Списки */
.text-page ul,
.text-page ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.text-page li {
    margin-bottom: 0.4em;
}

.text-page li > ul,
.text-page li > ol {
    margin-top: 0.4em;
    margin-bottom: 0;
}

/* Цитаты */
.text-page blockquote {
    margin: 1.6em 0;
    padding: 0.6em 1.2em;
    border-left: 3px solid #fba733;
    font-style: italic;
    background-color: #fdf6ec;
}

.text-page blockquote p:last-child {
    margin-bottom: 0;
}

/* Код */
.text-page code {
    font-family: "SF Mono", "Consolas", "Menlo", monospace;
    font-size: 0.9em;
    background-color: #f2f2f2;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: #c0392b;
}

.text-page pre {
    background-color: #1e1e1e;
    color: #eee;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.6em 0;
    font-size: 0.9em;
    line-height: 1.5;
}

.text-page pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Разделитель */
.text-page hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2.4em 0;
}

/* Изображения */
.text-page img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.6em 0;
}

/* Таблицы */
.text-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 0.95em;
}

.text-page th,
.text-page td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.text-page th {
    background-color: #f7f7f7;
    font-weight: 600;
}

/* Жирный и наклонный текст */
.text-page strong {
    font-weight: 600;
}

.text-page em {
    font-style: italic;
}

/* Мелкий текст (подписи, сноски) */
.text-page small {
    font-size: 0.85em;
    color: #777;
}


.bot-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--color-orange);
    box-shadow: 0px 4px 10px rgba(50, 50, 50, 0.4);
    border: none;
    border-radius: 100px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
    text-decoration: none;
}
.bot-btn:hover {
    box-shadow: 0px 4px 20px rgba(50, 50, 50, 0.4);
}
.bot-btn:active {
    box-shadow: none;
}
.bot-btn.telegram {
    background: linear-gradient(45deg, #24a0dd, #29a9eb);
}
.bot-btn.max {
    background: linear-gradient(45deg, #8c50e7, #3e47ea, #4ac1fc);
}
.bot-btn img {
    width: 26px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }
}
