﻿/* ============================================
   PDX Home Energy Score - Styles v2.1
   Primary Deep Blue: #1F4E79
   Accent Green:      #5BA94B
   Background White:  #FFFFFF
   Light Gray:        #F7F8FA
   Text Dark:         #2D2D2D
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2D2D2D;
    background: #FFFFFF;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1F4E79; text-decoration: none !important; transition: color 0.2s ease; }
a:hover { color: #5BA94B; text-decoration: none !important; }
/* Override Astra's .entry-content a underline */
.ast-single-post .entry-content a,
.entry-content a { text-decoration: none !important; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: #1F4E79; line-height: 1.2; font-weight: 700; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: #1F4E79; color: #FFFFFF; border-color: #1F4E79; }
.btn-primary:hover {
    background: #163a5c; border-color: #163a5c; color: #FFFFFF;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(31,78,121,0.3);
}
.btn-outline { background: transparent; color: #1F4E79; border-color: #1F4E79; }
.btn-outline:hover {
    background: #1F4E79; color: #FFFFFF;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(31,78,121,0.2);
}
.btn-lg { padding: 18px 40px; font-size: 1.125rem; border-radius: 10px; }
.btn-nav {
    padding: 10px 24px; font-size: 0.9rem; border-radius: 8px;
    background: #1F4E79; color: #FFFFFF !important; border-color: #1F4E79;
}
.btn-nav:hover {
    background: #163a5c; color: #FFFFFF !important;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(31,78,121,0.3);
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31,78,121,0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; flex-shrink: 0; }
.logo:hover { opacity: 0.88; }
.logo-img { height: 80px; width: auto; display: block; object-fit: contain; }
.logo-ccb-badge { font-family: 'Inter', Arial, sans-serif; font-weight: 500; font-size: 0.7rem; color: #888; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; padding-left: 2px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; font-size: 0.95rem; font-weight: 500; color: #2D2D2D; border-radius: 6px; transition: all 0.2s ease; }
.nav-link:hover { color: #1F4E79; background: rgba(31,78,121,0.05); }
.nav-phone { font-weight: 600; color: #1F4E79; font-size: 0.9rem; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #1F4E79; border-radius: 2px; transition: all 0.3s ease; }

/* ---------- HERO ---------- */
.hero { padding: 190px 0 110px; background: #FFFFFF; text-align: center; }
.hero-content { max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: #1F4E79; }
.hero-subtitle { font-size: 1.5rem; font-weight: 600; color: #5BA94B; margin-bottom: 20px; }
.hero-desc { font-size: 1.15rem; color: #555; max-width: 560px; margin: 0 auto 36px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- TRUST BADGES ---------- */
.trust-badges { padding: 48px 0 40px; background: #FFFFFF; border-bottom: 1px solid #f0f0f0; }
.trust-header { text-align: center; font-size: 1rem; font-weight: 600; color: #1F4E79; margin-bottom: 24px; }
.badges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.badge-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badge-icon { width: 42px; height: 42px; border-radius: 50%; background: #d6edcf; display: flex; align-items: center; justify-content: center; }
.badge-item p { font-size: 0.92rem; font-weight: 600; color: #333; max-width: 260px; }
.trust-serving { text-align: center; font-size: 0.85rem; color: #888; margin-top: 20px; font-weight: 500; }

/* ---------- PRICING ---------- */
.pricing-section { padding: 80px 0; background: #F7F8FA; }
.pricing-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 16px; }
.pricing-subtitle { text-align: center; font-size: 0.95rem; color: #888; max-width: 620px; margin: 0 auto 48px; line-height: 1.6; }
.pricing-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 700px; margin: 0 auto 36px; }
.price-card { background: #FFFFFF; border-radius: 16px; padding: 36px 28px; text-align: center; border: 2px solid #e8ecf0; transition: all 0.3s ease; position: relative; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(31,78,121,0.1); }
.price-card-featured { border-color: #1F4E79; box-shadow: 0 8px 30px rgba(31,78,121,0.12); }
.price-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #1F4E79; color: #FFFFFF; font-size: 0.8rem; font-weight: 700; padding: 4px 20px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.price-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; color: #2D2D2D; }
.price { font-size: 3rem; font-weight: 800; color: #1F4E79; margin-bottom: 24px; }
.price-plus { font-size: 1.5rem; vertical-align: super; font-weight: 600; opacity: 0.7; }
.price-features { list-style: none; text-align: center; margin-bottom: 28px; }
.price-features li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0; font-size: 0.95rem; color: #444; }
.price-features li svg { flex-shrink: 0; }
.pricing-notes { text-align: center; max-width: 600px; margin: 0 auto; }
.pricing-notes p { font-size: 0.88rem; color: #888; margin-bottom: 6px; line-height: 1.6; }
.pricing-notes a { color: #1F4E79; font-weight: 600; text-decoration: underline; }

/* ---------- SCHEDULE / BOOKING FLOW ---------- */
.schedule-section { padding: 80px 0; background: #F7F8FA; }
.schedule-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 12px; }
.section-subtitle { text-align: center; font-size: 1rem; color: #666; margin-bottom: 40px; }
.booking-lead-in { text-align: center; font-size: 0.9rem; color: #666; margin-top: -28px; margin-bottom: 36px; }
.booking-flow { max-width: 900px; margin: 0 auto 32px; background: #FFFFFF; border-radius: 16px; border: 1px solid #e8ecf0; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.booking-step { padding: 32px 36px; border-bottom: 1px solid #e8ecf0; display: none; }
.booking-step:last-child { border-bottom: none; }
.booking-step.active { display: block; animation: stepFadeIn 0.3s ease; }
@keyframes stepFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Completed steps: collapse to header only */
.booking-step.completed { display: block; }
.booking-step.completed .booking-step-body { display: none; }
.booking-step.completed .booking-step-header {
    margin-bottom: 0;
    padding-bottom: 0;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.booking-step.completed .booking-step-header:hover { opacity: 1; }
.booking-step.completed .booking-step-num { background: #5BA94B; }
.booking-step.completed .booking-step-header::after {
    content: '✓';
    color: #5BA94B;
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: auto;
}
.booking-step-summary {
    display: none;
    font-size: 0.88rem;
    color: #5BA94B;
    font-weight: 600;
    margin-left: auto;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.booking-step.completed .booking-step-summary { display: block; }
.booking-step-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.booking-step-header-centered { justify-content: center; }
.booking-step-num { width: 32px; height: 32px; border-radius: 50%; background: #1F4E79; color: #FFFFFF; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.booking-step-header h3 { font-size: 1.15rem; margin: 0; color: #1F4E79; }
/* Right-side group in step header: city chip + back button */
.step-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
/* City chip — shows selected city name */
.selected-city-chip { display: inline-flex; align-items: center; gap: 4px; background: #edf2f7; border: 1px solid #c6d4e3; border-radius: 20px; padding: 3px 12px 3px 8px; font-size: 0.82rem; font-weight: 600; color: #1F4E79; white-space: nowrap; line-height: 1.4; }
.selected-city-chip:empty { display: none; }
.selected-city-chip .chip-pin { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.7; }
/* Hillsboro chip gets an amber tint */
.selected-city-chip.is-hillsboro { background: #fff8eb; border-color: #f0d78e; color: #7a5b0c; }

/* City Selector */
.city-selector { max-width: 580px; margin: 0 auto; text-align: center; }
.city-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.city-options-3 { grid-template-columns: repeat(3, 1fr); }
.city-option { position: relative; display: flex; align-items: center; justify-content: center; padding: 22px 16px; border: 2px solid #e8ecf0; border-radius: 12px; background: #FFFFFF; cursor: pointer; transition: all 0.2s ease; font-family: inherit; font-size: 1rem; min-height: 72px; }
.city-option:hover { border-color: #1F4E79; background: #f0f4f8; }
.city-option.selected { border-color: #1F4E79; background: #edf2f7; box-shadow: 0 0 0 3px rgba(31,78,121,0.15); }
.city-name { font-weight: 600; color: #2D2D2D; line-height: 1.4; }
.city-surcharge { position: absolute; top: 5px; right: 6px; font-size: 0.72rem; font-weight: 700; color: #c57b15; background: #fff8eb; padding: 1px 6px; border-radius: 4px; line-height: 1.4; }
.hillsboro-notice { display: flex; align-items: center; gap: 8px; background: #fff8eb; border: 1px solid #f0d78e; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.88rem; color: #7a5b0c; }
.hillsboro-notice svg { flex-shrink: 0; }
/* Persistent notice shown in steps 2 & 3 — sits between header and body, full width */
.hillsboro-notice-persistent { border-radius: 8px; margin-bottom: 16px; }
.btn-continue { display: block; width: 100%; margin-top: 8px; }

/* Legacy size styles (kept for compatibility) */
.size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.size-option { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 20px; border: 2px solid #e8ecf0; border-radius: 12px; background: #FFFFFF; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
.size-option:hover { border-color: #1F4E79; background: #f0f4f8; }
.size-option.selected { border-color: #1F4E79; background: #edf2f7; box-shadow: 0 0 0 3px rgba(31,78,121,0.15); }
.size-label { font-size: 1rem; font-weight: 600; color: #2D2D2D; }
.size-price { font-size: 1.3rem; font-weight: 800; color: #1F4E79; }
.booking-note { font-size: 0.82rem; color: #888; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.calendar-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
.demo-calendar { background: #FFFFFF; border: 1px solid #e8ecf0; border-radius: 12px; padding: 20px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-size: 1.05rem; font-weight: 700; color: #1F4E79; }
.cal-nav { width: 32px; height: 32px; border: 1px solid #e8ecf0; border-radius: 8px; background: #FFFFFF; cursor: pointer; font-size: 1.3rem; color: #1F4E79; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; font-family: inherit; }
.cal-nav:hover { background: #f0f4f8; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 8px; }
.cal-weekdays span { font-size: 0.72rem; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.15s ease; border: none; background: transparent; color: #2D2D2D; font-family: inherit; }
.cal-day:hover:not(.cal-day-disabled):not(.cal-day-empty) { background: #edf2f7; color: #1F4E79; }
.cal-day-available { background: #f0f8ee; color: #2D2D2D; font-weight: 600; }
.cal-day-available:hover { background: #d4edce !important; color: #1F4E79 !important; }
.cal-day-selected { background: #1F4E79 !important; color: #FFFFFF !important; font-weight: 700; }
.cal-day-disabled { color: #ccc; cursor: default; }
.cal-day-empty { cursor: default; }
.cal-day-today { border: 2px solid #1F4E79; }
.time-slots { background: #FFFFFF; border: 1px solid #e8ecf0; border-radius: 12px; padding: 20px; max-height: 340px; overflow-y: auto; }
.slots-prompt { color: #888; font-size: 0.9rem; text-align: center; padding: 40px 0; }
.time-slot-list { display: flex; flex-direction: column; gap: 8px; animation: stepFadeIn 0.25s ease; }
.time-slot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid #e8ecf0; border-radius: 8px; cursor: pointer; transition: all 0.15s ease; background: #FFFFFF; font-family: inherit; width: 100%; }
.time-slot:hover { border-color: #1F4E79; background: #f0f4f8; }
.time-slot.selected { border-color: #1F4E79; background: #edf2f7; }
.time-slot-time { font-weight: 600; font-size: 0.9rem; color: #2D2D2D; }
.time-slot-price { font-weight: 700; font-size: 0.9rem; color: #1F4E79; }
.time-slot-tag { font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.time-slot-tag.best-rate { background: #eaf5e7; color: #3d8a2e; }
.time-slot-tag.evening { background: #fff3e0; color: #b8860b; }
.time-slot-tag.weekend { background: #fce4ec; color: #c62828; }
.order-summary { background: #F7F8FA; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; border-bottom: 1px solid #e8ecf0; }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 1.1rem; color: #1F4E79; }
.summary-trust { font-size: 0.82rem; color: #888; margin-top: 12px; text-align: center; }
.payment-options-inline { text-align: center; }
.payment-options-inline .btn { margin-bottom: 12px; }
.payment-or { display: block; font-size: 0.85rem; color: #aaa; margin: 8px 0; }
.payment-alt { font-size: 0.85rem; color: #888; }
.acuity-production-note { display: none; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { padding: 80px 0; background: #FFFFFF; }
.how-it-works h2 { text-align: center; font-size: 2.2rem; margin-bottom: 56px; }
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.step-item { flex: 1; max-width: 280px; text-align: center; padding: 32px 20px; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: #1F4E79; color: #FFFFFF; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step-icon { margin-bottom: 20px; }
.step-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-item p { font-size: 0.95rem; color: #666; line-height: 1.6; }
.step-connector { display: flex; align-items: center; padding-top: 80px; }

/* ---------- PAYMENT OPTIONS SECTION ---------- */
.payment-section { padding: 80px 0; background: #FFFFFF; }
.payment-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 700px; margin: 0 auto; }
.payment-card { background: #F7F8FA; border-radius: 16px; padding: 40px 28px; text-align: center; border: 1px solid #e8ecf0; transition: box-shadow 0.2s ease; }
.payment-card-interactive { background: #FFFFFF; border-color: #1F4E79; box-shadow: 0 6px 24px rgba(31,78,121,0.1); }
.payment-card-interactive:hover { box-shadow: 0 12px 40px rgba(31,78,121,0.15); }
.payment-icon { margin-bottom: 20px; }
.payment-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.payment-card p { font-size: 0.95rem; color: #666; margin-bottom: 16px; }
.btn-pay-demo { width: 100%; margin-bottom: 10px; font-size: 0.98rem; padding: 14px 24px; background: #1F4E79; border-color: #1F4E79; color: #FFFFFF; }
.btn-pay-demo:hover { background: #163a5c; border-color: #163a5c; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(31,78,121,0.3); }
.payment-demo-note { font-size: 0.78rem; color: #888; margin-bottom: 16px; line-height: 1.5; }
.payment-demo-note strong { color: #635BFF; font-family: 'Courier New', monospace; font-size: 0.88em; letter-spacing: 0.06em; }
.stripe-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #635BFF; background: #F0EFFF; padding: 6px 14px; border-radius: 20px; }

/* ---------- STRIPE MODAL ---------- */
.stripe-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 3000; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.stripe-modal-overlay.open { display: flex; }
.stripe-modal { background: #FFFFFF; border-radius: 16px; padding: 36px; width: 100%; max-width: 460px; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.18); animation: modalIn 0.28s ease; }
@keyframes modalIn { from { transform: translateY(20px) scale(0.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.stripe-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f5f5f5; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; color: #888; display: flex; align-items: center; justify-content: center; transition: background 0.15s; font-family: inherit; }
.stripe-modal-close:hover { background: #e8ecf0; color: #333; }
.stripe-modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.stripe-modal-header h3 { font-size: 1.1rem; margin: 0 0 2px; color: #1F4E79; }
.stripe-modal-header p { font-size: 0.8rem; color: #888; margin: 0; }
.stripe-order-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #F7F8FA; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; font-weight: 500; color: #2D2D2D; }
.stripe-order-price { font-weight: 800; font-size: 1.1rem; color: #1F4E79; }
.stripe-label { display: block; font-size: 0.82rem; font-weight: 600; color: #555; margin-bottom: 6px; margin-top: 14px; }
.stripe-input-box { border: 1.5px solid #d1d9e0; border-radius: 8px; padding: 12px 14px; background: #FFFFFF; transition: border-color 0.2s; min-height: 44px; }
.stripe-input-box.StripeElement--focus { border-color: #635BFF; box-shadow: 0 0 0 3px rgba(99,91,255,0.12); outline: none; }
.stripe-input-box.StripeElement--invalid { border-color: #e53e3e; }
.stripe-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stripe-error-msg { color: #e53e3e; font-size: 0.82rem; margin-top: 10px; min-height: 18px; }
.stripe-test-hint { display: flex; align-items: center; gap: 6px; background: #F0EFFF; border-radius: 8px; padding: 10px 14px; font-size: 0.8rem; color: #635BFF; margin: 16px 0 20px; line-height: 1.4; }
.stripe-test-hint strong { font-family: 'Courier New', monospace; letter-spacing: 0.08em; }
.btn-stripe-pay { width: 100%; font-size: 1rem; padding: 16px; background: #635BFF; border-color: #635BFF; color: #FFFFFF; }
.btn-stripe-pay:hover { background: #4f46e5; border-color: #4f46e5; box-shadow: 0 8px 24px rgba(99,91,255,0.35); transform: translateY(-2px); color: #FFFFFF; }
.btn-stripe-pay:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.stripe-success { text-align: center; padding: 20px 0; }
.stripe-success h3 { font-size: 1.3rem; margin: 16px 0 8px; color: #5BA94B; }
.stripe-success p { font-size: 0.9rem; color: #666; margin-bottom: 24px; line-height: 1.6; }

/* ---------- STRIPE TOAST ---------- */
.stripe-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: #1F4E79; color: #FFFFFF; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; z-index: 4000; opacity: 0; transition: all 0.4s ease; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.stripe-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(80px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---------- FAQ ---------- */
.faq-section { padding: 80px 0; background: #F7F8FA; }
.faq-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: #FFFFFF; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e8ecf0; overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; list-style: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { font-size: 1.05rem; font-weight: 600; color: #1F4E79; }
.faq-toggle { flex-shrink: 0; transition: transform 0.3s ease; color: #1F4E79; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 0.95rem; color: #555; line-height: 1.7; }
.faq-answer a { color: #1F4E79; text-decoration: underline; font-weight: 600; }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 80px 0; background: #1F4E79; text-align: center; }
.final-cta h2 { color: #FFFFFF; font-size: 2.4rem; margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.final-cta .btn-primary { background: #5BA94B; border-color: #5BA94B; font-size: 1.15rem; padding: 18px 48px; }
.final-cta .btn-primary:hover { background: #4a9340; border-color: #4a9340; box-shadow: 0 8px 30px rgba(91,169,75,0.4); color: #FFFFFF; }
.cta-phone { margin-top: 20px; font-size: 0.95rem; color: rgba(255,255,255,0.6); }
.cta-phone a { color: #FFFFFF; font-weight: 600; }

/* ---------- ACUITY EMBED ---------- */
.acuity-embed-section { max-width: 900px; margin: 0 auto; background: #FFFFFF; border-radius: 16px; border: 2px solid #5BA94B; padding: 28px; box-shadow: 0 4px 20px rgba(91,169,75,0.08); animation: stepFadeIn 0.4s ease; }
.acuity-embed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.acuity-step-badge { display: flex; align-items: flex-start; gap: 14px; }
.acuity-step-num { flex-shrink: 0; }
.acuity-embed-title { font-size: 1.15rem; color: #1F4E79; margin: 0 0 4px; display: block; }
.acuity-embed-desc { font-size: 0.88rem; color: #666; margin: 0; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: 8px; }
.acuity-reselect-date-msg { color: #D32F2F; font-size: 0.92rem; font-weight: 600; text-align: center; margin: 0 0 8px; padding: 10px 16px; background: #FFF3F3; border: 1px solid #FFCDD2; border-radius: 8px; }
.acuity-iframe-wrapper { border-radius: 12px; overflow: hidden; min-height: 700px; background: #F7F8FA; margin-bottom: 16px; }
.acuity-iframe-wrapper iframe { display: block; width: 100%; height: 800px; border: none; border-radius: 12px; }
.acuity-footer-note { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #5BA94B; font-weight: 500; justify-content: center; padding-top: 8px; border-top: 1px solid #e8ecf0; }
.booking-alt-note { max-width: 900px; margin: 24px auto 0; text-align: center; font-size: 0.9rem; color: #888; }
.booking-alt-note a { color: #1F4E79; font-weight: 600; }

/* ---------- PRICING CALENDAR ---------- */
.pricing-calendar { max-width: 560px; margin: 0 auto; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 4px; }
.cal-month-label { font-size: 1.15rem; font-weight: 700; color: #1F4E79; }
.cal-nav { background: none; border: 2px solid #e8ecf0; border-radius: 8px; width: 36px; height: 36px; font-size: 1.3rem; color: #1F4E79; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.cal-nav:hover { background: #1F4E79; color: #FFFFFF; border-color: #1F4E79; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day-header { text-align: center; font-size: 0.75rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 0; }
.cal-cell { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; font-size: 0.85rem; transition: all 0.2s ease; }
.cal-empty { background: transparent; }
.cal-past { background: #f5f5f5; color: #ccc; cursor: default; }
.cal-past .cal-day-num { color: #ccc; }
.cal-available { cursor: pointer; border: 1.5px solid transparent; }
.cal-available:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31,78,121,0.12); }
.cal-selected { border-color: #1F4E79 !important; box-shadow: 0 0 0 3px rgba(31,78,121,0.18) !important; transform: translateY(-2px); }
.cal-day-num { font-weight: 700; color: #2D2D2D; line-height: 1; }
.cal-day-price { font-size: 0.68rem; font-weight: 600; margin-top: 2px; opacity: 0.85; }
.cal-day-holiday { position: absolute; top: 3px; right: 5px; font-size: 0.55rem; color: #e53e3e; }

/* Tier colors for calendar cells */
.tier-best { background: #e8f5e9; }
.tier-best .cal-day-price { color: #388e3c; }
.tier-mid { background: #fff8e1; }
.tier-mid .cal-day-price { color: #f57c00; }
.tier-high { background: #fff3e0; }
.tier-high .cal-day-price { color: #e65100; }
.tier-premium { background: #fce4ec; }
.tier-premium .cal-day-price { color: #c62828; }

/* Calendar legend */
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e8ecf0; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: #555; font-weight: 500; }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-legend-dot.tier-best { background: #e8f5e9; border: 1px solid #a5d6a7; }
.cal-legend-dot.tier-mid { background: #fff8e1; border: 1px solid #ffe082; }
.cal-legend-dot.tier-high { background: #fff3e0; border: 1px solid #ffcc80; }
.cal-legend-dot.tier-premium { background: #fce4ec; border: 1px solid #f48fb1; }

/* ---------- TIME SLOTS ---------- */
.time-slot-date { text-align: center; font-size: 1rem; font-weight: 600; color: #1F4E79; margin: 0 0 16px; }
.time-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 8px; max-width: 700px; margin: 0 auto; }
.time-slot { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border-radius: 10px; border: 1.5px solid #e8ecf0; cursor: pointer; background: #FFFFFF; transition: all 0.2s ease; }
.time-slot:hover { border-color: #1F4E79; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31,78,121,0.1); }
.time-slot-selected { border-color: #1F4E79 !important; background: #f0f7ff !important; box-shadow: 0 0 0 3px rgba(31,78,121,0.15); }
.time-slot-time { font-size: 0.92rem; font-weight: 700; color: #2D2D2D; }
.time-slot-price { font-size: 0.85rem; font-weight: 700; color: #1F4E79; margin-top: 2px; }
.time-slot-tier { font-size: 0.68rem; color: #888; margin-top: 1px; }
.time-slot-none { text-align: center; color: #888; font-size: 0.95rem; padding: 24px; }

/* Time slot tier colors */
.time-slot.tier-best { background: #f0fbf0; border-color: #c8e6c9; }
.time-slot.tier-best .time-slot-price { color: #388e3c; }
.time-slot.tier-mid { background: #fffbf0; border-color: #ffe082; }
.time-slot.tier-mid .time-slot-price { color: #f57c00; }
.time-slot.tier-high { background: #fff8f0; border-color: #ffcc80; }
.time-slot.tier-high .time-slot-price { color: #e65100; }
.time-slot.tier-premium { background: #fff0f3; border-color: #f48fb1; }
.time-slot.tier-premium .time-slot-price { color: #c62828; }

/* ---------- CUSTOM TIME REQUEST ---------- */
.custom-time-section { max-width: 700px; margin: 20px auto 0; text-align: center; }
.custom-time-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; color: #1F4E79; font-size: 0.88rem;
    font-weight: 600; cursor: pointer; padding: 8px 14px;
    border-radius: 8px; transition: background 0.2s, color 0.2s;
}
.custom-time-toggle:hover { background: #1F4E79; color: #FFFFFF; }
.custom-time-toggle:hover .custom-time-toggle-icon { background: #FFFFFF; color: #1F4E79; }
.custom-time-toggle-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: #1F4E79; color: #fff; font-size: 0.85rem;
    font-weight: 700; line-height: 1;
}
.custom-time-form-wrapper {
    margin-top: 14px; padding: 22px 20px 20px;
    background: #f9fbfe; border: 1px solid #dce6f0;
    border-radius: 12px; text-align: left;
    animation: ctSlideDown 0.25s ease-out;
}
@keyframes ctSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.custom-time-form-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}
.custom-time-field label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: #2D2D2D; margin-bottom: 4px;
}
.custom-time-field input,
.custom-time-field textarea,
.custom-time-field select {
    width: 100%; padding: 9px 12px; border: 1px solid #cfd8e3;
    border-radius: 8px; font-size: 0.88rem; color: #333;
    background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; font-family: inherit;
}
.custom-time-field input[type="date"] {
    cursor: pointer;
}
.custom-time-field input:focus,
.custom-time-field textarea:focus,
.custom-time-field select:focus {
    outline: none; border-color: #1F4E79;
    box-shadow: 0 0 0 3px rgba(31,78,121,0.1);
}
.custom-time-date-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #eaf2fb; color: #1F4E79; font-size: 0.78rem;
    padding: 5px 12px; border-radius: 6px; margin: 12px 0 4px;
}
.custom-time-submit {
    margin-top: 12px; padding: 11px 28px !important;
    font-size: 0.92rem !important; border-radius: 8px !important;
}
.custom-time-success {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 24px 16px; text-align: center;
}
.custom-time-success-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #5BA94B; color: #fff; font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
}
.custom-time-success p { font-size: 0.92rem; color: #333; margin: 0; }

@media (max-width: 520px) {
    .custom-time-form-grid { grid-template-columns: 1fr; }
    .custom-time-form-wrapper { padding: 16px 14px; }
}

/* ---------- PRICING SUMMARY BOX ---------- */
.pricing-summary-box { max-width: 700px; margin: 36px auto 0; background: #F7F8FA; border-radius: 14px; padding: 28px 24px; border: 1px solid #e8ecf0; }
.pricing-summary-box h4 { text-align: center; font-size: 1.1rem; color: #1F4E79; margin: 0 0 16px; }
.pricing-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pricing-summary-item { padding: 12px 16px; border-radius: 10px; display: flex; flex-direction: column; gap: 3px; }
.pricing-summary-item strong { font-size: 0.85rem; color: #2D2D2D; }
.pricing-summary-item span { font-size: 0.78rem; color: #555; }
.tier-best-bg { background: #e8f5e9; border: 1px solid #c8e6c9; }
.tier-mid-bg { background: #fff8e1; border: 1px solid #ffe082; }
.tier-high-bg { background: #fff3e0; border: 1px solid #ffcc80; }
.tier-premium-bg { background: #fce4ec; border: 1px solid #f48fb1; }

/* ---------- ADD-ONS PRICING ---------- */
.addons-section { max-width: 700px; margin: 40px auto 0; text-align: center; }
.addons-section h3 { font-size: 1.3rem; color: #1F4E79; margin-bottom: 20px; }
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #FFFFFF; border: 1px solid #e8ecf0; border-radius: 10px; transition: all 0.2s ease; }
.addon-item:hover { border-color: #1F4E79; box-shadow: 0 2px 8px rgba(31,78,121,0.06); }
.addon-label { font-size: 0.88rem; font-weight: 500; color: #2D2D2D; text-align: left; }
.addon-price { font-size: 0.9rem; font-weight: 700; color: #1F4E79; white-space: nowrap; margin-left: 12px; }

/* ---------- CONTACT FORM ---------- */
.contact-section { padding: 80px 0; background: #FFFFFF; }
.contact-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 12px; }
.contact-form { max-width: 520px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #2D2D2D; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #d1d9e0; border-radius: 10px; font-family: inherit; font-size: 1rem; color: #2D2D2D; background: #FFFFFF; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #1F4E79; box-shadow: 0 0 0 3px rgba(31,78,121,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aab7c4; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-contact-submit { width: 100%; margin-top: 8px; }
.contact-note { text-align: center; font-size: 0.82rem; color: #888; margin-top: 16px; }
.contact-success { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 20px; }
.contact-success h3 { color: #5BA94B; font-size: 1.4rem; margin: 16px 0 8px; }
.contact-success p { color: #666; font-size: 1rem; }

/* ---------- FOOTER ---------- */
.site-footer { padding: 40px 0; background: #FFFFFF; border-top: 1px solid #e8ecf0; }
.footer-content { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 40px; width: auto; display: block; object-fit: contain; margin: 0 auto; }
.footer-info { margin-bottom: 16px; }
.footer-info p { font-size: 0.85rem; color: #888; margin-bottom: 4px; }
.footer-info a { color: #1F4E79; font-weight: 600; }
.footer-bottom p { font-size: 0.8rem; color: #aaa; }

/* ---------- MOBILE CALL BUTTON ---------- */
.mobile-call-btn { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #1F4E79; color: #FFFFFF; padding: 14px 24px; border-radius: 50px; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 6px 24px rgba(31,78,121,0.35); transition: all 0.3s ease; text-decoration: none; }
.mobile-call-btn:hover { background: #163a5c; color: #FFFFFF; transform: translateY(-2px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .pricing-grid-2col { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); padding-top: 0; }
    .payment-grid { grid-template-columns: 1fr; max-width: 400px; }
    .calendar-wrapper { grid-template-columns: 1fr; }
    .size-options { grid-template-columns: 1fr; }
    .city-options { grid-template-columns: 1fr; }
    .city-options-3 { grid-template-columns: 1fr; }
    .addons-grid { grid-template-columns: 1fr; }
    .pricing-summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .price-features {
        text-align: left;
    }
    .price-features li {
        justify-content: flex-start;
    }
    .hero { padding: 150px 0 70px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-desc { font-size: 1rem; }
    .pricing-section h2, .how-it-works h2, .schedule-section h2, .payment-section h2, .faq-section h2, .final-cta h2, .contact-section h2 { font-size: 1.8rem; }
    .badges-grid { grid-template-columns: 1fr; gap: 20px; }
    .main-nav { display: none; position: fixed; top: 80px; left: 0; right: 0; background: #FFFFFF; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid #e8ecf0; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
    .main-nav.active { display: flex; }
    .nav-link { width: 100%; text-align: center; padding: 12px 16px; }
    .mobile-toggle { display: flex; }
    .mobile-call-btn { display: flex; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; max-width: 320px; }
    .pricing-section, .how-it-works, .schedule-section, .payment-section, .faq-section, .final-cta, .contact-section { padding: 60px 0; }
    .booking-step { padding: 24px 20px; }
    .stripe-modal { padding: 24px 20px; }
    .stripe-card-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .price { font-size: 2.5rem; }
    .logo-img { height: 44px; }
    .logo-ccb-badge { font-size: 0.6rem; }
    .footer-logo-img { height: 32px; }
    .cal-cell { border-radius: 6px; }
    .cal-day-num { font-size: 0.75rem; }
    .cal-day-price { font-size: 0.58rem; }
    .cal-legend { gap: 8px; }
    .cal-legend-item { font-size: 0.68rem; }
    .time-slot-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
    .time-slot { padding: 10px 6px; }
    .time-slot-time { font-size: 0.82rem; }
    .time-slot-price { font-size: 0.78rem; }
    .pricing-summary-box { padding: 20px 16px; }
    .pricing-summary-item { padding: 10px 12px; }
}

/* ---------- ANIMATIONS ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- ACUITY BOOKING CONFIRMATION BANNER ---------- */
/* Shown on the parent page after Acuity fires its postMessage confirm event */
#acuityConfirmBanner {
    display: none;
    margin: 40px auto;
    max-width: 640px;
    padding: 0 20px;
}
#acuityConfirmBanner.visible {
    display: block;
}
.acuity-confirm-inner {
    background: #ffffff;
    border: 2px solid #5BA94B;
    border-radius: 16px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(31, 78, 121, 0.10);
}
.acuity-confirm-icon {
    width: 60px;
    height: 60px;
    background: #5BA94B;
    color: #ffffff;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 60px;
    margin: 0 auto 20px;
    font-weight: 700;
}
.acuity-confirm-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1F4E79;
    margin: 0 0 12px;
}
.acuity-confirm-body {
    font-size: 1.05rem;
    color: #2D2D2D;
    margin: 0 0 16px;
    line-height: 1.6;
}
.acuity-confirm-contact {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}
.acuity-confirm-contact a {
    color: #1F4E79;
    text-decoration: none;
    font-weight: 600;
}
.acuity-confirm-contact a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .acuity-confirm-inner { padding: 28px 20px; }
    .acuity-confirm-title { font-size: 1.4rem; }
}
