* {
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: #ffffff;
    margin: 0;
}

/* Reset Bootstrap Reboot's default spacing so components control their own margins */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Layout containers (replace Tailwind's max-w-* + mx-auto + px-4) */
.container-5xl {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-3xl {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-lg-narrow {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Shared heading styles (replace Tailwind text-xl/2xl/3xl + font-bold + font-heading combos) */
.step-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    color: #0f2a5a;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

@media (min-width: 768px) {
    .step-heading {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.section-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    color: #0f2a5a;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
        margin-bottom: 3rem;
    }
}

.section-title--on-dark {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.section-title--tight {
    margin-bottom: 1.5rem;
}

.step-heading-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .step-heading-wrap {
        margin-bottom: 2rem;
    }
}

/* Hero heading/subtitle (replace Tailwind text-3xl sm:text-4xl md:text-5xl lg:text-6xl etc.) */
.hero-title {
    font-size: 1.875rem;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eef2f7;
    z-index: 1030;
}

.header-nav {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 81.48px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.header-call {
    color: oklch(0.4 0.08 260);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1;
}

.header-call:hover,
.header-call:focus {
    color: oklch(0.4 0.08 260);
    text-decoration: none;
}

.hero-section {
    position: relative;
    height: auto;
    background-image: url("../img/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 50px 0 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 31, 0.66);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.limited-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e49119;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.1rem;
}

.quiz-card {
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#quizCard {
    padding: 1.25rem;
    scroll-margin-top: 70px;
}

@media (min-width: 768px) {
    #quizCard {
        padding: 1.5rem;
    }
}

.success-card {
    text-align: center;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .success-card {
        padding: 4rem 0;
    }
}

.success-card h2 {
    margin-bottom: 0.5rem;
}

.quiz-top {
    color: #47628f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-number {
    color: #e49119;
}

.quiz-progress {
    width: 100%;
    height: 10px;
    background: #e9eff8;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.quiz-progress span {
    display: block;
    width: 33%;
    height: 100%;
    background: #e49119;
    border-radius: inherit;
}

.step-pane input {
    max-width: 386px;
    margin: 0 auto 1rem;
    display: block;
    line-height: 1.2;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d7deeb;
    background-color: #ffffff;
    color: #0f2a5a;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.address-container {
    margin: 0 auto 1rem;
    max-width: 386px;
}

@media (min-width: 768px) {
    .step-pane input {
        padding: 1rem;
    }
}

.step-pane input::placeholder {
    color: #8da1c1;
}

.step-pane input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #a9bfe0;
}

.zip-input {
    text-align: center;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.step-pane input.is-invalid-zip {
    border-color: #ef9a9a;
    box-shadow: 0 0 0 0.2rem rgba(239, 154, 154, 0.22);
}

.continue-holder {
    margin-top: 0.75rem;
}

.zip-error {
    display: none;
    margin-top: 1rem;
    margin-bottom: 0;
    width: 100%;
    border-radius: 8px;
    background-color: #fdeff0;
    color: #ef4444;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    padding: 0.65rem 0.9rem;
}

.zip-error.is-visible {
    display: block;
}

.btn-continue {
    background-color: #e49119;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    min-width: 152px;
    max-width: 386px;
    width: 100%;
    height: 52px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.btn-continue:hover,
.btn-continue:focus {
    background-color: #d18211;
    color: #ffffff;
}

.step2-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.option-card {
    position: relative;
    border: 2px solid #d7deeb;
    border-radius: 12px;
    background: #ffffff;
    min-height: 186px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1rem 0.85rem;
    color: #2a4575;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover,
.option-card:focus {
    border-color: #1273e6;
    box-shadow: 0 8px 24px rgba(18, 115, 230, 0.14);
}

.option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ebeff5;
    color: #89a1c2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.option-icon.is-active {
    background: #1273e6;
    color: #ffffff;
}

.option-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1273e6;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.option-card:not(.is-selected) .selected-badge {
    display: none;
}

.option-card.is-selected {
    border-color: #1273e6;
}

.step2-actions {
    margin-top: 1.4rem;
    text-align: left;
}

.step3-fields input:last-child {
    margin-bottom: 0;
}

.consent-text {
    max-width: 460px;
    margin: 1.25rem auto 0;
    font-size: 12px;
    line-height: 1.6;
    color: #000;
    text-align: center;
}

.consent-text a {
    color: #000;
    text-decoration: underline;
}

.consent-text a:hover,
.consent-text a:focus {
    color: #1273e6;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.success-text {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    color: #47628f;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.success-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1273e6;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.success-call:hover,
.success-call:focus {
    text-decoration: underline;
}

.btn-back {
    border: none;
    background: transparent;
    color: #2f4c79;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    cursor: pointer;
}

.btn-back:hover,
.btn-back:focus {
    color: #0d63c7;
    background: transparent;
}

.compare-section {
    background-color: #ebeff5;
    padding: 2.75rem 0 3rem;
}

.compare-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: oklch(0.48 0.07 260);
    margin-bottom: 1.35rem;
}

.compare-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.compare-logos img {
    height: 52px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.compare-logos img:hover,
.compare-logos img:focus {
    filter: grayscale(0%);
    opacity: 1;
}

.familiar-section {
    background-color: #f6f9fc;
    padding: 3.5rem 0;
}

.familiar-card {
    max-width: 576px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

@media (min-width: 768px) {
    .familiar-card {
        padding: 2.5rem;
    }
}

.familiar-card h2 {
    margin-bottom: 1.25rem;
}

.familiar-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.familiar-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #2a4575;
    font-size: 1rem;
}

.familiar-list i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #e49119;
    font-size: 1.15rem;
    line-height: 1;
}

.trust-section {
    background-color: #ffffff;
    padding: 2.5rem 0;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #0f2a5a;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1273e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.next-section {
    background-color: #ebeff5;
    padding: 3.5rem 0 4rem;
}

.next-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.next-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.next-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #dbeafe;
    color: #1273e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.next-step-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2a5a;
    margin-bottom: 0.4rem;
}

.next-number {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e49119;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.next-step-text {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.next-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.25rem;
    padding-top: 1.4rem;
}

@media (min-width: 768px) {
    .next-arrow {
        display: flex;
    }
}

.why-section {
    background-color: #005dbd;
    padding: 4rem 0 4.5rem;
}

.why-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .why-subtitle {
        margin-bottom: 3rem;
    }
}

.why-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.why-card {
    flex: 1 1 280px;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.why-card-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.why-financing-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-financing-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.why-financing-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.gallery-section {
    background-color: #f6f9fc;
    padding: 3.5rem 0 4rem;
}

.gallery-slider {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #0f2a5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 42, 90, 0.18);
    transition: background 0.2s ease;
}

.gallery-nav:hover,
.gallery-nav:focus {
    background: #eef1f8;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.gallery-dot.is-active {
    width: 22px;
    background: #1273e6;
}

.testimonials-section {
    background-color: #ebeff5;
    padding: 3.5rem 0 4rem;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.testimonial-card {
    flex: 1 1 380px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 42, 90, 0.06);
    padding: 1.75rem 1.75rem 1.5rem;
    text-align: left;
}

.testimonial-quote-icon {
    color: #a9c8f5;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    color: #29406b;
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: #0f2a5a;
    font-size: 0.9rem;
    font-weight: 700;
}

.faq-section {
    background-color: #ffffff;
    padding: 3.5rem 0 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #f6f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    text-align: left;
}

.faq-question {
    color: #0f2a5a;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.final-cta-section {
    background-color: #ebeff5;
    padding: 3.5rem 0 4rem;
}

.final-cta-btn {
    display: inline-block;
    background-color: #e49119;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.9rem 2rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.final-cta-btn:hover,
.final-cta-btn:focus {
    background-color: #d18211;
    color: #ffffff;
}

.final-cta-call {
    margin-top: 1rem;
}

.final-cta-call a {
    color: #47628f;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.final-cta-call a:hover,
.final-cta-call a:focus {
    text-decoration: underline;
}

.site-footer {
    background-color: #005dbd;
    padding: 2.5rem 0 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.step-pane {
    display: none;
}

.active-step {
    display: block;
}

.animate-fade-in-up {
    animation: fadeInUp 0.65s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 991.98px) {
    .header-nav {
        height: 60px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-logo {
        width: 81.48px;
        height: 44px;
    }

    .header-call {
        font-size: 14px;
    }

}

@media (max-width: 767.98px) {
    .step2-options {
        grid-template-columns: 1fr;
    }

    .option-card {
        min-height: 140px;
    }

    .compare-logos {
        gap: 0.85rem;
        flex-wrap: nowrap;
    }

    .compare-logos img {
        height: 32px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1.25rem;
    }

    .next-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gallery-slide img {
        height: 260px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }
}

.error {
     color: #c96b2c;
     font-size: 13px;
     padding: 6px;
     font-weight: bold;
     display: none;
}
 .error.visible {
     display: block;
}
 .city-state-zip {
     font-size: 12px;
     padding: 2px 0;
}
 .custom-pac-container {
     position: absolute;
     z-index: 99999;
     background: #fff;
     border: 1px solid #d9d9d9;
     border-top: none;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
     font-family: Arial, sans-serif;
     overflow: hidden;
}
 .custom-pac-item {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 8px 12px;
     cursor: pointer;
     border-top: 1px solid #f1f1f1;
     min-height: 38px;
}
 .custom-pac-item:hover {
     background: #f8f8f8;
}
 .custom-pac-icon {
     width: 14px;
     height: 18px;
     flex: none;
     opacity: 0.65;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23858585' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-size: contain;
}
 .custom-pac-text {
     display: flex;
     align-items: baseline;
     flex-wrap: nowrap;
     overflow: hidden;
     white-space: nowrap;
     text-overflow: ellipsis;
}
 .custom-pac-main {
     font-size: 13px;
     color: #222;
     font-weight: 400;
}
 .custom-pac-secondary {
     margin-left: 4px;
     font-size: 11px;
     color: #8b8b8b;
     font-weight: 400;
}
 .custom-pac-powered {
     height: 24px;
     border-top: 1px solid #eee;
     background: url("https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png") no-repeat right 8px center;
     background-size: 120px auto;
}
 