:root {
    color-scheme: dark;
    --bg: #080a0f;
    --panel: #11151d;
    --panel-2: #181e29;
    --text: #f5f7fb;
    --muted: #aeb7c6;
    --border: #293140;
    --accent: #e8b34a;
    --accent-dark: #b37b12;
    --danger: #ff7b7b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, #1b202b 0, var(--bg) 48%);
    color: var(--text);
    font-family:
        Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.lead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1100px, calc(100% - 32px));
    margin: auto;
    padding: 22px 0;
}

.brand {
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.header-phone {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.lead-page {
    width: min(900px, calc(100% - 32px));
    margin: 32px auto 80px;
}

.lead-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.lead-intro > p:last-child {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.1rem;
}

.wizard-card {
    padding: clamp(20px, 5vw, 48px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(17, 21, 29, 0.94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--panel-2);
}

.progress-bar {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width 220ms ease;
}

.step-counter {
    color: var(--muted);
    font-size: 0.9rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2,
.result-box h2 {
    margin-top: 22px;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.option-grid label {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-2);
    cursor: pointer;
    transition:
        border-color 160ms ease,
        transform 160ms ease;
}

.option-grid label:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.option-grid input {
    margin-right: 10px;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: #0b0e14;
    color: var(--text);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 179, 74, 0.14);
}

.privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.privacy input {
    width: auto;
    margin-top: 5px;
}

.wizard-actions,
.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 21px;
    border: 1px solid var(--accent);
    border-radius: 11px;
    background: var(--accent);
    color: #161006;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    filter: brightness(1.08);
}

.button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.button.secondary {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}

.button.whatsapp {
    border-color: #30d36b;
    background: #30d36b;
    color: #061b0d;
}

.form-error {
    min-height: 24px;
    color: var(--danger);
    font-weight: 700;
}

.result-box {
    text-align: center;
}

.result-box h2 {
    color: var(--accent);
    font-size: clamp(2rem, 7vw, 4rem);
}

.result-box small {
    display: block;
    margin-top: 24px;
    color: var(--muted);
}

.bot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

@media (max-width: 650px) {
    .option-grid {
        grid-template-columns: 1fr;
    }

    .lead-page {
        margin-top: 15px;
    }

    .wizard-card {
        border-radius: 18px;
    }

    .button {
        width: 100%;
    }
}
