* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0d1b2a;
    --navy-light: #162a3d;
    --gold: #c6a15b;
    --gold-light: #e1c47d;
    --cream: #f6f3ed;
    --white: #ffffff;
    --text: #17202a;
    --muted: #69737d;
    --border: #dfe3e7;
    --success-bg: #edf8f1;
    --success-border: #b9dfc6;
    --success-text: #25633b;
    --error-bg: #fff4f0;
    --error-border: #f0c9bd;
    --error-text: #7a3b2c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    background: var(--navy);
    color: var(--white);
    border-bottom: 1px solid rgba(198, 161, 91, 0.35);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-name span {
    color: var(--gold);
}

.brand-subtitle {
    margin-top: 2px;
    color: #aeb9c3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-label {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* HERO */

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(198, 161, 91, 0.13), transparent 28%),
        linear-gradient(135deg, #f8f7f3 0%, #ffffff 55%, #f3f6f8 100%);
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 50px;
}

.section-label,
.form-label {
    color: #967438;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* FORM */

.form-card {
    padding: 38px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(13, 27, 42, 0.12);
}

.form-header {
    margin-bottom: 25px;
}

.form-header h2 {
    margin-top: 7px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.15;
}

.form-header p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfd6dc;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.14);
}

textarea {
    min-height: 115px;
    resize: vertical;
}

button {
    width: 100%;
    margin-top: 5px;
    padding: 14px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

button:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.success-message {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--success-border);
    border-radius: 8px;
    background: var(--success-bg);
    color: var(--success-text);
    font-size: 13px;
}

.success-message.is-error {
    border-color: var(--error-border);
    background: var(--error-bg);
    color: var(--error-text);
}

/* GUIDED CONSULTATION WIZARD */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wizard-progress {
    margin-bottom: 28px;
}

.wizard-progress-track {
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    width: 11.1%;
    background: var(--gold);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.wizard-progress-label {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-step {
    outline: none;
}

.form-step.is-active {
    animation: stepFadeIn 0.25s ease;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.step-question {
    margin-bottom: 18px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.3;
    outline: none;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.choice-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    margin-bottom: 10px;
}

.choice-card {
    width: 100%;
    margin-top: 0;
    padding: 16px 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fbfcfd;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.choice-card:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
    background: #fbfcfd;
}

.choice-card:focus-visible {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.14);
}

.choice-card.is-selected {
    border-color: var(--gold);
    background: rgba(198, 161, 91, 0.1);
    color: var(--navy);
}

.choice-card-inline {
    margin-bottom: 22px;
    text-align: center;
    color: var(--muted);
    background: transparent;
}

.step-actions {
    display: flex;
    gap: 12px;
}

.step-actions.single-action {
    justify-content: flex-end;
}

.step-actions button {
    width: auto;
    flex: 1;
    margin-top: 0;
}

.btn-back {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

.btn-back:hover {
    background: #fbfcfd;
    border-color: var(--gold);
    transform: translateY(-1px);
}

.step-actions .btn-continue:disabled {
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .form-step.is-active {
        animation: none;
    }

    .wizard-progress-fill,
    .choice-card,
    .btn-back {
        transition: none;
    }
}

/* FOOTER */

.site-footer {
    padding: 28px 0;
    background: #08131f;
    color: #84909b;
    font-size: 12px;
}

.site-footer p + p {
    margin-top: 5px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        padding: 65px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-card {
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 68px;
    }

    .header-label {
        display: none;
    }

    .form-card {
        padding: 25px;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .step-actions {
        gap: 10px;
    }
}
