/* =========================================================================
   Autobuddy — stylesheet
   Brand: Poppins · blue #084c89 (Auto) + green #04933e (buddy)
   Audience: elderly 65+ → 18px min body, 52px min targets, AA+ contrast
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --green: #04933e;
  --green-dark: #037832;
  --blue: #084c89;
  --blue-dark: #063a6b;
  --white: #fcfcfc;
  --white-true: #ffffff;
  --ink: #1a1a1a;
  --ink-muted: #4a4a4a;
  --green-light: #e8f5ee;
  --blue-light: #e8f0f8;
  --border: #d4d4d4;
  --error: #c0392b;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(8, 76, 137, .06);
  --shadow-md: 0 10px 30px rgba(8, 76, 137, .10);
  --shadow-lg: 0 24px 60px rgba(8, 76, 137, .16);

  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3rem, 7vw, 5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.125rem;        /* 18px min body */
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }

h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--green { background: var(--green-light); }
.section--blue { background: var(--blue-light); }
.section--dark { background: var(--blue); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 44rem; margin: 0 auto clamp(2rem,4vw,3rem); text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green);
  margin-bottom: .6rem;
}
.section--blue .eyebrow, .section--dark .eyebrow { color: var(--blue); }
.section--dark .eyebrow { color: #8fc4ff; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink-muted); }
.section--dark .lead { color: rgba(255,255,255,.9); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .8rem 1.2rem;
  border-radius: var(--radius-btn); font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Focus visibility (never removed) ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utility bar ---------- */
.utilitybar { background: var(--blue); color: #fff; font-size: 1rem; }
.utilitybar__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 44px; padding-block: .4rem; flex-wrap: wrap;
}
.utilitybar__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
}
.utilitybar__phone:hover { text-decoration: underline; }
.utilitybar__hours { color: rgba(255,255,255,.85); }
.utilitybar__mail { color: rgba(255,255,255,.85); margin-left: auto; text-decoration: none; }
.utilitybar__mail:hover { color: #fff; text-decoration: underline; }

/* ---------- Site header / nav ---------- */
.siteheader {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 2px solid var(--border);
}
.siteheader__inner { display: flex; align-items: center; gap: 1rem; min-height: 84px; padding-block: .5rem; }
.siteheader__logo { flex: 0 0 auto; }
.siteheader__logo img { width: clamp(150px, 18vw, 200px); height: auto; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.primary-nav__list { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.primary-nav__list a {
  display: inline-flex; align-items: center; min-height: 48px; padding: .4rem .7rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-btn); white-space: nowrap;
}
.primary-nav__list a:hover { color: var(--green); background: var(--green-light); }
.primary-nav__list a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); border-radius: 4px; }
.primary-nav__cta { white-space: nowrap; }

/* Hamburger */
.navtoggle {
  display: none; margin-left: auto; align-items: center; gap: .5rem;
  background: var(--blue); color: #fff; border: none;
  padding: .7rem 1rem; min-height: 52px; border-radius: var(--radius-btn);
  font-family: var(--font); font-weight: 700; font-size: 1rem; cursor: pointer;
}
.navtoggle__icon { display: inline-flex; flex-direction: column; gap: 4px; }
.navtoggle__bar { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; }
.navtoggle__label { margin-left: .15rem; }

/* Drawer close button (mobile only) */
.navclose {
  display: none; position: absolute; top: 1rem; right: 1.25rem;
  align-items: center; gap: .4rem; background: var(--green-light); color: var(--blue);
  border: 2px solid var(--border); border-radius: var(--radius-btn);
  padding: .5rem .9rem; min-height: 48px; font-family: var(--font); font-weight: 700;
  font-size: 1rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: 1.125rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  border-radius: var(--radius-btn); padding: .85rem 1.6rem; min-height: 52px;
  transition: background .15s, transform .05s, box-shadow .15s; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--blue { background: var(--blue); color: #fff; border-color: #fff; }
.btn--blue:hover { background: var(--blue-dark); border-color: #fff; }
.btn--phone { background: var(--blue); color: #fff; font-size: 1.2rem; padding-inline: 1.4rem; }
.btn--phone:hover { background: var(--blue-dark); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #fff; color: var(--blue); }
.btn--lg { font-size: 1.3rem; min-height: 60px; padding: 1rem 2rem; }
.btn--block { width: 100%; }

/* ---------- Phone display component ---------- */
.phonecard {
  display: inline-flex; flex-direction: column; gap: .15rem;
}
.phonecard__label { font-weight: 600; color: var(--ink-muted); font-size: 1rem; }
.phonecard__num {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: clamp(1.6rem, 4vw, 2rem); color: var(--blue);
  text-decoration: none; line-height: 1.1;
}
.phonecard__num:hover { color: var(--blue-dark); }
.phonecard__num svg { flex: 0 0 auto; }
.phonecard__hours { color: var(--ink-muted); font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { background:
    radial-gradient(120% 90% at 85% 0%, var(--blue-light) 0%, rgba(232,240,248,0) 55%),
    radial-gradient(120% 90% at 0% 100%, var(--green-light) 0%, rgba(232,245,238,0) 55%),
    var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__title { margin-bottom: .35em; }
.hero__title .accent-green { color: var(--green); }
.hero__title .accent-blue { color: var(--blue); }
.hero__lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-muted); max-width: 34rem; }
.hero__phone { margin-top: 1.5rem; padding: 1.1rem 1.3rem; background: var(--white-true);
  border: 2px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  display: inline-flex; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11; object-fit: cover;
}
.hero__badge {
  position: absolute; left: -12px; bottom: -18px; background: var(--white-true);
  border-radius: var(--radius-card); box-shadow: var(--shadow-md); padding: .9rem 1.15rem;
  display: flex; align-items: center; gap: .7rem; max-width: 17rem;
}
.hero__badge-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-light); display: grid; place-items: center; color: var(--green); }
.hero__badge strong { display: block; font-size: 1.05rem; }
.hero__badge span { font-size: .95rem; color: var(--ink-muted); }

/* ---------- Dual-path cards ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pathcard {
  background: var(--white-true); border: 1px solid var(--border);
  border-top: 5px solid var(--c); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.pathcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pathcard--green { --c: var(--green); background: var(--green-light); }
.pathcard--blue { --c: var(--blue); background: var(--blue-light); }
.pathcard__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--white-true); color: var(--c); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.pathcard h3 { color: var(--c); font-size: clamp(1.35rem, 2.6vw, 1.6rem); font-weight: 700; }
.pathcard p { color: var(--ink); }
.pathcard .btn { margin-top: auto; }

/* ---------- Feature / info cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.card {
  background: var(--white-true); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: clamp(1.4rem, 3vw, 1.9rem); box-shadow: var(--shadow-sm);
}
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-light); color: var(--green); margin-bottom: .9rem; }
.card--blue .card__icon { background: var(--blue-light); color: var(--blue); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Steps (hoe het werkt) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); counter-reset: step; }
.step { background: var(--white-true); border-radius: var(--radius-card); padding: 2rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm); position: relative; text-align: center; }
.step__num {
  width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 700; font-size: 1.6rem; display: grid; place-items: center; margin: 0 auto 1rem;
  box-shadow: 0 6px 16px rgba(4,147,62,.3);
}
.step:nth-child(2) .step__num { background: var(--blue); box-shadow: 0 6px 16px rgba(8,76,137,.3); }
.step:nth-child(3) .step__num { background: var(--green); }
.step h3 { margin-bottom: .35em; }
.step p { margin-bottom: 0; color: var(--ink-muted); }

/* ---------- Split media+text rows ---------- */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.media-row--reverse .media-row__media { order: 2; }
.media-row__media img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover; }
.media-row__body h2 { margin-bottom: .4em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7em; }
.checklist svg { flex: 0 0 auto; color: var(--green); margin-top: .25em; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--white-true); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 2rem 2.1rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote__stars { color: #f5a623; margin-bottom: .6rem; letter-spacing: 2px; }
.quote__text { font-size: 1.2rem; line-height: 1.65; margin-bottom: 1.4rem; }
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex: 0 0 auto; }
.quote__name { font-weight: 700; line-height: 1.2; }
.quote__role { color: var(--ink-muted); font-size: .95rem; }

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; padding: 0; list-style: none; margin: 0; }
.trust li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.trust svg { color: var(--green); flex: 0 0 auto; }

/* ---------- CTA band ---------- */
.ctaband { background: var(--blue); color: #fff; }
.ctaband__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between;
  padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.ctaband h2 { color: #fff; margin-bottom: .25em; }
.ctaband p { color: rgba(255,255,255,.9); margin: 0; max-width: 38rem; }
.ctaband__text { flex: 1 1 22rem; }
.ctaband__actions { display: flex; flex-direction: column; gap: .9rem; flex: 0 0 auto; }
.ctaband__paths { display: flex; gap: .8rem; flex-wrap: wrap; }
.ctaband .btn--phone { background: #fff; color: var(--blue); }
.ctaband .btn--phone:hover { background: var(--green-light); }

/* ---------- Forms ---------- */
.formwrap { background: var(--white-true); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-intro { background: var(--green-light); border-left: 5px solid var(--green); border-radius: 8px;
  padding: 1rem 1.2rem; margin-bottom: 1.6rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: .5rem; }
.form-group .req { color: var(--error); }
.form-group .hint { font-weight: 400; font-size: 1rem; color: var(--ink-muted); margin-bottom: .5rem; margin-top: -.3rem; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font); font-weight: 400; font-size: 1.125rem; color: var(--ink);
  background: var(--white-true); border: 2px solid var(--border); border-radius: var(--radius-btn);
  padding: .75rem 1rem; min-height: 52px; width: 100%;
  margin-top: auto; /* push field to bottom of the group so inputs align across a row even when a label wraps */
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); outline: 3px solid rgba(8,76,137,.25); outline-offset: 2px;
}
.form-group input:user-invalid, .form-group textarea:user-invalid, .form-group select:user-invalid { border-color: var(--error); }
.form-error { color: var(--error); font-weight: 600; font-size: 1rem; margin-top: .4rem; }
.form-error[hidden] { display: none; }
.form-error::before { content: "⚠ "; }

/* checkbox grid for availability */
.checkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; }
.checkopt { display: flex; align-items: center; gap: .6rem; background: var(--white-true);
  border: 2px solid var(--border); border-radius: var(--radius-btn); padding: .65rem .9rem; min-height: 52px;
  font-weight: 500; cursor: pointer; }
.checkopt:has(input:checked) { border-color: var(--green); background: var(--green-light); }
.checkopt:has(input:focus-visible) { outline: 3px solid rgba(8,76,137,.25); outline-offset: 2px; }
.checkopt input { width: 24px; height: 24px; min-height: auto; accent-color: var(--green); flex: 0 0 auto; }

.form-foot { margin-top: 1.6rem; }
.form-altcall { margin-top: 1rem; font-weight: 600; }
.form-altcall a { color: var(--blue); font-weight: 700; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* server-side error summary */
.alert { border-radius: var(--radius-card); padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-weight: 600; }
.alert--error { background: #fbeae8; border-left: 5px solid var(--error); color: #7a2218; }
.alert ul { margin: .5rem 0 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 50rem; margin-inline: auto; }
.faq__item { border-bottom: 2px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.2rem .25rem; font-weight: 600; font-size: 1.2rem;
  display: flex; align-items: center; gap: 1rem; min-height: 52px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: 0 0 auto; margin-left: auto; width: 14px; height: 14px;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__answer { padding: 0 .25rem 1.4rem; color: var(--ink); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Page hero (subpages) ---------- */
.pagehero { background:
    radial-gradient(110% 120% at 100% 0%, var(--green-light) 0%, rgba(232,245,238,0) 55%),
    var(--white); padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem,3vw,2.5rem); }
.pagehero--blue { background:
    radial-gradient(110% 120% at 100% 0%, var(--blue-light) 0%, rgba(232,240,248,0) 55%),
    var(--white); }
.pagehero__inner { max-width: 48rem; }
.breadcrumb { font-size: 1rem; color: var(--ink-muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Success / bedankt ---------- */
.success { text-align: center; max-width: 40rem; margin-inline: auto; }
.success__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--green-light);
  color: var(--green); display: grid; place-items: center; margin: 0 auto 1.5rem; }

/* ---------- Footer ---------- */
.sitefooter { background: var(--blue); color: var(--white); }
.sitefooter__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.sitefooter__logo {
  width: 190px; height: auto; background: var(--white);
  padding: .55rem .7rem; border-radius: 10px; margin-bottom: 1rem;
}
.sitefooter__tag { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 34ch; margin: 0; }
.sitefooter__h {
  font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 1rem;
}
.sitefooter__nav ul { list-style: none; margin: 0; padding: 0; }
.sitefooter__nav li { margin-bottom: .55rem; }
.sitefooter__nav a {
  color: rgba(255,255,255,.85); text-decoration: none; font-size: 1rem;
  display: inline-flex; min-height: 32px; align-items: center;
}
.sitefooter__nav a:hover { color: #fff; text-decoration: underline; }
.sitefooter__contact a { color: #fff; }
.sitefooter__phone {
  display: inline-block; font-weight: 700; font-size: 1.5rem; color: #fff;
  text-decoration: none; line-height: 1.2;
}
.sitefooter__phone:hover { text-decoration: underline; }
.sitefooter__phone--sm { font-size: 1.2rem; margin-top: .35rem; }
.sitefooter__hours { color: rgba(255,255,255,.8); font-size: 1rem; margin: .3rem 0 1rem; }
.sitefooter__bottom { border-top: 1px solid rgba(255,255,255,.18); }
.sitefooter__bottom-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding-block: 1.1rem; font-size: .95rem; color: rgba(255,255,255,.7);
}
.sitefooter__bottom-inner p { margin: 0; }
.sitefooter__bottom-inner a { color: rgba(255,255,255,.85); }
.sitefooter__credit a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.stack-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.section--tight { padding-block: clamp(2rem,4vw,3rem); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .media-row { grid-template-columns: 1fr; }
  .media-row--reverse .media-row__media { order: -1; }
  .ctaband__inner { flex-direction: column; align-items: stretch; }
  .ctaband__actions { width: 100%; }
}

@media (max-width: 1024px) {
  /* Mobile/tablet nav — switch to drawer before links get crowded */
  .navtoggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 5rem 1.25rem 2rem; transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.18); overflow-y: auto; z-index: 150;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .navclose { display: inline-flex; }
  .primary-nav__list { flex-direction: column; gap: .25rem; }
  .primary-nav__list a { min-height: 56px; font-size: 1.15rem; padding-inline: 1rem; }
  .primary-nav__cta { margin-top: 1rem; width: 100%; min-height: 56px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 140; border: 0; }
  .nav-backdrop[hidden] { display: none; }
  body.nav-open { overflow: hidden; }
  /* Lift the header's stacking context above the backdrop so the in-drawer
     close button (trapped inside .siteheader) stays clickable. */
  body.nav-open .siteheader { z-index: 160; }
}

@media (max-width: 720px) {
  .sitefooter__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .paths { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .utilitybar__hours { display: none; }       /* keep phone + mail; hours shown in hero */
  .utilitybar__mail { margin-left: auto; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  body { font-size: 1.0625rem; }              /* 17px min mobile */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
