/* ========================================
   ScribeMate - Design System & Styles
   ======================================== */

/* --- CSS Variables --- */
:root {
    /* Colors - AIR / aireporter brand */
    --c-bg: #ffffff;
    --c-bg-alt: #F5F4FB;
    --c-surface: #ffffff;
    --c-primary-900: #15131C;
    --c-primary-800: #1B1840;
    --c-primary-700: #21276E;
    --c-primary-600: #1751D0;
    --c-primary-500: #236FEA;
    --c-primary-400: #2F7BF7;
    --c-primary-300: #4EB4F1;
    --c-primary-200: #8FD9F8;
    --c-primary-100: #D6E7FE;
    --c-primary-50: #EEF3FF;
    --c-accent: #69E1F4;
    --c-accent-light: #9CEAF8;
    --c-text: #1D1C20;
    --c-text-muted: #64636E;
    --c-text-light: #9A99A3;
    --c-border: #E8E6EF;
    --c-border-light: #F2F1F7;

    /* Gradients - brand cyan → blue → purple */
    --g-primary: linear-gradient(135deg, #69E1F4 0%, #236FEA 54%, #B743FF 100%);
    --g-primary-soft: linear-gradient(135deg, #69E1F4 0%, #2F7BF7 60%, #B141FC 100%);
    --g-dark: linear-gradient(135deg, #15131C, #1751D0);
    --g-hero: linear-gradient(160deg, #16121F 0%, #1E2A78 42%, #2F5BD6 75%, #7A3FE0 100%);
    --g-card: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));

    /* Typography - AIR / aireporter brand */
    --ff-display: 'Nunito Sans', sans-serif;
    --ff-body: 'Nunito Sans', sans-serif;
    --ff-mono: 'IBM Plex Mono', monospace;
    --ff-numeric: 'Space Mono', monospace;

    /* Spacing */
    --s-section: 80px;

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
    --shadow-md: 0 4px 20px rgba(10,22,40,0.08);
    --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
    --shadow-xl: 0 20px 60px rgba(10,22,40,0.16);
    --shadow-glow: 0 0 40px rgba(35,111,234,0.3);
    --shadow-glow-strong: 0 0 80px rgba(143,20,226,0.35);

    /* Transitions */
    --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; }
ul { list-style: none; }

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35,111,234,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* --- Container --- */
.new-scribemate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.features .section-header,
.pricing .section-header,
.calculator .section-header {
    margin-bottom: 28px;
}

.section-tag {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-primary-500);
    background: var(--c-primary-50);
    padding: 6px 16px;
    border-radius: var(--r-full);
    margin-bottom: 14px;
}

.section-tag--light {
    color: var(--c-accent-light);
    background: rgba(105,225,244,0.15);
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
    margin-bottom: 16px;
    text-wrap: balance;
}

.features .section-title,
.pricing .section-title,
.calculator .section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--c-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.calculator .section-subtitle {
    max-width: none;
}

/* Подзаголовки в одну строку на десктопе (на мобильном перенос естественный) */
.problems .section-subtitle,
.features .section-subtitle,
.steps6 .section-subtitle {
    max-width: none;
}

.gradient-text {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ff-body);
    font-weight: 600;
    border-radius: var(--r-full);
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--sm { padding: 10px 24px; font-size: 14px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
    background: var(--g-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(35,111,234,0.3);
}
.btn--primary:hover {
    box-shadow: 0 8px 30px rgba(35,111,234,0.45);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--c-primary-500);
    color: var(--c-primary-500);
}
.btn--outline:hover {
    background: var(--c-primary-500);
    color: white;
    transform: translateY(-2px);
}

.btn--ghost {
    color: var(--c-text);
    border: 2px solid var(--c-border);
}
.btn--ghost:hover {
    border-color: var(--c-primary-500);
    color: var(--c-primary-500);
    transform: translateY(-2px);
}

.btn--white {
    background: white;
    color: var(--c-primary-900);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn--white:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.btn--ghost-light {
    color: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn--ghost-light:hover {
    border-color: white;
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--c-bg);
    overflow: hidden;
    padding: 56px 0 64px;
}

/* Subtle grid overlay - matches aireporter hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(222,220,220,0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(222,220,220,0.25) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero__blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}

.blob--1 {
    width: 600px;
    height: 600px;
    background: var(--c-primary-500);
    top: -200px;
    right: -200px;
    animation: blobFloat1 20s ease-in-out infinite;
}

.blob--2 {
    width: 400px;
    height: 400px;
    background: var(--c-accent);
    bottom: -100px;
    left: -100px;
    animation: blobFloat2 25s ease-in-out infinite;
}

.blob--3 {
    width: 300px;
    height: 300px;
    background: #B743FF;
    top: 40%;
    left: 60%;
    animation: blobFloat3 18s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 40px) scale(1.1); }
    66% { transform: translate(40px, -30px) scale(0.95); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -50px) scale(1.15); }
    66% { transform: translate(60px, 30px) scale(0.85); }
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-primary-600);
    background: rgba(35,111,234,0.06);
    border: 1px solid rgba(35,111,234,0.14);
    padding: 10px 24px;
    border-radius: var(--r-full);
    margin-bottom: 28px;
}

.hero__badge-short { display: none; }

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mobile-br { display: none; }

.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero__title .gradient-text {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--c-text-muted);
    max-width: 800px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--ff-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--c-text);
}

.hero__stat-suffix {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-primary-300);
}

.hero__stat-prefix {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-text-light);
}

.hero__stat-label {
    display: block;
    font-size: 14px;
    color: var(--c-text-light);
    margin-top: 4px;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: var(--c-border);
}

.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* --- Features Section --- */
.features {
    padding: 48px 0;
    background: var(--c-bg);
    scroll-margin-top: 70px;
}

.features__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.feature-card {
    position: relative;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 20px 18px;
    transition: all var(--t-base);
    overflow: hidden;
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}

.feature-card:hover {
    border-color: var(--c-primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--c-primary-50);
    color: var(--c-primary-500);
    margin-bottom: 10px;
}

/* 3D-иконки (показываются только на десктопе в секции features) */
.feature-card__icon-img { display: none; }

.feature-card__title {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
}

.feature-card__text {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.5;
}

/* --- Pricing Section --- */
.pricing {
    padding: 48px 0;
    background: var(--c-bg);
    scroll-margin-top: 70px;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.pricing__dots { display: none; }

.pricing-card {
    position: relative;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    transition: all var(--t-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    border-color: var(--c-primary-400);
    background: linear-gradient(180deg, var(--c-primary-50), var(--c-bg));
    box-shadow: var(--shadow-glow);
    z-index: 1;
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-glow-strong);
}

.pricing-card__header { margin-bottom: 12px; }

.pricing-card__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    background: var(--c-border-light);
    padding: 4px 12px;
    border-radius: var(--r-full);
    margin-bottom: 10px;
}

.pricing-card__badge--featured {
    color: white;
    background: var(--g-primary);
}

.pricing-card__name {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-card__amount {
    font-family: var(--ff-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--c-primary-500);
    line-height: 1;
}

.pricing-card__currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text-muted);
}

.pricing-card__period {
    font-size: 14px;
    color: var(--c-text-light);
}

.pricing-card__body { flex: 1; }

.pricing-card__desc {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.pricing-card__list {
    margin-bottom: 0;
}

.pricing-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--c-text);
    margin-bottom: 6px;
}

.pricing-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g-primary);
}

.pricing-card__list li strong {
    font-weight: 700;
    color: var(--c-primary-500);
}

.pricing-card__footer {
    margin-top: 12px;
}

.pricing-card__footer .btn {
    padding: 14px 28px;
    font-size: 15px;
}

/* Discounts */
.discounts {
    margin-top: 16px;
}

.discounts__inner {
    background: var(--c-primary-50);
    border: 1px solid var(--c-primary-100);
    border-radius: var(--r-xl);
    padding: 16px 28px;
    text-align: center;
}

.discounts__title {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 10px;
}

.discounts__items {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.discount-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 28px;
    background: white;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.discount-item__period {
    font-size: 14px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.discount-item__value {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary-500);
}

/* --- Calculator Section --- */
.calculator {
    position: relative;
    padding: 48px 0;
    background: var(--c-bg-alt);
    overflow: hidden;
    scroll-margin-top: 70px;
}

.calculator__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.calculator__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.calculator__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--c-primary-400);
    top: -100px;
    right: -100px;
}

.calculator__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--c-accent);
    bottom: -100px;
    left: -100px;
}

.calc {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.calc__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border-light);
}

.calc__group {}

.calc__group--disabled {
    opacity: 0.5;
    position: relative;
}

.calc__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
}

.calc__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc__value {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary-500);
}

.calc__coming-soon {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    background: var(--c-text-light);
    padding: 3px 10px;
    border-radius: var(--r-full);
}

/* Range slider */
.calc__range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--c-border);
    outline: none;
    cursor: pointer;
}

.calc__range--disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.calc__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-primary-500);
    box-shadow: 0 2px 8px rgba(35,111,234,0.4);
    cursor: pointer;
    transition: transform var(--t-fast);
}

.calc__range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc__range--disabled::-webkit-slider-thumb {
    background: var(--c-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.calc__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: var(--c-primary-500);
    box-shadow: 0 2px 8px rgba(35,111,234,0.4);
    cursor: pointer;
}

.calc__range--disabled::-moz-range-thumb {
    background: var(--c-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.calc__range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--c-text-light);
}

/* Period selector */
.calc__period-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.calc__period {
    padding: 10px 14px;
    border-radius: var(--r-md);
    border: 2px solid var(--c-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text);
    transition: all var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.calc__period:hover { border-color: var(--c-primary-300); }

.calc__period--active {
    border-color: var(--c-primary-500);
    background: var(--c-primary-50);
    color: var(--c-primary-500);
    box-shadow: 0 0 0 3px rgba(35,111,234,0.1);
}

.calc__period-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--r-full);
    background: var(--c-primary-500);
    color: white;
}

/* Promo code */
.calc__promo {
    display: flex;
    gap: 8px;
}

.calc__promo-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    font-family: var(--ff-body);
    font-size: 13px;
    color: var(--c-text);
    outline: none;
    transition: border-color var(--t-fast);
}

.calc__promo-input::placeholder {
    color: var(--c-text-light);
}

.calc__promo-input:focus {
    border-color: var(--c-primary-400);
}

.calc__promo-btn {
    padding: 10px 18px;
    border-radius: var(--r-md);
    background: var(--c-primary-50);
    color: var(--c-primary-500);
    font-weight: 600;
    font-size: 13px;
    border: 2px solid var(--c-primary-100);
    transition: all var(--t-fast);
    white-space: nowrap;
}

.calc__promo-btn:hover {
    background: var(--c-primary-500);
    color: white;
    border-color: var(--c-primary-500);
}

.calc__promo-status {
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.calc__promo-status--success {
    color: #34D399;
}

.calc__promo-status--error {
    color: #F87171;
}

/* Calculator Result */
.calc__result {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.calc__result-inner {
    background: var(--c-primary-900);
    border-radius: var(--r-xl);
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.calc__result-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.calc__result-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(78,180,241,0.15);
}

.calc__result-ring--1 { width: 200px; height: 200px; top: 0; right: 0; }
.calc__result-ring--2 { width: 300px; height: 300px; top: -50px; right: -50px; }

.calc__result-header {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    position: relative;
}

.calc__result-total {
    margin-bottom: 16px;
    position: relative;
}

.calc__result-amount {
    font-family: var(--ff-display);
    font-size: 36px;
    font-weight: 800;
    display: block;
    transition: all var(--t-base);
}

.calc__result-amount.updating {
    transform: scale(1.05);
    color: var(--c-accent-light);
}

.calc__result-currency {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
}

.calc__result-breakdown {
    position: relative;
    margin-bottom: 14px;
}

.calc__result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.calc__result-line span:last-child {
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.calc__result-line--discount {
    color: #34D399 !important;
}

.calc__result-line--discount span {
    color: #34D399 !important;
}

.calc__result-line--promo {
    color: #A78BFA !important;
}

.calc__result-line--promo span {
    color: #A78BFA !important;
}

.calc__result-line--period {
    padding-top: 12px;
}

.calc__result-line--period strong {
    font-family: var(--ff-display);
    font-size: 18px;
    color: white;
}

.calc__result-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 4px 0;
}

.calc__result-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-md);
    margin-bottom: 14px;
    line-height: 1.4;
}

.calc__result-cta {
    position: relative;
    padding: 14px 28px;
    font-size: 15px;
}

/* Custom block below calculator */
.calc__custom {
    text-align: center;
    margin-top: 16px;
    padding: 14px 20px;
    background: white;
    border-radius: var(--r-lg);
    border: 1px dashed var(--c-primary-200);
}

.calc__custom p {
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text-muted);
}

.calc__custom-link {
    font-weight: 700;
    color: var(--c-primary-500);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t-fast);
}

.calc__custom-link:hover {
    color: var(--c-primary-700);
}

/* --- B2B Services --- */
.services {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.services__dots { display: none; }

.service-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: all var(--t-base);
}

.service-card:hover {
    border-color: var(--c-primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__price {
    font-family: var(--ff-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-primary-500);
    margin-bottom: 12px;
}

.service-card__price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text-muted);
}

.service-card__title {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

.services__total {}

.services__total-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--g-dark);
    border-radius: var(--r-xl);
    padding: 28px 36px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services__total-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.services__total-text span {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.services__total-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

.services__total-price {
    text-align: right;
    white-space: nowrap;
}

.services__total-amount {
    font-family: var(--ff-display);
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #4EB4F1, #69E1F4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services__total-currency {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
}

/* --- Live Example Section --- */
.example {
    padding: 48px 0 64px;
    background: var(--c-bg);
}

.example .section-header {
    margin-bottom: 32px;
}

.example__layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.example__sidebar-inner {
    max-width: 440px;
}

.example__sidebar .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.example__sidebar .section-subtitle {
    text-align: left;
    margin-bottom: 32px;
}

.example__channel-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.example__channel-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.example__channel-name {
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
}

.example__channel-sub {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-top: 2px;
}

.example__desc {
    font-size: 16px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.example__desc strong {
    color: var(--c-text);
}

.example__list {
    margin-bottom: 28px;
}

.example__list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    color: var(--c-text);
    margin-bottom: 8px;
}

.example__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g-primary);
}

/* Phone Frame */
.example__phone {
    background: #17212B;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10,22,40,0.25), 0 0 0 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    height: 70vh;
    max-height: 720px;
    min-height: 480px;
    width: 100%;
}

.example__phone-header {
    background: #242F3D;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.example__phone-back {
    color: #6AB2F2;
    display: flex;
    align-items: center;
}

.example__phone-ava {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.example__phone-info {
    flex: 1;
    min-width: 0;
}

.example__phone-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.example__phone-subs {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.example__phone-live {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #34D399;
    background: rgba(52,211,153,0.12);
    padding: 3px 8px;
    border-radius: var(--r-full);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.example__phone-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.example__phone-messages::-webkit-scrollbar {
    width: 4px;
}

.example__phone-messages::-webkit-scrollbar-track {
    background: transparent;
}

.example__phone-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

/* Scroll hint */
.example__scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: #242F3D;
    color: rgba(106,178,242,0.5);
    font-size: 11px;
    flex-shrink: 0;
    animation: hintGlow 3s ease-in-out infinite;
    transition: opacity 0.5s;
    text-shadow: 0 0 6px rgba(106,178,242,0.15);
}

.example__scroll-hint svg {
    filter: drop-shadow(0 0 3px rgba(106,178,242,0.2));
}

.example__scroll-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes hintGlow {
    0%, 100% {
        opacity: 0.6;
        text-shadow: 0 0 6px rgba(106,178,242,0.1);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 12px rgba(106,178,242,0.35);
    }
}

/* Feed loader */
.example__feed-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 200px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.example__feed-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #6AB2F2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.example__feed-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 200px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.example__feed-error a {
    color: #6AB2F2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Telegram Message Bubbles */
.tg-msg {
    background: #182533;
    border-radius: 12px 12px 12px 4px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tg-msg__img {
    border-radius: 6px;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    display: block;
}

.tg-msg__video-stub {
    border-radius: 6px;
    padding: 28px 16px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(30,45,65,0.9), rgba(20,30,50,0.95));
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    text-align: center;
}

.tg-msg__video-stub svg {
    opacity: 0.4;
}

.tg-msg__grouped {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.tg-msg__grouped-item {
    position: absolute;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.15);
}

.tg-msg__grouped-video {
    background: linear-gradient(135deg, rgba(30,45,65,0.9), rgba(20,30,50,0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
}

.tg-msg__text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tg-msg__text a {
    color: #6AB2F2;
    text-decoration: none;
}

.tg-msg__text a:hover {
    text-decoration: underline;
}

.tg-msg__text b,
.tg-msg__text strong {
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}

.tg-msg__text i,
.tg-msg__text em {
    font-style: italic;
}

.tg-msg__text code {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12.5px;
}

.tg-msg__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}

.tg-msg__views,
.tg-msg__date {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tg-msg__views svg {
    opacity: 0.5;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: 120px 0 80px;
    background: var(--g-hero);
    text-align: center;
    overflow: hidden;
}

.cta__wave-top {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.cta__wave-top svg {
    width: 100%;
    height: 60px;
}

.cta__wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.cta__wave-bottom svg {
    width: 100%;
    height: 50px;
}

.cta__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.3;
}

.cta__bg canvas {
    width: 100%;
    height: 100%;
}

.cta__content {
    position: relative;
    z-index: 2;
}

.cta__title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}

.cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cta__contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 28px;
}

.cta__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-mono);
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta__contact svg {
    opacity: 0.85;
    flex-shrink: 0;
}

.cta__contact:hover {
    color: #fff;
}

.cta__contact-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

@media (max-width: 480px) {
    .cta__contacts {
        flex-direction: column;
        gap: 12px;
    }
    .cta__contact-sep { display: none; }
}

/* --- Reveal Animation --- */
/* Прятать контент только когда JS реально работает (html.js ставится инлайн-скриптом):
   без JS / для ботов страница полностью видима */
.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Скрытая вкладка/превью замораживает transitions - показываем мгновенно */
.no-anim .reveal {
    transition: none !important;
}

/* Stagger children */
.features__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features__grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.features__grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.features__grid .reveal:nth-child(6) { transition-delay: 0.5s; }
.features__grid .reveal:nth-child(7) { transition-delay: 0.6s; }

.pricing__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* --- Social Proof (mobile only) --- */
.social-proof {
    display: none;
    background: var(--c-bg);
    padding: 20px 0;
}

.social-proof__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-proof__item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.social-proof__value {
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary-500);
}

.social-proof__label {
    font-size: 13px;
    color: var(--c-text-muted);
}

.social-proof__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-border);
    flex-shrink: 0;
}

/* Features: 3D-чипы вместо плоских SVG (на всех ширинах) */
.features .feature-card__icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    margin-bottom: 12px;
    justify-content: flex-start;
}
.features .feature-card__icon svg { display: none; }
.features .feature-card__icon-img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(35, 111, 234, 0.18);
}

/* Features: ровная сетка 3 равные колонки на десктопе (ряды 3 + 3 + 1).
   7-я плитка («Премодерация») - горизонтальный баннер во всю ширину. */
@media (min-width: 901px) {
    .features .features__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        align-items: stretch;
    }
    /* Карточки 1-6: иконка слева + заголовок на её уровне (как у нижнего баннера),
       текст ниже во всю ширину. Заголовок переносится на 2 строки при нехватке места. */
    .features .feature-card {
        flex: none;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        align-content: start;
        padding: 24px 22px;
    }
    .features .feature-card__icon {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        margin-bottom: 0;
    }
    .features .feature-card__title {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin-bottom: 0;
    }
    .features .feature-card__text {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 16px;
    }
    .features .feature-card__icon-img {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        box-shadow: 0 10px 22px rgba(35, 111, 234, 0.20);
    }
    /* 7-я плитка («Премодерация») - горизонтальный баннер во всю ширину (3 колонки):
       иконка слева, заголовок + текст заполняют ширину, без пустого поля справа */
    .features .feature-card:nth-child(7) {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, var(--c-primary-50), var(--c-bg) 72%);
        border-color: var(--c-primary-100);
        column-gap: 24px;
        row-gap: 6px;
        align-content: center;
        padding: 24px 28px;
    }
    .features .feature-card:nth-child(7) .feature-card__icon {
        grid-row: 1 / 3;
        align-self: center;
    }
    .features .feature-card:nth-child(7) .feature-card__title {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }
    .features .feature-card:nth-child(7) .feature-card__text {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin-top: 0;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root { --s-section: 56px; }

    .section-header { margin-bottom: 32px; }

    .feature-card { flex: 0 0 calc(50% - 10px); }
    .pricing__grid { grid-template-columns: repeat(2, 1fr); }

    .pricing-card--featured {
        transform: none;
        grid-column: 1 / -1;
    }
    .pricing-card--featured:hover { transform: translateY(-8px); }

    .calc {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .calc__result {
        position: static;
        width: 100%;
    }

    .services__total-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 24px 28px;
    }

    .services__total-price { text-align: center; }

    .example__layout { grid-template-columns: 400px 1fr; gap: 32px; }

    .cta { padding: 100px 0 64px; }
}

@media (max-width: 768px) {
    :root { --s-section: 40px; }

    .mobile-br { display: inline; }

    /* Hero: Clean Focus mobile layout */
    .hero {
        padding: 48px 0 48px;
        align-items: stretch;
    }
    .hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .hero__badge {
        align-self: center;
        font-size: 12px;
        padding: 8px 14px;
        margin-bottom: 20px;
        max-width: 100%;
        white-space: nowrap;
    }
    .hero__badge-full { display: none; }
    .hero__badge-short { display: inline; }
    .hero__title {
        font-size: clamp(28px, 7vw, 48px);
        margin-bottom: 20px;
    }
    .hero__subtitle {
        margin: 0 0 32px;
        font-size: 15px;
        max-width: none;
    }
    .hero__actions {
        margin-bottom: 0;
        flex-direction: column;
        gap: 16px;
    }
    .hero__actions .btn--primary {
        width: 100%;
        justify-content: center;
    }
    .hero__actions .btn--ghost {
        background: none;
        border: none;
        box-shadow: none;
        padding: 8px 0;
        font-size: 14px;
        color: var(--c-text-muted);
        justify-content: center;
    }
    .hero__actions .btn--ghost:hover {
        background: none;
        color: var(--c-primary-500);
        transform: none;
    }

    /* Stats carousel - one at a time, below the buttons */
    .hero__stats {
        margin: 32px 0 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        overflow: hidden;
    }
    .hero__stat {
        position: absolute;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: statCycle 9s ease-in-out infinite;
    }
    .hero__stat:nth-child(1) { animation-delay: 0s; }     /* includes divider offsets */
    .hero__stat:nth-child(3) { animation-delay: 3s; }
    .hero__stat:nth-child(5) { animation-delay: 6s; }
    .hero__stat-number {
        font-family: var(--ff-display);
        font-size: 44px;
        font-weight: 700;
        color: var(--c-text);
    }
    .hero__stat-suffix {
        font-family: var(--ff-display);
        font-size: 28px;
        font-weight: 600;
        color: var(--c-primary-400);
    }
    .hero__stat-prefix {
        font-size: 28px;
    }
    .hero__stat-label {
        font-size: 14px;
        color: var(--c-text-light);
        letter-spacing: 0.03em;
        margin-top: 4px;
    }
    .hero__stat-divider { display: none; }

    @keyframes statCycle {
        0%        { opacity: 0; transform: translateY(20px); }
        5%, 28%   { opacity: 1; transform: translateY(0); }
        33%       { opacity: 0; transform: translateY(-20px); }
        100%      { opacity: 0; transform: translateY(20px); }
    }

    .hero__wave svg { height: 50px; }

    /* Social proof bar - not needed, stats are in hero */
    .social-proof { display: none; }

    .section-header { margin-bottom: 24px; }
    .section-title { font-size: clamp(22px, 5vw, 32px); margin-bottom: 10px; }
    .section-subtitle { font-size: 15px; }

    .feature-card { flex: 0 0 100%; padding: 20px 18px; }
    .feature-card__icon { width: 40px; height: 40px; margin-bottom: 10px; }
    .feature-card__title { font-size: 16px; margin-bottom: 6px; }
    .feature-card__text { font-size: 14px; }

    /* Features (мобайл): 2 колонки, как «Свой инфо-ресурс».
       Карточки 1-6 — иконка сверху, заголовок и текст ниже (длинные заголовки
       вроде «Медиаконтент»/«Мониторинг источников 24/7» не влезают рядом с
       иконкой в узкой колонке). */
    .features .features__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .features .feature-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 10px;
        row-gap: 10px;
        align-items: center;
        padding: 16px 14px;
    }
    .features .feature-card__icon { grid-column: 1; grid-row: 1; align-self: center; margin-bottom: 0; }
    .features .feature-card__title { grid-column: 2; grid-row: 1; align-self: center; font-size: 13.5px; margin-bottom: 0; line-height: 1.2; }
    .features .feature-card__text { grid-column: 1 / -1; grid-row: 2; font-size: 13px; line-height: 1.45; }
    .features .feature-card__icon-img { width: 38px; height: 38px; }

    /* 7-я карточка «Премодерация контента» — широкий баннер во всю ширину,
       иконка слева + заголовок + текст (как на десктопе) */
    .features .feature-card:nth-child(7) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        row-gap: 4px;
        align-content: center;
        padding: 20px;
        background: linear-gradient(135deg, var(--c-primary-50), var(--c-bg) 72%);
        border-color: var(--c-primary-100);
    }
    .features .feature-card:nth-child(7) .feature-card__icon { grid-row: 1 / 3; align-self: center; margin-bottom: 0; }
    .features .feature-card:nth-child(7) .feature-card__title { grid-column: 2; grid-row: 1; align-self: end; font-size: 16px; margin-bottom: 0; }
    .features .feature-card:nth-child(7) .feature-card__text { grid-column: 2; grid-row: 2; align-self: start; font-size: 13px; }
    .features .feature-card:nth-child(7) .feature-card__icon-img { width: 52px; height: 52px; }

    /* Тарифы (мобайл): горизонтальный скролл со scroll-snap; следующая карточка
       подглядывает с краёв (flex-basis < 100% + центр-снап) — видно, что листается */
    .pricing__grid {
        display: flex;
        grid-template-columns: none;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 8px 0;
        margin-bottom: 4px;
        scrollbar-width: none;
    }
    .pricing__grid::-webkit-scrollbar { display: none; }
    .pricing-card {
        flex: 0 0 84%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 22px 20px 20px;
    }
    .pricing-card--featured { transform: none; }
    /* В карусели карточки показаны сразу — без reveal-«выезда снизу» (3-я карта
       за краем экрана не успевала проявиться и появлялась из-под низа) */
    .pricing__grid .reveal { opacity: 1; transform: none; }

    /* Точки-индикаторы карусели тарифов */
    .pricing__dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 8px 0 24px;
    }
    .pricing__dot {
        width: 36px;
        height: 44px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    .pricing__dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--c-primary-100);
        transition: width 0.25s ease, background 0.25s ease;
    }
    .pricing__dot.is-active::before {
        width: 22px;
        border-radius: 4px;
        background: var(--c-primary-500);
    }
    /* Скидки за аванс дублируются в калькуляторе ниже — на мобильном скрываем */
    .discounts { display: none; }
    .pricing-card__header { margin-bottom: 12px; }
    .pricing-card__name { font-size: 20px; margin-bottom: 8px; }
    .pricing-card__amount { font-size: 28px; }
    .pricing-card__desc { font-size: 13px; margin-bottom: 10px; }
    .pricing-card__list li { font-size: 13px; margin-bottom: 4px; }
    .pricing-card__footer .btn { padding: 14px 28px; font-size: 15px; }

    .discounts__inner { padding: 18px 20px; }
    .discounts__title { font-size: 16px; margin-bottom: 12px; }
    .discounts__items { flex-direction: row; gap: 8px; }
    .discount-item { padding: 10px 12px; flex: 1; }
    .discount-item__period { font-size: 12px; }
    .discount-item__value { font-size: 20px; }

    .calc__form { padding: 18px; gap: 20px; }
    .calc__label { font-size: 13px; margin-bottom: 8px; }
    .calc__label-row { margin-bottom: 8px; }
    .calc__value { font-size: 16px; }
    .calc__result-inner { padding: 22px; }
    .calc__result-amount { font-size: 32px; }
    .calc__result-note { font-size: 12px; padding: 8px 10px; }

    /* Калькулятор (мобайл): ползунки опускаем вниз формы — карточка стоимости
       идёт сразу за формой, поэтому ползунки и цена оказываются рядом.
       Порядок: Срок оплаты → Промокод → Закрытых → Постов → Источников */
    .calc__form .calc__group:nth-child(1) { order: 4; } /* Постов в день */
    .calc__form .calc__group:nth-child(2) { order: 5; } /* Источников */
    .calc__form .calc__group:nth-child(3) { order: 3; } /* Закрытых (coming soon) */
    .calc__form .calc__group:nth-child(4) { order: 1; } /* Срок оплаты */
    .calc__form .calc__group:nth-child(5) { order: 2; } /* Промокод */

    .calc__period-selector { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .calc__period { padding: 10px 12px; font-size: 13px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

    .calc__promo { flex-direction: column; gap: 8px; }
    .calc__promo-btn { width: 100%; }

    .calc__custom { padding: 16px; margin-top: 20px; }
    .calc__custom p { font-size: 14px; }

    .example__layout { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; }
    .example__phone { height: 50vh; max-height: 400px; min-height: 300px; border-radius: 16px; }
    .example__sidebar { text-align: center; }
    .example__sidebar-inner { margin: 0 auto; }
    .example__sidebar .section-title,
    .example__sidebar .section-subtitle { text-align: center; }
    .example__desc { font-size: 15px; margin-bottom: 16px; text-align: center; }
    .example__list { margin-bottom: 20px; text-align: left; }
    .example__list li { font-size: 14px; margin-bottom: 6px; }
    .example__sidebar .btn { width: 100%; justify-content: center; }

    /* Услуги (мобайл): горизонтальный скролл со scroll-snap, как у тарифов —
       следующая карточка подглядывает с края */
    .services__grid {
        display: flex;
        grid-template-columns: none;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 8px 0;
        margin-bottom: 4px;
        scrollbar-width: none;
    }
    .services__grid::-webkit-scrollbar { display: none; }
    .service-card {
        flex: 0 0 84%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 20px 18px;
    }
    /* В карусели карточки показаны сразу — без reveal-«выезда снизу» */
    .services__grid .reveal { opacity: 1; transform: none; }

    /* Точки-индикаторы карусели услуг */
    .services__dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 8px 0 24px;
    }
    .services__dot {
        width: 36px;
        height: 44px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    .services__dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--c-primary-100);
        transition: width 0.25s ease, background 0.25s ease;
    }
    .services__dot.is-active::before {
        width: 22px;
        border-radius: 4px;
        background: var(--c-primary-500);
    }
    .service-card__price { font-size: 22px; margin-bottom: 8px; }
    .service-card__title { font-size: 16px; margin-bottom: 8px; }
    .service-card__text { font-size: 14px; }
    .services__total-inner { padding: 20px; }
    .services__total-text span { font-size: 18px; margin-bottom: 4px; }
    .services__total-text p { font-size: 13px; }
    .services__total-amount { font-size: 32px; }

    .cta { padding: 80px 0 60px; }
    .cta__wave-top svg { height: 36px; }
    .cta__wave-bottom svg { height: 30px; }
    .cta__title { margin-bottom: 12px; }
    .cta__subtitle { font-size: 15px; margin-bottom: 20px; }
    .cta__actions { flex-direction: column; gap: 12px; }

    .btn--lg { padding: 14px 28px; font-size: 15px; }

    /* Инфо-ресурс: единые карточки — правила вынесены в media-блоки в конце файла */
}

@media (max-width: 400px) {
    :root { --s-section: 32px; }

    .hero { padding: 40px 0 40px; }
    .hero__badge { font-size: 11px; padding: 7px 12px; }
    .hero__title { font-size: 24px; }
    .hero__subtitle { font-size: 14px; margin: 0 0 24px; }
    .hero__stat-number { font-size: 36px; }
    .hero__stat-suffix { font-size: 22px; }
    .hero__stat-prefix { font-size: 22px; }
    .hero__stat-label { font-size: 12px; }
    .hero__wave svg { height: 36px; }

    .section-header { margin-bottom: 20px; }
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 14px; }
    .section-tag { font-size: 11px; padding: 4px 12px; margin-bottom: 12px; }

    .feature-card { padding: 16px 14px; }
    .feature-card__icon { width: 36px; height: 36px; margin-bottom: 8px; }
    .feature-card__title { font-size: 15px; }
    .feature-card__text { font-size: 14px; }

    .pricing-card { padding: 18px 16px 16px; }
    .pricing-card__amount { font-size: 24px; }
    .pricing-card__footer .btn { padding: 12px 24px; font-size: 14px; }

    .calc__form { padding: 14px; gap: 16px; }
    .calc__result-inner { padding: 18px; }
    .calc__result-amount { font-size: 28px; }
    .calc__period { padding: 10px 12px; font-size: 12px; min-height: 44px; }

    .example__phone { height: 45vh; max-height: 360px; min-height: 280px; }
    .tg-msg { padding: 8px 10px; font-size: 14px; }

    .service-card { padding: 16px 14px; }
    .services__total-inner { padding: 16px; }
    .services__total-amount { font-size: 28px; }

    .cta { padding: 64px 0 48px; }
}

/* ========================================
   AIR / aireporter brand - typographic accents
   (mono eyebrows + Space Mono numerics; structure unchanged)
   ======================================== */
.section-tag,
.hero__badge,
.hero__stat-label,
.social-proof__label,
.pricing-card__badge,
.example__channel-badge,
.calc__period-badge {
    font-family: var(--ff-mono);
    letter-spacing: 0.02em;
}

.hero__stat-number,
.hero__stat-suffix,
.hero__stat-prefix,
.discount-item__value,
.pricing-card__amount,
.pricing-card__price,
.service-card__price,
.calc__result-amount,
.calc__result-currency,
.calc__value,
.services__total-amount,
.services__total-currency,
.social-proof__value {
    font-family: var(--ff-numeric);
}

/* --- FAQ Section --- */
.faq {
    padding: var(--s-section) 0;
    background: var(--c-bg-alt);
}

.faq__list {
    max-width: 820px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq__item--open {
    border-color: var(--c-primary-200);
    box-shadow: var(--shadow-md);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-text);
    text-align: left;
    background: none;
}

.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--c-primary-500);
    background: var(--c-primary-50);
    transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}

.faq__item--open .faq__icon {
    transform: rotate(180deg);
    background: var(--c-primary-500);
    color: #fff;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
}

.faq__answer p {
    padding: 0 24px 22px;
    color: var(--c-text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.faq__answer strong {
    color: var(--c-text);
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq__list { margin-top: 28px; gap: 12px; }
    .faq__question { padding: 18px 18px; font-size: 15px; gap: 12px; }
    .faq__answer p { padding: 0 18px 18px; font-size: 14px; }
}

/* --- Problems Section (боль → решение) --- */
.problems {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.problems__list {
    max-width: 940px;
    margin: 44px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problems__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
}

.problems__pain,
.problems__solution {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--r-md);
    font-size: 16px;
    line-height: 1.45;
}

.problems__pain {
    background: rgba(229,84,75,0.06);
    border: 1px solid rgba(229,84,75,0.16);
    color: var(--c-text);
}

.problems__solution {
    background: var(--c-primary-50);
    border: 1px solid var(--c-primary-100);
    color: var(--c-text);
    font-weight: 600;
}

.problems__pain p,
.problems__solution p { margin: 0; }

.problems__mark {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.problems__mark--x { background: rgba(229,84,75,0.12); color: #E5544B; }
.problems__mark--check { background: var(--c-primary-500); color: #fff; }

/* Карусель-индикаторы (видны только на мобильном) */
.problems__dots { display: none; }

.problems__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary-400);
}

/* --- Info Resource Section --- */
.inforesource {
    padding: var(--s-section) 0;
    background: var(--c-bg-alt);
}

/* --- Burnout / pain accent --- */
.burnout {
    padding: var(--s-section) 0;
    background: var(--c-bg);
    position: relative;
    overflow: hidden;
}

.burnout::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(183,67,255,0.16), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.burnout::after {
    content: '';
    position: absolute;
    bottom: -12%;
    left: -6%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(105,225,244,0.18), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.burnout__inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 52px;
    align-items: center;
}

.burnout__stage {
    position: relative;
    padding: 26px 30px;
}

.burnout__photo {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(150deg, #2a2440, #1751D0 70%, #69E1F4);
    box-shadow: var(--shadow-xl);
}

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

.burnout__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
    pointer-events: none;
}

.burnout__photo-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(21,19,28,0.72);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: var(--r-full);
    box-shadow: var(--shadow-md);
}

.burnout__photo-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5544B;
    box-shadow: 0 0 0 0 rgba(229,84,75,0.6);
    animation: burnoutPulse 2s infinite;
}

.burnout__content {
    min-width: 0;
}

.burnout .section-title {
    text-align: left;
    margin-bottom: 14px;
}

.burnout__lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--c-text-muted);
    margin: 0 0 28px;
    max-width: 540px;
    text-wrap: pretty;
}

.burnout__hook {
    color: var(--c-text);
    font-weight: 700;
}

.burnout__cta {
    margin-top: 8px;
}
/* Нарядная CTA: мягкое диффузное свечение (низкая прозрачность + крупное
   размытие = плавный спад без очерченного ореола) + сдвиг стрелки на hover */
.burnout__cta .btn {
    padding: 17px 42px;
    box-shadow: 0 10px 34px rgba(35,111,234,0.18);
}
.burnout__cta .btn svg { transition: transform var(--t-base); }
.burnout__cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(35,111,234,0.26);
}
.burnout__cta .btn:hover svg { transform: translateX(4px); }

.ticket {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

/* Floating, semi-transparent tickets around the editor */
.ticket--float {
    position: absolute;
    z-index: 2;
    width: 252px;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.6);
    box-shadow: var(--shadow-lg);
    animation: ticketFloat 6s ease-in-out infinite;
    will-change: transform;
}

.ticket--float:hover {
    animation-play-state: paused;
    box-shadow: var(--shadow-xl);
    z-index: 4;
}

.ticket--pos1 {
    --rot: -3deg;
    top: -6px;
    left: -28px;
    animation-delay: 0s;
}

.ticket--pos2 {
    --rot: 2.5deg;
    top: 18%;
    right: -40px;
    animation-delay: -2s;
    animation-duration: 7s;
}

.ticket--pos3 {
    --rot: 2deg;
    bottom: 24%;
    left: -30px;
    animation-delay: -4s;
    animation-duration: 6.5s;
}

.ticket--pos4 {
    --rot: -2deg;
    bottom: -8px;
    right: 4px;
    animation-delay: -1s;
    animation-duration: 5.5s;
}

.ticket--overdue {
    border-color: rgba(229,84,75,0.4);
}

.ticket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.ticket__title {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
}

.ticket__pri {
    flex-shrink: 0;
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.ticket__pri--high { color: #E5544B; background: rgba(229,84,75,0.12); }
.ticket__pri--mid { color: #C97A12; background: rgba(245,166,35,0.16); }
.ticket__pri--low { color: var(--c-primary-500); background: var(--c-primary-50); }

.ticket__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--c-text-muted);
}

.ticket__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ticket__dot--red { background: #E5544B; animation: burnoutPulse 2s infinite; }
.ticket__dot--orange { background: #F5A623; }
.ticket__dot--blue { background: var(--c-primary-400); }

.ticket--queue {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    background: rgba(245,244,251,0.88);
    border-style: dashed;
    border-color: var(--c-primary-200);
}

.ticket__queue-count {
    font-family: var(--ff-numeric);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-primary-500);
}

.ticket__queue-text {
    font-size: 14px;
    color: var(--c-text-muted);
}

@keyframes burnoutPulse {
    0% { box-shadow: 0 0 0 0 rgba(229,84,75,0.55); }
    70% { box-shadow: 0 0 0 8px rgba(229,84,75,0); }
    100% { box-shadow: 0 0 0 0 rgba(229,84,75,0); }
}

@keyframes ticketFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}

/* Мягче амплитуда для мобильных тикетов (карточки поверх фото, плотнее) */
@keyframes ticketFloatM {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .ticket--float { animation: none; transform: rotate(var(--rot, 0deg)); }
}

@media (max-width: 880px) {
    /* Узкие колонки: подтянуть плавающие тикеты внутрь, чтобы не уезжали за край */
    .burnout__inner { grid-template-columns: 0.85fr 1.15fr; gap: 32px; }
    .ticket--float { width: 220px; }
    .ticket--pos1 { left: -10px; }
    .ticket--pos2 { right: -14px; }
    .ticket--pos3 { left: -14px; }
}

@media (max-width: 768px) {
    /* Порядок на мобильном: заголовок → фото → абзац.
       display:contents «растворяет» .burnout__content, его дети (заголовок и
       абзац) становятся прямыми flex-элементами .burnout__inner, и их можно
       переставить через order — фото физически разделяет заголовок и пояснение */
    .burnout__inner {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }
    .burnout__content { display: contents; }
    .burnout .section-title { order: 1; }
    .burnout__stage { order: 2; }
    .burnout__lead { order: 3; }
    /* Симметрия зазоров до соседних блоков: измерено — сверху ≈ снизу ≈ 58px
       (снизу = padding-bottom 8 + features padding-top 48; сверху = gap 22 +
       margin 20 + хвост line-height абзаца) */
    .burnout { padding-bottom: 8px; }
    /* Секция укорочена → нижний cyan-блоб, привязанный к низу, обрезается
       overflow:hidden ровно под кнопкой и даёт резкую линию. Поднимаем блоб
       за фото, чтобы у нижней границы секции свечения не было */
    .burnout::after {
        bottom: auto;
        top: 26%;
        left: -28%;
        width: 300px;
        height: 300px;
    }
    .burnout__cta { order: 4; display: flex; justify-content: center; margin-top: 20px; }
    /* Композиция «карточки поверх фото» сохраняется и на мобильном */
    .burnout__stage { padding: 0; max-width: 340px; margin: 0 auto; }
    .burnout__photo { aspect-ratio: 4 / 5; }

    /* Тикеты остаются поверх фото, уменьшены и убраны внутрь границ;
       плавающая анимация (как на десктопе) сохраняется — переопределяем
       только имя кейфрейма (мягче амплитуда), задержки/длительности из
       пер-позиционных правил сохраняются для разнобоя */
    .ticket--float {
        position: absolute;
        width: 172px;
        margin: 0;
        padding: 11px 13px;
        animation-name: ticketFloatM;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-color: rgba(255,255,255,0.65);
        box-shadow: var(--shadow-lg);
    }
    .ticket--pos1 { top: 12px; left: 6px; right: auto; bottom: auto; }
    .ticket--pos4 { bottom: 14px; right: 6px; left: auto; top: auto; }
    .ticket--pos2 { display: none; }
    .ticket--queue.ticket--pos3 {
        width: auto;
        right: 6px; left: auto;
        top: 90px; bottom: auto;
        gap: 9px;
        padding: 9px 13px;
    }
    /* Компактнее: меньше бейдж приоритета (не «съедает» ширину заголовка),
       поджаты межстрочные интервалы и отступы шапки */
    .ticket__head { margin-bottom: 4px; gap: 7px; }
    .ticket__title { font-size: 12.5px; line-height: 1.2; }
    .ticket__pri { font-size: 9.5px; padding: 2px 7px; }
    .ticket__meta { font-size: 11px; line-height: 1.3; gap: 7px; }
    .ticket__queue-count { font-size: 22px; line-height: 1; }
    /* «задач в очереди» в 2 строки рядом с крупным +18 — карточка компактнее по ширине */
    .ticket__queue-text { font-size: 12px; line-height: 1.2; }
    .ticket__queue-text > span { display: block; }

    /* Заголовок крупнее и по центру над фото */
    .burnout .section-title {
        text-align: center;
        font-size: 27px;
        line-height: 1.2;
        margin: 0;
    }
    /* Абзац — по центру, чуть мельче заголовка */
    .burnout__lead {
        text-align: center;
        margin: 0;
        font-size: 16px;
        line-height: 1.55;
        padding-bottom: 8px;
    }
}

/* --- Setup in 6 Steps --- */
.steps6 {
    padding: var(--s-section) 0;
    background: var(--c-bg-alt);
}

.steps6__showcase {
    margin: 44px auto 0;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}

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

.steps6__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background: var(--c-surface);
    transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.steps6__item:hover { border-color: var(--c-primary-200); }

.steps6__item.is-active {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.steps6__num {
    font-family: var(--ff-numeric);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-text-light);
    flex-shrink: 0;
    transition: color var(--t-base);
}

.steps6__item.is-active .steps6__num {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps6__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

/* Caption с текстом активного шага — только на мобильном (на десктопе текст в списке) */
.steps6__caption { display: none; }

.steps6__name {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
}

.steps6__desc {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.45;
}

.steps6__device {
    position: relative;
    height: 540px;
    overflow: hidden;
}

.steps6__device::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(245,244,251,0), var(--c-bg-alt));
    pointer-events: none;
    z-index: 2;
}

.steps6__shot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    height: auto;
    transform: translateX(-50%) translateY(14px);
    opacity: 0;
    transition: opacity var(--t-base), transform var(--t-base);
    pointer-events: none;
    filter: drop-shadow(0 16px 40px rgba(10,22,40,0.14));
}

.steps6__shot.is-active {
    opacity: 1;
    transform: translateX(-50%);
}

.steps6__cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .steps6__showcase { gap: 28px; }
    .steps6__device { height: 480px; }
}

@media (max-width: 768px) {
    /* Боль -> решение: горизонтальная карусель (симметричный peek, 1 пара = 1 слайд).
       overflow-y:hidden обязателен: при overflow-x:auto браузер форсит overflow-y:auto
       (спецификация) и появляется паразитный вертикальный скролл внутри блока. */
    .problems__list {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
        margin: 32px 0 0;
        padding: 4px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .problems__list::-webkit-scrollbar { display: none; }
    .problems__row {
        grid-template-columns: 1fr;
        gap: 10px;
        flex: 0 0 90%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    .problems__arrow { transform: rotate(90deg); }
    .problems__pain, .problems__solution {
        font-size: 15px;
        padding: 18px 18px;
        align-items: flex-start;
    }

    .problems__dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin-top: 20px;
    }
    .problems__dot {
        width: 36px;
        height: 44px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    .problems__dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--c-primary-100);
        transition: width 0.25s ease, background 0.25s ease;
    }
    .problems__dot.is-active::before {
        width: 22px;
        border-radius: 4px;
        background: var(--c-primary-500);
    }
    /* Steps6 (мобайл): горизонтальная линейка кнопок-номеров под заголовком,
       под ней — текст активного шага (caption) + скриншот.
       Подзаголовок убран — он дублирует смысл (заголовок + caption уже всё говорят) */
    .steps6 .section-subtitle { display: none; }
    .steps6__showcase { display: block; margin-top: 24px; }
    /* Кнопки шагов — интерактивный контрол: показываем showcase сразу, без
       reveal-сдвига (иначе до проявления кнопки невидимы/смещены и «не нажимаются»,
       а во время 0.7s-анимации тап промахивается по «едущему» элементу) */
    .steps6__showcase.reveal { opacity: 1; transform: none; }
    .steps6__item { -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer; }

    /* Линейка кнопок 01..06 */
    .steps6__list {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 18px;
    }
    .steps6__item {
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 10px 2px;
        text-align: center;
        min-width: 0;
    }
    /* имя/описание внутри кнопки скрыты — они показываются в caption ниже */
    .steps6__info { display: none; }
    .steps6__num { font-size: 17px; line-height: 1.1; }
    .steps6__num::after {
        content: 'шаг';
        display: block;
        font-family: var(--ff-body);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--c-text-light);
        -webkit-text-fill-color: var(--c-text-light);
    }

    /* Текст активного шага под линейкой */
    .steps6__caption { display: block; text-align: center; margin-bottom: 16px; }
    .steps6__caption-name {
        display: block;
        font-family: var(--ff-display);
        font-size: 17px;
        font-weight: 700;
        color: var(--c-text);
        margin-bottom: 4px;
    }
    .steps6__caption-desc {
        display: block;
        font-size: 13.5px;
        line-height: 1.45;
        color: var(--c-text-muted);
        max-width: 320px;
        margin: 0 auto;
    }

    .steps6__device { height: 440px; }
}


/* === Инфо-ресурс: единые вертикальные карточки (mobile-first) === */
@media (max-width: 1024px) {
    .inforesource .features__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 8px;
    }
    .inforesource .feature-card {
        flex: none;
        padding: 20px;
        border-radius: var(--r-md);
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 12px;
        row-gap: 12px;
        align-items: center;
        min-height: 0;
    }
    .inforesource .feature-card__icon {
        grid-column: 1;
        grid-row: 1;
        width: 44px;
        height: 44px;
        margin-bottom: 0;
        border-radius: 12px;
    }
    .inforesource .feature-card__icon svg { width: 24px; height: 24px; }
    .inforesource .feature-card__body { display: contents; }
    .inforesource .feature-card__title {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        font-size: 16px;
        margin-bottom: 0;
        line-height: 1.3;
    }
    .inforesource .feature-card__text {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 14px;
        line-height: 1.5;
    }
}
@media (max-width: 600px) {
    /* Телефон: сетка 2×2, карточки слегка вытянуты по вертикали */
    .inforesource .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        align-items: stretch;
    }
    .inforesource .feature-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 9px;
        row-gap: 10px;
        align-items: center;
        padding: 18px 14px;
    }
    .inforesource .feature-card__icon { grid-column: 1; grid-row: 1; width: 38px; height: 38px; }
    .inforesource .feature-card__icon svg { width: 20px; height: 20px; }
    .inforesource .feature-card__body { display: contents; }
    .inforesource .feature-card__title { grid-column: 2; grid-row: 1; align-self: center; font-size: 14.5px; line-height: 1.25; }
    .inforesource .feature-card__text { grid-column: 1 / -1; grid-row: 2; font-size: 13px; line-height: 1.45; }
}
