:root {
    --navcaa-red: #d71920;
    --navcaa-dark: #111111;
    --navcaa-light: #f7f3ed;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navcaa-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.topbar {
    background: var(--navcaa-dark);
    color: #fff;
}

.hero-section {
    background: linear-gradient(135deg, #fff 0%, var(--navcaa-light) 100%);
    padding: 90px 0;
}

.hero-section .badge {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    max-width: 100%;
    white-space: normal;
}

.hero-section .badge img {
    max-height: 28px;
    width: auto;
}

.hero-card {
    background: #fff;
    border-radius: 28px;
    padding: 36px;
}

.stat-box,
.process-card,
.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.process-section {
    background: #fff;
}

.cta-section {
    background: var(--navcaa-red);
    color: #fff;
}

.btn-danger {
    background-color: var(--navcaa-red);
    border-color: var(--navcaa-red);
}

.btn-danger:hover {
    background-color: #b9141a;
    border-color: #b9141a;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 12px 14px;
}

.lead-radio-option {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    cursor: pointer;
    margin: 0;
    padding: 14px 16px;
    transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.lead-radio-option:hover,
.lead-radio-option:has(.form-check-input:focus-visible) {
    border-color: var(--navcaa-red);
    box-shadow: 0 0 0 .2rem rgba(215, 25, 32, .12);
}

.lead-radio-option:has(.form-check-input:checked) {
    border-color: var(--navcaa-red);
    box-shadow: 0 0 0 .2rem rgba(215, 25, 32, .16);
    color: var(--navcaa-red);
    font-weight: 700;
}

.lead-radio-option .form-check-input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.lead-radio-option .form-check-label {
    cursor: pointer;
}

.radio-step .next-step {
    display: none;
}


/* MultiStep Form */
.form-step {
    display: none;
}

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

#multiStepForm {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.lead-form-modal #multiStepForm {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.lead-form-modal .modal-content {
    border: 0;
    border-radius: 24px;
}

.lead-form-modal .modal-dialog {
    align-items: center;
    display: flex;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.lead-form-modal .modal-body {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.lead-form-modal .form-step h3 {
    font-size: 1.35rem;
}

.lead-form-modal .form-step p {
    overflow-wrap: anywhere;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.form-step {
    display: none !important;
}

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

@media (max-width: 991.98px) {
    .hero-section {
        padding: 64px 0;
    }

    .hero-section .row {
        gap: 2rem;
    }

    .hero-section .display-3 {
        font-size: 3rem;
    }

    .hero-card {
        border-radius: 20px;
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 42px 0;
        text-align: center;
    }

    .hero-section .badge {
        justify-content: center;
    }

    .hero-section .display-3 {
        font-size: 2.55rem;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 34rem;
    }

    .hero-cta,
    .hero-card-cta,
    .cta-button {
        width: 100%;
    }

    .hero-card {
        padding: 24px;
        text-align: left;
    }

    .hero-card .hero-card-cta {
        text-align: center;
    }

    .stat-box,
    .process-card,
    .testimonial-card {
        border-radius: 18px;
        padding: 24px;
    }

    .process-section,
    .testimonials-section,
    .cta-section,
    .stats-section {
        padding-bottom: 2.5rem !important;
        padding-top: 2.5rem !important;
    }

    .process-section .display-6,
    .testimonials-section .display-6,
    .cta-section .display-6 {
        font-size: 1.85rem;
    }

    .lead-form-modal .modal-dialog {
        margin-left: auto;
        margin-right: auto;
        max-width: 90vw;
        width: 90vw;
    }

    .lead-form-modal .modal-content {
        border-radius: 18px;
    }

    .lead-form-modal .modal-header,
    .lead-form-modal .modal-body {
        padding: 18px;
    }

    .lead-form-modal .modal-body {
        max-height: calc(100vh - 92px);
    }

    .lead-radio-option {
        padding: 14px;
    }

    .form-actions .btn,
    .final-submit {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .hero-section .display-3 {
        font-size: 2.2rem;
    }

    .hero-card,
    .stat-box,
    .process-card,
    .testimonial-card {
        padding: 20px;
    }
}
