/* ============================================================
   АэроЩит — Общие стили  /css/style.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ——— ТЁМНАЯ ТЕМА ——— */
:root,
[data-theme="dark"] {
    --accent:        #38bdf8;
    --accent-dark:   #0ea5e9;
    --accent-deeper: #0369a1;
    --accent-light:  rgba(56, 189, 248, 0.12);
    --accent-glow:   rgba(56, 189, 248, 0.25);
    --navy-1: #050c1a;
    --navy-2: #0a1628;
    --navy-3: #0f2040;
    --navy-4: #162a52;
    --navy-5: #1e3a6e;
    --text-primary:   #e8f4fd;
    --text-secondary: #94b8d4;
    --text-muted:     #4d7a9e;
    --bg:            var(--navy-1);
    --bg-card:       var(--navy-2);
    --bg-white:      var(--navy-3);
    --border:        rgba(56, 189, 248, 0.12);
    --border-strong: rgba(56, 189, 248, 0.25);
    --shadow:        0 4px 40px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 0 40px rgba(56, 189, 248, 0.15);
    --radius:    12px;
    --radius-lg: 20px;
    --nav-bg: rgba(5, 12, 26, 0.85);
}

/* ——— СВЕТЛАЯ ТЕМА ——— */
[data-theme="light"] {
    --accent:        #0369a1;
    --accent-dark:   #075985;
    --accent-deeper: #0c4a6e;
    --accent-light:  rgba(3, 105, 161, 0.08);
    --accent-glow:   rgba(3, 105, 161, 0.15);
    --navy-1: #ffffff;
    --navy-2: #f0f7ff;
    --navy-3: #ffffff;
    --navy-4: #dbeafe;
    --navy-5: #bfdbfe;
    --text-primary:   #0c2340;
    --text-secondary: #1e4976;
    --text-muted:     #5b8db8;
    --bg:            #ffffff;
    --bg-card:       #f0f7ff;
    --bg-white:      #ffffff;
    --border:        rgba(3, 105, 161, 0.12);
    --border-strong: rgba(3, 105, 161, 0.3);
    --shadow:        0 4px 24px rgba(3, 105, 161, 0.1);
    --shadow-accent: 0 0 30px rgba(3, 105, 161, 0.12);
    --nav-bg: rgba(255, 255, 255, 0.92);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* ——— NAV ——— */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    box-shadow: 0 0 16px var(--accent-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--accent-light);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 16px var(--accent-glow);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent)) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 9px;
    font-weight: 700 !important;
    transition: opacity 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 0 20px var(--accent-glow);
    text-decoration: none;
}

.nav-cta:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px var(--accent-glow) !important;
    color: #fff !important;
}

/* ——— HERO ——— */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 57, 43, 0.12);
    color: #e53935;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(229, 57, 53, 0.35);
}

.hero-badge i { font-size: 10px; }

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 520px;
}

/* ——— HERO PARAMS ——— */
.hero-params {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-param {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 10px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-param:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.hero-param-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.hero-param-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    line-height: 1;
    margin-bottom: 2px;
}

.hero-param-value {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ——— BUTTONS ——— */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 32px var(--accent-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

/* ——— HERO VISUAL ——— */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 60px;
    position: relative;
    z-index: 1;
}

.hero-card-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 320px;
    box-shadow: var(--shadow), var(--shadow-accent);
}

.hcv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.hcv-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(46, 125, 50, 0.25);
}

.hcv-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

.hcv-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hcv-items { display: flex; flex-direction: column; gap: 10px; }

.hcv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.hcv-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.hcv-item-text { flex: 1; }
.hcv-item-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.hcv-item-sub  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.hcv-check     { color: var(--accent); font-size: 14px; }

/* ——— SECTIONS ——— */
section { padding: 96px 40px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
}

/* ——— WHY ——— */
.why { background: var(--bg-card); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.why-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.why-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: translateY(-3px);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ——— PLANS ——— */
.plans { background: var(--bg); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}

.plan-card:hover {
    box-shadow: var(--shadow-accent);
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.plan-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    background: var(--bg-white);
}

.plan-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-name {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.plan-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.plan-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.plan-price    { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

.plan-price-amount {
    font-family: 'Syne', sans-serif;
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.plan-price-amount span {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.plan-price-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.plan-coverage-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 13px;
}

.plan-coverage-table thead th {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0 0 8px 0;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.plan-coverage-table thead th:last-child { text-align: right; }
.plan-coverage-table tbody tr            { border-bottom: 1px solid var(--border); }
.plan-coverage-table tbody tr:last-child { border-bottom: none; }

.plan-coverage-table tbody td {
    padding: 9px 0;
    color: var(--text-secondary);
    vertical-align: middle;
}

.plan-coverage-table tbody td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.plan-coverage-table tbody td.muted           { color: var(--text-muted); }
.plan-coverage-table tbody td.muted:last-child { color: var(--text-muted); font-weight: 500; }

.plan-cov-icon        { display: inline-flex; align-items: center; gap: 7px; }
.plan-cov-icon i      { font-size: 11px; }
.plan-cov-icon i.yes  { color: var(--accent); }
.plan-cov-icon i.no   { color: var(--border-strong); }

.plan-details { margin-bottom: 20px; display: flex; flex-direction: column; gap: 5px; }

.plan-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.plan-detail-item i { font-size: 8px; margin-top: 5px; flex-shrink: 0; color: var(--accent); }
.plan-franchise     { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 8px; }

.plan-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.plan-btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
}

.plan-btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.plan-btn-filled {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.plan-btn-filled:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px var(--accent-glow);
}

.plans-disclaimer {
    margin-top: 20px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ——— HOW ——— */
.how { background: var(--bg-card); }

.how-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 16px);
    right: calc(10% + 16px);
    height: 1px;
    background: var(--border-strong);
    z-index: 0;
}

.how-step { text-align: center; position: relative; z-index: 1; }

.how-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    margin: 0 auto 20px;
    transition: all 0.2s;
}

.how-step.active .how-step-num {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.how-step h4 {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.how-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ——— DOCS ——— */
.docs { background: var(--bg); }

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.doc-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: border-color 0.2s;
}

.doc-item:hover { border-color: var(--border-strong); }

.doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.doc-text h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.doc-text p  { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ——— FORM ——— */
.form-section {
    background: var(--bg-card);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.form-section .container { width: 100%; }

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}

.form-info .section-desc { margin-top: 12px; font-size: 15px; }

.trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent);
    font-size: 13px;
    width: 16px;
    text-align: center;
    margin-top: 1px;
    flex-shrink: 0;
}

.form-box {
    background: var(--bg-white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.form-group label:not(.file-drop) {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    padding: 9px 13px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group select  { cursor: pointer; }
.form-group textarea { resize: none; height: 56px; }
.form-hint { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ——— СТИЛИЗОВАННАЯ ЗОНА ЗАГРУЗКИ ФАЙЛА ——— */
.file-drop {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px dashed var(--border-strong);
    border-radius: 9px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    width: 100%;
    min-height: 40px;
    text-transform: none;
    letter-spacing: 0;
}

.file-drop:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 0 3px var(--accent-light);
    color: var(--accent);
}

.file-drop i {
    color: var(--accent);
    font-size: 15px;
    flex-shrink: 0;
}

.file-drop-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ——— FORM SUBMIT ——— */
.form-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.form-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 28px var(--accent-glow);
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 8px; line-height: 1.5; }

.dynamic-docs {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.dynamic-docs-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.dynamic-doc-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 0;
    font-weight: 500;
}

.dynamic-doc-item i { color: var(--accent); font-size: 11px; }

/* ——— SUCCESS ——— */
.success-msg { display: none; text-align: center; padding: 32px; }
.success-msg.visible { display: block; }

.success-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin: 0 auto 16px;
    box-shadow: 0 0 24px var(--accent-glow);
}

.success-msg h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-msg p { font-size: 14px; color: var(--text-secondary); }

/* ——— FOOTER ——— */
footer {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 48px 40px;
}

[data-theme="dark"] footer { background: #030810; }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.footer-text { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover { color: var(--accent); }

/* ——— MODAL ——— */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--bg-white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: modalIn 0.25s ease;
    box-shadow: var(--shadow), var(--shadow-accent);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.2s;
}

.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.modal-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--border-strong);
}

.modal h3 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ——— POLICY PAGE ——— */
.policy-page { padding-top: 64px; min-height: 100vh; }

.policy-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 56px 40px 48px;
}

.policy-header .section-label { margin-bottom: 8px; }

.policy-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.policy-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.policy-body { padding: 56px 40px 80px; }

.policy-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: 84px;
}

.policy-nav-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 14px;
}

.policy-nav a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 14px;
    font-weight: 500;
    border-left: 2px solid var(--border-strong);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
}

.policy-nav a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.policy-content { min-width: 0; }

.policy-section {
    margin-bottom: 52px;
    scroll-margin-top: 84px;
}

.policy-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.policy-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.policy-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.policy-section ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 8px;
    flex-shrink: 0;
}

.policy-highlight {
    background: var(--accent-light);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.policy-highlight strong { color: var(--text-primary); }

.policy-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.policy-contact-row i {
    color: var(--accent);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.policy-contact-row strong { color: var(--text-primary); margin-right: 4px; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
    .hero              { flex-direction: column; }
    .hero-visual       { padding-left: 0; padding-top: 40px; justify-content: flex-start; }
    .hero::before      { display: none; }
    .why-grid          { grid-template-columns: repeat(2, 1fr); }
    .plans-grid        { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .how-steps         { grid-template-columns: repeat(3, 1fr) !important; }
    .how-steps::before { display: none; }
    .form-wrapper      { grid-template-columns: 1fr; }
    .form-section      { min-height: unset; }
    .docs-grid         { grid-template-columns: 1fr; }
    .trust-items       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    nav              { padding: 0 20px; }
    .nav-links       { display: none; }
    section          { padding: 64px 20px; }
    .hero            { padding: 100px 20px 64px; }
    .why-grid        { grid-template-columns: 1fr; }
    .form-row        { grid-template-columns: 1fr; }
    .form-box        { padding: 24px; }
    footer           { padding: 32px 20px; }
    .footer-inner    { flex-direction: column; align-items: flex-start; }
    .hero-params     { gap: 8px; }
    .hero-param      { padding: 8px 12px; }
    .policy-header   { padding: 32px 20px 28px; }
    .policy-body     { padding: 32px 20px 56px; }
    .policy-layout   { grid-template-columns: 1fr; gap: 24px; }
    .policy-nav      { position: static; }

    /* ——— Убираем горизонтальный скролл ——— */
    .hero            { min-height: unset; flex-direction: column; }
    .hero::before    { display: none; }
    .hero-visual     { padding-left: 0; padding-top: 32px; justify-content: flex-start; width: 100%; }
    .hero-card-visual { width: 100%; max-width: 100%; box-sizing: border-box; }
    .how-steps       { grid-template-columns: 1fr 1fr !important; gap: 20px; }
    .how-steps::before { display: none; }
    .plans-grid      { grid-template-columns: 1fr; }
    .docs-grid       { grid-template-columns: 1fr; }
    .trust-items     { grid-template-columns: 1fr; }
    .form-wrapper    { grid-template-columns: 1fr; }
    .footer-links    { flex-wrap: wrap; gap: 12px; }
    .plan-coverage-table { font-size: 12px; }
    .plan-coverage-table tbody td:last-child { white-space: normal; }
    * { max-width: 100%; }
    img, table { max-width: 100% !important; }
}