/* ==========================================================================
   pomichnyk.1krok.link — бренд-система 1krok.link (канон /hub/)
   Токени взяті з аудиту. Два кольори, що були хардкодом, винесені в :root.
   ========================================================================== */

:root {
    /* ── Бренд ─────────────────────────── */
    --blue:        #0055FF;
    --blue-dark:   #0044CC;
    --blue-deep:   #1E293B;
    --blue-light:  #3385FF;
    --blue-pale:   #CCE0FF;
    --blue-soft:   #F0F7FF;

    /* ── Акцент ────────────────────────── */
    --accent:       #F59E0B;
    --accent-dark:  #D97706;
    --accent-light: #FCD34D;

    /* ── Нейтральні ────────────────────── */
    --bg:          #FFFFFF;
    --bg-soft:     #F8FAFC;
    --text:        #0F172A;
    --text-muted:  #475569;
    --text-light:  #94A3B8;
    --border:      #E2E8F0;
    --border-soft: #F1F5F9;
    --error:       #DC2626;
    --success:     #16A34A;

    /* ── Було хардкодом ────────────────── */
    --border-card: #E7EBF5;
    --blue-tint:   #E7EFFF;

    /* ── Радіуси ───────────────────────── */
    --r-sm:   8px;
    --r:      12px;
    --r-lg:   18px;
    --r-xl:   24px;
    --r-pill: 999px;

    /* ── Тіні ──────────────────────────── */
    --shadow-sm:    0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow:       0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg:    0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-btn:   0 4px 12px rgba(0, 85, 255, 0.30);
    --shadow-focus: 0 0 0 4px rgba(0, 85, 255, 0.12);

    /* ── Розкладка ─────────────────────── */
    --maxw:  1200px;
    --nav-h: 72px;

    /* ── Типографіка ───────────────────── */
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Unbounded', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
}

/* ── База ──────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--blue-deep);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p { margin: 0; }

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

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--blue-deep); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--blue);
    margin-bottom: 14px;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}
.section-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 16px;
}
.section-head .sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}
.section-dark .section-head h2 { color: #FFFFFF; }
.section-dark .section-head .sub { color: rgba(255,255,255,.7); }
.section-dark .eyebrow { color: var(--blue-light); }

/* ── Кнопки ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease,
                color .2s ease, border-color .2s ease;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary { background: var(--blue); color: #FFFFFF; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-dark); }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-dark); color: #FFFFFF; transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-full { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* ── Навігація ─────────────────────────────────────────────────────────── */

.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
}
.nav-inner {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--blue-deep); font-weight: 700; text-decoration: none;
}
img.nav-logo { width: auto; height: 32px; }
.nav-brand-sub {
    font-family: var(--font-mono);
    font-size: 12px; font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-menu a {
    color: var(--blue-deep); font-weight: 500; font-size: 14.5px;
    transition: color .15s ease;
}
.nav-menu a:hover { color: var(--blue); }
.nav-mobile-eco { display: none; }
.cta-short { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-eco { position: relative; }
.nav-eco-btn {
    background: transparent; border: none; cursor: pointer;
    font-family: var(--font-body); font-weight: 500; font-size: 15px;
    color: var(--blue-deep);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px;
    border-radius: var(--r);
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.nav-eco-btn:hover { background: var(--blue-soft); }
.nav-eco-btn svg {
    transition: transform .3s ease;
}
.nav-eco:hover .nav-eco-btn svg,
.nav-eco:focus-within .nav-eco-btn svg,
.nav-eco.open .nav-eco-btn svg { transform: rotate(180deg); }
.nav-eco-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 200px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-eco:hover .nav-eco-menu,
.nav-eco:focus-within .nav-eco-menu,
.nav-eco.open .nav-eco-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-eco-menu a {
    display: block; padding: 10px 14px;
    border-radius: var(--r);
    color: var(--blue-deep); font-size: 14px; font-weight: 500;
    transition: background .2s ease, color .2s ease;
}
.nav-eco-menu a:hover { background: var(--blue-soft); color: var(--blue); }
.nav-eco-menu a.active {
    background: var(--blue-tint);
    color: var(--blue);
    font-weight: 600;
}

.burger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 28px; height: 22px;
    background: none; border: none; cursor: pointer; padding: 0;
}
.burger span {
    display: block; height: 2px; width: 100%;
    background: var(--blue-deep); border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Герой ─────────────────────────────────────────────────────────────── */

.hero {
    padding: calc(var(--nav-h) + 72px) 0 72px;
    background:
        radial-gradient(1100px 420px at 50% -12%, var(--blue-soft) 0%, rgba(240,247,255,0) 70%),
        var(--bg);
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 32px;
}
.hero-cta {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-card);
    border: 1px solid var(--border-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
}
.trust-item { background: #FFFFFF; padding: 20px 18px; text-align: center; }
.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px; font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 4px;
}
.trust-item span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Картки ────────────────────────────────────────────────────────────── */

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

.card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.card .rule { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* ── Ролі ──────────────────────────────────────────────────────────────── */

.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.role {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 26px 24px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.role:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.role-tag {
    font-family: var(--font-mono);
    font-size: 12px; font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}
.role h3 { font-size: 20px; margin-bottom: 8px; }
.role-lead { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px; }
.role ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.role li {
    position: relative; padding-left: 22px;
    font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
.role li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue-pale); border: 2px solid var(--blue);
}
.role-limit {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 13px; color: var(--text-light); line-height: 1.5;
}
.role-limit b {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 5px;
}

/* ── Список «що ви отримаєте» ──────────────────────────────────────────── */

.gains { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.gain {
    display: flex; gap: 16px; align-items: flex-start;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--r);
    padding: 18px 20px;
}
.gain-num {
    flex: 0 0 auto;
    font-family: var(--font-mono); font-weight: 600; font-size: 13px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: var(--r-sm);
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
}
.gain-body h4 { font-size: 16px; margin-bottom: 5px; }
.gain-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* ── Ціни ──────────────────────────────────────────────────────────────── */

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

.plan {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-featured {
    border: 2px solid var(--blue);
    box-shadow: var(--shadow);
    position: relative;
    padding-top: 38px;
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
    white-space: nowrap;
    border: 2px solid var(--bg);
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan-for { font-size: 13.5px; color: var(--text-light); line-height: 1.5; margin-bottom: 20px; }
.plan-price { margin-bottom: 18px; }
.plan-price .amount {
    font-family: var(--font-display); font-weight: 700;
    font-size: 32px; color: var(--blue-deep); letter-spacing: -0.02em;
    line-height: 1.15;
}
.plan-price .per { font-size: 14px; color: var(--text-muted); }
.plan-price .entry {
    display: block; margin-top: 6px;
    font-size: 13.5px; color: var(--text-muted);
}
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan li {
    position: relative; padding-left: 24px;
    font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
.plan li::before {
    content: ''; position: absolute; left: 2px; top: 6px;
    width: 11px; height: 6px;
    border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.plan-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.plan-table th, .plan-table td {
    text-align: left;
    padding: 14px 20px;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border-soft);
}
.plan-table th {
    font-family: var(--font-mono); font-weight: 600;
    font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-light);
    background: var(--bg-soft);
}
.plan-table td:first-child { font-weight: 600; color: var(--blue-deep); }
.plan-table td .who,
.plan .who { display: block; font-weight: 400; font-size: 13px; color: var(--text-light); margin-top: 3px; }
.plan-table tr:last-child td { border-bottom: none; }
.plan-table td:nth-child(2), .plan-table td:nth-child(3) { white-space: nowrap; color: var(--text-muted); }

.note-strip {
    margin-top: 24px;
    background: var(--blue-soft);
    border: 1px solid var(--blue-pale);
    border-radius: var(--r);
    padding: 18px 22px;
    font-size: 14.5px; color: var(--blue-deep); line-height: 1.6;
}
.note-strip b { font-weight: 600; }

/* ── Процес ────────────────────────────────────────────────────────────── */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 26px 22px;
}
.step-num {
    font-family: var(--font-mono); font-weight: 600; font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--r);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    background: none; border: none; cursor: pointer;
    text-align: left;
    padding: 18px 22px;
    font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
    color: var(--blue-deep);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--blue); }
.faq-q::after {
    content: '+';
    font-family: var(--font-mono); font-size: 20px; font-weight: 600;
    color: var(--blue); flex: 0 0 auto;
    transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* ── Форма ─────────────────────────────────────────────────────────────── */

.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-copy h2 { font-size: clamp(28px, 3.6vw, 40px); color: #FFFFFF; margin-bottom: 16px; }
.cta-copy p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.cta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-list li {
    position: relative; padding-left: 26px;
    color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.5;
}
.cta-list li::before {
    content: ''; position: absolute; left: 0; top: 6px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--blue-light); border-bottom: 2px solid var(--blue-light);
    transform: rotate(-45deg);
}

.form-card {
    background: #FFFFFF;
    border-radius: var(--r-xl);
    padding: 36px 32px;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
}
.form-card h3 { font-size: 22px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 6px;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-family: inherit; font-size: 15px;
    color: var(--text); background: #FFFFFF;
    transition: border-color .15s ease, box-shadow .15s ease;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23475569' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: var(--shadow-focus);
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.form-note { font-size: 12.5px; color: var(--text-light); line-height: 1.5; margin: 12px 0 0; }
.form-note a { color: var(--text-muted); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-error {
    background: #FEF2F2; color: var(--error);
    border: 1px solid #FECACA; border-radius: var(--r);
    padding: 10px 14px; font-size: 14px; margin-bottom: 14px;
    display: none;
}
.form-error.active { display: block; }
.form-ok {
    background: #F0FDF4; color: var(--success);
    border: 1px solid #BBF7D0; border-radius: var(--r);
    padding: 16px 18px; font-size: 15px; line-height: 1.55;
    display: none;
}
.form-ok.active { display: block; }
.form-alt {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    font-size: 13.5px; color: var(--text-muted); text-align: center;
}

/* ── Футер ─────────────────────────────────────────────────────────────── */

.footer {
    background: var(--text);
    color: rgba(255, 255, 255, .65);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 64px 0 28px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { padding-right: 24px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 18px; }
.footer-about {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
    margin: 0 0 18px;
    max-width: 320px;
}
.footer-contacts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-contacts a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.footer-contacts a:hover { color: #FFFFFF; }
.footer-col h4 {
    color: #FFFFFF; font-family: var(--font-body);
    font-size: 14px; font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.65); transition: color .15s ease; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px; color: rgba(255,255,255,.5);
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.65); }

/* ── Поява при скролі ──────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Адаптив ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .plans { grid-template-columns: 1fr; row-gap: 32px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
    .footer-brand { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .hero { padding: calc(var(--nav-h) + 48px) 0 56px; }
    .nav-menu { display: none; }
    .nav-eco { display: none; }
    .burger { display: flex; }
    .nav-cta { padding: 10px 16px; font-size: 14px; }
    .nav-mobile-eco {
        border-top: 1px solid var(--border-soft);
        margin-top: 2px; padding-top: 16px;
    }
    .nav-menu.mobile-open .nav-mobile-eco {
        display: flex; flex-direction: column; gap: 14px;
    }
    .nav-mobile-eco-title {
        font-family: var(--font-mono);
        font-size: 12px; font-weight: 600;
        color: var(--text-muted);
        letter-spacing: 0.02em;
    }
    .nav-mobile-eco a.active { color: var(--blue); font-weight: 600; }
    .nav-menu.mobile-open {
        display: flex; flex-direction: column;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-soft);
        padding: 16px 24px 20px;
        gap: 14px;
        box-shadow: var(--shadow);
    }
    .roles { grid-template-columns: 1fr; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .trust { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { padding-right: 0; }
    .footer-about { max-width: none; }
    .form-card { padding: 28px 22px; }
    .plan-table, .plan-table thead, .plan-table tbody,
    .plan-table tr, .plan-table th, .plan-table td { display: block; }
    .plan-table thead { display: none; }
    .plan-table tr {
        border-bottom: 1px solid var(--border-soft);
        padding: 16px 20px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4px 16px;
    }
    .plan-table tr:last-child { border-bottom: none; }
    .plan-table td { border: none; padding: 0; }
    .plan-table td:first-child { grid-column: 1 / -1; margin-bottom: 6px; }
    .plan-table td:nth-child(2)::before { content: 'Вхід: '; color: var(--text-light); }
    .plan-table td:nth-child(3)::before { content: 'Щомісяця: '; color: var(--text-light); }
    .plan-table td:nth-child(2), .plan-table td:nth-child(3) {
        font-size: 13.5px; white-space: nowrap;
    }
    .plan-table td .who { white-space: normal; }
}

@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .nav-brand-sub { display: none; }
    .cta-full { display: none; }
    .cta-short { display: inline; }
    .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
