/* San Diego Water Cleanup | High-Converting Visual CSS */
:root {
    --primary: #0f2744;
    --primary-dark: #071526;
    --accent: #d92228;
    --accent-hover: #b8171d;
    --accent-light: #fef2f2;
    --secondary: #0369a1;
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.12), 0 4px 8px -2px rgba(0,0,0,0.06);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--text-main); background: #ffffff; line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    z-index: 99999;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    transition: top 0.2s ease-in-out;
}
.skip-link:focus {
    top: 12px;
}

/* Document Outline Normalization */
.johnson-box__title {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 6px;
    line-height: 1.3;
}
.cta-banner-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}
.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Top Emergency Bar */
.top-bar { background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 0; text-align: center; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 12px; }
.top-bar__status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.live-dot { display: inline-block; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; flex-shrink: 0; }
.top-bar__insurance { color: #ffffff; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; height: 74px; gap: 12px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); flex-shrink: 0; }
.logo-badge { background: var(--accent); color: #fff; font-weight: 900; font-size: 12px; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.05em; }
.logo-text { font-size: 18px; letter-spacing: -0.01em; color: var(--primary); font-weight: 800; white-space: nowrap; }
.logo-text strong { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-mobile-actions { display: none; }
.header-call-btn-desktop { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.nav-call-item-mobile { display: none; }

.menu-toggle { display: none; background: none; border: 1px solid var(--border); font-size: 24px; padding: 4px 10px; border-radius: 6px; cursor: pointer; color: var(--primary); }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; align-items: center; gap: 12px; }
.nav-list a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 14.5px; transition: color 0.15s; white-space: nowrap; }
.nav-list a:hover { color: var(--accent); }

.nav-btn-estimate { background: var(--bg-alt); color: var(--primary) !important; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border); font-size: 13.5px !important; white-space: nowrap; }
.nav-btn-estimate:hover { background: #e2e8f0; color: var(--primary) !important; }
.nav-btn-call { background: var(--accent); color: #fff !important; padding: 8px 13px; border-radius: 6px; font-size: 13.5px !important; box-shadow: 0 2px 8px rgba(217,34,40,0.3); text-decoration: none; font-weight: 800; white-space: nowrap; }
.nav-btn-call:hover { background: var(--accent-hover); }

/* Minimal Distraction-Free Wizard Header */
.wizard-header { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; box-shadow: var(--shadow-sm); }
.wizard-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Insurance Callout Card */
.insurance-callout-card {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 0 24px 0;
    box-shadow: var(--shadow-sm);
}
.insurance-callout-card__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.zero-cost-pill {
    background: #15803d;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    display: inline-block;
}
.insurance-callout-card__content p {
    font-size: 15px;
    color: #166534;
    line-height: 1.55;
    margin: 0;
}
.insurance-callout-card__content strong {
    color: #14532d;
}

/* Hero Visual Split & Inner */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 48px 0 42px; position: relative; overflow: hidden; }
.hero__inner { max-width: 860px; }
.hero__text { min-width: 0; }
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(217,34,40,0.25); border: 1px solid var(--accent); color: #fca5a5; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.hero h1 { font-size: 38px; line-height: 1.16; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; line-height: 1.55; color: #e2e8f0; margin-bottom: 24px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 13.5px; font-weight: 600; color: #cbd5e1; margin-top: 8px; }
.btn-emergency { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 800; padding: 14px 26px; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 14px rgba(217,34,40,0.4); transition: transform 0.15s, background 0.15s; }
.btn-emergency:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; background: rgba(255,255,255,0.12); color: #fff; font-size: 16px; font-weight: 700; padding: 14px 22px; border-radius: 8px; text-decoration: none; border: 1px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.22); }
.btn-outline-dark { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--primary); font-size: 15.5px; font-weight: 700; padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 2px solid var(--primary); transition: background 0.15s, color 0.15s; }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }

/* Hero Visual Card */
.hero-visual-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.hero-visual-card img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; }
.hero-visual-overlay { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(15,39,68,0.92); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: space-between; align-items: center; }
.hero-visual-overlay .dispatch-status { font-size: 13px; font-weight: 800; color: #4ade80; display: flex; align-items: center; gap: 6px; }
.hero-visual-overlay .dispatch-status::before { content: ""; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.hero-visual-overlay .dispatch-time { font-size: 12px; color: #e2e8f0; font-weight: 600; }

/* Certification Strip */
.cert-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 16px 0; }
.cert-strip__inner { display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.cert-item img { height: 38px; width: auto; object-fit: contain; }

/* Insurance Carrier Logo Grid */
.insurance-section { background: #fff; padding: 32px 0 20px; border-bottom: 1px solid var(--border); text-align: center; }
.insurance-tagline { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary); margin-bottom: 16px; }
.insurance-grid { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.insurance-logo { height: 30px; width: auto; object-fit: contain; opacity: 0.78; transition: opacity 0.2s; filter: grayscale(100%); }
.insurance-logo:hover { opacity: 1; filter: grayscale(0%); }
.insurance-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; font-weight: 600; }

/* 3-Paragraph Opening / Snippet Play */
.snippet-section { padding: 40px 0 20px; background: #fff; }
.snippet-box { font-size: 17px; line-height: 1.7; color: var(--text-main); }
.snippet-play { font-size: 19px; font-weight: 600; color: var(--primary); line-height: 1.6; margin-bottom: 16px; padding-left: 16px; border-left: 4px solid var(--accent); }
.snippet-reassurance { font-size: 17px; color: var(--text-muted); margin-bottom: 14px; }
.snippet-teaser { font-size: 16px; color: var(--text-main); margin-bottom: 10px; font-style: italic; }

/* Johnson Box */
.johnson-box { background: var(--accent-light); border: 2px solid var(--accent); border-radius: 10px; padding: 26px; margin: 26px 0 36px; box-shadow: var(--shadow-sm); }
.johnson-box__header { margin-bottom: 16px; }
.johnson-box__badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.johnson-box__list { list-style: none; margin-bottom: 20px; }
.johnson-box__list li { padding: 9px 0; font-size: 15.5px; border-bottom: 1px solid rgba(217,34,40,0.15); line-height: 1.5; }
.johnson-box__list li:last-child { border-bottom: none; }
.johnson-box__cta { text-align: center; padding-top: 10px; }
.btn-dispatch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; font-size: 19px; font-weight: 800; padding: 15px 30px; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 14px rgba(217,34,40,0.35); }
.btn-dispatch:hover { background: var(--accent-hover); }
.phone-icon { display: inline-block; line-height: 1; }
.cta-micro-copy { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; font-weight: 600; }

/* Visual Content Sections */
.section { padding: 50px 0; }
.section--alt { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 29px; font-weight: 800; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.01em; }
.section-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; max-width: 780px; }

/* Card with Image Header */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; margin: 28px 0; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.15s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-img-wrap { width: 100%; height: 200px; overflow: hidden; position: relative; background: var(--bg-alt); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img-wrap img { transform: scale(1.04); }
.card-content { padding: 22px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.card a.read-more { font-weight: 700; color: var(--secondary); text-decoration: none; margin-top: auto; display: inline-flex; align-items: center; gap: 4px; }
.card a.read-more:hover { color: var(--accent); }

/* Regional Coverage Directory */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin: 24px 0; }
.region-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 8px; padding: 22px; box-shadow: var(--shadow-sm); }
.region-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.region-card h3 { font-size: 19px; font-weight: 800; color: var(--primary); margin: 0; }
.region-badge { font-size: 11.5px; font-weight: 700; color: #166534; background: #dcfce7; padding: 3px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; }
.region-cities { font-size: 14.5px; color: var(--text-main); margin-bottom: 12px; line-height: 1.6; }
.region-cities strong { color: var(--primary); }
.region-risks { font-size: 13.5px; color: var(--text-muted); background: var(--bg-light); padding: 10px 12px; border-radius: 6px; margin-bottom: 14px; line-height: 1.5; }
.region-action { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--border); }
.region-action a { color: var(--secondary); text-decoration: none; }
.region-action a:hover { color: var(--accent); }

/* ZIP Matrix Callout */
.zip-matrix { background: #fff; border: 2px solid var(--primary); border-radius: 12px; padding: 28px; margin: 28px 0; }
.zip-matrix__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.zip-matrix__col { background: var(--bg-light); border-radius: 8px; padding: 16px 18px; border: 1px solid var(--border); }
.zip-matrix__title { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.zip-matrix__codes { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Suburb Visual Card */
.suburb-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.15s; }
.suburb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.suburb-card img { width: 100%; height: 160px; object-fit: cover; }
.suburb-card-body { padding: 18px 20px; }
.suburb-card h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.suburb-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 10px; }

/* Process Steps */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 28px 0; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px; position: relative; }
.step-number { font-size: 32px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--text-muted); }

/* Pricing Table */
.pricing-table-wrap { overflow-x: auto; margin: 28px 0; }
.pricing-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; }
.pricing-table th { background: var(--primary); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; }
.pricing-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) { background: var(--bg-light); }

/* Image CTA Banner */
.image-cta-container { margin: 38px 0; }
.image-cta-banner { display: block; background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); color: #fff; text-decoration: none; border-radius: 12px; padding: 32px 28px; text-align: center; border: 2px solid #ef4444; box-shadow: var(--shadow-md); transition: transform 0.15s; }
.image-cta-banner:hover { transform: translateY(-2px); }
.cta-banner-content p { font-size: 16px; color: #ffffff; margin-bottom: 18px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-banner-content p.cta-banner-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.cta-badge { display: inline-block; background: #fff; color: #b91c1c; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }
.cta-button-simulation { display: inline-block; background: #fff; color: #991b1b; font-weight: 900; font-size: 17px; padding: 13px 26px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }

/* FAQs */
.faq-grid { display: grid; gap: 16px; margin: 24px 0; }
.faq-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--secondary); border-radius: 6px; padding: 18px 22px; }
.faq-question { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.faq-answer { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Link Lists */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 20px 0; list-style: none; }
.link-grid li a { display: block; background: #fff; border: 1px solid var(--border); padding: 11px 14px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--primary); transition: background 0.15s, color 0.15s; }
.link-grid li a:hover { background: var(--bg-alt); color: var(--accent); }

/* Estimate Wizard & Form Card */
.estimate-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 2px solid var(--primary); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-md); }
.phone-estimate-card { background: #fff; border: 2px solid var(--accent); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-md); text-align: center; }
.badge { background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.04em; display: inline-block; }
.form-group { margin-bottom: 16px; text-align: left; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid #64748b; border-radius: 6px; font-size: 15px; font-family: inherit; color: var(--text-main); background: #fff; }
.form-control:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(3,105,161,0.18); }
.form-help { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-main); margin: 16px 0; line-height: 1.45; cursor: pointer; }
.form-checkbox input[type="checkbox"] { margin-top: 4px; width: 17px; height: 17px; flex-shrink: 0; }
.form-error-banner { display: none; background: #fef2f2; border: 1px solid #ef4444; color: #991b1b; padding: 12px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.form-error-banner.active { display: block; }
.btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 15px 22px; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(217,34,40,0.3); transition: background 0.15s; }
.btn-submit:hover { background: var(--accent-hover); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #cbd5e1; padding: 48px 0 80px; border-top: 3px solid var(--accent); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col { min-width: 0; }
.footer-logo { font-size: 19px; color: #fff; margin-bottom: 12px; font-weight: 800; }
.footer-logo strong { color: var(--accent); }
.footer-desc { line-height: 1.6; margin-bottom: 14px; font-size: 13.5px; color: #cbd5e1; }
.footer-legal-notice { font-size: 12.5px; line-height: 1.5; color: #94a3b8; }
.footer-legal-notice a { color: #cbd5e1; text-decoration: underline; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-cert-badges { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.footer-cert-badges img { height: 32px; width: auto; object-fit: contain; background: #fff; padding: 2px 4px; border-radius: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 12.5px; color: #94a3b8; }
.footer-bottom__inner { display: flex; flex-direction: column; gap: 8px; }
.footer-disclaimer-fine { line-height: 1.55; color: #94a3b8; }
.footer-disclaimer-fine a { color: #cbd5e1; }

.wizard-footer { background: var(--primary-dark); color: #94a3b8; padding: 28px 0 80px; border-top: 3px solid var(--accent); text-align: center; font-size: 13px; }
.wizard-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 12px; }
.wizard-footer__links a { color: #cbd5e1; text-decoration: none; }
.wizard-footer__links a:hover { color: #fff; text-decoration: underline; }

/* Cookie Consent Banner */
.cookie-banner { display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 580px; margin: 0 auto; background: #0f2744; color: #f8fafc; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow-lg); z-index: 1200; }
.cookie-banner.active { display: block; }
.cookie-inner { display: flex; flex-direction: column; gap: 12px; }
.cookie-text { font-size: 13px; line-height: 1.5; color: #e2e8f0; }
.cookie-text a { color: #93c5fd; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.btn-cookie { background: transparent; color: #e2e8f0; border: 1px solid #64748b; padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-cookie-accept { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Scroll clearance for sticky headers, mobile dispatch bar, and cookie banner */
.btn-submit, .btn-dispatch, .btn-emergency, .btn-outline-dark {
    scroll-margin-top: 90px;
    scroll-margin-bottom: 100px;
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(185, 28, 28, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.28);
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}
.sticky-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #b91c1c !important;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    letter-spacing: -0.01em;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.15s, transform 0.1s;
}
.sticky-call-btn:active {
    transform: scale(0.98);
    background: #fef2f2;
}
.sticky-call-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}
.sticky-call-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.phone-nowrap {
    white-space: nowrap;
    font-weight: 900;
    letter-spacing: 0.02em;
}

/* Breadcrumb */
.breadcrumb { padding: 12px 0; background: var(--bg-light); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.breadcrumb span.sep { margin: 0 6px; color: #94a3b8; }

/* Responsive */
@media (min-width: 769px) {
    .cookie-banner { max-width: 960px; padding: 11px 18px; bottom: 12px; }
    .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
    .cookie-actions { flex-shrink: 0; }
    .wizard-footer, .site-footer { padding-bottom: 96px; }
}

@media (min-width: 1025px) {
    .cookie-banner { left: auto; right: 20px; bottom: 20px; max-width: 380px; margin: 0; padding: 14px 16px; }
    .cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .wizard-footer, .site-footer { padding-bottom: 160px; }
}

@media (max-width: 1159px) {
    /* Mobile / Tablet Drawer Navigation */
    .site-header__inner { height: 64px; }
    .header-call-btn-desktop { display: none; }
    .header-mobile-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .header-call-btn-mobile { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: #fff !important; text-decoration: none; font-size: 13.5px; font-weight: 800; padding: 7px 12px; border-radius: 6px; box-shadow: 0 2px 6px rgba(217,34,40,0.3); white-space: nowrap; }
    .menu-toggle { display: block; padding: 6px 10px; font-size: 20px; line-height: 1; }

    .site-nav { display: none; width: 100%; position: absolute; top: 64px; left: 0; background: #fff; border-bottom: 3px solid var(--accent); padding: 16px 20px 24px; box-shadow: var(--shadow-lg); z-index: 200; }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 8px; }
    .nav-list li { width: 100%; }
    .nav-list a { display: block; padding: 10px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
    .nav-btn-estimate { text-align: center !important; margin-top: 8px; padding: 12px !important; font-size: 15px !important; border-radius: 6px !important; }
    .nav-call-item-mobile { display: block; }
    .nav-call-item-mobile .nav-btn-call { text-align: center !important; margin-top: 6px; padding: 13px !important; font-size: 16px !important; border-radius: 6px !important; width: 100%; box-sizing: border-box; white-space: normal; line-height: 1.3; }
}

@media (max-width: 1024px) {
    .wrap { padding: 0 16px; }
    .top-bar { font-size: 11px; padding: 6px 0; }
    .top-bar__inner { gap: 8px; }
    .hero-split { grid-template-columns: 1fr; }
    .hero-visual-card img { height: 260px; }
    .estimate-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { font-size: 12px; padding: 6px 0; line-height: 1.3; }
    .top-bar__inner { justify-content: center; text-align: center; }
    .top-bar__insurance { display: none; }
    .top-bar__status { white-space: normal; text-align: center; font-size: 12px; justify-content: center; }

    .site-header__inner { gap: 10px; }
    .site-logo { gap: 6px; min-width: 0; flex-shrink: 1; }
    .logo-badge { font-size: 11px; padding: 2px 6px; flex-shrink: 0; }
    .logo-text { font-size: 15px; white-space: nowrap; }
    .header-mobile-actions { flex-shrink: 0; }

    .hero { padding: 30px 0 26px; }
    .hero h1 { font-size: 24px; line-height: 1.22; margin-bottom: 12px; }
    .hero p.lead { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
    .hero__actions { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 16px; }
    .btn-emergency, .btn-secondary, .btn-outline-dark { width: 100%; text-align: center; justify-content: center; font-size: 15.5px; padding: 14px 14px; box-sizing: border-box; line-height: 1.3; white-space: normal; }
    .btn-dispatch { width: 100%; display: flex; text-align: center; font-size: 15px; padding: 14px 14px; box-sizing: border-box; line-height: 1.35; white-space: normal; }
    .cta-button-simulation { width: 100%; display: block; text-align: center; font-size: 14.5px; padding: 12px 14px; box-sizing: border-box; line-height: 1.3; white-space: normal; }
    .image-cta-banner { padding: 24px 16px; }
    .cta-banner-content p.cta-banner-title { font-size: 21px; }

    .form-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .snippet-section { padding: 28px 0 16px; }
    .snippet-play { font-size: 17px; padding-left: 12px; }
    .insurance-callout-card { padding: 14px 16px; }
    .insurance-callout-card__badge { font-size: 12px; gap: 6px; }
    .insurance-callout-card__content p { font-size: 14px; }

    .grid-3 { gap: 18px; margin: 20px 0; }
    .card-content { padding: 16px; }
    .suburb-card-body { padding: 16px; }

    .cert-strip { padding: 12px 0; }
    .cert-strip__inner { gap: 14px; justify-content: flex-start; }
    .cert-item { font-size: 12px; }
    .cert-item img { height: 28px; }
    .insurance-section { padding: 22px 0 16px; }
    .insurance-grid { gap: 14px; }
    .insurance-logo { height: 24px; }

    .sticky-mobile-bar { display: block; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .cookie-banner { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
    .wizard-footer { padding-bottom: 240px; }
    .btn-submit, .btn-dispatch, .btn-emergency, .btn-outline-dark { scroll-margin-bottom: 220px; }
}

@media (max-width: 480px) {
    .site-header__inner { gap: 8px; }
    .site-logo { gap: 5px; }
    .logo-badge { font-size: 10px; padding: 2px 5px; }
    .logo-text { font-size: 13px; white-space: normal; line-height: 1.15; }
    .header-mobile-actions { gap: 6px; }
    .header-call-btn-mobile { font-size: 12px; padding: 6px 8px; }
    .menu-toggle { padding: 5px 9px; font-size: 19px; }
    .hero h1 { font-size: 21px; }
    .sticky-call-btn { font-size: 13.5px; padding: 10px 8px; }
    .sticky-call-icon { font-size: 16px; }
    .btn-emergency, .btn-secondary, .btn-dispatch { font-size: 14.5px; padding: 12px 10px; }
    .cookie-banner { padding: 12px 14px; }
    .cookie-inner { gap: 8px; }
    .cookie-text { font-size: 12px; line-height: 1.4; }
    .btn-cookie { padding: 6px 12px; font-size: 12.5px; }
    .btn-submit, .btn-dispatch, .btn-emergency, .btn-outline-dark { scroll-margin-bottom: 240px; }
}

@media (max-width: 360px) {
    .logo-text { font-size: 11.5px; }
    .logo-badge { font-size: 9.5px; padding: 2px 4px; }
    .header-call-btn-mobile { font-size: 11.5px; padding: 6px 7px; }
}
