/* =====================================================================
   Mosman Dental Centre - Phase 4 mockup stylesheet
   Implements 03-design/design-system.md exactly.
   Tokens, type scale, colour, motif (the limestone river-line),
   components. Zero border-radius. No glassmorphism. Calm motion only.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens (:root) - copy-paste from design-system.md section 11
   --------------------------------------------------------------------- */
:root {
  /* ---- Fonts ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* ---- Type scale ---- */
  --fs-display:  clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  --fs-h1:       clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --fs-h2:       clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
  --fs-h3:       clamp(1.3rem, 1.1rem + 0.9vw, 1.625rem);
  --fs-h4:       clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h5:       1rem;
  --fs-h6:       0.875rem;
  --fs-lead:     clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-body:     1.0625rem;
  --fs-small:    0.9375rem;
  --fs-xs:       0.8125rem;
  --fs-overline: 0.8125rem;

  /* ---- Brand colours ---- */
  --limestone:      #F6F2EA;
  --limestone-deep: #EDE6D8;
  --surface-white:  #FCFAF5;
  --river:          #2E6E6A;
  --river-deep:     #234F4C;
  --river-pale:     #DCE8E5;
  --foreshore-ink:  #1E2826;
  --pine:           #3C4744;
  --driftwood:      #6E756F;
  --sand-line:      #D9D1C2;
  --sunlit-sand:    #E8B45A;
  --alert:          #B23A2E;

  /* ---- Semantic colours ---- */
  --bg:          var(--limestone);
  --bg-alt:      var(--limestone-deep);
  --surface:     var(--surface-white);
  --ink:         var(--foreshore-ink);
  --ink-2:       var(--pine);
  --muted:       var(--driftwood);
  --line:        var(--sand-line);
  --accent:      var(--river);
  --accent-deep: var(--river-deep);
  --accent-ink:  var(--river-deep);
  --accent-pale: var(--river-pale);
  --flag:        var(--sunlit-sand);
  --danger:      var(--alert);
  --on-accent:   #FCFAF5;

  /* ---- Spacing ---- */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;     --space-8: 4rem;
  --space-9: 6rem;    --space-10: 8rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter:    clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* ---- Layout ---- */
  --maxw: 1200px;
  --maxw-narrow: 760px;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 0 var(--line);
  --shadow-header: 0 1px 0 var(--line), 0 6px 16px -12px rgba(30,40,38,0.25);

  /* ---- Motion ---- */
  --dur-fast: 120ms;
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------
   2. Global resets (system assumes these). Zero radius everywhere.
   --------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}
html { -webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
img { max-width: 100%; height: auto; display: block; }
:root { font-size: 100%; }

/* ---------------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.005em; font-weight: 600; }
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
h4 { font-size: var(--fs-h4); line-height: 1.3; }
h5 { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: 0.01em; }
h6 { font-size: var(--fs-h6); line-height: 1.4; letter-spacing: 0.02em; }

p { margin: 0 0 var(--space-4); max-width: 66ch; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.overline {
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--space-3);
  display: inline-block;
}
small, .small { font-size: var(--fs-small); }
.fine-print { font-size: var(--fs-xs); color: var(--muted); }
strong, b { font-weight: 600; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); max-width: 66ch; }

/* ---------------------------------------------------------------------
   4. The river-line motif (one element, reused). design-system.md S.4
   --------------------------------------------------------------------- */
.river-line::before {
  content: "";
  display: inline-block;
  width: 1.125rem;        /* 18px */
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.625rem;
}
.edge-rule { border-left: 2px solid var(--accent); }
.edge-rule:hover { border-left-width: 3px; }

/* ---------------------------------------------------------------------
   5. Layout container, sections, dividers
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: var(--space-7); max-width: 60ch; }
.section__head .lead { margin-bottom: 0; }

.divider {
  position: relative;
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: 0;
}
.divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 2px;
  margin-top: -1px;
  background: var(--accent);
}

/* Generic stack spacing helpers */
.stack > * + * { margin-top: var(--space-4); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* ---------------------------------------------------------------------
   6. Skip link + focus + visually hidden (accessibility, S.9)
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent-deep);
  color: var(--on-accent);
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------
   7. Buttons (S.6.1)
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn--secondary { background: transparent; color: var(--accent-ink); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-pale); }

.btn--quiet {
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  color: var(--accent-ink);
  background: transparent;
  border-bottom: 2px solid var(--accent);
}
.btn--quiet:hover { color: var(--accent-deep); border-bottom-width: 3px; }

.btn--danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn--danger:hover { background: var(--bg-alt); }

.btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* ---------------------------------------------------------------------
   8. Utility bar + header nav (S.6.2)
   --------------------------------------------------------------------- */
.utility-bar {
  background: var(--accent-deep);
  color: var(--on-accent);
  font-size: var(--fs-small);
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.utility-bar a { color: var(--on-accent); text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar .util-hours { display: inline-flex; align-items: center; gap: 0.5rem; }
.utility-bar svg { width: 16px; height: 16px; flex: 0 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--dur) var(--ease);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-5);
  transition: min-height var(--dur) var(--ease);
}
/* Condensed sticky header on scroll */
.site-header.is-condensed .nav { min-height: 60px; }
.site-header.is-condensed { box-shadow: 0 1px 0 var(--line), 0 8px 20px -12px rgba(30,40,38,0.35); }

.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 40px; width: auto; display: block; }

.nav__links { display: flex; gap: var(--space-5); align-items: center; }
.nav__link {
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.nav__link:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }

.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav__actions .btn { padding: 0.625rem 1.125rem; min-height: 44px; }

/* Services dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__dropdown-toggle:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.nav__dropdown-toggle:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.nav__dropdown-toggle svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.nav__dropdown[data-open="true"] .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown[data-open="true"] .nav__dropdown-toggle { color: var(--accent-ink); border-bottom-color: var(--accent); }

.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-header);
  display: none;
  padding: var(--space-3);
  z-index: 60;
}
.nav__dropdown[data-open="true"] .nav__menu,
.nav__dropdown:focus-within .nav__menu { display: block; }
.nav__menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__menu a:hover { background: var(--accent-pale); color: var(--accent-ink); }
.nav__group-label {
  font-size: var(--fs-overline);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.75rem 0.25rem;
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 2px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.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; }

/* ---------------------------------------------------------------------
   9. Mobile bottom CTA bar (S.6.2)
   --------------------------------------------------------------------- */
.mobile-cta { display: none; }

/* ---------------------------------------------------------------------
   10. Hero (S.6.3)
   --------------------------------------------------------------------- */
.hero { background: var(--bg); padding-block: var(--section-y); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}
.hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.hero h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.02em; }
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: var(--space-6);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__trust {
  margin-top: var(--space-5);
  font-size: var(--fs-small);
  color: var(--ink-2);
  max-width: 52ch;
}
.hero__trust .rating { margin-right: 0.25rem; }

/* Page heading hero (interior pages, no photo) */
.page-hero { background: var(--bg); padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.page-hero .container { max-width: var(--maxw-narrow); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   11. Service / product cards (S.6.4)
   --------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-left-width var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { border-left-width: 4px; transform: translateY(-2px); border-color: var(--line); }
.card__flag {
  align-self: flex-start;
  background: var(--flag);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  margin: 0;
}
.card__body { color: var(--ink-2); font-size: var(--fs-body); margin: 0; }
.card__link { margin-top: auto; }

/* ---------------------------------------------------------------------
   12. Category cards (S.6.9) - motif on the top edge
   --------------------------------------------------------------------- */
.cat-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, 1fr); }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cat-card h3 { font-family: var(--font-display); font-size: var(--fs-h2); margin: 0; }
.cat-card > p { color: var(--ink-2); margin: 0; }
.cat-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.cat-card li { margin: 0; }
.cat-card li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.cat-card li a::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--accent);
  margin-right: 0.5rem;
  flex: 0 0 auto;
}
.cat-card li a:hover { color: var(--accent-ink); }
.cat-card li a:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   13. Reassurance / feature blocks
   --------------------------------------------------------------------- */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-7);
}
.feature h2 { margin-top: 0; }
.feature p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split__media img { width: 100%; border: 1px solid var(--line); }

/* Two-column prose */
.prose { max-width: 66ch; }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }

/* ---------------------------------------------------------------------
   14. Detailed service list (services hub bodies)
   --------------------------------------------------------------------- */
.svc-list { display: grid; gap: var(--space-5); }
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-5) var(--space-6);
  transition: border-left-width var(--dur) var(--ease);
}
.svc:hover { border-left-width: 4px; }
.svc h3 { margin-bottom: var(--space-2); }
.svc .svc__tag { font-style: italic; color: var(--accent-ink); margin: 0 0 var(--space-3); display: block; font-size: var(--fs-small); }
.svc p:last-child { margin-bottom: 0; }
.svc__flag {
  display: inline-block;
  background: var(--flag);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  margin-bottom: var(--space-3);
}

/* ---------------------------------------------------------------------
   15. Clinician / team cards
   --------------------------------------------------------------------- */
.team-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, 1fr); }
.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.person__name { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin: 0; }
.person__role { color: var(--accent-ink); font-weight: 600; font-size: var(--fs-small); margin: 0; }
.person p { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------------
   16. Reviews / testimonials (S.6.6)
   --------------------------------------------------------------------- */
.rating { color: var(--flag); letter-spacing: 0.1em; font-size: 1.05rem; }
.rating__count { color: var(--ink-2); font-style: normal; font-size: var(--fs-small); margin-left: 0.5rem; }
.aggregate {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-6);
  font-size: var(--fs-h4);
  font-weight: 700;
}
.aggregate .rating { font-size: 1.3rem; }

.reviews { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, 1fr); }
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review__quote {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}
.review__who { font-weight: 600; color: var(--ink); font-style: normal; margin: 0; }

/* Single pull-quote / blockquote with the heavier river-line */
blockquote.pull {
  border-left: 3px solid var(--accent);
  margin: var(--space-6) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--ink);
  max-width: 60ch;
}
blockquote.pull cite { display: block; margin-top: var(--space-3); font-style: normal; font-weight: 600; font-size: var(--fs-small); }

/* ---------------------------------------------------------------------
   17. New-patient offer band (S.6.10)
   --------------------------------------------------------------------- */
.offer { background: var(--bg-alt); padding-block: var(--section-y); }
.offer__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-7);
  position: relative;
}
.offer__flag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--flag);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-small);
  padding: 0.5rem 1rem;
}
.offer__price { font-family: var(--font-display); font-size: var(--fs-h1); color: var(--ink); line-height: 1; }
.offer__was { color: var(--muted); text-decoration: line-through; font-size: var(--fs-lead); margin-left: 0.5rem; }
.offer__list { list-style: none; padding: 0; margin: var(--space-5) 0; display: grid; gap: 0.5rem; }
.offer__list li { display: flex; align-items: baseline; gap: 0.625rem; margin: 0; }
.offer__list li::before { content: ""; width: 14px; height: 2px; background: var(--accent); flex: 0 0 auto; position: relative; top: -0.35em; }
.offer__fine { color: var(--muted); font-size: var(--fs-xs); margin-top: var(--space-4); }

/* ---------------------------------------------------------------------
   18. Info / detail tiles (location, hours, contact details)
   --------------------------------------------------------------------- */
.info-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, 1fr); }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-6);
}
.info-card h3 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 700; margin-bottom: var(--space-3); }
.info-card p { margin-bottom: var(--space-2); color: var(--ink-2); }
.info-card a { color: var(--accent-ink); }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.hours-table th, .hours-table td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--ink-2); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* The numbered first-visit steps */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: var(--space-5) var(--space-6);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--accent-ink);
  font-weight: 500;
  line-height: 1;
}
.step h3 { margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--ink-2); }

/* Policy / fine-text column */
.policy { max-width: var(--maxw-narrow); }
.policy h2 { margin-bottom: var(--space-4); }
.policy ul { padding-left: 1.25rem; }
.policy li { color: var(--ink-2); }

/* Map embed */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  display: block;
}
.map-frame { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------------
   19. Forms (S.6.8)
   --------------------------------------------------------------------- */
.form { max-width: var(--maxw-narrow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
.field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: var(--space-5); }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.field .req { color: var(--accent-ink); }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--driftwood);
  transition: border-color var(--dur) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 1px;
  border-color: var(--accent-deep);
}
.field--error .input { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--fs-xs); }
.field__hint { color: var(--muted); font-size: var(--fs-xs); }

.segmented {
  display: inline-flex;
  border: 1px solid var(--driftwood);
  flex-wrap: wrap;
}
.segmented label {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  cursor: pointer;
  font-size: var(--fs-small);
  border-right: 1px solid var(--driftwood);
}
.segmented label:last-of-type { border-right: 0; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented input:checked + label { background: var(--accent); color: var(--on-accent); }
.segmented input:focus-visible + label { outline: 3px solid var(--accent-deep); outline-offset: 2px; }

.form__note {
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-bottom: var(--space-5);
}
.honeypot { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------------
   20. Trust strip (badges + rating row, on home/about)
   --------------------------------------------------------------------- */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-5);
}
.trust-strip__item { display: inline-flex; align-items: center; gap: 0.75rem; font-size: var(--fs-small); color: var(--ink-2); }
.trust-strip__item img { height: 44px; width: auto; }
.trust-strip__item strong { color: var(--ink); }

/* ---------------------------------------------------------------------
   21. Footer (S.6.7)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--accent-deep);
  color: var(--on-accent);
  padding-block: var(--space-8);
}
.site-footer a { color: var(--on-accent); text-decoration: none; transition: text-decoration var(--dur) var(--ease); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
.footer__brand p { color: rgba(252,250,245,0.85); max-width: 32ch; }
.footer__brand img.footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-4); }
.footer__badges { display: flex; gap: var(--space-4); margin-top: var(--space-4); }
.footer__badges img { height: 48px; width: auto; background: var(--surface-white); padding: 6px; }
.footer__col h4 { color: var(--on-accent); font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { list-style: none; margin-bottom: var(--space-3); }
.footer__col address { font-style: normal; color: rgba(252,250,245,0.9); }
.footer__legal {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(252,250,245,0.2);
  font-size: var(--fs-small);
  color: rgba(252,250,245,0.85);
}
.footer__legal a { text-decoration: underline; }

/* ---------------------------------------------------------------------
   22. Scroll-reveal (IntersectionObserver, JS-toggled)
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* No JS / no IO support fallback: ensure content is always visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   23. Responsive (360 / 480 / 768 / 1080 / 1280 / 1440)
   --------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn--callnav { display: none; }
  .nav__links[data-open="true"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 112px 0 0 0;
    background: var(--surface);
    padding: var(--space-5) var(--gutter);
    gap: 0;
    overflow-y: auto;
    z-index: 60;
    border-top: 1px solid var(--line);
  }
  .nav__links[data-open="true"] .nav__link {
    min-height: 56px;
    border-bottom: 1px solid var(--line);
    border-top: 0;
    width: 100%;
  }
  /* dropdown becomes an inline accordion in the mobile panel */
  .nav__links[data-open="true"] .nav__dropdown { width: 100%; }
  .nav__links[data-open="true"] .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links[data-open="true"] .nav__menu {
    position: static;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding-left: var(--space-4);
    background: var(--bg-alt);
  }

  .info-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-strip .container { justify-content: flex-start; }

  /* Mobile bottom bar */
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    border-top: 2px solid var(--accent-deep);
  }
  .mobile-cta a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta .call { background: var(--surface); color: var(--accent-ink); border-right: 1px solid var(--line); }
  .mobile-cta .book { background: var(--accent); color: var(--on-accent); }
  body { padding-bottom: 56px; }
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__media { order: -1; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: var(--space-3); }
  .offer__panel { padding: var(--space-6) var(--space-5); }
  .feature { padding: var(--space-6) var(--space-5); }
  .utility-bar .util-hours .util-hours-short { display: none; }
}

/* ---------------------------------------------------------------------
   24. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------------
   25. Print (S.10)
   --------------------------------------------------------------------- */
@media print {
  .utility-bar, .nav__toggle, .mobile-cta, .hero__actions, .nav__actions,
  .site-footer .footer__badges, .skip-link { display: none; }
  *, *::before, *::after { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .container { max-width: 100%; }
  .card, .svc, .review, .info-card, .person, .offer__panel { border: 1px solid #000 !important; }
}
