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

html {
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

section {
    display: none;
}

section#section-1 {
    display: block;
}

#quiz-form,
#ty-form {
    flex: 1 0 auto;
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
    padding: 10px 0 15px;
}

.header-container {
    max-width: 768px;
    margin: 0 auto 10px;
    padding: 0 20px;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 20px;
}

.help-link i {
    font-size: 1.1rem;
    color: #555;
}

.help-link small {
    font-weight: 400;
    color: #666;
    font-size: 1.1rem;
}



/* ─────────────────────────────────────────
   STEP 1 – LANDING
───────────────────────────────────────── */

/* Status bar */
#quiz-status-bar {
    height: 4px;
    width: 0%;
    transition: width 0.3s ease;
    background: #0b2a5b;
}

.progress-container {
    width: 100%;
    height: 4px;
    overflow: hidden;
}

.status-segment {
    flex: 1;
    height: 4px;
    background: #f1f1f1;
    transition: background 0.4s ease;
}

.status-segment.active {
    background: #696969;
    transition: background 0.4s ease;
}

/* Body content */
.step1-body {
    padding-top: 0px;
    padding-bottom: 60px;
}

/* Divider with centred avatar */
.step1-divider {
    position: relative;
    height: 45px;
    display: flex;
    justify-content: center;
}

.step1-avatar {
    position: absolute;
    top: -32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fdf5e8;
    border: 1px solid #e8d9bf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step1-avatar i {
    font-size: 1.5rem;
    color: #b45309;
}

.step1-intro {
    font-size: 40px;
    font-weight: 300;
    color: #555555;
    line-height: 36px;
    margin-bottom: 1.5rem;
}

.step1-heading {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 50px;
    letter-spacing: -1px;
    margin-bottom: 32px;
}

@media (max-width: 1399px) {
    .heading-br {
        display: none;
    }
}

.btn-get-started {
    background: #696969;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    margin-top: 48px;
    transition: background 0.2s ease;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.btn-get-started:hover,
.btn-get-started:focus {
    background: #3e4245;
    color: #fff;
}

.step1-free {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 17px;
    font-weight: 300;
    color: #555555;
}

.step1-time {
    font-size: 17px;
    color: #555555;
    font-weight: 300;
    margin: 0;
}

/* ─────────────────────────────────────────
   STEPS 2+ – SHARED
───────────────────────────────────────── */

.step-divider {
    position: relative;
    height: 45px;
    display: flex;
    justify-content: center;
}

.step-avatar {
    position: absolute;
    top: -32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fdf5e8;
    border: 1px solid #e8d9bf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-avatar i {
    font-size: 1.5rem;
    color: #b45309;
}

.step-body {
    padding-top: 0px;
    padding-bottom: 60px;
}

.step-heading {
    font-size: 34px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.step-heading:has(+ .step-subheading) {
    margin-bottom: 8px;
}

.step-subheading {
    font-size: 15px;
    font-weight: 400;
    color: #888;
    margin-bottom: 32px;
}

/* Choice buttons */
.choice-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-choice {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(229, 229, 229, 0.7);
    border-radius: 12px;
    padding: 20px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.btn-choice:hover {
    border-color: #a3a3a3;
}

.btn-choice:active {
    background: #d4d4d4;
}

.btn-choice.selected {
    border-color: #696969;
    background: #f5f5f5;
}

.choice-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.choice-label {
    flex: 1;
}

/* BBB badge */
.step-bbb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(229, 229, 229, 0.7);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 20px;
}

.step-bbb i {
    font-size: 1rem;
    color: #888;
}

/* Testimonial */
.step-testimonial {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    margin-bottom: 16px;
    position: relative;
    width: 100%;
    max-width: 560px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.star-rating i {
    font-size: 1.4rem;
    color: #d4a017;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: #ddd;
    font-family: Georgia, serif;
    margin-bottom: 6px;
}

.testimonial-text {
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0;
}

/* ─────────────────────────────────────────
   STEP 6 – ZIP CODE
───────────────────────────────────────── */
.zip-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.zip-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.zip-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.zip-input::placeholder {
    color: #aaa;
}

.zip-input:focus {
    border-color: #696969;
}

.zip-hint {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    text-align: center;
    line-height: 1.55;
    margin-bottom: 24px;
}

.btn-zip-next {
    display: block;
    width: 100%;
    padding: 15px;
    background: #696969;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-zip-next:hover {
    background: #4a4a4a;
}

/* ─────────────────────────────────────────
   SLIDER (timeshare balance)
───────────────────────────────────────── */
.slider-value {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.slider-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d4d4d4;
    outline: none;
    cursor: pointer;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #696969;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.quiz-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #696969;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider-labels {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* ─────────────────────────────────────────
   STEP 9 – CONTACT FORM
───────────────────────────────────────── */
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.contact-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.contact-input {
    width: 100%;
    padding: 13px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-input::placeholder {
    color: #aaa;
}

.contact-input:focus {
    border-color: #696969;
}

.contact-input.input-error {
    border-color: #e53e3e;
}

.contact-consent {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-contact-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: #696969;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 16px;
}

.btn-contact-submit:hover {
    background: #4a4a4a;
}

.contact-privacy {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
}

.contact-privacy i {
    font-size: 14px;
}

/* ─────────────────────────────────────────
   STEP 10 – UPSELL GRID
───────────────────────────────────────── */
.upsell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 auto 24px;
    max-width: 440px;    
}

.upsell-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(229, 229, 229, 0.7);
    border-radius: 12px;
    padding: 28px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 140px;
}

.upsell-btn:hover {
    border-color: #a3a3a3;
    background: #fafafa;
}

.upsell-btn:active,
.upsell-btn.selected {
    border-color: #696969;
    background: #f5f5f5;
}

.upsell-icon {
    font-size: 2rem;
    line-height: 1;
}

.upsell-label {
    line-height: 1.35;
}

/* ─────────────────────────────────────────
   STEP 12 – CONFIRM CARD
───────────────────────────────────────── */
.confirm-card {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.confirm-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.confirm-label {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.confirm-value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ─────────────────────────────────────────
   STEP 13 – YEAR GRID
───────────────────────────────────────── */
.year-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.year-btn {
    background: #fff;
    border: 1px solid rgba(229, 229, 229, 0.7);
    border-radius: 10px;
    padding: 18px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.year-btn:hover {
    border-color: #a3a3a3;
    background: #fafafa;
}

.year-btn.selected {
    border-color: #696969;
    background: #f0f0f0;
    font-weight: 700;
}

/* last odd child spans full width */
.year-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 5px);
}

.year-grid.grid-error .year-btn:not(.selected) {
    border-color: #fca5a5;
}

/* ─────────────────────────────────────────
   THANK YOU SCREEN
───────────────────────────────────────── */
.thankyou-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fdf5e8;
    border: 1px solid #e8d9bf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #b45309;
    margin-bottom: 24px;
}

.thankyou-sub {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    margin-top: 8px;
}

/* ─────────────────────────────────────────
   EXIT SCREEN
───────────────────────────────────────── */
.step-exit-sub {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

.step8-sub {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    margin-bottom: 32px;
}

/* ─────────────────────────────────────────
   STEP 4 – LOW BALANCE INTERSTITIAL
───────────────────────────────────────── */
.step4-message {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step4-question {
    font-size: 17px;
    font-weight: 400;
    color: #555;
    margin-bottom: 32px;
}

.step4-actions {
    margin-bottom: 8px;
}

.btn-step4 {
    min-width: 180px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    background: #696969;
    color: #fff;
    transition: background 0.2s ease;
}

.btn-step4:hover {
    background: #4a4a4a;
}

.btn-step4.btn-step4-yes {
    background: #696969;
}

.btn-step4.btn-step4-yes:hover {
    background: #4a4a4a;
}

/* Back button */
.btn-back {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.btn-back:hover {
    color: #333;
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 24px 20px;
    background: #fff;
    color: #1a1a1a;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-container {
    max-width: 768px;
    margin: 0 auto;
}

.footer-copy {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-links a {
    color: #0b2341;
    text-decoration: none;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #07182c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-separator {
    color: #888;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media screen and (max-width: 767px) {

    .site-footer {
        padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    }

    /* Nav */
    .help-link-text { display: none; }
    .help-link i { font-size: 1.6rem; color: #333; }

    /* Step 1 */
    .step1-intro   { font-size: 24px; line-height: 30px; }
    .step1-heading { font-size: 26px; line-height: 34px; letter-spacing: -0.5px; }
    .btn-get-started { font-size: 18px; padding: 14px 20px; margin-top: 32px; }
    .step1-free, .step1-time { font-size: 14px; }

    /* Step headings */
    .step-heading    { font-size: 24px; }
    .step-subheading { font-size: 13px; }

    /* Choice buttons */
    .btn-choice { font-size: 17px; padding: 14px 16px; }

    /* ZIP / contact inputs */
    .zip-input, .contact-input { font-size: 14px; padding: 11px 13px; }
    .btn-zip-next, .btn-contact-submit { font-size: 15px; padding: 13px; }

    /* Step 4 buttons */
    .btn-step4 { min-width: 130px; font-size: 14px; padding: 12px 20px; }

    /* Step 8 subtitle */
    .step8-sub { font-size: 15px; }

    /* Step 10 upsell */
    .upsell-btn  { font-size: 13px; padding: 20px 10px; min-height: 110px; }
    .upsell-icon { font-size: 1.6rem; }

    /* Year grid */
    .year-btn { font-size: 15px; padding: 14px 10px; }

    /* Confirm card */
    .confirm-value { font-size: 13px; }

    /* Testimonial */
    .testimonial-text { font-size: 13px; }
}

.error {
    color: #fd0000;
    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,.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:.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;
}