/**
 * Sacraw Brand Utilities
 * Brand color utilities, component classes, and overrides compiled utilities can't express.
 */

/* Brand color utilities */
.text-brand { color: var(--color-primary); }
.text-brand-accent { color: var(--color-accent); }
.text-brand-muted { color: var(--color-text-muted); }
.text-brand-body { color: var(--color-text); }
.text-brand-success { color: var(--color-success); }
.text-brand-error { color: var(--color-error); }
.text-brand-border { color: var(--color-border); }
.bg-brand { background-color: var(--color-primary); }
.bg-brand-light { background-color: rgba(0, 51, 153, 0.08); }
.bg-brand-accent { background-color: var(--color-accent); }
.bg-brand-success { background-color: var(--color-success); }
.bg-brand-primary-light { background-color: var(--color-primary-light); }
.bg-brand-border { background-color: var(--color-border); }
.bg-brand-surface { background-color: var(--color-surface, #F7F5F1); }
.bg-brand-error-soft { background-color: #fef2f2; }
.border-brand { border-color: var(--color-primary); }
.border-brand-error { border-color: var(--color-error); }
.font-body { font-family: var(--font-body); }

/* Price Breakdown sidebar — widen so "Medical + Trip Protection" fits */
.sacraw-price-breakdown {
    width: 16rem;
}
@media (min-width: 1024px) {
    .sacraw-price-breakdown {
        width: 17rem;
    }
}

/* Flatpickr brand theming (navy range, orange today) */
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange,
.flatpickr-calendar .flatpickr-day.selected:focus,
.flatpickr-calendar .flatpickr-day.startRange:focus,
.flatpickr-calendar .flatpickr-day.endRange:focus,
.flatpickr-calendar .flatpickr-day.selected:hover,
.flatpickr-calendar .flatpickr-day.startRange:hover,
.flatpickr-calendar .flatpickr-day.endRange:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}
.flatpickr-calendar .flatpickr-day.inRange,
.flatpickr-calendar .flatpickr-day.inRange:hover {
    background: rgba(0, 51, 153, 0.12) !important;
    border-color: rgba(0, 51, 153, 0.12) !important;
    color: var(--color-text) !important;
    box-shadow: -5px 0 0 rgba(0, 51, 153, 0.12), 5px 0 0 rgba(0, 51, 153, 0.12) !important;
}
.flatpickr-calendar .flatpickr-day.today {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
}
.flatpickr-calendar .flatpickr-day.today:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #fff !important;
}
.flatpickr-calendar .flatpickr-day.today.selected,
.flatpickr-calendar .flatpickr-day.today.startRange,
.flatpickr-calendar .flatpickr-day.today.endRange {
    color: #fff !important;
    border-color: var(--color-primary) !important;
}

/* 3-card differentiator grid (cream cards) */
.sacraw-diff-card {
    background: var(--color-surface, #F7F5F1);
    border: 1px solid var(--color-border, rgba(10, 22, 40, 0.08));
    border-radius: 14px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.sacraw-diff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 51, 153, 0.25);
    box-shadow: 0 10px 24px rgba(0, 20, 60, 0.08);
}
.sacraw-diff-icon {
    color: var(--color-primary, #003399);
    margin-bottom: 18px;
    line-height: 0;
}
.sacraw-diff-title {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-text, #0A1628);
    margin: 0 0 10px;
    font-weight: 400;
}
.sacraw-diff-body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted, #4A5568);
    margin: 0;
}

/* Stat band (4 numbers under diff cards) */
.sacraw-diff-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 24px;
    background: var(--color-surface-alt, #fafaf7);
    border-top: 1px solid var(--color-border, rgba(10, 22, 40, 0.08));
    border-bottom: 1px solid var(--color-border, rgba(10, 22, 40, 0.08));
    border-radius: 12px;
}
@media (min-width: 768px) {
    .sacraw-diff-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 24px 32px;
    }
}
.sacraw-diff-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 14px;
}
@media (min-width: 768px) {
    .sacraw-diff-stat + .sacraw-diff-stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: var(--color-border, rgba(10, 22, 40, 0.12));
    }
}
.sacraw-diff-stat-num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1;
    color: var(--color-primary, #003399);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.sacraw-diff-stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-text-muted, #4A5568);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Tighten the dead space below the stat band / trust line before "Available plan options" */
section[aria-labelledby="why-sacraw-heading"] { padding-bottom: 1.75rem; }
@media (min-width: 768px) {
    section[aria-labelledby="why-sacraw-heading"] { padding-bottom: 2.5rem; }
}

/* ── Accessible disabled state for primary buttons (WCAG AA) ──
   The Tailwind `disabled:opacity-50` utility faded the orange (#ff933b) background AND
   the label to 50% — the low-contrast "faded peach" Continue button. Replace with a
   solid muted treatment (gray-200 bg / gray-600 text ≈ 6.3:1). */
.btn-primary:disabled,
.btn-primary[disabled] {
    opacity: 1 !important;          /* defeat the equal-specificity disabled:opacity-50 utility */
    background-color: #d1d5db;      /* gray-300 — reads clearly as a button against the white footer */
    color: #374151;                 /* gray-700 ≈ 7:1 on the button */
    box-shadow: none;
    cursor: not-allowed;
}

/* ── Bottom-chrome stacking ──
   Keep the cookie banner above the chat FAB everywhere so its Accept/dismiss controls
   are never obscured (removes the FAB-over-cookie misclick risk). */
.cookie-consent-banner { z-index: 9999; }   /* chat FAB is z-index:9998 */

/* On the quote funnel a full-width sticky "Continue"/"Complete Purchase" bar owns the
   bottom edge. Lift the cookie banner and the chat FAB above it so neither overlaps the
   primary CTA. Scoped via :has() to the only page that renders .sacraw-sticky-bar. */
body:has(.sacraw-sticky-bar) .cookie-consent-banner { bottom: 4.5rem; }
body:has(.sacraw-sticky-bar) .sacraw-chat { bottom: 5.5rem; }
@media (max-width: 640px) {
    body:has(.sacraw-sticky-bar) .sacraw-chat { bottom: 5rem; }
}

/* While the (one-time) cookie banner is open, hide the chat FAB so the two never crowd
   each other. `sacraw-cookie-open` is toggled on <body> by the cookie banner's x-effect;
   the FAB returns the moment consent is given. */
body.sacraw-cookie-open .sacraw-chat {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms ease;
}

/* About hero (full-bleed image + centered title card) */
.sacraw-about-hero {
    position: relative;
    height: clamp(320px, 40vh, 480px);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.sacraw-about-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.sacraw-about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
.sacraw-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 20, 60, 0.40) 0%, rgba(0, 20, 60, 0.62) 100%);
}
.sacraw-about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
}
.sacraw-about-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent, #FF933B);
    margin-bottom: 14px;
}
.sacraw-about-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    font-weight: 400;
}
.sacraw-about-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 640px;
}

/* About mission card */
.sacraw-about-mission {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.sacraw-about-mission-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text, #0A1628);
}
.sacraw-about-mission-body h2,
.sacraw-about-mission-body h3 {
    font-family: var(--font-display);
    text-align: center;
    margin-top: 2em;
}
.sacraw-about-mission-body ul {
    text-align: left;
    max-width: 520px;
    margin: 1.25em auto;
}
.sacraw-about-mission-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* Claims emergency band */
.sacraw-emergency-band {
    background: var(--color-primary, #003399);
    color: #fff;
    padding: 28px 0 32px;
    position: relative;
    overflow: hidden;
}
.sacraw-emergency-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(255, 147, 59, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.sacraw-emergency-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.sacraw-emergency-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent, #FF933B);
}
.sacraw-emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 120ms ease, transform 120ms ease;
}
.sacraw-emergency-phone:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.sacraw-emergency-phone-icon {
    color: var(--color-accent, #FF933B);
    flex-shrink: 0;
    width: clamp(28px, 3.5vw, 40px);
    height: clamp(28px, 3.5vw, 40px);
}
.sacraw-emergency-phone-number { color: #fff; }
.sacraw-emergency-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    margin: 4px 0 0;
    max-width: 560px;
}

/* Secondary button (About CTAs) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: transparent;
    color: var(--color-primary, #003399);
    border: 1.5px solid var(--color-primary, #003399);
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}
.btn-secondary:hover {
    background: var(--color-primary, #003399);
    color: #fff;
}

/* CTA banner (solid navy panel) */
.sacraw-cta-banner {
    position: relative;
    background: var(--color-primary, #003399);
    color: #fff;
    padding: 72px 0 80px;
    overflow: hidden;
    isolation: isolate;
}
.sacraw-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 30%, rgba(255, 147, 59, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 55% 75% at 15% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.sacraw-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.sacraw-cta-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.sacraw-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}
.sacraw-cta-headline {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 14px;
    font-weight: 400;
    letter-spacing: -0.015em;
}
.sacraw-cta-body {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 32px;
    max-width: 540px;
}
.sacraw-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    flex-wrap: wrap;
}
.sacraw-cta-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.22);
    display: none;
}
@media (min-width: 640px) {
    .sacraw-cta-divider { display: inline-block; }
}
.sacraw-cta-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
    font-size: 14px;
    text-decoration: none;
    transition: color 140ms ease;
}
.sacraw-cta-phone:hover {
    color: #fff;
}
.sacraw-cta-phone-num {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
    padding-bottom: 1px;
}

/* F2 (2026-06-10): cookie banner and sticky CTA are both visible — the CTA
   stacks directly above the 56px compact cookie strip until consent is given
   (see body.has-cookie { padding-bottom: 56px; } in the mobile block, ~line 820). */
body.has-cookie .mobile-sticky-cta {
    bottom: 56px;
}

/* Quote Step 1 progress bar anchor */
.sacraw-quote-progress-fill {
    min-width: 6%;
}
@keyframes sacrawPulseProgress {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
.sacraw-quote-progress-fill[data-step="1"] {
    animation: sacrawPulseProgress 2.4s ease-in-out infinite;
}

/* Coverage cost callout */
.sacraw-cost-callout {
    background: var(--color-surface, #F7F5F1);
    border: 1px solid var(--color-border, rgba(10, 22, 40, 0.10));
    border-radius: 12px;
    padding: 22px 24px 24px;
    box-shadow: 0 2px 6px rgba(10, 22, 40, 0.04);
}
.sacraw-cost-callout-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted, #4A5568);
    margin-bottom: 4px;
}
.sacraw-cost-callout-title {
    font-family: var(--font-display);
    font-size: clamp(19px, 2vw, 22px);
    line-height: 1.2;
    color: var(--color-text, #0A1628);
    margin: 0 0 18px;
    font-weight: 400;
}
.sacraw-cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) {
    .sacraw-cost-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}
.sacraw-cost-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(10, 22, 40, 0.06);
}
.sacraw-cost-item-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #4A5568);
}
.sacraw-cost-item-warn { color: #B23B2A; }
.sacraw-cost-item-ok { color: #1F7A4A; }
.sacraw-cost-item-num {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 26px);
    line-height: 1.1;
    color: var(--color-primary, #003399);
    letter-spacing: -0.01em;
}
.sacraw-cost-item-sub {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted, #4A5568);
    line-height: 1.45;
}

/* Section anchor scroll-margin — avoid sticky-header clipping */
main section[id],
main h2[id] { scroll-margin-top: 96px; }

/* What's Covered: 3×2 icon grid */
.sacraw-coverage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .sacraw-coverage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (min-width: 1024px) {
    .sacraw-coverage-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
.sacraw-coverage-card {
    background: var(--color-surface, #F7F5F1);
    border: 1px solid var(--color-border, rgba(10, 22, 40, 0.08));
    border-radius: 14px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 200px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.sacraw-coverage-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 51, 153, 0.25);
    box-shadow: 0 10px 24px rgba(0, 20, 60, 0.08);
}
.sacraw-coverage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 51, 153, 0.08);
    color: var(--color-primary, #003399);
    margin-bottom: 18px;
}
.sacraw-coverage-title {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.25;
    color: var(--color-text, #0A1628);
    margin: 0 0 8px;
    font-weight: 400;
}
.sacraw-coverage-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-muted, #4A5568);
    margin: 0 0 14px;
    flex: 1;
}
.sacraw-coverage-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary, #003399);
    text-decoration: none;
    transition: gap 120ms ease;
}
.sacraw-coverage-link:hover { gap: 10px; }
.sacraw-coverage-link svg { transition: transform 120ms ease; }

/* FAQ two-column with left-rail navigation */
.sacraw-faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .sacraw-faq-layout {
        grid-template-columns: 240px 1fr;
        gap: 40px;
    }
}
.sacraw-faq-rail { display: block; }
.sacraw-faq-rail nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; padding-bottom: 4px; }
.sacraw-faq-rail nav::-webkit-scrollbar { display: none; }
.sacraw-faq-rail-item { flex-shrink: 0; white-space: nowrap; border-radius: 999px; padding: 8px 14px; }
.sacraw-faq-rail-title { display: none; }
@media (min-width: 768px) {
    .sacraw-faq-rail { position: sticky; top: 112px; align-self: start; }
    .sacraw-faq-rail nav { flex-direction: column; overflow-x: visible; gap: 2px; padding-bottom: 0; }
    .sacraw-faq-rail-item { border-radius: 8px; padding: 10px 12px; white-space: normal; }
    .sacraw-faq-rail-title { display: block; }
}
.sacraw-faq-rail-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted, #4A5568);
    margin-bottom: 12px;
    padding: 0 12px;
}
.sacraw-faq-rail nav { display: flex; flex-direction: column; gap: 2px; }
.sacraw-faq-rail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text, #0A1628);
    text-align: left;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}
.sacraw-faq-rail-item svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 120ms ease, transform 120ms ease;
    color: var(--color-primary, #003399);
}
.sacraw-faq-rail-item:hover {
    background: var(--color-surface, #F7F5F1);
}
.sacraw-faq-rail-item.is-active {
    background: var(--color-primary-light, rgba(0, 51, 153, 0.08));
    color: var(--color-primary, #003399);
    font-weight: 600;
}
.sacraw-faq-rail-item.is-active svg {
    opacity: 1;
    transform: translateX(0);
}
.sacraw-faq-content { min-width: 0; }

/* FAQ mobile chips (horizontal scroll) */
.sacraw-faq-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sacraw-faq-chips::-webkit-scrollbar { display: none; }
.sacraw-faq-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--color-border, rgba(10, 22, 40, 0.12));
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text, #0A1628);
    white-space: nowrap;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.sacraw-faq-chip.is-active {
    background: var(--color-primary, #003399);
    color: #fff;
    border-color: var(--color-primary, #003399);
}

/* Responsive label swap (Tailwind's md:inline-block not in build) */
.sacraw-label-full { display: none; }
.sacraw-label-short { display: inline; }
@media (min-width: 768px) {
    .sacraw-label-full { display: inline; }
    .sacraw-label-short { display: none; }
}

/* Sticky header scroll treatment — header.php formerly had inline <style> here */
#site-header nav,
#site-header nav img { transition: height .25s ease; }
/* === Punch-list 2026-04-17 fixes === */

/* Fix #1: scroll-reveal first-paint blank canvas
   .reveal default = opacity:1. JS adds .reveal-pending only to off-viewport
   elements at init, so above-the-fold sections render immediately. */
.reveal { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-pending, .reveal.revealed { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Fix #4: cookie banner mobile collapse */
@media (max-width: 640px) {
  .cookie-consent-banner.cookie-mobile-strip {
    padding: 8px 12px !important;
    min-height: 48px;
    max-height: 48px;
    font-size: 12px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
    text-align: left;
  }
  .cookie-consent-banner.cookie-mobile-strip .cookie-mobile-text {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cookie-consent-banner.cookie-mobile-strip .cookie-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }
  .cookie-consent-banner.cookie-mobile-strip .cookie-mobile-actions a,
  .cookie-consent-banner.cookie-mobile-strip .cookie-mobile-actions button {
    font-size: 12px;
    padding: 4px 6px;
  }
  body.has-cookie { padding-bottom: 56px; }
}

/* ==========================================================================
   Allianz Landing Emulation — new patterns (2026-04-20)
   Pattern docs: /Logs/2026-04-20-allianz-landing-emulation-design.md
   ========================================================================== */

/* Plan Options — Canadian / Visitor / Student cards */
.sacraw-plan-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}
.sacraw-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -18px rgba(10, 22, 40, 0.22);
}
.sacraw-plan-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.sacraw-plan-card-link:hover {
    color: inherit;
}
.sacraw-plan-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-color: var(--color-primary, #003399);
}
.sacraw-plan-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sacraw-plan-card-title {
    font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--color-text, #0f172a);
    margin: 0;
    letter-spacing: -0.01em;
}
.sacraw-plan-card-pitch {
    font-family: var(--font-body, 'Open Sans', system-ui, sans-serif);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-text-muted, #556171);
    margin: 0;
}
.sacraw-plan-card-benefits {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sacraw-plan-card-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--color-text, #0f172a);
}
.sacraw-plan-card-check {
    flex-shrink: 0;
    color: var(--color-accent, #FF933B);
    margin-top: 2px;
}
.sacraw-plan-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary, #003399);
    transition: gap 0.2s ease;
}
.sacraw-plan-card:hover .sacraw-plan-card-cta {
    gap: 10px;
}

/* Why Choose Sacraw — Trust Trio */
.sacraw-trust-pillar {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 14px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 260px;
}
.sacraw-trust-pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -20px rgba(0, 51, 153, 0.18);
    border-color: var(--color-primary-light, #e6ecf7);
}
.sacraw-trust-pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--color-primary-light, #e6ecf7);
    color: var(--color-primary, #003399);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sacraw-trust-pillar-title {
    font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--color-text, #0f172a);
    margin: 0;
    letter-spacing: -0.005em;
}
.sacraw-trust-pillar-body {
    font-family: var(--font-body, 'Open Sans', system-ui, sans-serif);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted, #556171);
    margin: 0;
}

/* Advisory Ribbon — home-only top strip */
.sacraw-advisory-ribbon {
    position: relative;
    z-index: 60;
    background: linear-gradient(90deg, #eef4ff 0%, #f7f5f1 100%);
    border-bottom: 1px solid rgba(0, 51, 153, 0.12);
    font-family: var(--font-body, 'Open Sans', system-ui, sans-serif);
}
.sacraw-advisory-ribbon-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--color-text, #0f172a);
}
.sacraw-advisory-icon {
    flex-shrink: 0;
    color: var(--color-primary, #003399);
}
.sacraw-advisory-text {
    flex: 1 1 auto;
    color: var(--color-text-muted, #556171);
}
.sacraw-advisory-text a {
    color: var(--color-primary, #003399);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.sacraw-advisory-text a:hover {
    color: var(--color-primary-hover, #002266);
}
.sacraw-advisory-close {
    flex-shrink: 0;
    color: var(--color-text-muted, #556171);
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
}
.sacraw-advisory-close:hover {
    background-color: rgba(10, 22, 40, 0.06);
    color: var(--color-text, #0f172a);
}
@media (max-width: 640px) {
    .sacraw-advisory-ribbon-inner {
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 8px;
    }
    .sacraw-advisory-icon { width: 14px; height: 14px; }
}

/* Underwriter Partners band */
.sacraw-underwriters {
    padding: 28px 0;
    background: var(--color-surface, #ffffff);
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}
.sacraw-underwriters-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.sacraw-underwriters-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted, #556171);
}
.sacraw-underwriters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.sacraw-underwriter-logo {
    font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-text, #0f172a);
    letter-spacing: -0.01em;
}
.sacraw-underwriter-logo--tugo {
    color: #003399;
}
.sacraw-underwriter-logo sup {
    font-size: 0.55em;
    color: var(--color-text-muted, #556171);
    margin-left: 1px;
}
.sacraw-underwriter-divider {
    width: 1px;
    height: 28px;
    background: var(--color-border, #e2e8f0);
}
.sacraw-underwriter-meta {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted, #556171);
    line-height: 1.4;
}
@media (max-width: 640px) {
    .sacraw-underwriter-divider { display: none; }
}

/* ==========================================================================
   Claims emergency band — TuGo-attributed 3-phone list (2026-04-20 addendum)
   Replaces the earlier single-phone hero treatment.
   ========================================================================== */

.sacraw-emergency-lead {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 6px 0 6px;
}
.sacraw-emergency-lead strong {
    color: #fff;
    font-weight: 700;
}
.sacraw-emergency-lines {
    list-style: none;
    padding: 0;
    margin: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 560px;
}
.sacraw-emergency-lines li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.sacraw-emergency-line-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
    text-align: left;
}
.sacraw-emergency-line-num {
    font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
    font-size: clamp(18px, 2.4vw, 24px);
    color: #fff !important;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.sacraw-emergency-line-num:hover {
    color: var(--color-accent, #FF933B) !important;
}
.sacraw-emergency-fallback {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin: 10px 0 0;
    max-width: 640px;
    line-height: 1.5;
}
.sacraw-emergency-fallback a {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.sacraw-emergency-fallback a:hover {
    color: var(--color-accent, #FF933B) !important;
}
.sacraw-emergency-fallback strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 640px) {
    .sacraw-emergency-lines li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .sacraw-emergency-line-num {
        font-size: 20px;
    }
}

/* Advisory-ribbon + fixed-header interaction:
 * When the ribbon is visible (Alpine toggles .has-advisory on <body>),
 * push the fixed glass-header down by the ribbon's height so the logo
 * isn't clipped. Revert when the ribbon is dismissed. */
body.has-advisory .glass-header {
    top: 40px;
}
/* Mobile advisory wraps to two lines (~68px); give the header more headroom */
@media (max-width: 640px) {
    body.has-advisory .glass-header {
        top: 72px;
    }
}

/* Hero + form field info tooltips (Allianz-parity, 2026-04-20) */
.sacraw-field-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    padding: 0; margin: 0;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}
.sacraw-field-info-btn:hover,
.sacraw-field-info-btn:focus-visible {
    color: var(--color-accent, #FF933B);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}
.sacraw-field-tooltip {
    position: absolute;
    z-index: 70;
    top: calc(100% + 6px);
    left: 0;
    width: 300px;
    max-width: calc(100vw - 48px);
    padding: 10px 12px;
    font-family: var(--font-body, 'Open Sans', system-ui, sans-serif);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--color-text, #0f172a);
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 12px 32px -12px rgba(10, 22, 40, 0.28);
    white-space: normal;
    text-align: left;
    letter-spacing: 0;
    text-transform: none;
}
.sacraw-field-tooltip strong {
    color: var(--color-primary, #003399);
    font-weight: 600;
}

/* Hero video — plays for ALL visitors (reduced-motion gate removed 2026-06-07 per owner). */

/* About — two-column editorial split (Apr 24 rebuild) */
.sacraw-about-split {
    background: var(--color-surface-alt, #F7F5F1);
    padding: clamp(2.25rem, 5vw, 4.5rem) 0;
}
.sacraw-about-split-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}
@media (min-width: 880px) {
    .sacraw-about-split-inner {
        grid-template-columns: 45fr 55fr;
        gap: clamp(2rem, 5vw, 4rem);
    }
}
.sacraw-about-split-text .sacraw-about-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent-text, #CC6A1A);
    margin-bottom: 1rem;
}
.sacraw-about-split-text .sacraw-about-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-text, #0f172a);
    margin: 0 0 1rem;
}
.sacraw-about-split-text .sacraw-about-sub {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.55;
    color: var(--color-text-muted, #475569);
    max-width: 34ch;
    margin: 0;
}
.sacraw-about-split-media {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 28px 60px -30px rgba(15, 23, 42, 0.35),
                0 10px 24px -12px rgba(15, 23, 42, 0.18);
    aspect-ratio: 3 / 2;
    background: #0f172a;
}
.sacraw-about-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
@media (max-width: 879px) {
    .sacraw-about-split-media {
        order: -1; /* keep text-first for SEO; media still appears after on mobile */
        order: unset;
    }
}

/* About body — constrained column, left-aligned paragraphs, centered H2s, standfirst lede (Apr 24) */
.sacraw-about-body-section {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);  /* tight top — standfirst bridges from hero */
}
.sacraw-about-mission-body {
    max-width: 660px;  /* 42ch at body font size */
    margin: 0 auto;
}
.sacraw-about-mission-body p {
    text-align: left;
    margin-bottom: 1.2em;
}
.sacraw-about-mission-body h2 {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 2.5em 0 1em;
    color: var(--color-text, #0f172a);
}
.sacraw-about-mission-body .sacraw-about-standfirst {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.55;
    font-weight: 300;
    color: var(--color-text-muted, #475569);
    max-width: 38ch;
    margin: 0 auto 2.75rem;
}
.sacraw-about-mission-body .sacraw-about-standfirst + h2 {
    margin-top: 1em;  /* tighter gap after the standfirst */
}
/* Vertical-center hero text against the image (was already via align-items but make explicit) */
@media (min-width: 880px) {
    .sacraw-about-split-text { align-self: center; }
}

/* ─── Editorial glass header — 2026-04-24 ───
 * Compiled rule was rgba(255,255,255,0.95) — read as solid white over hero,
 * defeating the glassmorphism. Override to cream tint + lower opacity +
 * saturate boost so the hero bleeds through subtly and the surface reads
 * as a layer floating above content, not a wall.
 *
 * Wrapped in @layer components because the original rule lives there and
 * !important rules in layers beat !important rules outside layers (CSS
 * Cascade Layers spec). Same layer + later source order = wins.
 */
@layer components {
    .glass-header {
        background-color: rgba(247, 245, 241, 0.78) !important;
        backdrop-filter: blur(14px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    }
    .glass-header--transparent {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid transparent;
    }
    .glass-header.scrolled {
        background-color: rgba(247, 245, 241, 0.82) !important;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04),
                    0 8px 24px rgba(15, 23, 42, 0.04) !important;
    }
}

/* ============================================================
   SACRAW HERO — type-led 2026 re-palette + "Who's travelling?"
   segment chips. ADDITIVE / REVERSIBLE (2026-06-04 aesthetic build).
   Gate-corrected: targets the REAL opaque white form via
   form[action$="/quote/"] (depth-only — no translucency, no white
   labels), H1 measure widened (22ch/18ch) for the real headline,
   video kept at full quality. To revert: delete this block.
   ============================================================ */

/* 1. SCRIM — deeper ink-navy, weighted to the lower third where the
   form lives, so white type holds contrast over any video frame. */
.sacraw-hero-stage .sacraw-hero-scrim {
  background:
    linear-gradient(180deg,
      rgba(0, 9, 33, 0.42) 0%,
      rgba(0, 12, 41, 0.52) 38%,
      rgba(0, 16, 51, 0.70) 78%,
      rgba(0, 18, 56, 0.82) 100%),
    radial-gradient(120% 90% at 50% 18%,
      rgba(0, 0, 0, 0) 38%,
      rgba(0, 8, 28, 0.34) 100%) !important;
}

/* 2. H1 — confident display type. Fluid up to ~66px, tighter tracking,
   measure tuned to the real 38-char headline (~2 lines). */
.sacraw-hero-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.125rem) !important; /* 40 -> 66px */
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 700;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0, 6, 24, 0.45), 0 12px 40px rgba(0, 6, 24, 0.30);
}
.sacraw-hero-stage h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 1.1rem auto 0;
  border-radius: 999px;
  background: var(--color-accent, #ff933b);
  opacity: 0.9;
}

/* 3. SUBHEAD — steps down and calms; support, not co-lead. */
.sacraw-hero-stage h1 + p {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

/* 4. FORM CARD — depth-only over the video (the card stays solid white;
   do NOT add background/label-colour overrides — it is opaque). */
.sacraw-hero-stage form[action$="/quote/"] {
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 18px 50px -18px rgba(0, 8, 28, 0.62),
    0 2px 10px rgba(0, 8, 28, 0.32),
    0 0 64px rgba(255, 147, 59, 0.10);
}
.sacraw-hero-stage form[action$="/quote/"] input:focus,
.sacraw-hero-stage form[action$="/quote/"] select:focus {
  box-shadow: 0 0 0 3px rgba(255, 147, 59, 0.30);
}

/* 5. "Who's travelling?" SEGMENT CHIPS */
.sacraw-seg-chip {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  backdrop-filter: blur(2px);
}
.sacraw-seg-chip:hover { background: rgba(255, 255, 255, 0.18); }
.sacraw-seg-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 147, 59, 0.55);
}
.sacraw-seg-chip.is-active {
  background: var(--color-accent, #ff933b);
  border-color: var(--color-accent, #ff933b);
  color: #1a1206;
  box-shadow: 0 6px 18px -6px rgba(255, 147, 59, 0.6);
}

/* 6. MOBILE — protect the fold: cap H1, tighten measure. */
@media (max-width: 480px) {
  .sacraw-hero-stage h1 {
    font-size: clamp(2.125rem, 9vw, 2.75rem) !important;
    max-width: 18ch;
    line-height: 1.1;
  }
  .sacraw-hero-stage h1 + p { font-size: 1.0625rem; max-width: 34ch; }
  .sacraw-seg-chip { font-size: 0.78rem; padding: 0.55rem 0.8rem; }
}

/* 7. MOTION — hero video animates for all (reduced-motion pause removed 2026-06-07 per owner). */
/* === end hero re-palette + chips === */

/* ==========================================================================
   Quote funnel — cookie banner must not cover the Continue / Complete-Purchase
   action bar (2026-06-04 conversion-blocker fix).
   The cookie banner (.cookie-consent-banner, fixed bottom-0, z-50) and the
   quote action bar (.sacraw-sticky-bar, fixed bottom-0, z-40) shared the same
   bottom strip, so the banner painted over the primary conversion button
   (measured overlap: cookie y817-901 vs bar y824-901 on desktop).
   Fix: when BOTH the banner is up (body.has-cookie) AND the action bar is
   actually rendered (Alpine x-show has NOT set display:none), lift the banner
   to sit just above the action bar. The :has() guard keeps the banner at
   bottom-0 on step 1 (no destination yet -> no action bar -> no empty gap).
   calc(5rem + env(safe-area-inset-bottom)) clears the 77px bar and tracks the
   bar's own safe-area padding on notched phones so the clearance holds.
   ========================================================================== */
body.page-template-page-quote.has-cookie:has(.sacraw-sticky-bar:not([style*="display: none"])) .cookie-consent-banner {
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  transition: bottom 0.2s ease;
}

/* ==========================================================================
   What's Covered — bento layout (2026-06-04, audit item #5).
   Emergency Medical becomes a 2×2 feature tile on desktop, a full-width banner
   on tablet, and an emphasised single card on mobile. grid-auto-flow:dense lets
   the remaining 5 cards pack around it. Motion (.reveal / count-up) is already
   wired and reduced-motion-safe.
   ========================================================================== */
.sacraw-coverage-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #003399);
  background: rgba(0, 51, 153, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.sacraw-coverage-card.is-feature {
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.06), rgba(0, 51, 153, 0.02));
  border-color: rgba(0, 51, 153, 0.18);
}
.sacraw-coverage-card.is-feature .sacraw-coverage-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}
.sacraw-coverage-card.is-feature .sacraw-coverage-icon svg { width: 34px; height: 34px; }
.sacraw-coverage-card.is-feature .sacraw-coverage-title {
  font-size: 28px;
  margin-bottom: 12px;
}
.sacraw-coverage-card.is-feature .sacraw-coverage-desc {
  font-size: 17px;
  line-height: 1.6;
  max-width: 40ch;
}
@media (min-width: 640px) and (max-width: 1023px) {
  /* tablet (2-col): feature spans the full width as a banner */
  .sacraw-coverage-card.is-feature { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  /* desktop (3-col): dense flow; feature = 2×2 top-left */
  .sacraw-coverage-grid { grid-auto-flow: row dense; }
  .sacraw-coverage-card.is-feature {
    grid-column: span 2;
    grid-row: span 2;
    padding: 36px 34px;
  }
}

/* ── Missing Tailwind utilities — header phone label (2026-06-10) ──────────
   Mockup defect (a) fix: header.php's mobile phone label
   (text-[12px] / leading-none / whitespace-nowrap) uses utilities ABSENT from
   the compiled assets/css/style.css (no Tailwind rebuild was run); without
   them the label wrapped onto two lines. Exact standard definitions,
   byte-matched to the mockup harness shim (_harness/bootstrap.php
   #sf-harness-missing-utilities-shim) so deploy behavior equals the mockups.
   Global file because the header renders on every page; the quote-only
   utilities live in quote-v2.css. */
.leading-none{line-height:1}
.whitespace-nowrap{white-space:nowrap}
.text-\[12px\]{font-size:12px}
