/* ==========================================================================
   Huntsville AL Electricians — design system
   Mobile-first. No frameworks. Sections:
   1. Font + tokens   2. Base/reset   3. Layout   4. Typography
   5. Buttons & Call CTA   6. Header & navigation   7. Hero
   8. Sections & cards   9. Content (article/sidebar)   10. FAQ
   11. CTA bands   12. Footer   13. Sticky mobile call bar
   14. Utilities & accessibility   15. Breakpoints   16. Motion/print
   ========================================================================== */

/* 1. Font + tokens ------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback keeps layout shift low while the web font loads */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 22%;
}

:root {
  --navy-950: #081430;
  --navy-900: #0b1b3a;
  --navy-800: #0f2658;
  --navy-700: #163275;
  --blue-600: #1d56cc;
  --blue-500: #2f6bff;
  --blue-100: #e6eeff;
  --blue-50: #f2f6ff;
  --gold-400: #ffc72c;
  --gold-300: #ffd65e;
  --gold-100: #fff5d6;
  --red-700: #b42318;
  --red-50: #fff1f0;
  --ink: #0d1830;
  --text: #2f3b52;
  --muted: #56647c;
  --line: #dbe3ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 58, .06), 0 1px 1px rgba(11, 27, 58, .04);
  --shadow: 0 10px 30px -12px rgba(11, 27, 58, .22), 0 2px 6px rgba(11, 27, 58, .06);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --callbar-h: 64px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--blue-500);
}

/* 2. Base / reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-800); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
button { font: inherit; color: inherit; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head--center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
.stack > * + * { margin-top: 1rem; }

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); font-weight: 750; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--gold-400); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* 5. Buttons & Call CTA ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { text-decoration: none; }
.btn-call { background: var(--gold-400); color: var(--navy-900); box-shadow: 0 6px 18px -8px rgba(255, 199, 44, .8); }
.btn-call:hover { background: var(--gold-300); color: var(--navy-950); transform: translateY(-1px); }
.btn-call--lg { min-height: 58px; padding: .95rem 1.8rem; font-size: 1.125rem; }
.btn-call .btn__num { font-weight: 600; opacity: .85; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.cta-note { font-size: .9rem; color: var(--muted); margin: 0; }
.on-dark .cta-note { color: #c9d6ef; }

/* 6. Header & navigation ---------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.topbar { background: var(--navy-950); color: #d5def0; font-size: .875rem; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { width: 128px; height: auto; }
.header-call { display: none; }
.header-call-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-400); color: var(--navy-900);
}
.header-call-icon svg { width: 22px; height: 22px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 48px; height: 48px; padding: 0 .75rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy-900); font-weight: 700;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile navigation panel */
.primary-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(var(--callbar-h) + 32px);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
body.nav-open { overflow: hidden; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: stretch; }
.nav-link {
  flex: 1; display: flex; align-items: center; min-height: 56px; padding: .5rem 0;
  color: var(--ink); font-weight: 750; font-size: 1.05rem; text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue-600); }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; min-height: 56px; border: 0; background: transparent; cursor: pointer; color: var(--navy-800);
}
.sub-toggle svg { width: 20px; height: 20px; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { display: none; padding: 0 0 1rem; }
.nav-item.is-open > .mega { display: block; }
.mega__inner { display: grid; gap: 1.25rem; }
.mega__group h3, .mega__heading {
  font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; font-weight: 750;
}
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group + .mega__group { margin-top: 1.25rem; }
.mega__local ul { columns: 1; column-gap: 1.75rem; }
.mega__group a {
  display: flex; align-items: center; min-height: 44px; padding: .25rem 0;
  color: var(--text); text-decoration: none; font-size: 1rem;
}
.mega__group a:hover { color: var(--blue-600); text-decoration: underline; }
.mega__all { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 750; min-height: 44px; }
.mega__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .5rem; }
.nav-cta { margin-top: 1.5rem; }
.nav-cta .btn { width: 100%; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #e3eaf8;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 107, 255, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 70%, #12306e 100%);
}
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { color: var(--gold-300); }
.hero .lead { color: #d8e2f5; }
.hero a:not(.btn) { color: #fff; }
.hero-home { padding-block: clamp(40px, 7vw, 96px); }
.hero-home__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (max-width: 639px) { .hero-home__art { display: none; } }
.hero-home__art img { width: 100%; max-width: 560px; margin-inline: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; color: #e3eaf8; }
.hero-points svg { flex: none; width: 20px; height: 20px; color: var(--gold-400); margin-top: .2rem; }

.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(36px, 6vw, 64px); }
.page-hero__grid { display: grid; gap: 1.75rem; align-items: start; }
.page-hero .lead { max-width: 760px; }
.answer-box {
  border-left: 4px solid var(--gold-400); background: rgba(255, 255, 255, .07);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.15rem; margin: 1.25rem 0 1.5rem; color: #eef3fc;
}
.answer-box p:last-child { margin-bottom: 0; }
.answer-box strong { color: #fff; }
.hero-card {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero-card h2 { color: var(--ink); font-size: 1.25rem; }
.hero-card ul { margin: 0 0 1.25rem; padding: 0; list-style: none; display: grid; gap: .5rem; }
.hero-card li { display: flex; gap: .55rem; font-size: .975rem; }
.hero-card li svg { flex: none; width: 18px; height: 18px; color: var(--blue-600); margin-top: .25rem; }
.hero-card .btn { width: 100%; }

/* Urgency / safety banners */
.alert {
  display: flex; gap: .85rem; align-items: flex-start;
  border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.5rem 0;
  background: var(--red-50); border: 1px solid #f7c8c3; color: #5d1712;
}
.alert svg { flex: none; width: 24px; height: 24px; color: var(--red-700); margin-top: .1rem; }
.alert strong { color: #7a1b13; }
.alert p:last-child { margin-bottom: 0; }
.alert--info { background: var(--blue-50); border-color: #cddcff; color: #1a2c55; }
.alert--info svg { color: var(--blue-600); }
.alert--info strong { color: var(--navy-800); }
.urgency { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.urgency--high { background: #ffe1dd; color: #8e1c12; }
.urgency--medium { background: var(--gold-100); color: #6b4b00; }
.urgency--low { background: var(--blue-100); color: var(--navy-800); }

/* Breadcrumbs */
.breadcrumbs { font-size: .875rem; margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; color: #b9c7e2; }
.breadcrumbs li + li::before { content: "/"; opacity: .6; margin-right: .1rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: #d5dff2; }

/* 8. Sections & cards -------------------------------------------------------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow-sm); height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card--link:hover { border-color: #a9bfeb; box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link h3 a { color: var(--ink); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link h3 a:hover { color: var(--blue-600); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__more { display: inline-flex; margin-top: .85rem; font-weight: 750; font-size: .95rem; color: var(--blue-600); }
.card--problem .card__icon { background: #fff4e5; color: #b45309; }
.card--problem .tag { position: absolute; top: 1rem; right: 1rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.tag--high { background: #ffe1dd; color: #8e1c12; }
.tag--medium { background: var(--gold-100); color: #6b4b00; }

.link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: 1fr; }
.link-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 48px;
  padding: .65rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 650; text-decoration: none;
}
.link-grid a:hover { border-color: #a9bfeb; color: var(--blue-600); }
.link-grid a::after { content: "→"; color: var(--blue-600); font-weight: 700; }

.area-group { margin-bottom: 2rem; }
.area-group h3 { font-size: 1.05rem; display: flex; align-items: baseline; gap: .5rem; }
.area-group h3 span { font-size: .85rem; font-weight: 600; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 1.25rem; top: 1.2rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); font-weight: 800;
}
.steps h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.steps p { margin: 0; font-size: .98rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%231d56cc' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/80% no-repeat;
}
.checklist--warn li::before {
  background: #ffe9e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23b42318' stroke-width='2.6' stroke-linecap='round' d='M10 5v6M10 14.5v.2'/%3E%3C/svg%3E") center/80% no-repeat;
}

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.feature p { margin: 0; font-size: .98rem; }

.cause-list { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.cause { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; }
.cause h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.cause p { margin: 0; font-size: .98rem; }

/* 9. Content layout (article + sidebar) ---------------------------------------- */
.content-layout { display: grid; gap: 2.5rem; }
.prose { min-width: 0; }
.prose > section { margin-bottom: clamp(2rem, 4vw, 3rem); }
.prose h2 { margin-top: 0; }
.prose > section > h3 { margin-top: 1.5rem; }
.prose ul:not([class]), .prose ol:not([class]) { margin: 0 0 1.25rem; }
.prose ul:not([class]) > li + li, .prose ol:not([class]) > li + li { margin-top: .35rem; }
.sidebar { display: grid; gap: 1.25rem; align-content: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.side-card h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: flex; min-height: 44px; align-items: center; padding: .2rem 0; text-decoration: none; color: var(--text); border-bottom: 1px solid #edf1f7; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover { color: var(--blue-600); }
.side-card--call { background: var(--navy-800); border-color: var(--navy-800); color: #dbe4f5; }
.side-card--call h2 { color: #fff; }
.side-card--call p { font-size: .95rem; }
.side-card--call .btn { width: 100%; }

.inline-cta {
  display: grid; gap: 1rem; align-items: center;
  background: var(--blue-50); border: 1px solid #cddcff; border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem); margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.inline-cta h2, .inline-cta h3 { margin: 0 0 .35rem; font-size: 1.3rem; }
.inline-cta p { margin: 0; }

.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.toc h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 1; }
.toc li { margin: .2rem 0; }

/* 10. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: 1.08rem; }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.1rem 0; min-height: 56px; font-weight: 750; color: var(--ink); font-size: inherit; line-height: 1.35;
}
.faq__btn:hover { color: var(--blue-600); }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: transform .2s ease; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.15rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a[hidden] { display: none; }
.no-js .faq__a[hidden] { display: block; }

/* 11. CTA bands --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; color: #dfe7f7;
  background: radial-gradient(700px 300px at 10% 0%, rgba(47, 107, 255, .35), transparent 60%), var(--navy-900);
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { margin: 0; max-width: 640px; }

.trust-strip { background: var(--navy-950); color: #cfd9ee; }
.trust-strip ul { list-style: none; margin: 0; padding: 1rem 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
.trust-strip li { display: flex; align-items: center; gap: .6rem; font-weight: 650; font-size: .95rem; }
.trust-strip svg { width: 22px; height: 22px; color: var(--gold-400); flex: none; }

/* 12. Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: #b8c5de; font-size: .95rem; }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; }
.footer-cta p { margin: 0; color: #fff; font-weight: 750; font-size: 1.15rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.site-footer h2 { color: #fff; font-size: .85rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: #d4ddef; text-decoration: none; }
.site-footer li a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.25rem; font-size: .85rem; color: #93a3c2; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.footer-bottom a { color: #c7d3ea; }
.site-footer p a { color: #fff; font-weight: 700; }
.site-footer p a:hover { color: var(--gold-300); }
.footer-note { font-size: .85rem; color: #93a3c2; margin-top: 1rem; }

/* 13. Sticky mobile call bar --------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 20, 48, .97); box-shadow: 0 -8px 24px rgba(8, 20, 48, .25);
}
.callbar .btn { width: 100%; min-height: 48px; font-size: 1.05rem; }

/* 14. Utilities & accessibility -------------------------------------------------- */
.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;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800); font-weight: 650; font-size: .92rem; text-decoration: none;
}
.chips a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.note-box { background: var(--bg-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: .95rem; }
.not-found { text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.not-found .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 900; color: var(--navy-800); line-height: 1; margin-bottom: .5rem; }

/* 15. Breakpoints ------------------------------------------------------------------ */
@media (min-width: 480px) {
  .brand img { width: 150px; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc ol { columns: 2; column-gap: 2rem; }
}
@media (min-width: 900px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .topbar { display: block; }
  .brand img { width: 168px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-home__grid { grid-template-columns: 1.1fr .9fr; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; }
  .sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
  .cta-band__inner { grid-template-columns: 1fr auto; }
  .inline-cta { grid-template-columns: 1fr auto; }
  .trust-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-call { display: inline-flex; }
  .header-call-icon { display: none; }
  .nav-toggle { display: none; }

  /* Desktop navigation */
  .primary-nav {
    position: static; inset: auto; visibility: visible; opacity: 1; transform: none;
    padding: 0; overflow: visible; background: transparent; transition: none;
  }
  .nav-list { display: flex; align-items: center; gap: .1rem; }
  .nav-item { border: 0; position: static; }
  .nav-row { align-items: center; }
  .nav-link { min-height: 44px; padding: .5rem .55rem; font-size: .98rem; font-weight: 700; border-radius: 8px; }
  .nav-link:hover { background: var(--bg-soft); }
  .sub-toggle { width: 28px; min-height: 44px; margin-left: -.35rem; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .header-inner { position: relative; }
  .mega {
    position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%);
    width: min(1040px, calc(100vw - 48px)); padding: 1.5rem 1.75rem 1.25rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  }
  /* Hover bridge: covers the gap between the menu label and the panel so the pointer
     never "falls out" of the menu item while travelling down to the links. */
  .has-mega > .nav-row { position: relative; }
  .has-mega > .nav-row::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 28px; }
  /* Mouse: open on hover. Keyboard/touch: open with the chevron button (aria-expanded). */
  /* Without JS, plain :hover opens the panel. With JS, main.js manages hover with open/close delays. */
  html:not(.js) .has-mega:hover > .mega, .has-mega.is-hover > .mega, .nav-item.is-open > .mega { display: block; }
  .has-mega.is-closed.is-hover > .mega { display: none; }
  .mega--wide { width: min(1160px, calc(100vw - 48px)); }
  .mega__local { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
  .mega__local ul { columns: 4; }
  .mega { max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
  .mega__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
  .mega__inner--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__inner--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mega__group a { min-height: 32px; font-size: .94rem; }
  .nav-cta { display: none; }
}
@media (min-width: 1240px) {
  .nav-link { padding: .5rem .75rem; }
}

/* 16. Motion & print ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn-call:hover, .card--link:hover { transform: none; }
}
@media print {
  .site-header, .callbar, .topbar, .cta-band, .site-footer, .sidebar, .nav-toggle { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .page-hero { background: none !important; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
  a { color: #000; }
}
