@charset "UTF-8";

* , ::after, ::before { box-sizing: border-box; }

body, html { height: 100%; }

body {
    background: #fff;
    color: #202020;
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    justify-content: flex-start;
    line-height: 38px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

@media (max-width: 992px) {
    body { font-size: 18px; line-height: 24.5px; }
}

h1, h2, h3, h4 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; }
h2 { font-size: 28px; line-height: 38px; }
h3 { font-size: 24px; line-height: 32px; }
@media (max-width: 992px) {
    h2 { font-size: 22px; line-height: 27px; }
    h3 { font-size: 20px; line-height: 26px; }
}

.text-center { text-align: center !important; }
.small { font-size: .875em; }
.text-muted { color: #6c757d; }
.pt-2 { padding-top: .5rem; }
.pt-3 { padding-top: 1rem; }
.pb-1 { padding-bottom: .25rem; }
.pb-2 { padding-bottom: .5rem; }
.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }

/* Header */
header {
    padding: 13px 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eef1f4;
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #123b63;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
}

.logo svg { width: 44px; height: 44px; flex-shrink: 0; }

.logo .logo-sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0d98c5;
}

@media (max-width: 480px) {
    .logo { font-size: 19px; }
    .logo svg { width: 36px; height: 36px; }
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d98c5;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}
.header-phone a:hover { text-decoration: underline; }
.header-phone .phone-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
    text-align: right;
    line-height: 1.2;
}
.header-phone svg { width: 34px; height: 34px; }
@media (max-width: 640px) {
    .header-phone .phone-label { display: none; }
    .header-phone a { font-size: 17px; }
}

/* Quiz section */
#quizSection {
    min-height: 500px;
    max-width: 840px;
    padding: 0 15px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 992px) {
    #quizSection { min-height: 0; padding: 27px 15px 20px; }
}

.intro { font-size: 18px; color: #495057; }

#quizSection .q1,
#quizSection .q2,
#quizSection .q3,
#quizSection .final {
    max-width: 481px;
    width: 100%;
    margin: 0 auto;
}

.q2, .q3, .final, .t1, .t2, .t3, .t4 { display: none; }

.btn-choice {
    display: block;
    margin: 0 auto 25px;
    width: 100%;
    max-width: 481px;
    height: 55px;
    background-color: #0e6efd;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 21px;
    cursor: pointer;
    transition: all .1s;
}
.btn-choice:hover { background-color: #0b5ed7; }
.btn-choice:active { transform: translateY(3px); }

.btn-continue {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    background: #0e6efd;
    width: 100%;
    max-width: 481px;
    height: 55px;
    color: #fff;
    border-radius: 5px;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .02em;
    margin: 0 auto;
    cursor: pointer;
    transition: all .1s;
}
.btn-continue:hover { background-color: #0b5ed7; }
.btn-continue:active { transform: translateY(3px); }

.zip-input {
    width: 100%;
    max-width: 481px;
    height: 53px;
    border-radius: 8px;
    border: 1px solid #bacade;
    font-size: 22px;
    margin: 6px auto 8px;
    padding: 0 14px;
    display: block;
    background-color: #fff;
    letter-spacing: .02em;
}
.zip-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}
.zip-input.is-invalid { border-color: #dc3545; }
.zip-input::placeholder { color: #acacac; }

#zipError {
    display: none;
    font-size: 14px;
    padding: 8px;
    background-color: #fff3cd;
    color: #856404;
    border-radius: 5px;
    border: 1px solid #ffeeba;
    text-align: left;
    line-height: 1.5;
    margin-top: 4px;
}

/* Progress */
.progress {
    height: 20px;
    border-radius: 10px;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 481px;
    background-color: #f0f0f0;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #0e6efd;
    border-radius: 10px;
}

.ellipsis { display: inline-block; width: 20px; text-align: left; }
.ellipsis::after { content: ''; animation: ellipsis 1.5s infinite; }
@keyframes ellipsis {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: ''; }
}

#qul {
    list-style: none;
    padding-left: 0;
    margin: 20px auto 0;
    max-width: 481px;
}
.qli {
    margin-bottom: 2px;
    padding: 6px 15px 6px 40px;
    border-radius: 8px;
    font-size: .9rem;
    color: #495057;
    position: relative;
    line-height: 1.6;
}
.qli .check {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #00c853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* ===== Call section (final CTA) ===== */
#callSection { display: none; max-width: 560px; margin: 0 auto; padding: 10px 15px 30px; }

.match-great {
    font-weight: 700;
    text-decoration: underline;
    color: #04AA6D;
    font-size: 72px;
    line-height: 1.1;
    text-align: center;
}
@media (max-width: 992px) { .match-great { font-size: 56px; } }

.match-heading {
    font-weight: 700;
    color: #000;
    font-size: 26px;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}

.match-sub {
    margin-top: 10px;
    color: #495057;
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
}
.match-sub strong { color: #04AA6D; }

.call-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 6px;
    font-size: 15px;
    color: #04AA6D;
    font-weight: 700;
}
.live-dot {
    width: 10px; height: 10px;
    background: #04AA6D;
    border-radius: 50%;
    animation: liveBlink 1.2s infinite;
}
@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 481px;
    margin: 12px auto 8px;
    padding: 0 20px;
    height: 78px;
    background: #04AA6D;
    color: #fff;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .01em;
    box-shadow: 0 6px 18px rgba(4,170,109,.35);
    animation: pulseCall 1.4s infinite;
}
.btn-call:hover { background: #039a62; }
.btn-call svg { width: 30px; height: 30px; flex-shrink: 0; animation: ringShake 1.4s infinite; }

@keyframes pulseCall {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(4,170,109,.55); }
    50%  { transform: scale(1.035); box-shadow: 0 0 0 16px rgba(4,170,109,0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(4,170,109,0); }
}
@keyframes ringShake {
    0%, 55%, 100% { transform: rotate(0); }
    60% { transform: rotate(-14deg); }
    70% { transform: rotate(12deg); }
    80% { transform: rotate(-9deg); }
    90% { transform: rotate(6deg); }
}
@media (max-width: 480px) {
    .btn-call { font-size: 23px; height: 70px; }
}

.call-cta-line {
    text-align: center;
    font-size: 17px;
    color: #202020;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 4px;
}

.call-urgency {
    text-align: center;
    font-size: 15px;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 481px;
    margin: 14px auto 0;
    line-height: 1.5;
}
.call-urgency strong { color: #b02a37; }

.call-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}
.call-trust span { display: flex; align-items: center; gap: 5px; }
.call-trust .tick { color: #04AA6D; font-weight: 700; }

/* Decline */
#declineSection { display: none; max-width: 560px; margin: 0 auto; padding: 20px 15px 40px; text-align: center; }
#declineSection h3 { margin-top: 10px; }
#declineSection p { color: #495057; font-size: 17px; line-height: 1.6; }

.fe-offer {
    margin-top: 26px;
    background: #f6f9fc;
    border: 2px solid #cfe0f0;
    border-radius: 14px;
    padding: 22px 20px 24px;
}
.fe-offer-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #b02a37;
    margin-bottom: 10px;
}
.fe-offer-heading {
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
    color: #123b63;
}
.fe-offer-heading span { color: #04AA6D; }
.fe-offer-text {
    font-size: 16px !important;
    color: #495057;
    line-height: 1.6;
    margin: 12px 0 18px;
}
.btn-fe {
    font-size: 22px;
    height: 66px;
    animation: pulseShadow 1.4s infinite;
}
@keyframes pulseShadow {
    0%   { box-shadow: 0 0 0 0 rgba(4,170,109,.55); }
    50%  { box-shadow: 0 0 0 16px rgba(4,170,109,0); }
    100% { box-shadow: 0 0 0 0 rgba(4,170,109,0); }
}
.fe-offer-note {
    font-size: 13px !important;
    color: #98a2ab !important;
    margin-top: 10px;
}

/* Sticky mobile call bar */
#stickyCallBar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #04AA6D;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -3px 12px rgba(0,0,0,.18);
}
#stickyCallBar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
}
#stickyCallBar svg { width: 22px; height: 22px; animation: ringShake 1.4s infinite; }
body.show-sticky #stickyCallBar { display: block; }
@media (min-width: 993px) { #stickyCallBar { display: none !important; } }

/* Footer */
.site-footer { margin-top: 120px; text-align: center; padding-bottom: 30px; }
.site-footer hr { max-width: 1100px; margin: 0 auto; border: 0; border-top: 1px solid #dee2e6; }
.footer-links { padding: 20px 0 10px; font-size: 16px; }
.footer-links a { color: #495057; text-decoration: none; margin: 0 14px; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 14px; color: #6c757d; padding: 0 15px; line-height: 1.6; }
.footer-disclaimer {
    max-width: 760px;
    margin: 14px auto 0;
    font-size: 12px;
    color: #98a2ab;
    line-height: 1.6;
    padding: 0 15px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
}
.modal.open { display: block; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    z-index: 1;
    width: calc(100% - 30px);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #dee2e6;
}
.modal-header h5 { margin: 0; font-size: 20px; }
.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.6;
}
.modal-body h1 { font-size: 24px; }
.modal-body h2 { font-size: 20px; line-height: 1.3; margin-top: 18px; }
.modal-body h3 { font-size: 17px; line-height: 1.3; margin-top: 14px; }
.modal-close {
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
    padding: 0 4px;
}
