/* Zirpel Insurance Services — main stylesheet
   Colour scheme: bold red, white and blue, matching Doug's business card,
   sticker and van — a solid deep navy band at the top (white logo on navy),
   white pages, a solid red footer band, red buttons and red accents on navy
   headings. No cyan, teal or green. Every text pairing meets WCAG AA. */

:root {
  /* REPLACEABLE IMAGES — none of the pages use CSS background images today;
     every picture is an <img> listed in assets/manifest.json. */

  /* Brand */
  --navy: #0B2D5B;           /* main colour: top bar, menu, headings, footer (13.6:1 with white) */
  --navy-900: #061C3D;
  --blue: #1D4F91;           /* links and outlines (8.3:1 on white) */
  --blue-200: #BFD0E6;
  --blue-100: #DFE8F4;
  --blue-50: #F2F6FB;        /* pale tint for alternating sections */
  --red: #C8102E;            /* accents and buttons (5.9:1 with white) */
  --red-700: #A10C24;        /* button hover */
  --red-300: #FF8A99;        /* red marks on navy (5.8:1) */
  --red-50: #FDF0F2;
  --red-on-navy: #F0384F;    /* red accent bars and underlines on the navy band */

  /* Neutrals */
  --ink: #14212B;
  --text: #2B3B47;
  --muted: #4A5D6B;
  --line: #D6DFEB;
  --white: #FFFFFF;

  /* Type */
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.125rem;
  --fs-small: 0.95rem;
  --fs-h1: clamp(2.3rem, 1.4rem + 3.6vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 1.9vw, 2.45rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);

  /* Space */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --wrap: 72rem;
  --radius: 18px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(11, 45, 91, 0.12);
}

/* Fonts: Nunito (SIL OFL 1.1), self-hosted — a rounded sans that echoes the "Zirpel" wordmark */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/nunito-latin-800.woff2") format("woff2"); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.15; margin: 0 0 var(--s2); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p, ul, ol { margin: 0 0 var(--s2); }
strong { color: var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.center .narrow, .narrow.center { margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: var(--white); }

/* Buttons — pill shaped, like the "INSURANCE | SERVICES" bars in the logo */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.25rem; padding: 0.75rem 1.6rem; border-radius: var(--pill); font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--call { background: var(--red); color: var(--white); }
.btn--call:hover { background: var(--red-700); color: var(--white); }
.btn--quote { background: var(--red); color: var(--white); }
.btn--quote:hover { background: var(--red-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin-top: var(--s3); }
.btn-row--center { justify-content: center; }
.btn__num { font-weight: 800; white-space: nowrap; }
.btn--lg { min-height: 3.75rem; padding: 0.85rem 1.8rem; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
.hero__call { margin: var(--s3) 0 var(--s4); }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.95rem; border-radius: var(--pill); background: var(--blue-50); color: var(--ink); font-weight: 700; font-size: var(--fs-small); border: 1px solid var(--blue-200); }
.pill svg { width: 1em; height: 1em; color: var(--red); }
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; margin: var(--s3) 0 0; list-style: none; }

/* Top bar (navy) */
.topbar { background: var(--navy); color: var(--white); font-size: 0.95rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.16); }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.45rem; }
.topbar p { margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; align-items: center; }
.topbar a, .topbar strong { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
/* On phones the header carries the big call/text buttons, so the strip would only repeat them */
@media (max-width: 640px) { .topbar { display: none; } }

/* Temporary enrollment banner (top of every page): delete this block together with the banner after December 7 */
.aep-banner { background: var(--red); color: var(--white); }
.aep-banner__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.5rem; padding-block: 0.6rem; text-align: center; }
.aep-banner p { margin: 0; }
.aep-banner__msg { font-size: 1.05rem; }
.aep-banner strong { color: var(--white); font-weight: 800; }
.aep-banner__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 1.1rem; }
.aep-banner__call { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.35rem 1.1rem; border-radius: var(--pill); background: var(--white); color: var(--red-700); font-weight: 800; text-decoration: none; white-space: nowrap; }
.aep-banner__call:hover { background: var(--red-50); color: var(--red-700); }
.aep-banner__call svg { width: 1.15em; height: 1.15em; flex: none; }
.aep-banner__num { font-size: 1.1em; }
.aep-banner__sms { color: var(--white); font-weight: 700; padding-block: 0.5rem; }
.aep-banner__sms:hover { color: var(--white); text-decoration-thickness: 0.15em; }
.aep-banner a:focus-visible { outline-color: var(--white); }
@media (max-width: 640px) {
  .aep-banner__in { gap: 0.35rem; padding-block: 0.5rem; }
  .aep-banner__msg { font-size: 0.95rem; line-height: 1.4; }
  .aep-banner__links { gap: 0.3rem 0.9rem; font-size: 0.95rem; }
  .aep-banner__call { padding-inline: 0.9rem; }
}
/* end of enrollment banner styles */

/* Header */
/* Solid deep navy band with the white logo, like the top of Doug's business card */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 5px solid var(--red); }
.site-header :focus-visible, .topbar :focus-visible { outline-color: var(--white); }
.header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem var(--s2); padding-block: 0.7rem; }
.brand { flex: none; display: block; }
.brand img { width: clamp(150px, 26vw, 230px); height: auto; }
/* Phone: large "Call or text" button (tap to call) plus a text-message button, on every page */
.header__phone { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.6rem; margin-left: auto; }
.header__call { min-height: 3.6rem; padding: 0.5rem 1.5rem 0.5rem 1.25rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28); }
.header__call svg { width: 1.6rem; height: 1.6rem; }
.header__call-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.header__call-label { font-size: 0.95rem; font-weight: 700; }
.header__call .btn__num { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); letter-spacing: 0.01em; }
.header__text { min-height: 3.6rem; padding: 0.5rem 1.1rem; }
.site-header .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.85); }
.site-header .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.35rem; align-items: center; }
.nav a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--pill); color: var(--white); font-weight: 700; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,0.12); color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--red-on-navy); border-radius: 10px 10px 4px 4px; }
.nav .sub a { border-radius: 10px; box-shadow: none; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 0.5rem; }
.nav__cta { display: none; }
.nav .nav__cta .btn { display: flex; border-radius: var(--pill); }
.nav .nav__cta .btn:hover { background: var(--red-700); color: var(--white); }
.nav-toggle { display: none; }

@media (min-width: 1000px) {
  .site-nav { order: 3; width: 100%; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 0.45rem; }
  .nav { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; padding-inline: 0.7rem; }
  .has-sub > a::after { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-left: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
  .sub { position: absolute; left: 0; top: 100%; min-width: 17rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .sub a { color: var(--navy); }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--blue-50); color: var(--navy); }
  .site-header .sub :focus-visible { outline-color: var(--blue); }
  .nav__cta { display: block; margin-left: auto; }
  .nav__cta .btn { padding: 0.55rem 1.1rem; min-height: 2.9rem; color: var(--white); }
  .nav__cta .btn:hover { background: var(--red-700); color: var(--white); }
}
@media (max-width: 999px) {
  .header__in { flex-wrap: wrap; }
  .header__phone { order: 3; width: 100%; margin-left: 0; }
  .header__call { flex: 1 1 auto; }
  .site-nav { order: 4; width: 100%; }
  .nav { flex-direction: column; align-items: stretch; padding-bottom: 0.75rem; }
  .sub { padding: 0 0 0 1rem; }
  .nav__cta { display: block; padding-top: 0.4rem; }
  .nav__cta .btn { width: 100%; color: var(--white); }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; order: 2; margin-left: 0.25rem; min-height: 2.9rem; padding: 0.5rem 0.9rem; border: 2px solid rgba(255,255,255,0.85); border-radius: var(--pill); background: transparent; color: var(--white); font: inherit; font-weight: 800; cursor: pointer; }
  .js .nav-toggle svg { width: 1.2rem; height: 1.2rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .nav-toggle { margin-left: auto; }
  html:not(.js) .site-header { position: static; }
}
@media (max-width: 539px) {
  .header__in { gap: 0.5rem; }
  .brand img { width: 128px; }
  .header__call { padding-inline: 1rem; }
  .header__text { padding-inline: 0.9rem; }
  .js .nav-toggle { padding: 0.5rem 0.75rem; }
}
@media (max-width: 379px) {
  .header__phone { flex-wrap: nowrap; gap: 0.45rem; }
  .header__call { padding-inline: 0.75rem; gap: 0.4rem; }
  .header__call svg { display: none; }
  .header__call .btn__num { font-size: 1.15rem; }
  .header__text { padding-inline: 0.7rem; gap: 0.35rem; }
}

/* Sections */
.section { padding-block: var(--s6); }
.section--tint { background: var(--white); border-top: 1px solid var(--line); }
/* (class names kept from the first build: --green and --cyan are both navy bands now,
   so nothing red sits directly above the red footer) */
.section--green { background: var(--navy); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--cyan { background: var(--navy); color: var(--white); }
.section--cyan h2, .section--cyan h3, .section--cyan strong { color: var(--white); }
.section--cyan a:not(.btn) { color: var(--white); }
.section--green :focus-visible, .section--cyan :focus-visible, .cta-band :focus-visible, .quote-panel :focus-visible { outline-color: var(--white); }
.section-head { max-width: 44rem; margin-bottom: var(--s4); }
.section-head.center { margin-inline: auto; }
/* Red accent bar under navy headings, like the red bands on Doug's card */
.section-head h2::after, .hero h1::after, .page-hero h1::after { content: ""; display: block; width: 4rem; height: 5px; margin-top: 0.7rem; border-radius: var(--pill); background: var(--red); }
.section-head.center h2::after { margin-inline: auto; }
.section--green .section-head h2::after, .section--cyan .section-head h2::after { background: var(--red-on-navy); }
.lede { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); color: var(--text); }

/* Home hero: text left, portrait right (like the old site, tidied) */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__grid { display: grid; gap: var(--s3); grid-template-areas: "text" "media" "pills"; }
.hero__text { grid-area: text; padding-block: var(--s4) 0; }
.hero__pills { grid-area: pills; margin: 0 0 var(--s4); }
.hero h1 { margin-bottom: var(--s2); }
.hero h1 .accent { color: var(--red); display: block; }
.hero__lede { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem); max-width: 34rem; }
.hero__text > p { max-width: 38rem; }
.hero__contact { list-style: none; padding: var(--s2) 0 0; margin: var(--s3) 0 0; border-top: 1px solid var(--line); max-width: 38rem; }
.hero__contact li + li { margin-top: 0.25rem; }
.hero__contact a { white-space: nowrap; }
.hero__media { grid-area: media; position: relative; align-self: end; border-radius: var(--radius) var(--radius) 0 0; }
/* Doug's own photo, right after his introduction: shown whole (already framed on face, upper body and bridge) */
.hero__doug { width: 100%; max-width: 26rem; margin: var(--s3) 0 var(--s2); }
.hero__media img { width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; grid-template-areas: "text media" "pills media"; grid-template-rows: auto 1fr; column-gap: var(--s5); row-gap: 0; }
  .hero__text { padding-block: var(--s6) 0; }
  .hero__pills { align-self: start; margin: var(--s3) 0 var(--s5); }
  .hero__media { max-width: 520px; justify-self: end; width: 100%; align-self: start; margin-top: var(--s6); border-radius: var(--radius); }
  .hero__media img { border-radius: var(--radius); }
}
@media (max-width: 879px) {
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
}

/* Inner page hero */
.page-hero { background: linear-gradient(180deg, var(--blue-50), var(--white)); padding-block: var(--s5) var(--s5); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: var(--s4); align-items: center; }
.page-hero h1 { margin-bottom: var(--s2); }
.page-hero .lede { max-width: 40rem; }
.page-hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 880px) { .page-hero__grid--media { grid-template-columns: 1.1fr 0.9fr; gap: var(--s5); } }
.crumbs { font-size: var(--fs-small); margin-bottom: var(--s2); color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--muted); }
.crumbs a { color: var(--blue); }

/* Two-column split */
.split { display: grid; gap: var(--s4); align-items: center; }
.split > *, .layout-aside > *, .hero__grid > *, .page-hero__grid > *, .contact-band__grid > * { min-width: 0; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s6); } .split--wide-text { grid-template-columns: 0.85fr 1.15fr; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: auto; }
.photo--portrait { max-width: 460px; }
@media (max-width: 879px) { .photo--portrait { margin-inline: auto; } }

/* Carrier logos */
.carriers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.carriers li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 0.75rem 1rem; }
.carriers img { width: 100%; max-width: 190px; height: auto; }
@media (min-width: 640px) { .carriers { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .carriers { grid-template-columns: repeat(7, 1fr); } .carriers li { padding: 0.5rem; } }
.fineprint { font-size: var(--fs-small); color: var(--muted); }

/* Plan list */
.plans { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.plan:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.plan__tag { position: absolute; top: -0.85rem; left: var(--s3); background: var(--red); color: var(--white); font-weight: 800; font-size: 0.85rem; padding: 0.2rem 0.8rem; border-radius: var(--pill); }
.plan h3 { margin-bottom: 0.5rem; }
.plan h3 a { color: var(--navy); text-decoration: none; }
.plan h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.plan p { margin-bottom: var(--s2); }
.plan__more { margin-top: auto; font-weight: 800; color: var(--red); }

/* Timing tip */
.tip { display: grid; gap: var(--s3); background: var(--white); border-radius: var(--radius); border: 2px solid var(--navy); padding: var(--s4); box-shadow: var(--shadow); }
.tip__mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: var(--white); }
.tip__mark svg { width: 1.8rem; height: 1.8rem; }
.tip h3 { margin-bottom: 0.5rem; }
.tip p:last-child { margin-bottom: 0; }
@media (min-width: 720px) { .tip { grid-template-columns: auto 1fr; align-items: start; } }

/* Benefits (pills on navy) */
.benefits { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 56rem; }
.benefits li { background: var(--white); color: var(--ink); border-radius: var(--pill); padding: 0.65rem 1.25rem; font-weight: 800; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 14px rgba(20, 33, 43, 0.08); }
.benefits li svg { width: 1.1rem; height: 1.1rem; color: var(--red); flex: none; }
.benefits--light { justify-content: flex-start; margin: 0; }
.benefits--light li { background: var(--blue-50); border: 1px solid var(--blue-200); box-shadow: none; }

/* Self-quote panel */
.quote-panel { background: var(--navy); color: #E9EFF8; border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: grid; gap: var(--s4); align-items: center; position: relative; overflow: hidden; }
.quote-panel h2, .quote-panel h3, .quote-panel strong { color: var(--white); }
.quote-panel a:not(.btn) { color: var(--white); }
.quote-panel .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.quote-panel .btn--ghost:hover { background: var(--white); color: var(--navy); }
.quote-panel__mark { position: absolute; right: -2.5rem; bottom: -2.5rem; width: 13rem; height: 13rem; opacity: 0.14; color: var(--white); pointer-events: none; }
@media (min-width: 880px) { .quote-panel { grid-template-columns: 1.3fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.2rem; color: var(--red); }
.quote-panel .check-list svg { color: var(--red-300); }

/* Testimonials */
.quotes { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s2); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 0.2rem; left: 1.2rem; font-size: 4rem; line-height: 1; color: var(--red); font-weight: 800; }
.quote blockquote { margin: 0.75rem 0 0; font-size: 1.1rem; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; font-weight: 800; color: var(--navy); }
.quote figcaption::before { content: ""; display: inline-block; width: 1.4rem; height: 0.35rem; border-radius: var(--pill); background: var(--red); margin-right: 0.55rem; vertical-align: middle; }

/* Contact band */
.contact-band__grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 880px) { .contact-band__grid { grid-template-columns: 1.2fr 1fr; } }
.contact-card { background: var(--white); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); color: var(--text); }
.contact-card h3 { color: var(--navy) !important; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-list svg { width: 1.35rem; height: 1.35rem; flex: none; margin-top: 0.2rem; color: var(--red); }
.contact-list a { color: var(--blue) !important; font-weight: 700; }
.big-phone { font-size: clamp(1.9rem, 1.3rem + 2.5vw, 2.9rem); font-weight: 800; color: inherit; text-decoration: none; display: inline-block; line-height: 1.1; }
.big-phone:hover { text-decoration: underline; color: inherit; }

/* Prose (inner pages) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--red); }
.callout { background: var(--red-50); border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s3); margin: var(--s4) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--cyan { background: var(--blue-50); border-left-color: var(--navy); }
.layout-aside { display: grid; gap: var(--s5); }
@media (min-width: 980px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } .aside-sticky { position: sticky; top: 7rem; } }
.aside-box { background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: var(--radius); padding: var(--s3); }
.aside-box h2 { font-size: 1.35rem; }
.aside-box .btn { width: 100%; margin-top: 0.6rem; flex-wrap: wrap; row-gap: 0; padding-inline: 1rem; }
.aside-box .btn span { white-space: nowrap; }
.aside-box p { margin-bottom: 0.5rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 var(--s3); }
.faq summary { cursor: pointer; padding: var(--s2) 0; font-weight: 800; color: var(--navy); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: var(--s2); margin: 0; }

/* Quote paths */
.paths { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.path { border: 2px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3); background: var(--white); display: flex; flex-direction: column; gap: 0.5rem; }
.path h3 { margin: 0; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path p { margin: 0 0 var(--s2); }

/* Contact form */
.form { display: grid; gap: var(--s2); }
.field label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 0.3rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 0.8rem 1rem; border: 2px solid #A3B5CC; border-radius: 12px; background: var(--white); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-200); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: var(--s2); font-weight: 700; }
.form-status--ok { background: var(--blue-50); border: 2px solid var(--navy); color: var(--ink); }
.form-status--err { background: var(--red-50); border: 2px solid var(--red); color: #7A0A1C; }
.form-status--err a { color: #7A0A1C; }

/* Blog */
.post-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: 0.5rem; }
.post-card img { border-radius: 12px; }
.post-card h2 { font-size: 1.4rem; margin: 0.25rem 0 0; }
.post-card h2 a { text-decoration: none; color: var(--navy); }
.post-card h2 a:hover { text-decoration: underline; }
.post-card time, .post-meta { color: var(--muted); font-size: var(--fs-small); font-weight: 700; }
.post-card p { margin: 0; }

/* CTA band (end of every page) */
.cta-band { background: var(--navy); color: var(--white); padding-block: var(--s5); }
.cta-band__in { display: grid; gap: var(--s3); align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; font-size: 1.15rem; }
@media (min-width: 880px) { .cta-band__in { grid-template-columns: 1fr auto; } .cta-band .btn-row { margin-top: 0; } }

/* Footer */
/* Solid red band with white text, like the bottom of Doug's business card */
.site-footer { background: var(--red); color: var(--white); border-top: 6px solid var(--white); padding-top: var(--s5); font-size: 1rem; }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer strong { color: var(--white); }
.footer__grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer__brand img { width: 230px; height: auto; margin-bottom: var(--s2); }
.site-footer h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.75rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--white); }
.footer__phone { font-size: 1.4rem; font-weight: 800; color: var(--white) !important; text-decoration: none; }
.footer__phone:hover { text-decoration: underline; }
.cms { margin-top: var(--s4); padding: var(--s3); background: var(--white); border: 1px solid var(--white); border-radius: 14px; font-size: 0.98rem; color: var(--text); }
.cms p { margin: 0; }
.footer__fine { padding-block: var(--s3); margin-top: var(--s3); border-top: 1px solid rgba(255,255,255,0.4); font-size: 0.9rem; color: var(--white); display: grid; gap: 0.35rem; }
.footer__fine p { margin: 0; }
.footer__fine a { color: var(--white); }

/* 404 */
.notfound { text-align: center; padding-block: var(--s6); }
.notfound__mark { width: 6rem; height: 6rem; margin: 0 auto var(--s3); color: var(--navy); }
.link-list { list-style: none; padding: 0; margin: var(--s3) auto 0; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.link-list a { display: inline-block; padding: 0.55rem 1.1rem; border-radius: var(--pill); background: var(--blue-50); border: 1px solid var(--blue-200); font-weight: 700; text-decoration: none; color: var(--navy); }
.link-list a:hover { background: var(--blue-100); }

/* Print */
@media print { .topbar, .site-header nav, .nav-toggle, .cta-band, .btn { display: none !important; } .site-header { position: static; } }
