/* ============================================================
   КЭДО Landing — Подпислон Design System
   Fonts: GothamPro (same as LP stack)
   Colors: #F79900 / #FFAB24 brand orange, #f3153f accent red,
           #ff5a23 warm orange, #ffb21e yellow-orange
   Container: .cover (same breakpoints as lp/common.css)
   Border-radius: 6px (--border-radius-main)
   ============================================================ */

/* ─── Fonts ─────────────────────────────────────────────── */
@font-face {
    font-family: GothamPro;
    src: url('../../frontend/web/fonts/GothamPro/GothamPro-Light.woff') format('woff'),
         url('../../frontend/web/fonts/GothamPro/GothamPro-Light.ttf') format('truetype');
    font-weight: 300; font-style: normal;
}
@font-face {
    font-family: GothamPro;
    src: url('../../frontend/web/fonts/GothamPro/GothamPro.woff') format('woff'),
         url('../../frontend/web/fonts/GothamPro/GothamPro.ttf') format('truetype');
    font-weight: 400; font-style: normal;
}
@font-face {
    font-family: GothamPro;
    src: url('../../frontend/web/fonts/GothamPro/GothamPro-Medium.woff') format('woff'),
         url('../../frontend/web/fonts/GothamPro/GothamPro-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal;
}
@font-face {
    font-family: GothamPro;
    src: url('../../frontend/web/fonts/GothamPro/GothamPro-Bold.woff') format('woff'),
         url('../../frontend/web/fonts/GothamPro/GothamPro-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal;
}
@font-face {
    font-family: GothamPro;
    src: url('../../frontend/web/fonts/GothamPro/GothamPro-Black.woff') format('woff'),
         url('../../frontend/web/fonts/GothamPro/GothamPro-Black.ttf') format('truetype');
    font-weight: 900; font-style: normal;
}

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
    --color-brand:       #F79900;
    --color-brand-dark:  #e08800;
    --color-brand-grad:  linear-gradient(135deg, #F79900 0%, #FFAB24 100%);
    --hero-bg-grad:      radial-gradient(ellipse 110% 130% at 55% 50%, #ffc040 0%, #F79900 45%, #F37021 100%);
    --color-accent-red:  #f3153f;
    --color-accent-warm: #ff5a23;
    --color-accent-yel:  #ffb21e;
    --color-black:       #000;
    --color-gray-dark:   #484848;
    --color-gray-mid:    #7D7D7D;
    --color-gray-light:  #B0B0B0;
    --color-gray-line:   #e8e8e8;
    --color-bg:          #fff;
    --color-bg-gray:     #f7f7f7;
    --color-success:     #22c55e;
    --radius:            6px;
    --radius-lg:         12px;
    --shadow-card:       0 0 48px rgba(0,0,0,.10);
    --shadow-card-hover: 0 8px 32px rgba(0,0,0,.18);
    --transition:        0.25s ease;
    --font:              GothamPro, sans-serif;

    /* ─── Typography scale (landing-wide) ─────────────────── */
    --typo-h2-size:      36px;
    --typo-h2-size-sm:   26px;
    --typo-lead-size:    15px;
    --typo-body-size:    14px;
    --typo-small-size:   12px;
    --typo-cardtitle:    16px;
}

/* ─── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    font: 400 16px/1.75 var(--font);
    background: var(--color-bg);
    color: var(--color-black);
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 16px;
    line-height: 1.2;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-black); text-decoration: none; }
a:hover { text-decoration: none; }

img { display: block; max-width: 100%; }

ul, ol { margin: 0; padding: 0; list-style: none; }

svg { display: block; overflow: hidden; flex-shrink: 0; }

/* ─── Container ──────────────────────────────────────────── */
.cover {
    padding: 0 15px;
    margin: 0 auto;
    min-width: 320px;
}
@media (min-width: 600px)  { .cover { max-width: 570px; } }
@media (min-width: 768px)  { .cover { max-width: 730px; } }
@media (min-width: 990px)  { .cover { max-width: 970px; } }
@media (min-width: 1200px) { .cover { max-width: 1170px; } }
@media (min-width: 1360px) { .cover { max-width: 1250px; } }
@media (min-width: 768px) {
    .cover { padding-inline: 24px; }
}
@media (min-width: 1200px) {
    .cover { padding-inline: 40px; }
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 600px)  { .container { max-width: 570px; } }
@media (min-width: 768px)  { .container { max-width: 730px; } }
@media (min-width: 990px)  { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }
@media (min-width: 1360px) { .container { max-width: 1250px; } }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font: 500 14px/1 var(--font);
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: #F79900;
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}
.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(255,127,31,.35);
    color: #fff;
}

.header .btn--primary,
.mobile-nav__cta.btn--primary,
.features-actions .btn--primary,
.goskey.section .btn--primary,
.demo-form__form .btn--primary {
    text-shadow: none;
}
.header .btn--primary:hover,
.mobile-nav__cta.btn--primary:hover,
.features-actions .btn--primary:hover,
.goskey.section .btn--primary:hover,
.demo-form__form .btn--primary:hover {
    box-shadow: none;
}

.btn--outline {
    background: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand);
}
.btn--outline:hover {
    background: var(--color-brand);
    color: #fff;
}

.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--full { width: 100%; }

/* ─── Section shared ─────────────────────────────────────── */
.section {
    padding: 80px 0;
}
.section--gray {
    background: #f8f7f5;
}
.section__header {
    text-align: center;
    margin-bottom: 52px;
}
.sec-label {
    font-size: 11px;
    font-weight: 900;
    color: #F79900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.section__title {
    font-size: var(--typo-h2-size);
    font-weight: 500;
    margin-bottom: 12px;
}
.section__subtitle {
    font-size: var(--typo-lead-size);
    color: var(--color-gray-dark);
    max-width: 620px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .section { padding: 52px 0; }
    .section__title { font-size: var(--typo-h2-size-sm); }
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--color-gray-line);
    padding: 0;
}
.header__cover {
    display: flex;
    align-items: center;
    min-height: 72px;
    height: auto;
    padding-block: 12px;
    gap: 32px;
}
.header .btn {
    padding: 8px 18px;
    font-size: 13px;
    line-height: 1.2;
    border-width: 1px;
}
.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.header__logo img { height: 32px; }
.header__logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-black);
}
.header__nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}
.header__nav-link {
    font-size: 14px;
    color: var(--color-gray-dark);
    transition: color var(--transition);
}
.header__nav-link:hover { color: var(--color-brand); }
.header__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .header__nav, .header__actions { display: none; }
    .header__burger { display: flex; }
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-gray-line);
    padding: 16px 15px 24px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__link {
    padding: 12px 0;
    font-size: 15px;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-gray-line);
}
.mobile-nav__cta { margin-top: 16px; align-self: flex-start; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
    background: var(--hero-bg-grad);
    color: #fff;
    padding: clamp(80px, 10vh, 144px) 0 clamp(72px, 9vh, 124px);
    overflow: hidden;
}
.hero__cover {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    flex: 0 1 500px;
    max-width: 500px;
    min-width: 0;
    padding-left: 16px;
}
.hero__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.kedo-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero .kedo-badge,
.hero__badge {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    border-radius: 100px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    margin-bottom: 0;
}
.hero__title {
    font-size: clamp(1.875rem, 4.5vw, 2.25rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin: 0;
    max-width: 100%;
}
.hero__title-br {
    display: none;
}
@media (min-width: 990px) {
    .hero__title {
        font-size: 2.25rem;
    }
    .hero__title-br {
        display: inline;
    }
}
@media (min-width: 1200px) {
    .hero__title {
        font-size: 2.375rem;
    }
}
.hero__subtitle {
    font-size: 16px;
    color: #fff;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 100%;
    text-shadow:
        0 1px 2px rgba(90, 35, 0, 0.12),
        0 4px 16px rgba(90, 35, 0, 0.08);
}
.hero__cta-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0;
}
.hero__cta-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    text-shadow:
        0 1px 2px rgba(90, 35, 0, 0.12),
        0 4px 16px rgba(90, 35, 0, 0.08);
}
.hero__cta-btn {
    flex-shrink: 0;
}
.hero__promo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
}
.hero__promo-icon {
    color: #fff;
    margin-top: 2px;
    flex-shrink: 0;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}
.hero__secondary-action {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero__hint {
    font-size: 11px;
    color: rgba(255,255,255,.75);
    margin: 0;
    max-width: 220px;
    line-height: 1.4;
}

/* Hero CTAs: белые кнопки на оранжевом фоне */
.hero__actions .btn--primary,
.hero__cta-btn.btn--primary {
    background: #fff;
    color: #F79900;
    border-color: transparent;
    font-weight: 600;
    text-shadow: none;
}
.hero__actions .btn--primary:hover,
.hero__cta-btn.btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #F79900;
    box-shadow: none;
}
.hero .btn--outline {
    background: #fff;
    color: #ff7f1f;
    border-color: rgba(255, 127, 31, 0.45);
}
.hero .btn--outline:hover {
    background: #fffaf5;
    color: #ff7f1f;
    border-color: #ff7f1f;
}

/* Hero visual */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-height: 0;
}
.hero__mascot-glow {
    position: absolute;
    inset: 8% 10% 8% 8%;
    background: radial-gradient(ellipse 65% 75% at 50% 50%, rgba(255, 220, 140, 0.3) 0%, transparent 68%);
    pointer-events: none;
}
.hero__mascot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
}
.hero__mascot::after {
    content: '';
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 22px;
    background: radial-gradient(ellipse, rgba(180, 70, 0, 0.28) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}
.hero__mascot img {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 272px;
    max-height: min(100%, 221px);
    object-fit: contain;
}
@media (min-width: 990px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(520px, 58vh, 640px);
    }
    .hero__cover {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 48px;
    }
    .hero__content {
        flex: 0 1 520px;
        max-width: 520px;
    }
    .hero__head {
        margin-bottom: 24px;
    }
    .hero__subtitle {
        max-width: 500px;
    }
    .hero__cta-row {
        margin-top: 0;
        padding-top: 0;
    }
    .hero__visual {
        flex: 1;
        justify-content: center;
        align-items: center;
    }
    .hero__mascot img {
        width: clamp(238px, 23.8vw, 357px);
        max-width: none;
        max-height: none;
        height: auto;
    }
}
.hero__doc-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
}
.doc-card--wide {
    position: static;
    width: 100%;
    margin-left: 0;
}
.doc-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: none;
    min-width: 0;
    position: static;
    width: 100%;
    animation: none;
    margin-left: 48px;
}
.doc-card--offset {
    width: 100%;
    margin-left: 24px;
}
.hero__doc-preview .doc-card:last-child {
    margin-left: 48px;
}
.doc-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}
.doc-card__icon {
    width: 40px;
    height: 40px;
    background: #fff7e6;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    flex-shrink: 0;
}
.doc-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1.3;
}
.doc-card__date {
    font-size: 12px;
    color: var(--color-gray-light);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
}
.hero__stat {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: var(--radius-lg);
    padding: 14px 12px;
    text-align: center;
    backdrop-filter: blur(6px);
}
.hero__stat-num {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.hero__stat-label {
    font-size: 11px;
    color: rgba(255,255,255,.8);
    line-height: 1.35;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 989px) {
    .hero__cover {
        flex-direction: column;
        gap: 32px;
        align-items: start;
    }
    .hero__content {
        flex: none;
        max-width: none;
        min-height: auto;
    }
    .hero__cta-row {
        flex-wrap: wrap;
        margin-top: 0;
        padding-top: 0;
    }
    .hero__visual {
        justify-content: center;
        align-self: center;
        width: 100%;
    }
    .hero__mascot {
        justify-content: center;
        min-height: 0;
    }
    .hero__mascot img {
        width: min(204px, 63.75vw);
        height: auto;
        max-height: none;
        max-width: 100%;
    }
    .hero__stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .hero { padding: 64px 0 56px; }
    .hero__mascot img {
        width: min(170px, 59.5vw);
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__secondary-action { align-items: center; }
    .hero__hint { text-align: center; max-width: none; }
    .hero__stats { grid-template-columns: 1fr; gap: 10px; }
    .hero__stat { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; }
    .hero__stat-num { font-size: 20px; margin-bottom: 0; white-space: nowrap; }
    .hero__doc-preview { height: auto; }
}

/* ═══════════════════════════════════════════════════════════
   SIGNING WAYS (Два способа подписания)
   ═══════════════════════════════════════════════════════════ */
.signing-ways__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}
.signing-way-card {
    background: var(--color-bg);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
}
.signing-way-card__title {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px 12px;
    font-size: var(--typo-cardtitle);
    font-weight: 700;
    line-height: 1.2;
    min-height: 32px;
    margin: 0 0 12px;
}
.signing-way-card__brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}
.signing-way-card__brand--wide {
    width: auto;
    max-width: min(120px, 36vw);
}
.signing-way-card__brand-img {
    display: block;
    max-height: 28px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.signing-way-card__title-text {
    line-height: 1.2;
}
.signing-way-card__lead {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-dark);
    line-height: 1.45;
    margin: 0 0 16px;
}
.signing-way-card__badge {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin: 0 auto 18px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #166534;
    background: rgba(34, 197, 94, 0.14);
    border-radius: 8px;
}
.signing-way-card__badge--goskey {
    color: #0A2996;
    background: rgba(10, 41, 150, 0.1);
}
.signing-way-card__notes {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.signing-way-card__notes li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.5;
}
.signing-way-card__notes li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-gray);
}
.signing-way-card__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: signing-step;
}
.signing-way-card__steps li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 18px;
    font-size: var(--typo-body-size);
    font-weight: 400;
    color: var(--color-gray-dark);
    line-height: 1.55;
    counter-increment: signing-step;
}
.signing-way-card__steps li:last-child {
    margin-bottom: 0;
}
.signing-way-card__steps li::before {
    content: counter(signing-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(247, 153, 0, 0.12);
    color: #F79900;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}
.signing-way-card--goskey .signing-way-card__steps li::before {
    background: rgba(10, 41, 150, 0.12);
    color: #0A2996;
}
.signing-ways__gap {
    width: 24px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .signing-ways__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .signing-ways__gap {
        display: none;
    }
    .signing-way-card__title {
        flex-wrap: wrap;
        min-height: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   FEATURES (showcase: текст + скрин)
   ═══════════════════════════════════════════════════════════ */
.features-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
    padding-inline: 12px;
}
.feature-showcase__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: var(--color-gray-mid);
    font-size: 14px;
    font-weight: 600;
}
.feature-showcase__handbook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    padding: 24px;
    font-size: var(--typo-body-size);
    font-weight: 600;
    color: #F79900;
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.feature-showcase__handbook-link:hover {
    color: #ff7f1f;
    background: rgba(247, 153, 0, 0.06);
}
.feature-showcase__handbook-link:focus-visible {
    outline: 2px solid #F79900;
    outline-offset: -2px;
}
.feature-showcase {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 24px 22px 20px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
}
.feature-showcase__body {
    margin-bottom: 16px;
}
.feature-showcase__title {
    font-size: var(--typo-cardtitle);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    position: relative;
    padding-left: 14px;
}
.feature-showcase__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #F79900;
    border-radius: 50%;
}
.feature-showcase__text {
    font-size: var(--typo-body-size);
    color: var(--color-gray-dark);
    line-height: 1.65;
    margin: 0;
}
.feature-showcase__frame {
    margin-top: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-line);
    background: #f7f7f5;
    overflow: hidden;
}
.feature-showcase__zoom {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    position: relative;
    text-align: left;
}
.feature-showcase__zoom:focus-visible {
    outline: 2px solid #F79900;
    outline-offset: 2px;
}
.feature-showcase__img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.feature-showcase__zoom-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px;
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.feature-showcase__zoom:hover .feature-showcase__zoom-overlay,
.feature-showcase__zoom:focus-visible .feature-showcase__zoom-overlay {
    opacity: 1;
}
.feature-showcase__zoom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #ff7f1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.feature-showcase__zoom-icon svg {
    width: 16px;
    height: 16px;
}
@media (hover: none) {
    .feature-showcase__zoom-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.06);
    }
}
.features-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .features-showcase {
        gap: 16px;
    }
    .feature-showcase {
        display: grid;
        grid-template-columns: 1fr min(38%, 360px);
        grid-template-areas: "body frame";
        align-items: center;
        column-gap: 28px;
        padding: 20px 24px;
    }
    .feature-showcase__body {
        grid-area: body;
        margin-bottom: 0;
        align-self: center;
    }
    .feature-showcase__frame {
        grid-area: frame;
        margin-top: 0;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 14px;
    }
    .feature-showcase__zoom {
        width: 100%;
    }
    .feature-showcase__img {
        width: auto;
        max-width: 100%;
        max-height: 200px;
        margin: 0 auto;
        object-fit: contain;
    }
    .feature-showcase__placeholder,
    .feature-showcase__handbook-link {
        min-height: 140px;
        width: 100%;
    }
}

@media (min-width: 990px) {
    .feature-showcase {
        grid-template-columns: 1fr min(36%, 400px);
        column-gap: 32px;
    }
    .feature-showcase__img {
        max-height: 220px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing {
    background: linear-gradient(135deg, #F79900 0%, #ffb21e 100%);
    color: #fff;
}
.pricing .section__title,
.pricing .section__subtitle {
    color: #fff;
}
.pricing .pricing-list > li {
    color: #fff !important;
}
.pricing__cta .btn--primary {
    background: #fff;
    color: #F79900;
}
.pricing__cta .btn--primary:hover {
    background: #fff;
    color: #F79900;
    box-shadow: none;
}
.pricing__table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: none;
    margin-bottom: 24px;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: var(--typo-body-size);
}
.pricing-table thead tr {
    background: var(--color-brand-grad);
}
.pricing-table thead th {
    padding: 16px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pricing-table tbody tr {
    border-bottom: 1px solid var(--color-gray-line);
    transition: background var(--transition);
}
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: #fffbf5; }
.pricing-table td {
    padding: 20px 24px;
    vertical-align: middle;
    color: var(--color-gray-dark);
    line-height: 1.6;
}
.pricing-table td:first-child { color: var(--color-black); }
.pricing-table__service-name {
    font-weight: 600;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pricing-table__badge {
    background: #ffaa4d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.pricing-table__price {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-black);
    white-space: nowrap;
}
.pricing-table__period {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-gray-mid);
}
.pricing-table__price--free {
    color: var(--color-brand);
}
.pricing-table__row--highlight td {
    background: #fff9f4;
}

.pricing__note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff7e6;
    border: 1px solid #ffe0a0;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 36px;
    font-size: var(--typo-body-size);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
}
.pricing__note > svg { color: var(--color-brand); flex-shrink: 0; margin-top: 2px; }
.pricing__note p { margin: 0 0 6px; }
.pricing__note p:last-child { margin-bottom: 0; }

.pricing__cta { text-align: center; }

/* ═══════════════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════════════ */
.steps__mascot-row {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
    line-height: 0;
    pointer-events: none;
}
.steps__mascot-img {
    width: 100px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(247, 153, 0, 0.14));
}

.step-card__mascot {
    display: none;
}
@media (min-width: 990px) {
    .goskey .step-card--mascot {
        padding-right: 68px;
        padding-bottom: 52px;
    }
    .goskey .step-card__mascot {
        display: block;
        position: absolute;
        right: 10px;
        bottom: 10px;
        pointer-events: none;
        line-height: 0;
    }
    .goskey .step-card__mascot img {
        width: 60px;
        height: auto;
        display: block;
        object-fit: contain;
        opacity: 0.88;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
    }
}

@media (max-width: 989px) {
    .steps__mascot-row { display: none; }
}

.steps__layout {
    max-width: 960px;
    margin: 0 auto;
}
.steps__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}
.steps__grid--pair {
    grid-template-columns: 1fr auto 1fr;
    gap: 0 20px;
}
.steps__grid--triple {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0 16px;
}
.step-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: none;
    border-top: 3px solid var(--color-brand);
    position: relative;
    transition: transform var(--transition);
}
.step-card--minimal {
    border: 1px solid var(--color-gray-line);
    border-left: 3px solid var(--color-brand);
    padding: 24px 22px;
    transition: border-color var(--transition), background var(--transition);
}
.step-card--minimal:hover {
    transform: none;
    background: #fffaf6;
    border-color: rgba(247, 153, 0, 0.35);
    border-left-color: var(--color-brand);
}
.step-card:hover {
    box-shadow: none;
    transform: translateY(-4px);
}
.step-card--minimal.step-card:hover {
    transform: none;
}
.step-card__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-brand-grad);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.step-card--minimal .step-card__num {
    width: 32px;
    height: 32px;
    font-size: 15px;
    margin-bottom: 14px;
}
.step-card__title {
    font-size: var(--typo-cardtitle);
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card__text {
    font-size: var(--typo-body-size);
    color: var(--color-gray-dark);
    line-height: 1.65;
    margin: 0;
}
.step-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    opacity: .6;
    padding: 0 8px;
    align-self: center;
}

@media (max-width: 989px) {
    .steps__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .steps__grid--pair,
    .steps__grid--triple {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps__grid--pair .step-card__arrow,
    .steps__grid--triple .step-card__arrow { display: none; }
    .step-card__arrow { display: none; }
}
@media (max-width: 599px) {
    .steps__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid var(--color-gray-line);
    background: var(--color-bg);
}
.faq-item:last-child { border-bottom: none; }

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font: 700 var(--typo-cardtitle)/1.4 var(--font);
    color: var(--color-black);
    text-align: left;
    transition: background var(--transition);
}
.faq-item__question:hover { background: var(--color-bg-gray); }
.faq-item__question[aria-expanded="true"] { color: var(--color-brand); }
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); }
.faq-item__icon { color: var(--color-brand); transition: transform var(--transition); flex-shrink: 0; }

.faq-item__answer {
    display: none;
    padding: 0 28px 22px;
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}
.faq-item__answer.is-open { display: block; }
.faq-item__answer p { margin-bottom: 10px; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__list {
    margin: 8px 0 12px;
    padding-left: 0;
}
.faq-item__list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--color-gray-dark);
}
.faq-item__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-brand);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   DEMO FORM
   ═══════════════════════════════════════════════════════════ */
.demo-form {
    background: var(--hero-bg-grad);
}
.demo-form__cover {
    position: relative;
}
.demo-form .section__header { color: #fff; }
.demo-form__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.demo-form__title {
    font-size: var(--typo-h2-size);
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
    text-shadow: var(--demo-text-shadow);
}
.demo-form__title-br {
    display: none;
}
.demo-form__subtitle {
    font-size: var(--typo-lead-size);
    color: #fff;
    line-height: 1.65;
    margin-bottom: 24px;
    text-wrap: pretty;
    text-shadow: var(--demo-text-shadow);
}
@media (min-width: 990px) {
    .demo-form__inner {
        grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    }
    .demo-form__title-br {
        display: inline;
    }
}
.demo-form__text {
    min-width: 0;
    --demo-text-shadow:
        0 1px 2px rgba(90, 35, 0, 0.12),
        0 4px 16px rgba(90, 35, 0, 0.08);
}
.demo-form__benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.demo-form__benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--typo-body-size);
    color: #fff;
    line-height: 1.5;
    text-shadow: var(--demo-text-shadow);
}
.demo-form__benefit-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: #fff;
}
.demo-form__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.demo-form__trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 8px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.55);
}
.trust-item svg {
    flex-shrink: 0;
    color: rgba(255,255,255,.45);
}
.demo-form__mascot {
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    max-width: 140px;
    line-height: 0;
}
.demo-form__mascot img {
    width: 140px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.18));
}
.demo-form__form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: none;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-black);
}
.form-required { color: var(--color-accent-red); }
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius);
    font: 400 14px/1.5 var(--font);
    color: var(--color-black);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}
.form-input::placeholder { color: var(--color-gray-light); }
.form-input:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(247,153,0,.15);
}
.form-input.is-error { border-color: var(--color-accent-red); }
.form-textarea {
    min-height: 112px;
    resize: vertical;
}
.demo-form__privacy {
    margin-top: 12px;
    font-size: var(--typo-small-size);
    color: var(--color-gray-mid);
    text-align: center;
    line-height: 1.5;
}
.demo-form__privacy a { color: var(--color-brand); text-decoration: underline; }

@media (max-width: 989px) {
    .demo-form__inner { grid-template-columns: 1fr; gap: 36px; }
    .demo-form__mascot { display: none; }
}
@media (max-width: 599px) {
    .demo-form__form { padding: 24px 20px; }
    .demo-form__title { font-size: var(--typo-h2-size-sm); }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--color-black);
    padding: 52px 0 28px;
}
.footer .cover,
.footer__cover { color: #fff; }
.footer__top {
    display: grid;
    grid-template-columns: minmax(200px, 280px) max-content max-content max-content;
    justify-content: space-between;
    align-items: start;
    row-gap: 40px;
    margin-bottom: 40px;
}
.footer__brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer__brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer__brand-desc-line1,
.footer__brand-desc-line2 {
    display: block;
}
.footer__brand-rating-wrap {
    line-height: 0;
}
.footer__brand-rating {
    display: block;
    border: 0;
    max-width: 100%;
}
.footer__support-block {
    margin-bottom: 4px;
}
.footer__col {
    min-width: 0;
    max-width: 220px;
}
.footer__col--docs {
    max-width: 240px;
}
.footer__col--services {
    max-width: none;
}
.footer__col--services .footer__link {
    white-space: nowrap;
}
.footer__brand-desc--two-lines {
    margin-top: 0;
}
.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer__contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer__contact-row .footer__link {
    margin-bottom: 0;
}
.footer__copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer__copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
}
.footer__brand-col iframe {
    display: block;
    border: 0;
    max-width: 100%;
}
.footer__logo {
    display: inline-flex;
    align-items: center;
}
.footer__logo img {
    height: auto;
    width: auto;
    max-height: 40px;
    max-width: 100%;
}
.footer__logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.footer__brand-desc {
    margin-top: 12px;
    font-size: var(--typo-body-size);
    color: rgba(255,255,255,.5);
    line-height: 1.6;
}
.footer__brand-desc:empty {
    min-height: 3.2em;
}
.footer__links-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
}
.footer__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--typo-body-size);
    color: rgba(255,255,255,.7);
    margin-bottom: 10px;
    transition: color var(--transition);
    line-height: 1.5;
}
.footer__link:hover { color: var(--color-brand); }
.footer__link--support {
    color: #ff7f1f;
    font-weight: 500;
}
.footer__link--support:hover { color: #ffa04d; }
.footer__link--contact-info:hover { color: #ff7f1f; }
.footer__links-subheading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    margin: 14px 0 6px;
}
.footer__link--doc { flex-wrap: wrap; }
.footer__support-hours {
    font-size: var(--typo-small-size);
    color: rgba(255,255,255,.4);
    margin: 0 0 10px;
    line-height: 1.5;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 16px;
    flex-wrap: wrap;
}
.footer__powered-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.32);
    transition: color var(--transition);
    text-decoration: none;
    font-weight: 400;
}
.footer__powered-link:hover {
    color: var(--color-brand);
}
.footer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0;
    opacity: 0.95;
}
.footer__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    transition: transform var(--transition), opacity var(--transition);
    opacity: 0.95;
}
.footer__badge:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.footer__badge img {
    width: 220px;
    height: 38px;
    max-width: min(220px, 100%);
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.18));
}
.footer__copy {
    text-align: left;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.footer__legal {
    display: flex;
    gap: 20px;
}
.footer__legal-link {
    font-size: var(--typo-small-size);
    color: rgba(255,255,255,.35);
    transition: color var(--transition);
}
.footer__legal-link:hover { color: rgba(255,255,255,.7); }

@media (max-width: 1024px) {
    .footer__badges {
        gap: 16px;
        justify-content: center;
    }
    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer__col--services .footer__link {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__badges {
        gap: 12px;
        justify-content: center;
        margin-bottom: 26px;
    }
    .footer__badge img {
        width: min(220px, 92vw);
        height: auto;
        max-width: min(220px, 92vw);
    }
}

/* ═══════════════════════════════════════════════════════════
   IMAGE LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.image-lightbox.is-open {
    display: flex;
}
.image-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.image-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1200px, 100%);
    max-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp .3s ease-out;
}
.image-lightbox__close {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.image-lightbox__close:hover {
    background: #fff;
    color: #000;
}
.image-lightbox__close:focus-visible {
    outline: 2px solid #ffb21e;
    outline-offset: 2px;
}
.image-lightbox__figure {
    margin: 48px 0 0;
    padding: 0;
    max-width: 100%;
}
.image-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(80vh, 900px);
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.image-lightbox__caption {
    margin-top: 16px;
    font-size: var(--typo-body-size);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 599px) {
    .image-lightbox__close {
        top: 0;
        right: 0;
    }
    .image-lightbox__figure {
        margin-top: 40px;
    }
    .image-lightbox__img {
        max-height: 70vh;
        border-radius: var(--radius);
    }
}

/* ═══════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal.is-open { display: flex; }
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
}
.modal__content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
    animation: fadeInUp .35s ease-out;
}
.modal__icon {
    width: 72px;
    height: 72px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    margin: 0 auto 20px;
}
.modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.modal__text {
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.will-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.will-animate.animate-in {
    opacity: 1;
    transform: none;
}
.feature-showcase.will-animate:nth-child(2) { transition-delay: .1s; }
.feature-showcase.will-animate:nth-child(3) { transition-delay: .2s; }
.steps__grid--triple .step-card.will-animate:nth-child(3) { transition-delay: .1s; }
.steps__grid--triple .step-card.will-animate:nth-child(5) { transition-delay: .2s; }
.steps__grid--pair .step-card.will-animate:nth-child(3) { transition-delay: .1s; }
.signing-way-card.will-animate:nth-child(3) { transition-delay: .1s; }
.savings-card.will-animate:nth-child(2) { transition-delay: .08s; }
.savings-card.will-animate:nth-child(3) { transition-delay: .16s; }
.savings-card.will-animate:nth-child(4) { transition-delay: .24s; }
.savings-card--highlight.will-animate { transition-delay: .32s; }

.hero {
    position: relative;
}

.hero__cover {
    position: relative;
    z-index: 1;
}

.hero__leaves {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

.hero__leaf {
    position: absolute;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    animation: hero-leaf-drift var(--leaf-duration, 16s) ease-in-out infinite;
    animation-delay: var(--leaf-delay, 0s);
}

@keyframes hero-leaf-drift {
    0%, 100% {
        translate: 0 0;
    }
    25% {
        translate: 18px -24px;
    }
    50% {
        translate: -14px 16px;
    }
    75% {
        translate: 22px 10px;
    }
}

@keyframes hero-leaf-drift-wind {
    0%, 100% {
        translate: 24px 0;
    }
    25% {
        translate: -2px -20px;
    }
    50% {
        translate: -28px 14px;
    }
    75% {
        translate: -14px -6px;
    }
}

.hero__leaf--wind {
    animation-name: hero-leaf-drift-wind;
}

.hero__leaf--accent {
    opacity: 0.72;
}

/* ① над заголовком — sharp accent */
.hero__leaf--1 {
    top: 6%;
    left: 6%;
    width: clamp(72px, 8vw, 96px);
    rotate: 18deg;
    --leaf-duration: 19s;
    --leaf-delay: 0s;
}

/* ⑦ низ справа — sharp accent */
.hero__leaf--2 {
    bottom: 0;
    right: 4%;
    width: clamp(76px, 9vw, 104px);
    rotate: -14deg;
    --leaf-duration: 23s;
    --leaf-delay: -5s;
}

/* ⑥ низ по центру под слоном — sharp accent */
.hero__leaf--3 {
    bottom: 0;
    left: 47%;
    width: clamp(56px, 6.5vw, 72px);
    rotate: 12deg;
    --leaf-duration: 17s;
    --leaf-delay: -9s;
}

/* ⑤ низ слева — blur фон */
.hero__leaf--4 {
    bottom: 0;
    left: 4%;
    width: clamp(88px, 11vw, 128px);
    rotate: -22deg;
    opacity: 0.42;
    --leaf-duration: 21s;
    --leaf-delay: -3s;
}

/* ② над бейджем — blur фон */
.hero__leaf--5 {
    top: 4%;
    left: 20%;
    width: clamp(34px, 4vw, 46px);
    rotate: -10deg;
    opacity: 0.32;
    --leaf-duration: 15s;
    --leaf-delay: -7s;
}

/* ③ над слоном — blur фон */
.hero__leaf--8 {
    top: 8%;
    left: 62%;
    width: clamp(38px, 4.5vw, 52px);
    rotate: 8deg;
    opacity: 0.3;
    --leaf-duration: 17s;
    --leaf-delay: -8s;
}

@media (max-width: 989px) {
    .hero__leaf--1,
    .hero__leaf--5,
    .hero__leaf--8 {
        display: none;
    }

    .hero__leaf--2 {
        bottom: 2%;
        right: 6%;
        width: clamp(56px, 14vw, 72px);
        opacity: 0.5;
    }

    .hero__leaf--3 {
        bottom: 6%;
        left: 42%;
        width: clamp(44px, 11vw, 56px);
        opacity: 0.55;
    }

    .hero__leaf--4 {
        bottom: 2%;
        left: -4%;
        width: clamp(64px, 16vw, 84px);
        opacity: 0.38;
    }
}

.hero__visual-leaves {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ④ справа от головы слона — sharp accent + ветер */
.hero__leaf--6 {
    top: 22%;
    right: 2%;
    width: clamp(52px, 6.5vw, 68px);
    rotate: -12deg;
    --leaf-duration: 14s;
    --leaf-delay: -2s;
}

/* мягкий blur-лист у тела слона — без наслоения с --6 */
.hero__leaf--7 {
    top: 55%;
    right: 22%;
    width: clamp(30px, 3.5vw, 40px);
    rotate: 18deg;
    opacity: 0.28;
    --leaf-duration: 18s;
    --leaf-delay: -9s;
}

@media (max-width: 989px) {
    .hero__leaf--6 {
        top: 20%;
        right: 0;
        opacity: 0.6;
    }

    .hero__leaf--7 {
        top: 50%;
        right: 18%;
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__leaf {
        animation: none;
    }
}
