/* ============================================================
   ERA Service — Appliance Repair LA
   Design system & global styles
   ============================================================ */

:root {
  --navy: #0b2f5e;
  --navy-700: #0a274d;
  --navy-900: #061a35;
  --blue: #1763c7;
  --blue-soft: #e8f0fb;
  --accent: #ff6a2b;       /* CTA / urgency */
  --accent-700: #e9551a;
  --green: #1d9d57;
  --ink: #1a2230;
  --body: #424b5a;
  --muted: #6b7587;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-dark: #07203f;
  --star: #f5a623;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(8,28,56,.08), 0 1px 2px rgba(8,28,56,.06);
  --shadow: 0 10px 30px rgba(8,28,56,.10);
  --shadow-lg: 0 24px 60px rgba(8,28,56,.16);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #cfe0f5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 .6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: .18s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,106,43,.35); }
.btn--primary:hover { background: var(--accent-700); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }

/* Top bar */
.topbar { background: var(--navy-900); color: #cbd9ee; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #fff; }
.topbar__left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__badge { color: #ffd9a8; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 900; color: var(--navy); font-size: 1.3rem; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1rem; }
img.brand__mark { object-fit: cover; display: block; }

/* Header brand: clean monogram badge instead of the busy square logo (kept full in footer) */
.header .brand { gap: .65rem; }
.header .brand__mark { display: none; }
.header .brand::before {
  content: "ERA";
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff; font-weight: 900; font-size: .82rem; letter-spacing: .06em;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(11,47,94,.28);
}
.header .brand > span { line-height: 1.05; }
/* Keep nav on one tidy line */
.menu { gap: 1.25rem; }
.menu > li > a { white-space: nowrap; }
.btn { white-space: nowrap; }
.nav__phone { white-space: nowrap; }

/* Footer: show the full logo organically on the dark footer (its navy background blends in) */
.footer .brand { gap: 0; }
.footer .brand__mark { width: 116px; height: 116px; border-radius: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.footer .brand span { display: none; }
.brand small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.menu a:hover { color: var(--blue); text-decoration: none; }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7rem; margin-left: .25rem; color: var(--muted); }
.submenu { position: absolute; top: 130%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; list-style: none; margin: 0; }
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.submenu a:hover { background: var(--blue-soft); }
.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav { gap: 1rem; }
/* Phone lives in the top bar; keep it out of the main nav so the row never overflows */
.nav__phone { display: none; }
/* Booking/quote card hugs its content height (no stretched empty space in grids) */
.quote-card { align-self: start; }
.nav__phone { font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.nav__phone:hover { color: var(--blue); text-decoration: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #123e78 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; padding: 70px 0 80px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p { color: #c8d8f0; font-size: 1.18rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.chip { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #eaf2ff; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.2rem; }
.hero__trust { margin-top: 1.6rem; display: flex; align-items: center; gap: .7rem; color: #cfe0f5; font-size: .92rem; }
.stars { color: var(--star); letter-spacing: 2px; }

/* Quote card */
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.quote-card h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.quote-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: var(--bg-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Trust strip */
.trust-strip { background: var(--bg-dark); color: #cfe0f5; padding: 20px 0; }
.trust-strip .container { display: flex; justify-content: space-around; gap: 1rem; flex-wrap: wrap; text-align: center; }
.trust-strip b { color: #fff; font-size: 1.5rem; display: block; }
.trust-strip span { font-size: .82rem; }

/* Cards grid */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d4ddee; }
.card a.card__link { text-decoration: none; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; }
.card h3 { margin-bottom: .4rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue); text-decoration: none; }
.card p { font-size: .95rem; color: var(--body); margin-bottom: .6rem; }
.card .more { font-weight: 700; color: var(--blue); font-size: .9rem; }

/* Service tile (compact) */
.tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 700; color: var(--ink); transition: .16s; }
.tile:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tile .icon { width: 40px; height: 40px; font-size: 1.2rem; margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding-top: 8px; }
.step__num { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; }

/* Why / features list */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .tick { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(29,157,87,.12); color: var(--green); display: grid; place-items: center; font-weight: 900; margin-top: 2px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.feature p { font-size: .93rem; margin: 0; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review .stars { font-size: 1rem; margin-bottom: .6rem; }
.review p { font-style: italic; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9rem; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.review .who b { color: var(--ink); display: block; }
.review .who span { color: var(--muted); }

/* Brands marquee */
.brands-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 800; color: var(--navy); font-size: .95rem; }
a.brand-pill:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-size: 1.05rem; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: inherit; }
.faq__q::after { content: "+"; font-size: 1.4rem; color: var(--blue); flex: 0 0 auto; }
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: .25s ease; }
.faq__item.open .faq__a { padding: 0 20px 18px; max-height: 600px; }
.faq__a p { margin: 0; color: var(--body); font-size: .98rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent), #ff8a4c); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff6f0; font-size: 1.1rem; }
.cta-band .btn--ghost { background: #fff; color: var(--accent-700); border-color: #fff; }
.section--dark .cta-band { box-shadow: none; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--muted); padding: 14px 0; }
.crumbs a { color: var(--blue); }
.crumbs span { margin: 0 .4rem; color: var(--line); }

/* Content prose */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul li { color: var(--body); }
.prose .callout { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0; }
.prose .callout p { margin: 0; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; padding: 46px 0 54px; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: #c8d8f0; max-width: 720px; font-size: 1.12rem; }
.page-hero .hero__cta { margin-top: 1.4rem; }
.page-hero .crumbs { color: #9fb6d8; padding-top: 0; }
.page-hero .crumbs a { color: #bcd2f2; }

/* Footer */
.footer { background: var(--navy-900); color: #9fb2cd; padding: 56px 0 24px; font-size: .92rem; }
.footer a { color: #cdddf2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand small { color: #7e93b3; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #7e93b3; }

/* Sticky mobile call bar */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--accent); box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
.callbar a { flex: 1; text-align: center; color: #fff; font-weight: 800; padding: 14px; font-size: 1.02rem; }
.callbar a:hover { text-decoration: none; }
.callbar a + a { border-left: 1px solid rgba(255,255,255,.3); }

/* Media & images */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; background: var(--bg-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media figcaption { font-size: .82rem; color: var(--muted); padding: 10px 14px; background: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split--media-first .media { order: -1; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .media { aspect-ratio: 4 / 3; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 10; }
.badge-onmedia { position: relative; }
.badge-onmedia .pin { position: absolute; left: 14px; bottom: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--media-first .media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-accent { color: var(--accent); }
.hide-mobile { }
.span-2 { grid-column: span 2; }

/* ============ Liveliness: motion & entrances ============ */
/* Scroll-reveal (only when JS is active; no-JS users see content normally) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance (pure CSS, runs on load) */
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) both; }
.hero > .container > div > p:first-of-type { animation: heroIn .7s .06s cubic-bezier(.22,.61,.36,1) both; }
.hero__badges { animation: heroIn .7s .14s cubic-bezier(.22,.61,.36,1) both; }
.hero__cta { animation: heroIn .7s .22s cubic-bezier(.22,.61,.36,1) both; }
.hero__trust { animation: heroIn .7s .3s cubic-bezier(.22,.61,.36,1) both; }
.hero .quote-card { animation: heroIn .8s .16s cubic-bezier(.22,.61,.36,1) both; }

/* Gentle attention pulse on the hero booking button */
@keyframes ctaPulse { 0%,100% { box-shadow: 0 8px 20px rgba(255,106,43,.35); } 50% { box-shadow: 0 10px 30px rgba(255,106,43,.6); } }
.hero .quote-card .btn--primary { animation: ctaPulse 2.8s ease-in-out 1.2s infinite; }

/* Animated underline accent on section eyebrows */
.eyebrow { position: relative; }
.section .center .eyebrow::after, .page-hero .eyebrow::after { content: ""; display: block; width: 28px; height: 3px; margin: 8px auto 0; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .5s ease .2s; }
.js .reveal.in .eyebrow::after, .page-hero .eyebrow::after { transform: scaleX(1); }

/* Link arrows nudge on hover */
.more, .tile { }
.card:hover .more, a.more:hover { letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .hero *, .quote-card .btn--primary { animation: none !important; }
}

/* ============ Notion fixes ============ */
/* Chips on light sections must be readable (the hero chip style is light text for dark bg) */
.section .chip, .section--soft .chip { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.section .chip { font-weight: 600; }
/* Tighter vertical rhythm (less empty space after images / between sections) */
.section { padding: 56px 0; }
.page-hero { padding: 42px 0 48px; }
.split { gap: 32px; }

/* ============ Design polish pass ============ */
* { transition-property: none; }
.btn, .card, .tile, .brand-pill, .review, .faq__item, .icon, a { transition: all .18s ease; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* Crisp line-icons inside the round icon chips */
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover .icon, .tile:hover .icon { transform: translateY(-2px) scale(1.04); }

/* Cards: softer, deeper lift */
.card { box-shadow: 0 1px 2px rgba(8,28,56,.05); }
.card:hover { box-shadow: 0 18px 40px rgba(8,28,56,.13); transform: translateY(-4px); border-color: #cdd9ee; }

/* Buttons: subtle sheen + stronger hover */
.btn--primary { background: linear-gradient(135deg, #ff7a3d, var(--accent)); }
.btn--primary:hover { background: linear-gradient(135deg, var(--accent), var(--accent-700)); box-shadow: 0 12px 26px rgba(255,106,43,.42); }
.btn:active { transform: translateY(0); }
.btn--lg { letter-spacing: .01em; }

/* Hero depth: faint dotted texture overlay */
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; }
.page-hero { position: relative; overflow: hidden; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }

/* Section headings: tighter, with a small accent rule under eyebrow */
.eyebrow { display: inline-block; }
h2 { letter-spacing: -.025em; }

/* Chips & pills refinement */
.chip { backdrop-filter: blur(4px); }
.brand-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Quote/booking card: lift on hover for the primary CTA */
.quote-card { border: 1px solid rgba(8,28,56,.06); }

/* Trust strip: separators */
.trust-strip .container > div { position: relative; }
.trust-strip b { letter-spacing: -.02em; }

/* Reviews: quote accent */
.review { position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 18px; font-size: 3rem; line-height: 1; color: var(--blue-soft); font-family: Georgia, serif; }

/* Smooth image zoom in media figures */
.media img { transition: transform .5s ease; }
.media:hover img { transform: scale(1.04); }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .topbar { display: none; }
  .menu, .nav__phone { display: none; }
  .nav__cta .btn { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px; gap: .2rem; box-shadow: var(--shadow); }
  .menu.open li { width: 100%; }
  .menu.open a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .menu.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .callbar { display: flex; }
  body { padding-bottom: 54px; }
  .cta-band { padding: 32px 22px; }
  .trust-strip .container { gap: 1.4rem; }
}

/* Collapse the desktop nav to a burger before it can overflow (tablet / narrow desktop) */
@media (max-width: 1024px) {
  .menu { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px; gap: .2rem; box-shadow: var(--shadow); z-index: 60; }
  .menu.open li { width: 100%; }
  .menu.open a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .menu.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
}
