/* Homer Watson Dental — design system
 * Inspired by sister-practice Trillium Dental Centre.
 * Display: Bricolage Grotesque | Body: Hanken Grotesk
 */

:root {
  /* brand — sky blue scale */
  --sky-50:  #ecf6fe;
  --sky-100: #cfeafd;
  --sky-200: #9fd4fa;
  --sky-300: #5cb6f6;
  --sky:     #2ea3f2;
  --sky-600: #1f8ad6;
  --sky-700: #1773b3;
  --sky-800: #135c91;
  --sky-900: #0e466e;

  /* accent — teal (family-of-practices consistency with Trillium) */
  --teal-100: #e0f1f3;
  --teal-300: #9fd3d8;
  --teal:     #7ebec5;
  --teal-700: #387d85;
  --teal-900: #1f474c;

  /* CTA — warm orange echoing sister practice */
  --orange:        #fc5621;
  --orange-cta:    #d23f0e;
  --orange-cta-hv: #b8350b;

  /* neutrals */
  --ink:    #1a2233;
  --slate:  #475266;
  --muted:  #6a7185;
  --line:   #e6eaee;
  --paper:  #ffffff;
  --cream:  #f7fafc;
  --wash:   #eaf2fb;  /* soft sky-tinted band, for alternating sections */

  /* type */
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* radii & shadow */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,34,51,.06), 0 2px 6px rgba(26,34,51,.05);
  --shadow:    0 6px 18px rgba(46,163,242,.10), 0 2px 6px rgba(26,34,51,.05);
  --shadow-lg: 0 24px 60px -18px rgba(46,163,242,.30), 0 8px 24px rgba(26,34,51,.08);

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Offset in-page anchor jumps so targets clear the sticky header. */
[id] { scroll-margin-top: 100px; }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky-900); }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* accessibility */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600; z-index: 9999;
}
.skip-link:focus { top: 0; color: var(--paper); }
:focus-visible {
  outline: 3px solid var(--sky-300);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .8rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sky-700);
}
.lead {
  font-size: 1.18rem;
  color: var(--slate);
  max-width: 60ch;
}

/* container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: .9rem 1.65rem; border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--orange-cta); color: var(--paper);
  box-shadow: 0 6px 16px rgba(210,63,14,.28);
}
.btn-primary:hover { background: var(--orange-cta-hv); color: var(--paper); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(210,63,14,.32); }
.btn-secondary {
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--sky); color: var(--sky-800); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); padding-left: .25rem; padding-right: .25rem;
}
.btn-ghost::after { content: " →"; transition: transform .2s; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* topbar (above main header) */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: .85rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .55rem; padding-bottom: .55rem; gap: 1rem;
  flex-wrap: nowrap;
}
.topbar a { color: var(--paper); }
.topbar a:hover { color: var(--sky-300); }
.topbar-info { display: flex; align-items: center; gap: 1.15rem; flex-wrap: nowrap; }
.topbar-info span { white-space: nowrap; }
.topbar-info span svg { vertical-align: middle; margin-right: .35rem; }
.topbar-cta a { font-weight: 700; }
@media (max-width: 700px) {
  .topbar { font-size: .78rem; }
  .topbar-info { gap: .9rem; }
  .topbar-info span:nth-child(3) { display: none; } /* hide hours; keep phone + address on one line */
}
@media (max-width: 420px) {
  .topbar-info span:nth-child(2) { display: none; } /* very narrow: phone only */
}

/* main header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; }
.brand .brand-logo { height: 56px; width: auto; display: block; }
/* Footer: invert logo to white so it's visible on dark background */
.brand-logo--inverted { filter: brightness(0) invert(1); opacity: .96; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  font-weight: 600; color: var(--ink); font-size: .95rem;
  padding: .4rem .1rem;
  position: relative;
}
.main-nav a:hover { color: var(--sky-700); }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: var(--paper); }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  min-width: 260px; padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* Cascade: top-level items + side flyout submenus */
.dropdown--cascade .dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .75rem; border-radius: 8px; color: var(--ink);
  font-size: .92rem; text-decoration: none;
}
.dropdown--cascade .dropdown-item:hover,
.dropdown--cascade .has-submenu:hover > .dropdown-item--parent,
.dropdown--cascade .has-submenu:focus-within > .dropdown-item--parent {
  background: var(--sky-50); color: var(--sky-700);
}
.dropdown--cascade .chev {
  margin-left: .5rem; color: var(--muted); font-size: 1.1rem; line-height: 1;
}
.dropdown--cascade .has-submenu { position: relative; }
.dropdown--cascade .submenu {
  position: absolute; top: -.5rem; left: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  min-width: 240px; padding: .5rem; margin-left: 4px;
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown--cascade .has-submenu:hover > .submenu,
.dropdown--cascade .has-submenu:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.dropdown--cascade .submenu a {
  display: block; padding: .5rem .65rem; border-radius: 6px;
  font-size: .9rem; color: var(--ink); text-decoration: none;
}
.dropdown--cascade .submenu a:hover { background: var(--sky-50); color: var(--sky-700); }
.dropdown--cascade .submenu-overview {
  font-weight: 600; color: var(--sky-700);
  border-bottom: 1px solid var(--line);
  margin-bottom: .25rem; padding-bottom: .5rem;
}

/* Mobile: flatten the cascade — show every hub and its children inline */
@media (max-width: 980px) {
  .main-nav .dropdown { position: static; min-width: 0; padding: 0 0 0 1rem; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .dropdown--cascade .has-submenu { position: static; }
  .dropdown--cascade .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; margin: 0; min-width: 0; }
  .dropdown--cascade .chev { display: none; }
}

.menu-toggle { display: none; }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(0,0,0,.10);
  }
  .mobile-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 50px; padding: .7rem 1rem; border-radius: var(--r-sm);
    font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  }
  .mobile-cta .m-call { background: var(--ink); color: var(--paper); }
  .mobile-cta .m-book { background: var(--orange-cta); color: var(--paper); }
  body { padding-bottom: 74px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 1rem var(--gutter); gap: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch; max-height: 70vh; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); font-size: 0; }
  .menu-toggle::before { content: ""; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
}

/* hero */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 72px);
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .eyebrow { margin-bottom: .9rem; display: block; }
.hero .lead { margin-bottom: 1.5rem; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--sky-100);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-trust {
  display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; align-items: center;
}
.hero-trust img { height: 44px; width: auto; opacity: .85; }
.hero-trust span { font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

/* generic section */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--wash);
}
.section--alt { background: var(--paper); }
/* Crisp hairline where two adjacent bands share a tone, so sections never
   visually merge into one another. */
.section + .section,
.section--alt + .section--alt { border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .eyebrow { color: var(--sky-300); }
.section--ink p { color: rgba(255,255,255,.82); }
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px);
}
.section-head .eyebrow { margin-bottom: .65rem; display: inline-block; }
.section-head h2 { margin-bottom: .85rem; }
.section-head p { color: var(--slate); }

/* split (image + text) */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 1rem; }
.split-content .eyebrow { margin-bottom: .65rem; display: inline-block; }

/* service cards grid */
.service-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: .65rem;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sky-200);
}
.service-card .icon {
  width: 48px; height: 48px;
  background: var(--sky-50); color: var(--sky-700);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  margin-bottom: .35rem;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--slate); margin-bottom: .5rem; }
.service-card a.btn-ghost { color: var(--sky-700); font-weight: 700; margin-top: auto; }

/* why-choose feature list */
.feature-list {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem;
}
.feature-item .feature-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--sky-700);
  margin-bottom: .35rem;
  display: inline-block;
}
.feature-item h3 { margin-bottom: .55rem; }

/* CDCP / accent band — floating gradient "bucket" that sits on the page,
   matching the pre-footer CTA card treatment. */
.accent-band {
  background: var(--cream);
  padding: clamp(48px, 6vw, 80px) 0;
}
.accent-band .container {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--teal-700) 100%);
  color: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5vw, 60px);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  overflow: hidden;
}
.accent-band h2 { color: var(--paper); }
.accent-band p { color: rgba(255,255,255,.92); }
.accent-band .eyebrow { color: rgba(255,255,255,.85); }
.accent-band .btn-secondary { background: var(--paper); color: var(--sky-800); border-color: var(--paper); }
.accent-band .btn-secondary:hover { color: var(--sky-900); }

/* CTA band — a floating rounded card on the page, so it reads as its own
   moment rather than blending into the dark footer below it. */
.cta-band {
  background: var(--cream);
  padding: clamp(56px, 7vw, 104px) 0;
}
.cta-band .container {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--teal-700) 100%);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

/* Embedded lead-capture forms (151digital / GoHighLevel widgets) */
.form-embed { max-width: 760px; margin: 0 auto; }
.form-embed iframe {
  width: 100%; border: none; border-radius: var(--r);
  display: block; background: #fff; box-shadow: var(--shadow-sm);
}
.cta-band h2 { color: var(--paper); margin-bottom: .85rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 60ch; margin-bottom: 1.25rem; }
.cta-band .btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* team grid */
.team-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card .photo {
  aspect-ratio: 4/5;
  background: var(--sky-50);
  overflow: hidden;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 1rem 1rem 1.4rem; }
.team-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.team-card .role { font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* location block */
.location-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}
@media (max-width: 880px) { .location-grid { grid-template-columns: 1fr; } }
.location-info h3 { margin-top: 1.25rem; margin-bottom: .35rem; font-size: 1.1rem; }
.location-info .hours, .hours { list-style: none; margin-top: .25rem; padding: 0; }
.location-info .hours li, .hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.location-info .hours li:last-child, .hours li:last-child { border-bottom: 0; }
.location-info .hours .day, .hours .day { font-weight: 700; color: var(--ink); white-space: nowrap; }
.location-info .hours .time, .hours .time { color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Footer override: dashed border lighter, day text white */
.site-footer .hours li { border-bottom-color: rgba(255,255,255,.08); }
.site-footer .hours .day { color: #fff; }
.site-footer .hours .time { color: rgba(255,255,255,.7); }
.map-wrap {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  align-self: start; height: 440px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: clamp(56px, 6vw, 80px) 0 2rem;
  font-size: .95rem;
}
.site-footer h4 { color: var(--paper); font-size: .98rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-weight: 700; }
.footer-grid {
  display: grid; gap: 2.5rem 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--paper); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.site-footer .footer-brand .brand { margin-bottom: 1rem; }
.site-footer .footer-brand .brand-text, .site-footer .footer-brand .brand-text small { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.social { display: flex; gap: .75rem; margin-top: .5rem; }
.social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.social a:hover { background: var(--sky); color: var(--paper); }

/* === Trillium-inspired service-page section patterns === */

/* Breadcrumb */
.crumbs {
  font-size: .88rem; color: var(--muted);
  margin-bottom: 1.25rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--sky-700); }
.crumbs span[aria-hidden] { margin: 0 .5rem; opacity: .6; }
.crumbs span:last-child { color: var(--ink); font-weight: 600; }

/* Two-column section: prose + media/aside stack */
.two-col {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.two-col .prose, .two-col .stack { min-width: 0; }
.two-col .stack { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 96px; }
@media (max-width: 880px) { .two-col .stack { position: static; } }
.two-col .prose .eyebrow { margin-bottom: .65rem; display: inline-block; }
.two-col .prose h2 { margin-bottom: 1rem; }
.two-col .prose h2 + p, .two-col .prose h3 + p { margin-top: 0; }
.two-col .prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; }

/* Centered single-column prose */
.prose-col {
  max-width: 760px; margin: 0 auto;
}
.prose-col .eyebrow { display: inline-block; margin-bottom: .65rem; }
.prose-col h2 { margin-bottom: 1rem; }
.prose-col h2:not(:first-child) { margin-top: 2.5rem; }
.prose-col h3 { margin-top: 1.5rem; margin-bottom: .5rem; }

/* Media figure */
.media-figure {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Aside panel — small callout next to media */
.panel {
  background: var(--sky-50);
  border-left: 3px solid var(--sky);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
}
.panel p { margin-bottom: .85rem; color: var(--ink); font-size: .98rem; }
.panel p:last-child { margin-bottom: 0; }
.panel .btn { padding: .55rem 1rem; font-size: .9rem; }

/* === Service page: content + sticky sidebar (Trillium-style) === */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 980px) { .service-layout { grid-template-columns: 1fr; } }

.service-main { min-width: 0; }
.service-main > :first-child { margin-top: 0; }
.service-main h2 { margin-top: 2.6rem; margin-bottom: .75rem; }
.service-main h2:first-child { margin-top: 0; }
/* Divider above each section heading so long pages chunk into scannable
   sections and stay easy to digest. */
.service-main h2:not(:first-child) {
  border-top: 1px solid var(--line);
  padding-top: 1.9rem;
}
.service-main h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.service-main p { max-width: 68ch; }
.service-main .check-list { max-width: 68ch; }
.service-main .media-figure { margin: 1.6rem 0; }

.service-aside {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (max-width: 980px) {
  .service-aside { position: static; margin-top: 2.5rem; }
}

/* Sidebar navigation card */
.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.aside-card-head {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.service-nav { list-style: none; padding: .5rem; margin: 0; display: flex; flex-direction: column; gap: .1rem; }
.service-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .68rem .85rem; border-radius: var(--r-sm);
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.service-nav a::after { content: "›"; color: var(--muted); font-size: 1.15rem; line-height: 1; }
.service-nav a:hover { background: var(--sky-50); color: var(--sky-700); }
.service-nav a.is-active {
  background: var(--sky-50); color: var(--sky-700);
}
.service-nav a.is-active::after { color: var(--sky-700); }

/* Sidebar image */
.aside-figure {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/3;
}
.aside-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Sidebar CTA card */
.aside-cta {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--teal-700) 100%);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.aside-cta h3 { color: var(--paper); font-size: 1.2rem; margin-bottom: .5rem; }
.aside-cta p { color: rgba(255,255,255,.86); font-size: .92rem; margin-bottom: 1.1rem; }
.aside-cta .btn { width: 100%; }
.aside-cta .aside-phone {
  display: block; margin-top: .75rem; color: #fff; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.01em;
}
.aside-cta .aside-phone:hover { color: #fff; opacity: .9; }

/* Check-list — bulleted list with checkmark icons */
.check-list {
  list-style: none; padding: 0; margin: .85rem 0 1.25rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.check-list li {
  position: relative; padding-left: 2rem; line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .35rem;
  width: 20px; height: 20px;
  background-color: var(--teal-100);
  border-radius: 999px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23387d85" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-size: 14px 14px; background-position: center; background-repeat: no-repeat;
}

/* ============================================================
   Digestibility kit — components that break long service-page
   prose into scannable chunks (bullets, steps, cards, callouts).
   ============================================================ */

/* "At a glance" — quick-facts summary buckets, top of a service page */
.key-facts {
  background: linear-gradient(135deg, var(--sky-50), var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.6vw, 1.85rem);
  margin: 0 0 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.15rem 1.6rem;
}
.key-facts .kf-item { display: flex; gap: .85rem; align-items: center; }
.key-facts .kf-text { display: flex; flex-direction: column; min-width: 0; }
.key-facts .kf-ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--paper); color: var(--sky-700);
  box-shadow: var(--shadow-sm);
}
.key-facts .kf-ico svg { width: 20px; height: 20px; }
.key-facts .kf-label {
  display: block;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 700; margin-bottom: .15rem; line-height: 1.2;
}
.key-facts .kf-value {
  display: block;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  line-height: 1.2; font-size: 1rem;
}

/* Process map — numbered vertical steps for procedures / recovery */
.process-steps {
  list-style: none; padding: 0; margin: 1.3rem 0 1.9rem;
  counter-reset: step; display: flex; flex-direction: column;
}
.process-steps li {
  position: relative; counter-increment: step;
  padding: 0 0 1.7rem 3.6rem;
}
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--sky); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center; z-index: 1;
}
.process-steps li::after {
  content: ""; position: absolute; left: 1.24rem; top: 2.5rem; bottom: 0;
  width: 2px; background: var(--sky-200);
}
.process-steps li:last-child::after { display: none; }
.process-steps .ps-title {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  margin: .35rem 0 .3rem; font-size: 1.08rem;
}
.process-steps p { margin: 0; }

/* Avoid / do-not list — red X icons, pairs with .check-list (teal checks) */
.avoid-list {
  list-style: none; padding: 0; margin: .85rem 0 1.25rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.avoid-list li { position: relative; padding-left: 2rem; line-height: 1.55; }
.avoid-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem;
  width: 20px; height: 20px; border-radius: 999px;
  background-color: #fde4dc;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c0392b" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>');
  background-size: 12px 12px; background-position: center; background-repeat: no-repeat;
}

/* Two lists side by side (do's vs don'ts) */
.list-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 2rem; margin: 1rem 0 1.5rem;
}
.list-cols h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.list-cols .check-list, .list-cols .avoid-list { margin-top: 0; }

/* Info cards — bucket grid for categorised info */
.info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem; margin: 1.3rem 0 1.9rem;
}
.info-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
}
.info-card .ic-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--sky-50); color: var(--sky-700); margin-bottom: .8rem;
}
.info-card .ic-ico svg { width: 22px; height: 22px; }
.info-card h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.info-card p { margin: 0; font-size: .96rem; color: var(--slate); }

/* Callout / note box — tip, warning, cost variants */
.callout {
  border-radius: var(--r); padding: 1.2rem 1.4rem 1.2rem 1.5rem;
  margin: 1.5rem 0; border-left: 4px solid var(--sky); background: var(--sky-50);
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p { max-width: none; }
.callout .co-head {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem;
}
.callout .co-head svg { width: 20px; height: 20px; flex: none; }
.callout--tip  { border-left-color: var(--teal-700); background: var(--teal-100); }
.callout--warn { border-left-color: var(--orange-cta); background: #fdeee9; }
.callout--cost { border-left-color: var(--sky-700); background: var(--wash); }

/* FAQ accordion */
.faq { margin: 1.3rem 0 1.9rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.4rem 1.15rem 0;
  position: relative; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%;
  transform: translateY(-50%); font-size: 1.6rem; color: var(--sky);
  font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 1.2rem; color: var(--slate); max-width: none; }

/* utility */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.muted { color: var(--muted); }

/* affiliations strip */
.affiliations {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}
.affiliations .row { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.affiliations img { height: 56px; width: auto; opacity: .9; }
.affiliations .label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* team bio rows (used on /our-team/) */
.team-bio { align-items: start; gap: 3rem; }
.team-photo { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 460px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Our Team — one card per member, image left / text right (no alternating) */
.team-bios {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px);
}
.team-bio-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 36px);
}
.team-bio-card .team-photo { margin: 0; max-width: none; }
.team-bio-card .bio h2 { margin-bottom: .2rem; }
.team-bio-card .bio .role-tag { margin-bottom: 1rem; }
@media (max-width: 720px) {
  .team-bio-card { grid-template-columns: 1fr; }
  .team-bio-card .team-photo { max-width: 320px; }
}
.role-tag { display: inline-block; font-size: .82rem; color: var(--sky-700); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }

/* contact + book-now grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1100px; margin: 0 auto; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.contact-card h2 { margin-bottom: 1rem; }
.contact-card h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 1.05rem; }
.contact-card .hours { margin-top: .25rem; }
.phone-large { font-size: 1.5rem; font-weight: 700; color: var(--sky-700); letter-spacing: -.01em; }

/* contact / appointment forms */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .65rem .85rem;
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46,163,242,.18);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button { align-self: flex-start; margin-top: .5rem; }

/* blog index / archive */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; margin: .25rem 0; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--sky-700); }
.post-cat { font-size: .72rem; color: var(--sky-700); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.post-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.post-card .btn-ghost { margin-top: auto; align-self: flex-start; }
