/* ============================================================
   HOBSON PHARMACY — "THE CORNER DRUGSTORE" DESIGN SYSTEM
   Family-owned independent pharmacy, South Naperville IL.

   Direction: crisp white counter, deep Hobson blue blocks,
   logo red saved for the Rx mark and the one button we want
   pressed. Built for readers 60 and up: 19px body type,
   generous line height, 56px tap targets, a "Larger text"
   switch in the header, and no thin gray text anywhere.

   Type: Young Serif (chunky, friendly display serif that
   echoes the heavy serif in the logo) + Atkinson Hyperlegible
   Next (body font designed by the Braille Institute for
   readers with low vision).

   Signature element: the blue-and-white AWNING. A striped,
   scalloped awning edge hangs under the header and tops the
   "front counter" sections, like the awning over a corner
   drugstore. Nothing on Palos Pharmacy looks like this.
   ============================================================ */

/* ---------- 0. SELF-HOSTED FONTS ----------
   Self-hosted so there is no render-blocking request to Google.
   Latin subset only. Files are cached for a year, so a re-cut
   font needs a NEW filename. */
@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/young-serif-400.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:400 800;font-display:swap;
  src:url('/assets/fonts/atkinson-next-400-800.woff2') format('woff2');}

/* ---------- 1. THEME ZONE (design tokens) ---------- */
:root {
  /* Brand colors, sampled from the Hobson Pharmacy logo */
  --color-primary: #034E7B;      /* Hobson blue: headings, blue blocks, links */
  --color-primary-deep: #06355A; /* darker blue: footer, hover states */
  --color-primary-soft: #366F94; /* mid blue from the shield outline */
  --color-accent: #B81F23;       /* Hobson red: the Rx mark + primary CTA ONLY */
  --color-accent-deep: #96171B;  /* red hover */
  --color-bg: #FFFFFF;           /* clean white counter (Palos is cream; we are not) */
  --color-surface: #FFFFFF;
  --color-band: #EEF3F8;         /* pale blue-gray alternating band */
  --color-band-warm: #F7F4EE;    /* one warm band so the page is not all blue */
  --color-ink: #14263A;          /* main text: near-navy, high contrast */
  --color-ink-soft: #3E5065;     /* secondary text: still AA on white at 19px */
  --color-line: rgba(3, 78, 123, 0.16);
  --color-open: #0E6A3C;         /* "Open now" green (AA on the pale green pill) */

  /* Typography */
  --font-display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --section-pad: clamp(64px, 8vw, 104px);
  --radius: 10px;                /* squarer than Palos' 20-28px capsules */
  --radius-lg: 16px;
  --nav-height: 88px;

  /* Effects */
  --shadow-card: 0 10px 30px rgba(6, 53, 90, 0.10);
  --shadow-soft: 0 4px 14px rgba(6, 53, 90, 0.08);
  --shadow-pop: 0 22px 56px rgba(6, 53, 90, 0.18);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }
@media (min-width: 700px) { html { font-size: 19px; } }
/* "Larger text" switch (set by js/main.js, remembered per visitor) */
html.text-large { font-size: 21px; }
@media (min-width: 700px) { html.text-large { font-size: 23px; } }

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-primary);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { max-width: 68ch; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-deep); }
strong { font-weight: 700; }

/* Focus rings visible for keyboard users (older readers often navigate this way) */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; }
.section--band { background: var(--color-band); }
.section--warm { background: var(--color-band-warm); }
.section--blue { background: var(--color-primary); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255,255,255,0.9); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-primary); color: #fff;
  padding: 12px 20px; z-index: 300; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Section intro: eyebrow + heading + lead, centered or left */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--color-accent); border-radius: 2px; }
.section--blue .eyebrow { color: #fff; }
.section--blue .eyebrow::before { background: #fff; }
.lead { font-size: 1.15rem; color: var(--color-ink-soft); margin-top: 16px; }
.section--blue .lead { color: rgba(255,255,255,0.92); }
.intro { max-width: 760px; margin-bottom: 40px; }
.intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.intro--center .eyebrow { justify-content: center; }
.intro--center p { margin-left: auto; margin-right: auto; }

/* ---------- 3. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex; align-items: center;
  z-index: 100;
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-line);
  transition: box-shadow var(--transition);
}
.nav--solid { box-shadow: 0 6px 24px rgba(6, 53, 90, 0.10); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: none; list-style: none; gap: 22px; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  color: var(--color-ink); padding: 8px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); border-bottom-color: var(--color-accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: none; align-items: center; gap: 10px; white-space: nowrap;
  text-decoration: none; font-weight: 800; font-size: 1.05rem;
  color: #fff; background: var(--color-accent);
  padding: 12px 20px; border-radius: var(--radius);
  min-height: 52px; transition: background 0.2s, transform 0.2s;
}
.nav-phone:hover { background: var(--color-accent-deep); color: #fff; transform: translateY(-1px); }
.nav-phone svg { width: 20px; height: 20px; }

/* "Larger text" switch: a real accessibility control, and part of the personality */
.text-switch {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: none; border: 2px solid var(--color-line);
  border-radius: var(--radius); padding: 8px 12px;
  cursor: pointer; color: var(--color-primary);
  font-family: var(--font-body); font-weight: 700; min-height: 44px;
  transition: border-color 0.2s, background 0.2s;
}
.text-switch:hover { border-color: var(--color-primary); background: var(--color-band); }
.text-switch .a-small { font-size: 0.85rem; }
.text-switch .a-large { font-size: 1.15rem; }
.text-switch[aria-pressed="true"] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.text-switch .label { display: none; font-size: 0.85rem; font-weight: 600; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 2px solid var(--color-line); border-radius: var(--radius);
  cursor: pointer; padding: 11px 10px; min-height: 44px; min-width: 44px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--color-primary); border-radius: 2px; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-height) 0 0 0;
  background: var(--color-surface);
  display: flex; flex-direction: column; align-items: stretch;
  padding: 20px 24px 40px; gap: 4px;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 90; overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-body); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; color: var(--color-primary);
  padding: 16px 8px; border-bottom: 1px solid var(--color-line);
}
.mobile-menu a.menu-call {
  margin-top: 20px; background: var(--color-accent); color: #fff;
  text-align: center; border-radius: var(--radius); border: 0;
}

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}
/* Between 1000px and 1240px there is no room for the number, so the phone button is icon-only */
.nav-phone .num { display: none; }
@media (min-width: 1240px) {
  .nav-links { gap: 26px; }
  .nav-phone .num { display: inline; }
}
@media (min-width: 1360px) {
  .text-switch .label { display: inline; }
}

/* ---------- SIGNATURE: the awning ----------
   A blue/white striped canvas with a scalloped bottom edge.
   Hangs under the header, and tops the "front counter" sections. */
.awning {
  height: 26px; width: 100%;
  background: repeating-linear-gradient(90deg,
    var(--color-primary) 0 34px, #fff 34px 68px);
  position: relative;
}
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  background:
    radial-gradient(circle at 17px -2px, transparent 15px, var(--color-primary) 16px, var(--color-primary) 17px, transparent 18px) 0 0 / 34px 14px repeat-x,
    radial-gradient(circle at 17px -2px, transparent 15px, var(--color-primary) 16px) 0 0 / 68px 14px repeat-x;
  /* scallops: blue arcs on every stripe, so the edge reads as one canvas */
}
.awning--top { position: absolute; top: var(--nav-height); left: 0; z-index: 5; }
.awning--section { margin-bottom: 14px; }
.awning--red {
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 34px, #fff 34px 68px);
}
.awning--red::after {
  background:
    radial-gradient(circle at 17px -2px, transparent 15px, var(--color-accent) 16px, var(--color-accent) 17px, transparent 18px) 0 0 / 34px 14px repeat-x,
    radial-gradient(circle at 17px -2px, transparent 15px, var(--color-accent) 16px) 0 0 / 68px 14px repeat-x;
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 26px + 56px);
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, #F4F8FB 0%, #FFFFFF 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 18px;
}
.hero-kicker img { width: 30px; height: auto; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero h1 .accent { color: var(--color-accent); }
.hero .lead { font-size: 1.25rem; max-width: 34em; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--color-ink-soft); font-size: 0.98rem; }
.hero-note .stars { color: #E2A100; letter-spacing: 1px; font-size: 1.1rem; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-pop);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* The "front counter" card: address, hours, open-now at a glance */
.counter-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); border: 1px solid var(--color-line);
  padding: 22px 24px; margin-top: -40px; margin-left: 16px; margin-right: 16px;
  position: relative; z-index: 2;
  border-top: 5px solid var(--color-accent);
}
.counter-card .addr { display: flex; gap: 12px; align-items: flex-start; }
.counter-card .addr svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--color-accent); margin-top: 3px; }
.counter-card .addr strong { display: block; font-size: 1.12rem; color: var(--color-primary); line-height: 1.3; }
.counter-card .addr span { color: var(--color-ink-soft); font-size: 0.95rem; }
.counter-card .addr a { font-weight: 700; }
.hours-mini { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--color-line); font-size: 0.98rem; }
.hours-mini dt { font-weight: 700; color: var(--color-primary); }
.hours-mini dd { color: var(--color-ink); }
.open-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 700; font-size: 0.95rem; color: var(--color-open);
  background: rgba(14, 106, 60, 0.09); padding: 6px 12px; border-radius: 6px;
}
.open-pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(21,127,75,0.18); }
.open-pill.is-closed { color: var(--color-ink-soft); background: var(--color-band); }
.open-pill.is-closed::before { box-shadow: 0 0 0 4px rgba(62,80,101,0.14); }

@media (min-width: 900px) {
  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .counter-card { margin-left: -36px; margin-right: 24px; margin-top: -56px; }
}

/* ---------- 5. Buttons ----------
   Big, square-ish, high contrast. Minimum 56px tall for older hands. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); color: #fff; box-shadow: 0 8px 22px rgba(184, 31, 35, 0.28); }
.btn--primary:hover { background: var(--color-accent-deep); color: #fff; }
.btn--blue { background: var(--color-primary); color: #fff; box-shadow: 0 8px 22px rgba(3, 78, 123, 0.25); }
.btn--blue:hover { background: var(--color-primary-deep); color: #fff; }
.btn--ghost { border-color: var(--color-primary); color: var(--color-primary); background: #fff; }
.btn--ghost:hover { background: var(--color-band); color: var(--color-primary-deep); }
.btn--white { background: #fff; color: var(--color-primary); }
.btn--white:hover { background: var(--color-band); }
.btn--outline-white { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--lg { font-size: 1.15rem; padding: 16px 34px; min-height: 62px; }

/* ---------- 6. Trust strip ---------- */
.trust-strip {
  background: var(--color-primary); color: #fff;
  padding: 22px 0;
}
.trust-list {
  list-style: none; display: grid; gap: 14px 28px;
  grid-template-columns: 1fr;
}
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; }
.trust-list svg { width: 28px; height: 28px; flex-shrink: 0; }
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 7. Cards / services ---------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 40px; }
.card-grid--2 { grid-template-columns: 1fr; }
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-line);
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-ink-soft); font-size: 1rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(3,78,123,0.35); }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--color-band); color: var(--color-primary);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 30px; height: 30px; }
/* Faint Rx shield watermark in the corner of service cards */
.card--service::after {
  content: ""; position: absolute; right: -18px; bottom: -22px; width: 96px; height: 106px;
  background: url('/assets/img/hobson-mark.png') center/contain no-repeat;
  opacity: 0.06; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.card--service:hover::after { opacity: 0.12; transform: rotate(-6deg); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 8. Steps + transfer form ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--wide-left { grid-template-columns: 1.15fr 1fr; } }

.steps { list-style: none; counter-reset: step; display: grid; gap: 22px; margin-top: 32px; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-display); font-size: 1.6rem;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--color-ink-soft); }

.form-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); border: 1px solid var(--color-line);
  padding: 32px 28px; border-top: 6px solid var(--color-primary);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--color-ink-soft); margin-bottom: 22px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; color: var(--color-primary); }
.field .opt { font-weight: 400; color: var(--color-ink-soft); }
.field input, .field select {
  font: inherit; font-size: 1.05rem; color: var(--color-ink);
  padding: 14px 16px; min-height: 56px;
  border: 2px solid rgba(3,78,123,0.35); border-radius: var(--radius);
  background: #fff; width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid var(--color-accent); outline-offset: 2px; border-color: var(--color-primary); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hidden-field { display: none; }
.form-reassure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--color-band); border-radius: var(--radius);
  padding: 14px 16px; margin: 6px 0 18px; font-size: 0.95rem; color: var(--color-ink);
}
.form-reassure svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--color-open); margin-top: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; font-size: 0.98rem; }
.consent input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--color-primary); flex-shrink: 0; }
.form-submit { width: 100%; }
.form-fineprint { font-size: 0.85rem; color: var(--color-ink-soft); margin-top: 14px; line-height: 1.5; }

/* ---------- 9. Feature split (photo + copy) ---------- */
.feature { display: grid; gap: 36px; align-items: center; }
.feature-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.feature-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: #fff; color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow-card);
}
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.check-list svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--color-open); margin-top: 2px; }
.section--blue .check-list svg { color: #fff; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature--flip .feature-photo { order: 2; }
}

/* Two feature tiles side by side (immunizations + med sync) */
.tile-grid { display: grid; gap: 24px; margin-top: 40px; }
.tile {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tile-body p { color: var(--color-ink-soft); }
.tile-body .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 860px) { .tile-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 10. Why Hobson (differentiators with photo) ---------- */
.why-grid { display: grid; gap: 40px; align-items: center; }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.why-item .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--color-band); color: var(--color-primary); display: grid; place-items: center; }
.why-item .icon svg { width: 28px; height: 28px; }
.why-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.why-item p { color: var(--color-ink-soft); font-size: 1rem; }
.why-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-pop); }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }

/* ---------- 11. Reviews band ---------- */
.review-band { text-align: center; }
.review-band .stars { font-size: 2.2rem; color: #E2A100; letter-spacing: 6px; }
.review-band h2 { margin-top: 8px; }
.review-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- 12. Service area ---------- */
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.town-list li {
  background: #fff; border: 2px solid var(--color-line); color: var(--color-primary);
  font-weight: 700; padding: 12px 20px; border-radius: var(--radius); font-size: 1rem;
}
.town-list li.is-home { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- 13. FAQ ---------- */
.faq-list { margin-top: 36px; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  padding: 4px 24px; transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--color-primary); }
.faq-item summary {
  font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; color: var(--color-primary);
  cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--color-band);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 400; color: var(--color-primary);
}
.faq-item[open] summary::after { content: "–"; background: var(--color-primary); color: #fff; }
.faq-item p { color: var(--color-ink); padding: 0 0 20px; max-width: 72ch; }
.faq-item p + p { margin-top: -8px; }

/* ---------- 14. Contact ---------- */
.contact-grid { display: grid; gap: 28px; margin-top: 40px; }
.contact-block {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft); padding: 28px;
}
.contact-block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.contact-block h3 svg { width: 26px; height: 26px; color: var(--color-accent); }
.contact-block .big { font-family: var(--font-display); font-size: 1.6rem; color: var(--color-primary); text-decoration: none; display: inline-block; line-height: 1.2; }
.contact-block .big:hover { color: var(--color-accent); }
.contact-block address { font-style: normal; font-size: 1.05rem; line-height: 1.5; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours-table th, .hours-table td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--color-line); }
.hours-table th { font-weight: 700; color: var(--color-primary); width: 55%; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table td.closed { color: var(--color-ink-soft); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 15. CTA band + footer ---------- */
.cta-band { background: var(--color-primary-deep); color: #fff; text-align: center; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 14px auto 0; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.footer { background: var(--color-primary-deep); color: rgba(255,255,255,0.9); padding: 56px 0 28px; font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid h3 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; line-height: 1.3; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid ul a { text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-logo { width: 240px; height: auto; }
.footer-legal {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 0.85rem; opacity: 0.85;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- 16. Sticky mobile call bar ----------
   One big red Call button always in reach on phones. */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; box-shadow: 0 -6px 24px rgba(6,53,90,0.16);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-line);
}
.call-bar a { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; font-weight: 800; font-size: 1.05rem; border-radius: var(--radius); }
.call-bar a svg { width: 22px; height: 22px; }
.call-bar .call { background: var(--color-accent); color: #fff; }
.call-bar .dir { color: var(--color-primary); border: 2px solid var(--color-primary); margin-left: 10px; }
body { padding-bottom: 86px; }
@media (min-width: 1000px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- 17. Interior pages ---------- */
.page-hero { padding-top: calc(var(--nav-height) + 26px + 48px); padding-bottom: 40px; background: linear-gradient(180deg, #F4F8FB 0%, #fff 100%); }
.breadcrumb { font-size: 0.92rem; color: var(--color-ink-soft); margin-bottom: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 30px; margin-bottom: 10px; }
.prose p, .prose li { margin-bottom: 14px; color: var(--color-ink); }
.prose ul, .prose ol { padding-left: 26px; margin-bottom: 18px; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.prose th { color: var(--color-primary); background: var(--color-band); }
.prose .callout {
  background: var(--color-band); border-left: 5px solid var(--color-accent);
  padding: 18px 22px; border-radius: 8px; margin: 26px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.page-layout { display: grid; gap: 40px; align-items: start; }
.side-card { position: sticky; top: calc(var(--nav-height) + 24px); }
@media (min-width: 1000px) { .page-layout { grid-template-columns: 1fr 340px; gap: 64px; } }
.side-card .form-card { padding: 26px 24px; }
.side-card .contact-mini { margin-top: 18px; background: var(--color-band); border-radius: var(--radius-lg); padding: 22px 24px; }
.side-card .contact-mini p { margin-bottom: 8px; font-size: 0.98rem; }
.side-card .contact-mini .big { font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; }

/* ---------- 17b. Grand opening popup (temporary, remove after 2026-09-25) ---------- */
.popup { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(6, 53, 90, 0.72); backdrop-filter: blur(2px); }
.popup-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); width: min(520px, 100%); max-height: calc(100vh - 32px);
  display: flex; flex-direction: column; overflow: visible;
  animation: popup-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.popup-card picture, .popup-card img { display: block; width: 100%; height: auto; }
.popup-card picture { overflow-y: auto; flex: 1; min-height: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.popup-close {
  position: absolute; top: -58px; right: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--color-primary); border: 0; border-radius: var(--radius);
  padding: 10px 16px; min-height: 48px; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-card);
}
.popup-close svg { width: 22px; height: 22px; }
.popup-close:hover { background: var(--color-band); }
.popup-card { margin-top: 58px; max-height: calc(100vh - 32px - 58px); }
.popup-actions { border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); background: #fff; }
.popup-actions .btn { min-height: 52px; padding: 10px 14px; font-size: 1rem; }
body.popup-open { overflow: hidden; }
@keyframes popup-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .popup-card { animation: none; } }

/* ---------- 18. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Hero content is exempt from reveal so LCP is not gated by animation */
.hero .reveal { opacity: 1; transform: none; transition: none; }

.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.link-draw { position: relative; text-decoration: none; }
.link-draw::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.link-draw:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .nav, .call-bar, .awning, .mobile-menu, .cta-band { display: none !important; }
  body { padding: 0; }
}
