:root {
    --ink: #1D1B19;
    --ink-muted: #6E6A64;
    --accent: #4A4F58;
    --accent-light: #A8927A;
    --border: #DDD9D2;
    --card-dark-1: #2B2823;
    --card-dark-2: #171512;
    --error: #8C4A42;
    --paper: #FAFAF9;
}

* { box-sizing: border-box; }

body {
    font-family: "Manrope", sans-serif;
    background: var(--paper);
    color: var(--ink);
    margin: 0;
}

.page {
    max-width: none;
    padding: 0 7%;
}

/* Навигация */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0 80px;
}
.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #EEF1F0;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px;
}
.hero p {
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px;
}
.hero-rate {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 12px; }
.btn-primary {
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.btn-secondary {
    padding: 14px 24px;
    border-radius: 999px;
    background: #EEF1F0;
    color: var(--ink);
    border: none;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}
.hero-visual {
    border-radius: 24px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* Преимущества */
.section { padding: 48px 0; }
.section h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.section-sub { color: var(--ink-muted); font-size: 15px; margin: 0 0 32px; }

.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.advantage-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}
.advantage-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    margin-bottom: 16px;
}
.advantage-card h3 { font-size: 16px; margin: 0 0 6px; }
.advantage-card p { color: var(--ink-muted); font-size: 14px; margin: 0; }

/* Как это работает */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 20px; }
.step-number {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    margin-bottom: 16px;
}
.steps h3 { font-size: 16px; margin: 0 0 6px; }
.steps p { color: var(--ink-muted); font-size: 14px; margin: 0; }
.steps-note { color: var(--ink-muted); font-size: 13px; }

/* Тарифы */
.tariff-card {
    background: linear-gradient(160deg, var(--card-dark-1), var(--card-dark-2));
    border-radius: 20px;
    padding: 32px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.tariff-rate { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tariff-rate-label { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 4px; }
.tariff-details { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.tariff-row { display: flex; justify-content: space-between; font-size: 14px; }
.tariff-row span:last-child { font-weight: 700; color: var(--accent-light); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    color: var(--ink);
}
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
    color: var(--ink-muted);
    font-size: 14px;
}

.faq-answer-inner {
    padding-bottom: 16px;
}

/* CTA баннер */
.cta-banner {
    background: var(--ink);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}
.cta-banner h3 { margin: 0 0 8px; font-size: 20px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.7); font-size: 14px; }

@media (max-width: 800px) {
    .hero, .advantages, .steps, .tariff-card { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Модалка заявки — переиспользуем паттерн из калькулятора */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    align-items: center; justify-content: center;
    z-index: 100;
}
.modal { background: white; border-radius: 20px; padding: 32px; width: 100%; max-width: 400px; }
.modal h2 { font-size: 20px; margin: 0 0 24px; }
.modal input[type="text"], .modal input[type="tel"] {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
}
.honeypot-field { position: absolute; left: -9999px; }
.lead-error { color: var(--error); font-size: 13px; margin: -8px 0 16px; display: none; }
.lead-success { color: var(--accent-light); font-weight: 500; display: none; }
.modal .consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: 13px; line-height: 1.4; text-align: left; cursor: pointer; }
.modal .consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.modal .consent a { color: inherit; text-decoration: underline; }

.hero-visual img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
}