/* ═══════════════════════════════════════════════════
   AI Landing Blocks — Глобальные стили
   Меняйте только переменные в :root для быстрой
   смены корпоративных цветов у каждого клиента
   ═══════════════════════════════════════════════════ */

/* ─── ТОКЕНЫ БРЕНДА (меняются под каждого клиента) ─── */
:root {
    /* Бренд */
    --brand-primary:       #DC2626;
    --brand-primary-dark:  #B91C1C;
    --brand-primary-light: #FEF2F2;

    /* Акцентные цвета */
    --accent-red:  #DC2626;
    --accent-cyan: #06B6D4;
    --accent-grey: #64748B;

    /* Текст */
    --text:          #111827;   /* Основной */
    --text-2:        #374151;
    --text-3:        #6B7280;   /* Вспомогательный */
    --color-heading: #0F172A;   /* Заголовки секций */
    --color-muted:   #475569;   /* Вторичный текст, описания */
    --color-white:   #fff;

    /* Фоны */
    --bg:          #FFFFFF;
    --bg-alt:      #F9FAFB;
    --bg-card:     var(--bg);
    --bg-surface:  #F8FAFC;    /* Фон лёгких секций (pricing, steps) */
    --bg-surface-2:#F1F5F9;    /* Чуть темнее (footer start) */
    --bg-glass:    rgba(0,0,0,0.04);

    /* Границы */
    --border:       #E5E7EB;
    --border-light: #E2E8F0;   /* Карточки, делители */
    --border-dark:  #1E293B;   /* Глубокие делители (отзывы) */
    --glass-border: rgba(0,0,0,0.08);

    /* Радиусы */
    --radius:    12px;
    --radius-lg: 16px;

    /* Тени */
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 8px rgba(0,0,0,.05);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.10);
    --shadow-card: 0 4px 24px rgba(0,0,0,.06);

    /* Свечения */
    --glow-red:          rgba(220,38,38,.20);
    --glow-red-sm:       rgba(220,38,38,.08);
    --glow-red-md:       rgba(220,38,38,.15);
    --glow-red-lg:       rgba(220,38,38,.25);   /* = --accent-red-glow */
    --glow-cyan-sm:      rgba(6,182,212,.04);
    --glow-cyan-md:      rgba(6,182,212,.08);
    --glow-cyan-hover:   rgba(6,182,212,.12);
    --glow-cyan-border:  rgba(6,182,212,.30);
    --border-glow:       rgba(220,38,38,.40);

    /* Поля ввода */
    --color-placeholder: #94A3B8;   /* Плейсхолдеры, Privacy-текст */
    --border-subtle:     #CBD5E1;   /* Мягкая граница (hover инпутов) */
    --bg-input:          #F1F5F9;   /* Фон полей ввода */
    --bg-input-focus:    #FFFFFF;   /* Фон при фокусе */
    --border-input:      #E2E8F0;   /* Граница полей ввода */

    /* Успех / статусы */
    --color-success: #16A34A;
    --bg-success:    #DCFCE7;

    /* Алиасы для обратной совместимости */
    --accent-red-glow:  var(--glow-red-lg);
    --accent-cyan-glow: rgba(6,182,212,.13);
    --text-primary:     var(--text);
    --text-secondary:   var(--text-3);
    --bg-primary:       var(--bg);
<<<<<<< HEAD

    --color-white:#FEF2F2;   /* Фон-подсветка */
    --bg-white: #FFF;   
=======
>>>>>>> feature/proccessing-fix
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── КОНТЕЙНЕР ─── */
.container {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 64px;
}
@media (max-width: 1024px) { .container { padding: 0 32px; } }
@media (max-width: 640px)  { .container { padding: 0 20px; } }

/* ─── КНОПКИ ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, transform .15s, box-shadow .15s;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-primary-dark);
    box-shadow: 0 4px 12px rgba(220,38,38,.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ─── БЕЙДЖ ─── */
.badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--brand-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
}

/* ─── ЗАГОЛОВКИ СЕКЦИЙ ─── */

.section__redline {
    width: 48px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
    margin: 0 auto 15px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}
.section-sub   { font-size: 16px; color: var(--text-3); margin-top: 8px; }
.section-center { text-align: center; margin-bottom: 48px; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* ── Navbar Block ─────────────────────────────────────────── */
.ailb-navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    font-size: 19px;
    font-weight: 800;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.navbar-logo span { color: var(--brand-primary); }

/* Переключение логотипов по теме */
.navbar-logo__img {
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
.navbar-logo__img--dark   { display: none; }
html.dark-theme .navbar-logo__img--light { display: none; }
html.dark-theme .navbar-logo__img--dark  { display: block; }
.navbar-logo__svg {
    display: flex;
    align-items: center;
}
.navbar-logo__svg svg {
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.navbar-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
    transition: color .18s;
}
.navbar-nav a:hover { color: var(--brand-primary); }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

@media (max-width: 900px) {
    .navbar-nav, .navbar-cta { display: none; }
    .burger { display: flex; }
}
/* ── Hero Block ───────────────────────────────────────────── */
.ailb-hero {
    padding: 80px 0 0;
    overflow: hidden;
}

html:not(.dark-theme) .ailb-hero {
    background: radial-gradient(ellipse 120% 120% at 50% 40%, #F1F5F9 0%, #FFFFFF 60%, #FFFFFF 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-left { padding-bottom: 80px; }

.hero-eyebrow { margin-bottom: 20px; }

.ailb-hero h1 {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-3);
    margin-bottom: 36px;
    max-width: 460px;
}

/* Visual */
.hero-visual {
    position: relative;
    padding-bottom: 80px;
}

.hero-img-box {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #d1d5db 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: .55;
}

.hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-box svg {
    position: relative;
    z-index: 1;
    opacity: .25;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-blob-1 { width: 120px; height: 120px; background: #DBEAFE; top: 24px; right: 24px; opacity: .5; }
.hero-blob-2 { width: 16px; height: 16px; background: var(--brand-primary); bottom: 70px; left: 32px; opacity: .5; }

/* Плавающие карточки */
.hero-card {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}
.hero-card-num { font-size: 20px; font-weight: 800; }
.hero-card-lbl { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.hero-card-top    { top: 28px; right: -24px; }
.hero-card-bottom { bottom: 104px; right: -24px; }

@media (max-width: 900px) {
    .ailb-hero { padding: 48px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-left { padding-bottom: 0; }
    .hero-visual { display: none; }
}
/* ── Trust Block ──────────────────────────────────────────── */
.ailb-trust {
    padding: 88px 0;
}

html:not(.dark-theme) .ailb-trust {
    background: var(--bg-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: box-shadow .2s;
}
.trust-card:hover { box-shadow: var(--shadow-md); }

.trust-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-primary);
}
.trust-icon svg { width: 24px; height: 24px; }

.trust-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
.trust-card p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
}

@media (min-width: 640px) and (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }
/* ── Pricing Block ────────────────────────────────────────── */
/* ── Pricing Section ─────────────────────────────────────────── */
/* fLlpO: padding [80,120], gap 48 */
.pricing-section {
    padding: 80px 120px;
    background: var(--bg-surface);
}

.pricing-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* b5fBd: vertical, center, gap 12 */
.pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* ylumU: 48×4 */
.pricing-redline {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

/* Fd1u4: 36px, 800, letter-spacing -1px */
.pricing-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: -1px;
    line-height: 1.2;
    max-width: 800px;
}

/* QyWna: 16px */
.pricing-sub {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
}

/* EwAVS: 3 columns, gap 24 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* QBpfr / Vb6to */
.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

/* UUexV: featured */
.pricing-card--featured {
    border: 2px solid var(--accent-red);
}

/* W07wS: badge */
.pricing-card__badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* 22px, 700 */
.pricing-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.2;
}

/* 14px */
.pricing-card__tagline {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.4;
}

/* divider */
.pricing-card__divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0;
}

/* features list */
.pricing-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* check icon: 16×16 */
.pricing-card__features svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.pricing-card__features span {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-muted);
}

/* timing row */
.pricing-card__timing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card__timing svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-muted);
}

.pricing-card__timing span {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-muted);
}

/* price: 28px, 700 */
.pricing-card__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
}

/* button base */
.pricing-card__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    border-radius: var(--radius);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s;
}

/* glass button */
.pricing-card__btn--glass {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    color: var(--color-heading);
}
.pricing-card__btn--glass:hover {
    box-shadow: 0 0 20px 4px var(--glow-cyan-hover);
    border-color: var(--glow-cyan-border);
}

/* red button */
.pricing-card__btn--red {
    background: var(--accent-red);
    border: none;
    color: #fff;
    box-shadow: 0 0 20px var(--glow-red-md);
}
.pricing-card__btn--red:hover {
    box-shadow: 0 0 28px var(--glow-red);
    box-shadow: 0 0 32px var(--accent-red-glow), 0 0 30px var(--accent-red-glow);
}

@media (max-width: 1100px) {
    .pricing-section { padding: 64px 48px; }
}

@media (max-width: 900px) {
    .pricing-section { padding: 48px 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
/* ── About Block ──────────────────────────────────────────── */
.ailb-about {
    padding: 88px 0;
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.ailb-about h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0 18px;
}

.ailb-about p {
    font-size: 15px;
    color: var(--text-3);
    line-height: 1.75;
    margin-bottom: 12px;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 4px;
}

.about-img {
    position: relative;
    background: var(--border);
    border-radius: 20px;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #c1c7d0 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}

.about-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img svg {
    position: relative;
    z-index: 1;
    opacity: .2;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 0; }
    .about-img { display: none; }
}
/* ── Reviews Block ────────────────────────────────────────── */
.ailb-reviews { padding: 88px 0; }

/* Outer wrapper: nav buttons flanking the swiper */
.reviews-swiper-outer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

/* Side nav buttons */
.reviews-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .18s, color .18s, background .18s;
    cursor: pointer;
}
.reviews-nav:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.reviews-nav.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

/* Swiper container fills remaining space */
.reviews-swiper {
    flex: 1;
    min-width: 0;
}

/* Each slide card */
.review-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-quote {
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--brand-primary);
    line-height: .8;
    margin-bottom: 16px;
}

.review-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    flex: 1;
    /*margin-bottom: 24px;*/
}

.review-author { 
    display: flex;
    align-items: center;
    gap: 12px;
    /*margin-top: 24px;*/
 }

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.swiper-slide:nth-child(3n+2) .review-avatar { background: var(--accent-cyan); }
.swiper-slide:nth-child(3n+3) .review-avatar { background: var(--accent-grey); }

.review-name { font-size: 14px; font-weight: 600; }
.review-co   { font-size: 12px; color: var(--text-3); margin-top: 1px; }

.review-card__divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 20px 0;
}
html.dark-theme .review-card__divider {
    border-top-color: var(--border-dark);
}

/* Equal slide heights */
.reviews-swiper .swiper-wrapper { align-items: stretch; }
.reviews-swiper .swiper-slide   { height: auto; }

@media (max-width: 900px) {
    .reviews-swiper-outer { gap: 8px; }
    .reviews-nav { width: 36px; height: 36px; }
}
/* ── Contact Block ────────────────────────────────────────── */
.ailb-contact {
    padding: 88px 0;
    background: var(--bg-alt);
}

.contact-box {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 20px;
    padding: 56px 64px;
    box-shadow: var(--shadow-lg);
}
.contact-box .section-center { margin-bottom: 36px; }

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    background: var(--bg);
}
.form-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.form-input::placeholder { color: var(--color-placeholder); }
.form-input.error { border-color: var(--brand-primary); }

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 14px;
    line-height: 1.5;
}
.form-note a { color: var(--brand-primary); }

/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: 16px;
}
.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-success);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p  { color: var(--text-3); font-size: 15px; }

@media (max-width: 768px) {
    .contact-box { padding: 32px 20px; }
    .contact-form { grid-template-columns: 1fr; }
}
/* ── Process Block ────────────────────────────────────────── */
/* ── Steps Section ───────────────────────────────────────────── */
/* ODLcB: gradient 170deg, padding [80,120], gap 48 */
.steps-section {
    padding: 80px 120px;
    background: linear-gradient(170deg, var(--bg-surface) 0%, var(--bg) 50%, var(--bg-surface) 100%);
}

.steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ygMPX: vertical, center, gap 16 */
.steps-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/* H1dJk */
.steps-label {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
}

/* QfqDl: 36px, 600, letter-spacing -1px */
.steps-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -1px;
    line-height: 1.2;
}

/* 53B4W: 16px */
.steps-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
}

/* 9RPu9 */
.steps-row {
    display: flex;
    align-items: center;
}

/* 08rRc etc.: 20×20 */
.step__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

/* Step card base */
.step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px var(--glow-cyan-sm);
    text-align: center;
}

.step:hover {
    box-shadow: 0 0 24px var(--glow-red), 0 8px 40px #4c8792;
}

.step:first-child:hover {
    box-shadow: 0 0 24px var(--glow-red), 0 8px 40px #42232350;
}

/* Wxcow: active */
.step--active {
    border-color: rgba(220,38,38,.25);
    box-shadow: 0 4px 24px var(--glow-red-sm);
}

/* Number circle */
.step__num {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

/* drV7A: red */
.step__num--red {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px var(--glow-red-lg);
}

/* 6OKgZ etc.: cyan */
.step__num--cyan {
    background: var(--bg);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 16px var(--accent-cyan-glow);
}

/* Icons 24×24 */
.step__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.step__icon--red  { color: var(--accent-red); }
.step__icon--cyan { color: var(--accent-cyan); }

/* 15px, 600 */
.step__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.3;
    width: 100%;
}

/* 13px, line-height 1.5 */
.step__desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.5;
    width: 100%;
}

@media (max-width: 1100px) {
    .steps-section { padding: 64px 48px; }
}

@media (max-width: 900px) {
    .steps-section { padding: 48px 20px; }
    .steps-row { flex-direction: column; align-items: stretch; gap: 0; }
    .step__arrow { transform: rotate(90deg); margin: 4px auto; }
}
/* ── Footer Block ─────────────────────────────────────────── */


/* ── Footer Section ─────────────────────────────────────────────── */
/* RE3wm: padding [64,120], gap 48 */
.footer-section {
    padding: 64px 120px;
    background: linear-gradient(180deg, var(--bg-surface-2) 0%, var(--bg-surface) 100%);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ── Top ─────────────────────────────────────────────────── */
/* BtUYG: justify-content space_between */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
}

/* ── Brand (left) ─────────────────────────────────────────── */
/* 6lYZF: width 320, layout vertical, gap 16 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 320px;
    flex-shrink: 0;
}

/* Logo: DRNBJ 130×36 */
.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.footer-logo__img {
    height: 36px;
    width: auto;
    max-width: 130px;
    display: block;
}
.footer-logo__img--dark   { display: none; }
html.dark-theme .footer-logo__img--light { display: none; }
html.dark-theme .footer-logo__img--dark  { display: block; }

.footer-logo__fallback {
    display: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
}
.footer-logo__fallback span { color: var(--accent-cyan); }

/* Desc: 14px */
.footer-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 320px;
}

/* ── Right ────────────────────────────────────────────────── */
/* CaCj4: layout vertical, align-items end, gap 20 */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* ── Contacts ─────────────────────────────────────────────── */
/* NbpYn: layout vertical, align-items end, gap 12 */
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* rows: align-items center, gap 8 */
.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icons: 16×16 */
.footer-contacts .icon-cyan,
.footer-contacts svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

/* Text: 13px */
.footer-contacts a,
.footer-contacts span {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-muted);
    text-decoration: none;
    line-height: 1;
}
.footer-contacts a:hover { color: var(--accent-cyan); }

/* ── Button ───────────────────────────────────────────────── */
/* ooQUK: padding [12,24], bg #0000000A, border #00000015 1px,
          radius 12, shadow 0 0 20px 4px #06B6D420            */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 0 20px 4px var(--glow-cyan-md);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-heading);
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow .2s, border-color .2s;
}
.btn-glass .icon-cyan,
.btn-glass svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}
.btn-glass:hover {
    box-shadow: 0 0 24px 6px rgba(6,182,212,.15);
    border-color: var(--glow-cyan-border);
}

/* ── Divider ──────────────────────────────────────────────── */
/* 9tHNt: 1px */
.footer-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0;
}


/* ── Bottom ───────────────────────────────────────────────── */
/* KF7Ge: justify-content space_between */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* fFzEP: 12px */
.footer-copy {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-muted);
}

/* ── Socials ──────────────────────────────────────────────── */
/* y9eBN: gap 16, icons 18×18, color #475569 */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-socials a {
    display: flex;
    color: var(--color-muted);
    transition: color .18s;
}
.footer-socials a:hover { color: var(--accent-cyan); }
.footer-socials svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .footer-section { padding: 64px 48px; }
}

@media (max-width: 900px) {
    .footer-section { padding: 48px 20px; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-brand { width: 100%; }
    .footer-right { align-items: flex-start; }
    .footer-contacts { align-items: flex-start; }
}

@media (max-width: 480px) {
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ── Dark Theme ───────────────────────────────────────────── */
html.dark-theme {
    /* Переменные текста */
    --text:          #F3F4F6;
    --text-2:        #D1D5DB;
    --text-3:        #9CA3AF;
    --color-heading: #F1F5F9;
    --color-muted:   #94A3B8;

    /* Фоны */
    --bg:          #111111;
    --bg-alt:      #1A1A1A;
    --bg-card:     #1E1E1E;
    --bg-surface:  #0B0F14;
    --bg-surface-2:#060810;
    --bg-glass:    rgba(255,255,255,.04);

    /* Границы */
    --border:       #2D2D2D;
    --border-light: #2D2D2D;
    --glass-border: rgba(255,255,255,.08);

    /* Бренд */
    --brand-primary-light: rgba(220,38,38,.15);

    /* Тени */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4), 0 1px 8px rgba(0,0,0,.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.5);

    /* Поля ввода */
    --color-placeholder: #64748B;
    --border-subtle:     #2A3A52;
    --bg-input:          #131920;
    --bg-input-focus:    #1A2230;
    --border-input:      #1E293B;
}

/* Navbar / mobile */
html.dark-theme .ailb-navbar { background: var(--bg); }
html.dark-theme .mobile-menu { background: var(--bg); }

/* Карточки с фоном var(--bg-card) */
html.dark-theme .trust-card,
html.dark-theme .pricing-card,
html.dark-theme .review-card,
html.dark-theme .hero-card,
html.dark-theme .contact-box,
html.dark-theme .reviews-nav  { background: var(--bg-card); }

/* Pricing featured — красная рамка остаётся */
html.dark-theme .pricing-card--featured { border-color: var(--accent-red); }
/* Timing-иконка — серая */
html.dark-theme .pricing-card__timing svg { color: var(--accent-grey); }

/* Form */
html.dark-theme .form-input {
    background: var(--bg-card);
    color: var(--text);
}
html.dark-theme .form-input::placeholder { color: var(--text-3); }

/* Step active — красная рамка */
html.dark-theme .step--active { border-color: rgba(220,38,38,.25); }
/* Step num cyan — фон card */
html.dark-theme .step__num--cyan { background: var(--bg-card); }

/* Footer divider — чуть темнее (глубокий тон) */
html.dark-theme .footer-divider  { border-top-color: var(--border-dark); }
/* Footer socials — серые иконки */
html.dark-theme .footer-socials a { color: var(--accent-grey); }

/* Hero decorative */
html.dark-theme .hero-img-box::before {
    background-image: radial-gradient(circle, #374151 1.2px, transparent 1.2px);
}
html.dark-theme .hero-blob-1 { background: #1E3A5F; }

/* About placeholder */
html.dark-theme .about-img { background: var(--bg-card); }
html.dark-theme .about-img::before {
    background-image: radial-gradient(circle, #374151 1.2px, transparent 1.2px);
}


/* ── Theme Toggle Button ──────────────────────────────────── */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .18s, color .18s, background .18s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark-theme .theme-toggle .icon-sun  { display: block; }
html.dark-theme .theme-toggle .icon-moon { display: none; }

/* ── Popup Modal ──────────────────────────────────────────── */
.ailb-popup {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ailb-popup[hidden] { display: none; }

/* Overlay */
.ailb-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(100, 116, 139, 0.5);
    cursor: pointer;
}

/* Modal box */
.ailb-popup__modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: popup-in .22s ease;
}

@keyframes popup-in {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Screen switching */
.ailb-popup__screen { display: flex; flex-direction: column; gap: 24px; }
.ailb-popup__screen[hidden] { display: none; }

/* Head */
.ailb-popup__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ailb-popup__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}
.ailb-popup__close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: 50%;
    color: var(--color-placeholder);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    flex-shrink: 0;
}
.ailb-popup__close:hover { background: var(--border-input); color: var(--color-muted); }
.ailb-popup__close .icon-x { font-size: 18px; line-height: 1; }

/* Subtitle */
.ailb-popup__subtitle { font-size: 15px; color: var(--color-muted); line-height: 1.5; margin: 0; }

/* Form */
.ailb-popup__form { display: flex; flex-direction: column; gap: 20px; }
.ailb-popup__fields { display: flex; flex-direction: column; gap: 14px; }
.ailb-popup__field { display: flex; flex-direction: column; gap: 7px; }
.ailb-popup__label { font-size: 13px; font-weight: 500; color: var(--color-muted); }

.ailb-popup__input {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.ailb-popup__input::placeholder { color: var(--color-placeholder); }
.ailb-popup__input:hover  { border-color: var(--border-subtle); }
.ailb-popup__input:focus  {
    border-color: var(--brand-primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px var(--glow-red-sm);
}
.ailb-popup__input.error { border-color: var(--brand-primary); }

.ailb-popup__input--textarea {
    height: 96px;
    min-height: 96px;
    resize: vertical;
}

.ailb-popup__submit {
    width: 100%;
    padding: 15px 0;
    background: var(--brand-primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.19);
    transition: background .2s, transform .15s, box-shadow .2s;
}
.ailb-popup__submit:hover {
    background: var(--brand-primary-dark);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.35);
    transform: translateY(-1px);
}
.ailb-popup__submit:active { transform: translateY(0); }

.ailb-popup__privacy {
    font-size: 11px;
    color: var(--color-placeholder);
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* Success screen */
.ailb-popup__screen--success {
    align-items: center;
    text-align: center;
    padding: 16px 0;
}
.ailb-popup__success-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.35));
}
.ailb-popup__success-icon .icon-circle-check { font-size: 56px; line-height: 1; }
.ailb-popup__success-title { font-size: 24px; font-weight: 700; color: var(--text); }
.ailb-popup__success-message { font-size: 15px; color: var(--color-muted); line-height: 1.6; max-width: 320px; }
.ailb-popup__success-close {
    width: 100%;
    padding: 13px 0;
    background: transparent;
    border: 1px solid var(--border-input);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.ailb-popup__success-close:hover { background: var(--bg-surface); border-color: var(--border-subtle); }

/* ── Popup: Dark theme ────────────────────────────────────── */
/* Большинство цветов управляется через переменные в html.dark-theme {} */
html.dark-theme .ailb-popup__overlay { background: rgba(11, 15, 20, 0.88); }

html.dark-theme .ailb-popup__modal {
    background: var(--bg-glass);
    border-color: var(--glass-border);
}

html.dark-theme .ailb-popup__close:hover { background: var(--bg-input-focus); color: var(--text); }

html.dark-theme .ailb-popup__success-close:hover {
    background: var(--bg-glass);
    border-color: #334155;
}

/* Mobile */
@media (max-width: 560px) {
    .ailb-popup__modal { padding: 24px 20px; }
    .ailb-popup__title { font-size: 22px; }
}
