/* ========================================================
   ARCHIVO 2 DE 3: style.css (COMPLETO)
   ======================================================== */

/* ========================================
   FOUNDATIONS & RESET (SENIOR ACCESSIBILITY OPTIMIZED)
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #1e293b;
    line-height: 1.6;
}

/* ========================================
   TOP PROGRESS BAR
   ======================================== */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    transition: width 0.35s ease;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
#quiz-container {
    width: 100%;
    max-width: 100%;
    padding: 14px 12px 60px;
    min-height: 100vh;
}

.quiz-form {
    max-width: 620px;
    margin: 0 auto;
}

/* ========================================
   SECTION 0: ULTRA-COMPACT HIGH-CONVERSION HERO (ABOVE-THE-FOLD)
   ======================================== */
.intro-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 14px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.intro-top-badge {
    background: #ecfdf5;
    color: #065f46;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: 1px solid #a7f3d0;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #059669;
}

.intro-title {
    font-family: 'Sen', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin-bottom: 6px;
}

.intro-subtitle {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* Compact Doctor Card */
.compact-doctor-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-photo-mini {
    width: 52px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    object-position: top;
    border: 2px solid #0284c7;
    flex-shrink: 0;
}

.doctor-details-mini {
    flex: 1;
}

.doctor-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.doctor-name-mini {
    font-family: 'Sen', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.rating-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.doctor-sub-mini {
    font-size: 11.5px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 3px;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.doctor-tags span {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

/* HIGH-CONVERTING CTA BUTTON */
.start-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    margin-top: 0;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-main-label {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.btn-sub-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #bae6fd;
    letter-spacing: 0.2px;
}

/* Pulsing effect to guide attention */
.pulse-attention {
    animation: ctaPulse 2.4s infinite ease-in-out;
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
    }
    50% {
        transform: scale(1.018);
        box-shadow: 0 6px 22px rgba(2, 132, 199, 0.55);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
    }
}

.start-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
}

/* Micro Guarantees Under CTA */
.intro-micro-guarantees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

/* ========================================
   QUIZ CARDS (SENIOR VISUAL CLARITY)
   ======================================== */
.quiz-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #cbd5e1;
    display: none;
    scroll-margin-top: 14px;
    animation: fadeInUp 0.35s ease-out;
}

.quiz-section.active {
    display: block;
}

.quiz-section.completed {
    display: block;
    border-color: #e2e8f0;
    background: #ffffff;
    opacity: 0.95;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-indicator-pill {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0284c7;
    background: #e0f2fe;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.question-title {
    font-family: 'Sen', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.question-text {
    font-size: 15.5px;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

.helper-text {
    font-size: 13.5px;
    color: #475569;
    font-weight: 600;
    margin-top: -10px;
    margin-bottom: 16px;
    font-style: italic;
}

/* ========================================
   FLOATING SCROLL INDICATOR
   ======================================== */
.floating-scroll-cue {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9998;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.floating-scroll-cue.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.floating-cue-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.floating-cue-arrow {
    color: #38bdf8;
    display: flex;
    align-items: center;
    animation: bounceArrow 1.3s infinite ease-in-out;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* ========================================
   OPTIONS & BUTTONS
   ======================================== */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.option-btn {
    appearance: none;
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    text-align: left;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.45;
}

.option-btn:hover {
    border-color: #0284c7;
    background: #f8fafc;
    transform: translateY(-1px);
}

.option-btn.selected {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 700;
}

.option-btn:not(.day-btn):not(.hour-btn)::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-btn.selected::before {
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.continue-btn {
    display: block;
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 14px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
}

.continue-btn:hover:not(:disabled) {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.continue-btn.success {
    background: #059669;
}

.continue-btn.success:hover:not(:disabled) {
    background: #047857;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

/* ========================================
   INPUTS & LABELS
   ======================================== */
.field-label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    text-align: left;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15.5px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
    resize: none;
}

.input-field:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.iti {
    width: 100%;
    display: block;
    margin-bottom: 4px;
}

.error-msg {
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
    text-align: left;
}

.disqualify-msg {
    display: none;
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

/* ========================================
   TIMELINE BOXES (STEP 6)
   ======================================== */
.timeline-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: left;
}

.timeline-box.secondary {
    background: #f0fdf4;
    border-color: #86efac;
}

.timeline-header-tag {
    margin-bottom: 12px;
}

.trip-tag {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.trip-tag.green {
    color: #166534;
}

.timeline-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.timeline-details strong {
    font-size: 14.5px;
    color: #0f172a;
    display: block;
}

.timeline-details p {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 2px;
}

/* ========================================
   GUARANTEE CARDS (STEP 7)
   ======================================== */
.guarantee-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    text-align: left;
}

.guarantee-card.highlight {
    background: #f0fdf4;
    border-color: #86efac;
}

.guarantee-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Only a direct-child strong is the card heading. A <strong> nested
   inside a <p> is emphasis and must stay inline. */
.guarantee-content > strong {
    font-size: 14.5px;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.guarantee-content strong {
    font-weight: 800;
    color: #0f172a;
}

.guarantee-content p {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
}

/* ========================================
   PRICING & 4 MILESTONES (STEP 8)
   ======================================== */
.price-list {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 6px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14.5px;
}

.price-row.highlight {
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    padding: 14px 12px;
}

.price-row.highlight.full-mouth {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    margin-top: 8px;
}

.price-val {
    font-family: 'Sen', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

/* MILESTONE BOX (4 PAGOS MÁXIMO) */
.milestone-payment-box {
    background: #ffffff;
    border: 2px solid #0284c7;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    text-align: left;
}

.milestone-list {
    list-style: none;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.milestone-list li {
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.milestone-list li::before {
    content: '✓';
    color: #0284c7;
    font-weight: 900;
}

.milestone-note {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.4;
}

.included-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
    text-align: left;
    margin-bottom: 12px;
}

/* ========================================
   CALENDAR (STEP 10)
   ======================================== */
.day-selector,
.hour-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}

.day-btn,
.hour-btn {
    justify-content: center;
    text-align: center;
    padding: 13px 8px;
    font-size: 13.5px;
    font-weight: 700;
}

.show-more {
    text-align: center;
    color: #0284c7;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 12px;
    font-weight: 700;
    display: none;
}

#hour-selection-container {
    display: none;
}

/* ========================================
   RECAP & CONFIRMATION (STEP 11)
   ======================================== */
.recap-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
    text-align: center;
}

.recap-label {
    font-size: 11.5px;
    text-transform: uppercase;
    color: #0369a1;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.recap-date {
    color: #0284c7;
    font-weight: 800;
    font-size: 19px;
    font-family: 'Sen', sans-serif;
}

/* ========================================
   SCOTT'S STORY VERTICAL (9:16) REEL CARD
   ======================================== */
.patient-spotlight-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.spotlight-tag {
    font-size: 11px;
    font-weight: 800;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-block;
    margin-bottom: 8px;
}

.spotlight-title {
    font-family: 'Sen', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
}

.spotlight-bio {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 16px;
}

.vertical-video-wrapper {
    max-width: 310px;
    width: 100%;
    margin: 14px auto 0;
    aspect-ratio: 9 / 16;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
    border: 2px solid #0f172a;
}

.vertical-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vertical-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(0, 0, 0, 0) 40%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.25s ease;
}

.vertical-video-wrapper:hover .play-btn-circle {
    transform: scale(1.1);
    background: #0284c7;
}

.video-duration-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.play-btn-circle {
    width: 64px;
    height: 64px;
    background: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
    transition: all 0.2s ease;
    padding-left: 4px;
}

.poster-overlay-info {
    position: absolute;
    bottom: 16px;
    left: 14px;
    right: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.poster-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.poster-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
}

.video-click-note {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* ========================================
   SPINNER & LOADING
   ======================================== */
.spinner {
    border: 3px solid #e2e8f0;
    border-top: 3px solid #0284c7;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-message {
    display: none;
    text-align: center;
    padding: 40px 10px;
}

#success-message {
    display: none;
    text-align: center;
    padding: 10px 5px;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.prep-card {
    background: #f8fafc;
    border-left: 4px solid #0284c7;
    padding: 14px 16px;
    border-radius: 4px 8px 8px 4px;
    text-align: left;
    margin-top: 18px;
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
}

/* ========================================
   PHONE VERIFICATION MODAL
   ======================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop.active {
    display: flex;
    animation: fadeInUp 0.25s ease-out;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.modal-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-title {
    font-family: 'Sen', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 16px;
}

.verified-phone-container {
    background: #f8fafc;
    border: 2px dashed #0284c7;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.phone-label {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.phone-display {
    font-family: 'Sen', sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: #0284c7;
}

.recipient-display {
    font-size: 14px;
    color: #0f172a;
    margin-top: 3px;
    font-weight: 700;
}

.modal-warning {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-btn-confirm {
    width: 100%;
    background: #059669;
    color: #ffffff;
    font-weight: 800;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 15.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.modal-btn-confirm:hover {
    background: #047857;
}

.modal-btn-edit {
    width: 100%;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    padding: 13px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.modal-btn-edit:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-info {
    text-align: center;
    padding: 24px 10px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .day-selector, .hour-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Screen height responsive tweak for mobile above-the-fold display */
@media (max-height: 700px) {
    .intro-container {
        padding: 12px 10px;
    }
    .intro-title {
        font-size: 18px;
    }
    .intro-subtitle {
        font-size: 12.5px;
        margin-bottom: 8px;
    }
    .compact-doctor-card {
        padding: 6px 8px;
        margin-bottom: 10px;
    }
    .doctor-photo-mini {
        width: 46px;
        height: 54px;
    }
    .start-btn {
        padding: 12px 14px;
    }
}
/* ========================================================
   MICRO-STEP v2: TRUST BAR + FIRST-QUESTION-FIRST LAYOUT
   ======================================================== */

#quiz-container {
    padding-top: 0;
}

/* --- Compact one-line trust bar (replaces the hero gate) --- */
.trust-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 12px auto 18px;
    max-width: 620px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.trust-bar-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #0284c7;
}

.trust-bar-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    line-height: 1.25;
}

.trust-bar-text strong {
    font-size: 14.5px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

.trust-bar-text span {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    line-height: 1.32;
}



/* --- Oversized tap targets for the first decision --- */
.option-btn-big {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    padding: 19px 18px !important;
    min-height: 62px;
    line-height: 1.35;
    text-align: left;
}

/* --- Soft exit (non-qualified but recoverable) --- */
.soft-exit-card {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
}

.soft-exit-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.soft-exit-card .field-label {
    display: block;
    text-align: left;
    margin-top: 20px;
}

.soft-exit-card .error-msg {
    text-align: left;
}

.soft-exit-secondary {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.soft-exit-link {
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0369a1;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
}

/* --- Hours container starts collapsed in HTML --- */
#hour-selection-container {
    display: none;
}

/* --- Mobile: keep tap targets generous --- */
@media (max-width: 480px) {
    .option-btn-big {
        font-size: 16px !important;
        padding: 17px 15px !important;
    }

    .trust-bar {
        gap: 8px;
        padding: 9px 10px;
    }

    .trust-bar-photo {
        width: 36px;
        height: 36px;
    }

    .trust-bar-text span {
        font-size: 11px;
    }
}

.progress-bar-container {
    height: 6px;
}

.progress-bar {
    background: linear-gradient(90deg, #0284c7, #10b981);
}


/* --- Spacing: helper text must breathe away from the option buttons --- */
.helper-text {
    margin-top: 22px !important;
    text-align: center;
    font-size: 13px;
    opacity: 0.85;
}

#section-location .helper-text {
    margin-top: 26px !important;
}

/* A little more air between the question block and its options */
.question-text + .options-container,
#section-location .options-container {
    margin-top: 20px;
}



/* The headline under the name was unreadable at 11.5px on mobile */
.trust-bar-text span {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    white-space: normal;
    line-height: 1.35;
}

.trust-bar-text strong {
    font-size: 15px;
}
/* --- Step 1: one title, one subtitle --- */
.q1-title {
    font-family: 'Sen', sans-serif;
    font-size: clamp(21px, 6.1vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    color: #0f172a;
    margin: 2px 0 10px;
    letter-spacing: -0.02em;
}

.q1-sub {
    text-align: center;
    font-size: 14.5px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
    margin: 0 auto 26px;
    max-width: 500px;
}
/* --- Step 1 lead line under the savings sub --- */
.q1-lead {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
    margin: -16px auto 26px;
    max-width: 500px;
}

/* --- Soft exit: WhatsApp is the single action --- */
.soft-exit-card .soft-exit-wa {
    display: block;
    text-decoration: none;
    margin-top: 20px;
}

.soft-exit-card .question-text {
    white-space: pre-line;
    text-align: left;
}

/* --- Footer: two short lines --- */
.footer-info {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-info p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 2px;
}

.footer-info strong {
    color: #334155;
    font-weight: 800;
}
