/* ============================================================
   Fairmont Dental Centre — Redesign v2
   Aesthetic: clean clinical · warm-but-precise (Trillium-derived)
   Brand:  blue #2ea3f2 (primary CTA) · soft teal #83adb9 (accent) · slate #374244
   Type:   Bricolage Grotesque (display) + Hanken Grotesk (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --blue-50:  #eaf6fe;
  --blue-100: #d3ecfc;
  --blue-200: #aadcf9;
  --blue-300: #79c8f5;
  --blue:     #2ea3f2;   /* Fairmont production blue */
  --blue-600: #1d7fc4;
  --blue-700: #155b8f;
  --blue-800: #0e4067;
  --blue-900: #082842;

  --teal-50:  #f0f6f7;
  --teal-100: #e0eaed;
  --teal:     #83adb9;   /* Fairmont soft teal (existing footer) */
  --teal-600: #5e8a96;
  --teal-700: #4a7480;

  --cta:      #2ea3f2;   /* primary CTA bg — white text passes AA */
  --cta-hover:#1d7fc4;

  --slate:    #374244;
  --ink:      #1a2b30;
  --muted:    #5a6b73;
  --line:     #e3ecef;

  --cream:    #fbfdfd;
  --paper:    #ffffff;

  /* 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,43,48,.06), 0 2px 6px rgba(26,43,48,.05);
  --shadow:    0 6px 18px rgba(46,163,242,.10), 0 2px 6px rgba(26,43,48,.05);
  --shadow-lg: 0 24px 60px -18px rgba(46,163,242,.28), 0 8px 24px rgba(26,43,48,.08);
  --shadow-blue: 0 16px 36px -14px rgba(46,163,242,.55);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* brand-consistent tap feedback on mobile (default gray flash → soft blue) */
  -webkit-tap-highlight-color: rgba(46,163,242,.18);
}
/* Offset jumps to in-page anchors so the sticky header doesn't overlap the target. */
:where(h1,h2,h3,h4,h5,h6)[id] { scroll-margin-top: 96px; }
/* Eliminate the 300ms touch-delay on every interactive element. */
a, button, [role="button"], input, select, textarea, summary, .tile, .svc-card, .subsvc-card, .post-card, .assoc-card { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
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, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue-800); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.10; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p  { text-wrap: pretty; margin-bottom: 1.15em; line-height: 1.7; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); }
ul, ol { margin-bottom: 1.2em; line-height: 1.7; }
li { margin-bottom: .55em; }
li:last-child { margin-bottom: 0; }
.section h2 + p, .section h3 + p, .section .eyebrow + h2 + p { margin-top: 1em; }
.section p, .section li { color: var(--slate); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal);
  display: inline-block;
}

/* ---------- Layout ---------- */
.container, .wrap {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  /* full-bleed safety for iPhone notch / Android cutout — keeps content
     off the device edge when the viewport extends into safe-area insets */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.section { padding-block: clamp(56px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.section--soft { background: var(--cream); }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.sec-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head p { margin-top: 1rem; color: var(--muted); }

/* ---------- 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 ease, color .2s;
  white-space: nowrap; line-height: 1.2; text-decoration: none !important;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--cta); color: #fff !important; box-shadow: var(--shadow-blue); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--cta-hover); color: #fff !important; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255,255,255,.24); color: #fff !important; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue-800) !important; box-shadow: inset 0 0 0 1.5px var(--blue-200); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--blue-50); color: var(--blue-800) !important; transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--blue-700) !important; box-shadow: var(--shadow); }
.btn--on-dark:hover, .btn--on-dark:focus-visible { background: var(--ink); color: #fff !important; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--topbar { background: var(--blue); color: #fff !important; padding: .45rem 1rem; border-radius: var(--r-pill); font-weight: 700; font-size: .82rem; }
.btn--topbar:hover, .btn--topbar:focus-visible { background: var(--blue-600); color: #fff !important; }

/* explicit specificity boost for buttons inside header — beats `.main-nav > a` */
.main-nav a.btn--primary, .main-nav a.btn { color: #fff !important; }

/* ============================================================
   TOPBAR + HEADER
   ============================================================ */
.topbar { background: var(--blue-900); color: var(--blue-100); font-size: .86rem; }
.topbar a { color: var(--blue-100); }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar-info { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.tb-item svg { width: 15px; height: 15px; opacity: .8; }
.topbar-social { display: inline-flex; align-items: center; gap: .25rem; }
.topbar-social .tb-social {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; color: var(--blue-100);
  transition: background .2s ease, color .2s ease;
}
.topbar-social .tb-social svg { width: 17px; height: 17px; }
.topbar-social .tb-social:hover, .topbar-social .tb-social:focus-visible { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 820px) { .tb-hide-sm { display: none; } .topbar-inner { padding: .5rem 1rem; justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 78px; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); }
.brand-logo { display: block; height: auto; width: clamp(160px, 16vw, 200px); transition: width .3s ease; }
.brand-logo--footer { width: clamp(180px, 18vw, 220px); filter: brightness(0) invert(1); /* render the dark logo as white on the dark footer */ }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-blue);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.32rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.brand-sub  { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: .15rem; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; font-size: .95rem; font-weight: 600; }
.main-nav > a, .main-nav .has-dropdown > a:not(.btn):not(.nav-phone),
.main-nav .services-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .75rem; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
  /* services-toggle is now a <button> per WIG (action, not navigation) — reset
     button chrome so it matches the surrounding <a> nav links exactly */
  font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit;
  background: none; border: 0; cursor: pointer;
}
.main-nav > a:hover, .main-nav > a:focus-visible,
.main-nav .has-dropdown > a:hover, .main-nav .has-dropdown > a:focus-visible,
.main-nav .services-toggle:hover, .main-nav .services-toggle:focus-visible {
  color: var(--blue-700); background: var(--blue-50); text-decoration: none;
}
.main-nav > a.active { color: var(--blue-700); }
.main-nav > a.active::after { content: ""; display: block; height: 2px; background: var(--blue); border-radius: 2px; margin-top: 4px; }
.nav-phone { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink) !important; border-left: 1px solid var(--line); margin-left: .4rem; padding-left: 1rem !important; }
.nav-phone:hover { color: var(--blue) !important; background: transparent !important; }
.btn-nav { margin-left: .5rem; padding: .68rem 1.25rem !important; font-size: .94rem; }

.menu-toggle { display: none; }

/* ---------- cascading services dropdown ---------- */
.has-dropdown { position: relative; }
.services-toggle .chev { display: inline-block; margin-left: .25em; transition: transform .2s ease; }
.has-dropdown:hover .services-toggle .chev,
.has-dropdown:focus-within .services-toggle .chev,
.has-dropdown.is-tapped .services-toggle .chev { transform: rotate(180deg); }
/* Touch tap state mirrors hover so the dropdown opens on first tap (main.js
   toggles .is-tapped on coarse pointers; CSS handles the visible state). */
.has-dropdown.is-tapped > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.has-submenu.is-tapped > .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 50;
}
/* Transparent bridge over the 10px gap between the Services button and the panel,
   so the dropdown stays open while the cursor travels down into it. */
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .85rem; border-radius: var(--r-sm);
  color: var(--slate) !important; font-weight: 600; text-decoration: none;
}
.dropdown-item:hover, .dropdown-item:focus-visible {
  background: var(--blue-50); color: var(--blue-800) !important; text-decoration: none;
}
.dropdown-item--parent .chev { color: var(--muted); font-size: 1.1em; }
.has-submenu { position: relative; }
.submenu {
  position: absolute; top: -.55rem; left: 100%; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: .55rem;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.submenu a { display: block; padding: .5rem .85rem; color: var(--slate); border-radius: var(--r-sm); text-decoration: none; font-size: .92rem; }
.submenu a:hover, .submenu a:focus-visible { background: var(--blue-50); color: var(--blue-800); text-decoration: none; }
.submenu-overview { font-weight: 700; color: var(--blue-700) !important; border-bottom: 1px solid var(--line); margin-bottom: .3rem; padding-bottom: .55rem !important; }

@media (max-width: 1080px) { .nav-phone span { display: none; } }
@media (max-width: 980px) {
  .main-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; }
  .main-nav.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -10px rgba(26,43,48,.18); padding: .8rem 1rem 1.2rem;
  }
  .main-nav > a, .main-nav .has-dropdown > a { padding: .85rem .6rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav > a:last-child { border-bottom: none; }
  /* Submenus collapse by default on mobile; tap a parent row to expand it. */
  .dropdown, .submenu {
    display: none;
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; box-shadow: none; border: none; padding: .2rem 0 .4rem 1rem; min-width: 0;
    background: transparent; border-left: 2px solid var(--blue-100);
    border-radius: 0; margin: 0;
  }
  .has-dropdown.is-tapped > .dropdown,
  .has-submenu.is-tapped > .submenu { display: block; }
  .submenu { border-left-color: var(--teal-100); margin-left: .5rem; }
  .dropdown-item, .submenu-overview { display: block; }
  /* Services button + submenu parents render as full-width tappable rows. */
  .main-nav .services-toggle,
  .main-nav .dropdown-item--parent {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: .85rem .6rem; border-bottom: 1px solid var(--line);
  }
  .main-nav .services-toggle .chev,
  .main-nav .dropdown-item--parent .chev { transition: transform .25s ease; }
  .has-dropdown.is-tapped > .services-toggle .chev { transform: rotate(180deg); }
  .has-submenu.is-tapped > .dropdown-item--parent .chev { transform: rotate(90deg); }
  .nav-phone { border-left: none; border-top: 1px solid var(--line); margin-left: 0; padding-left: .6rem !important; padding-top: .85rem; }
  .btn-nav { margin: .6rem 0 0; text-align: center; }

  .menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: var(--blue-50); border: 0; padding: .7rem .85rem; border-radius: var(--r-sm); cursor: pointer; margin-left: auto; }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--blue-50) 0%, #fff 55%, var(--teal-50) 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(46,163,242,.18) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent 72%);
  opacity: .7; pointer-events: none;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; pointer-events: none; }
.hero__blob--1 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(46,163,242,.40), transparent 70%); top: -120px; right: -80px; }
.hero__blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(131,173,185,.35), transparent 70%); bottom: -120px; left: -100px; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(56px, 8vw, 110px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--blue-200); color: var(--blue-800);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: .5rem 1.1rem; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.hero__badge .dot { display: none; }
.hero__badge-text { white-space: nowrap; }
.hero h1 { margin-top: 1.2rem; color: var(--ink); }
.hero__tag { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--slate); font-weight: 500; margin-top: 1rem; letter-spacing: -.01em; }
.hero__sub { margin-top: 1.1rem; max-width: 46ch; font-size: 1.08rem; color: var(--muted); }
.hero__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.hero__phone:hover { color: var(--blue); }
.hero__phone svg { width: 20px; height: 20px; color: var(--blue-700); }

.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 28% 32%, rgba(255,255,255,.40), transparent 60%),
    linear-gradient(135deg, var(--blue-100), var(--teal-100));
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero__chip--reviews { bottom: 26px; left: -22px; }
.hero__chip--years { top: 26px; right: -18px; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .9rem 1.2rem; }
.hero__chip .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--blue-800); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__chip small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.hero__stars { color: #f5a623; display: flex; gap: 1px; }
.hero__stars svg { width: 16px; height: 16px; }

/* hero load stagger */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__content > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) backwards; }
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__content > *:nth-child(3) { animation-delay: .25s; }
.hero__content > *:nth-child(4) { animation-delay: .35s; }
.hero__content > *:nth-child(5) { animation-delay: .45s; }
.hero__visual { animation: rise 1s cubic-bezier(.2,.8,.2,1) .25s backwards; }

/* ============================================================
   TILES strip (just under hero)
   ============================================================ */
.tiles { position: relative; margin-top: -2px; }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  text-decoration: none; color: var(--slate);
}
.tile::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 5px; background: var(--blue); transition: width .3s, background .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.tile:hover::after { width: 8px; }
.tile--accent::after { background: var(--teal); }
.tile__icon { width: 54px; height: 54px; border-radius: var(--r); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 1rem; }
.tile--accent .tile__icon { background: var(--teal-50); color: var(--teal-700); }
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { margin-bottom: .4rem; }
.tile p { color: var(--muted); font-size: .98rem; }
.tile__link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-700); font-size: .92rem; }
.tile:hover .tile__link { gap: .6rem; }

/* ============================================================
   SECTION + SPLIT helpers
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/3; }
.split__media .frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--blue-200); border-radius: var(--r-xl); z-index: -1; }
.split h2 { margin-top: .9rem; }
.split p { margin-top: 1rem; color: var(--slate); }
.split p + p { margin-top: .9rem; }

.facts { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.fact { display: flex; gap: .75rem; align-items: flex-start; }
.fact .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.fact .ico svg { width: 21px; height: 21px; }
.fact b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.fact small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: var(--gutter); }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  text-decoration: none; color: var(--slate);
}
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.svc-icon {
  width: 60px; height: 60px; border-radius: var(--r); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); color: var(--blue-700);
  margin-bottom: 1.1rem;
}
.svc-icon svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: .5rem; }
.svc-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.svc-cta { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-700); font-size: .92rem; }
.svc-card:hover .svc-cta, .svc-card:focus-visible .svc-cta { gap: .6rem; }

/* subservice grid (hub pages) */
.subsvc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-top: var(--gutter); }
.subsvc-card {
  display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0; padding: 1.5rem 1.6rem;
  text-decoration: none; color: var(--slate);
  transition: transform .25s ease, box-shadow .25s ease;
}
.subsvc-card:hover, .subsvc-card:focus-visible { transform: translateX(3px); box-shadow: var(--shadow); }
.subsvc-card h3 { color: var(--ink); margin: 0 0 .4em; }
.subsvc-card p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   CDCP banner
   ============================================================ */
.cdcp-band { background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.cdcp-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.4px, transparent 1.6px); background-size: 24px 24px; opacity: .6; }
.cdcp-band__inner { position: relative; display: grid; grid-template-columns: 1.5fr .8fr; gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3.4rem); }
.cdcp-band .eyebrow { color: var(--blue-100); }
.cdcp-band .eyebrow::before { background: #fff; }
.cdcp-band h2 { color: #fff; }
.cdcp-band p { color: rgba(255,255,255,.88); margin-top: 1rem; }
.cdcp-band__cta { display: flex; justify-content: flex-end; }
@media (max-width: 860px) { .cdcp-band__inner { grid-template-columns: 1fr; } .cdcp-band__cta { justify-content: flex-start; } }

/* ============================================================
   STATS band
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-top: var(--gutter); }
.stat { text-align: center; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.stat-value { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue-700); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .5em; color: var(--muted); font-size: .92rem; letter-spacing: .02em; }

/* ============================================================
   Testimonials (dark section)
   ============================================================ */
.section--quote { background: var(--blue-900); color: #fff; position: relative; overflow: hidden; }
.section--quote::before { content: "\201C"; position: absolute; font-family: var(--font-display); font-size: 28rem; line-height: 1; color: rgba(255,255,255,.05); top: -4rem; left: 2rem; pointer-events: none; }
.section--quote .eyebrow { color: var(--blue-100); }
.section--quote .eyebrow::before { background: var(--teal); }
.section--quote h1, .section--quote h2, .section--quote h3 { color: #fff; }
.section--quote p { color: rgba(255,255,255,.88); }
/* Review widget sits directly in the section without an extra white card/border. */
.review-widget-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: var(--gutter) auto 0;
  box-shadow: none;
  max-width: 1040px;
}
.reviews-frame {
  width: 100%; min-height: 420px;
  border: 0 !important; border-radius: 0;
  outline: 0; box-shadow: none !important;
  background: transparent; display: block;
}
.review-cta { margin-top: 2rem; text-align: center; }
/* trim the dark section so it isn't stranded around a self-sizing widget */
.section--quote:has(.review-widget-card) { padding-block: clamp(48px, 7vw, 80px); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: var(--gutter); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  width: 120px; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--blue-100), var(--teal-100));
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 5px var(--blue-100);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--font-display); font-weight: 600; margin: 0; font-size: 1.18rem; color: var(--ink); }
.team-role { color: var(--blue-700); font-weight: 600; font-size: .92rem; margin-top: .2em; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 820px; margin: 2.2rem auto 0; }
.faq {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  box-shadow: var(--shadow-sm); margin-bottom: .9rem; overflow: hidden;
}
.faq > summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue-700); border-bottom: 2.5px solid var(--blue-700);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq[open] > summary::after { transform: rotate(-135deg); }
.faq[open] > summary { color: var(--blue-700); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--slate); }
.faq__body > *:first-child { margin-top: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: 2.5rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row b { display: block; color: var(--ink); font-family: var(--font-display); }
.info-row a, .info-row span { color: var(--slate); }
.form-embed-frame { width: 100%; min-height: 740px; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.map-embed { border: 0; display: block; width: 100%; height: 360px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* ============================================================
   FINAL CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.4rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
  /* breathing room above AND below — the second value gives the footer space to land */
  margin: clamp(56px, 9vw, 100px) auto clamp(56px, 9vw, 100px);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.12) 1.5px, transparent 1.7px); background-size: 22px 22px; opacity: .5; pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.92); position: relative; margin-top: .8rem; max-width: 54ch; margin-inline: auto; }
.cta-band-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-band .btn--primary { background: #fff; color: var(--blue-700) !important; box-shadow: var(--shadow); }
.cta-band .btn--primary:hover { background: var(--ink); color: #fff !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #c8cdda; padding-top: clamp(48px, 7vw, 80px); margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #c8cdda; text-decoration: none; transition: color .15s ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--blue); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand--footer { color: #fff !important; margin-bottom: 1rem; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-sub { color: #9aaab1; }
.footer-tagline { color: #c8cdda; max-width: 34ch; font-size: .94rem; line-height: 1.65; margin-top: 1rem; }
.social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.social a:hover, .social a:focus-visible { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55em; font-size: .95rem; }
.footer-contact li { display: flex; gap: .55em; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { margin-top: .2em; flex-shrink: 0; color: var(--blue); opacity: .85; }
.footer-hours-h { margin-top: 1.8rem !important; }
.hours { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3em 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.hours li:last-child { border-bottom: none; }
.hours .day { color: #c8cdda; }
.hours .time { color: #9aaab1; font-variant-numeric: tabular-nums; }
.footer-assoc { border-top: 1px solid rgba(255,255,255,.10); margin-top: 3rem; padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.assoc-h { margin: 0; font-size: .85rem; letter-spacing: .14em; }
.assoc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.assoc-list li::after { content: " ·"; color: #9aaab1; margin-left: .4rem; }
.assoc-list li:last-child::after { content: ""; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 2.5rem; padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .88rem; color: #9aaab1; }
.footer-bottom-links a { color: #9aaab1; }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .svc-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles__grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: initial; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__chip--reviews { left: 0; }
  .hero__chip--years { right: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG — article hero + post-card grid + article body
   ============================================================ */
.article-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--blue-50) 0%, #fff 70%); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.article-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(46,163,242,.14) 1.4px, transparent 1.6px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent 72%); opacity: .7; pointer-events: none; }
.article-hero h1 { margin: .8rem 0 .6rem; max-width: 22ch; }
.article-hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 56ch; margin-bottom: 1.8rem; }
.article-hero__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 1.5rem; aspect-ratio: 16/9; background: var(--blue-100); }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 1.4rem; flex-wrap: wrap; }
.crumbs a { color: var(--blue-700); font-weight: 600; }
.crumbs span[aria-current="page"] { color: var(--ink); font-weight: 600; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { font-size: 1.06rem; line-height: 1.78; color: var(--slate); margin-bottom: 1.35em; }
.article-body p:first-child::first-letter { font-family: var(--font-display); font-weight: 700; font-size: 3.4em; float: left; line-height: 0.9; padding: 0.2em 0.15em 0 0; color: var(--blue-700); }
.article-body h2, .article-body h3 { margin-top: 2.2em; margin-bottom: .7em; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: var(--gutter); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; text-decoration: none !important; color: var(--slate); }
.post-card:hover, .post-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.post-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--blue-100); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
/* Text-only post card variant (no thumbnail). Used on the blog index + related-posts
   to honour the one-image-per-location rule — each post's hero photo belongs only
   to the post itself. Lean on a colored left border + roomier padding so the card
   still reads as a distinct content tile without a hero image. */
.post-card--text { border-left: 4px solid var(--blue); }
.post-card--text .post-card__body { padding: 1.7rem 1.7rem 1.8rem; }
.post-card--text .post-card__body h3 { margin-bottom: .8rem; }
.post-card--text .post-card__body p { margin-bottom: 1.3rem; }
.post-card__body h3 { font-size: 1.18rem; margin: 0 0 .6rem; color: var(--ink); }
.post-card__body p { color: var(--muted); font-size: .96rem; margin: 0 0 1.1rem; line-height: 1.55; }
.post-card__link { margin-top: auto; font-weight: 700; color: var(--blue-700); font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.post-card:hover .post-card__link { gap: .55rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-body p:first-child::first-letter { font-size: 3em; }
}

/* ============================================================
   PROSE — rendered scraped sections (H2/H3/P/UL/OL in document order)
   Used by subservice + service-hub + supporting layouts that re-emit
   the raw HTML structure via load_sections().
   ============================================================ */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 2.4rem 0 .8rem; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.18rem, 1.8vw, 1.32rem); margin: 1.6rem 0 .6rem; color: var(--ink); font-weight: 700; }
.prose p { color: var(--slate); line-height: 1.78; font-size: 1.04rem; margin-bottom: 1.15em; }
.prose ul, .prose ol { margin: .8em 0 1.4em 1.4em; line-height: 1.7; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .55em; padding-left: .3em; }
.prose strong { color: var(--ink); }
.prose__figure { margin: 0 0 1.8rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--blue-50); }
.prose__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   ASSOCIATIONS STRIP — credibility row near the bottom of content pages
   (Trillium pattern; user-feedback required 2026-05-29)
   ============================================================ */
.assoc-strip { background: linear-gradient(180deg, var(--cream), var(--paper)); border-top: 1px solid var(--line); }
.assoc-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.assoc-card {
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  /* uniform card height so the four cards align even though logo widths differ */
  min-height: 130px;
  padding: 1.4rem 1.2rem; box-shadow: var(--shadow-sm);
  text-decoration: none !important; color: var(--slate);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.assoc-card:hover, a.assoc-card:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-200);
}
.assoc-card__logo {
  display: grid; place-items: center;
  width: 100%;
}
.assoc-card__logo img {
  display: block;
  width: auto; height: auto;
  object-fit: contain;
  transition: opacity .25s ease, transform .25s ease;
}
/* Per-logo size tuning — the four logos have wildly different native aspect
   ratios (YOH 1.83, CDA 1.78, RCDSO 3.09, Implant ~1:1), so a single rule
   produces visually-mismatched sizes (RCDSO half-height, Implant tiny).
   These max-heights + max-widths are hand-tuned to give each logo roughly
   equal "visual area" inside its card.                              */
.assoc-card--yoh    .assoc-card__logo img { max-height: 70px;  max-width: 88%; }
.assoc-card--cda    .assoc-card__logo img { max-height: 70px;  max-width: 76%; }
.assoc-card--rcdso  .assoc-card__logo img { max-height: 56px;  max-width: 92%; }
.assoc-card--implant .assoc-card__logo img { max-height: 90px; max-width: 70%; }
a.assoc-card:hover .assoc-card__logo img,
a.assoc-card:focus-visible .assoc-card__logo img {
  transform: scale(1.05);
}
@media (max-width: 780px) { .assoc-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .assoc-strip__grid { grid-template-columns: 1fr; } }

/* ============================================================
   NATIVE FORM — replaces the GHL iframe widget so booking blends
   with site chrome instead of imposing third-party fonts/buttons.
   ============================================================ */
.ff-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.1rem;
  font-family: var(--font-body); color: var(--slate);
}
.ff-form__head { margin-bottom: .4rem; }
.ff-form__head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--ink); margin: 0 0 .35rem; }
.ff-form__head p { color: var(--muted); font-size: .98rem; margin: 0; line-height: 1.5; }
.ff-row { display: flex; flex-direction: column; gap: .42rem; }
.ff-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ff-row--split > div { display: flex; flex-direction: column; gap: .42rem; }
.ff-row label {
  font-size: .85rem; font-weight: 600; color: var(--ink);
  letter-spacing: .01em;
}
.ff-row label span[aria-hidden] { color: var(--cta); margin-left: .15rem; }
.ff-form input,
.ff-form select,
.ff-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1rem; line-height: 1.4;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  width: 100%; -webkit-appearance: none; appearance: none;
}
.ff-form textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.ff-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.8rem;
}
.ff-form input::placeholder,
.ff-form textarea::placeholder { color: #99a4ab; }
.ff-form input:focus,
.ff-form select:focus,
.ff-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(46,163,242,.14);
}
.ff-actions { display: flex; flex-direction: column; gap: .8rem; margin-top: .4rem; }
.ff-actions .btn { align-self: flex-start; }
.ff-fineprint { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0; max-width: 52ch; }

.captcha-field .field-error { margin: .35rem 0 0; color: var(--cta, #d75b4b); font-size: .85rem; font-weight: 600; }
.captcha-field.has-error input[name="captcha_answer"] { border-color: var(--cta, #d75b4b); box-shadow: 0 0 0 4px rgba(215, 91, 75, .12); }
.captcha-field input[name="captcha_answer"] { max-width: 12rem; }

.ff-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.ff-row--triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ff-fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; margin: 0; display: grid; gap: .65rem; background: #fff; }
.ff-fieldset legend { padding: 0 .35rem; color: var(--ink); font-size: .9rem; font-weight: 700; }
.ff-fieldset legend span[aria-hidden] { color: var(--cta); }
.ff-option { display: flex; align-items: center; gap: .55rem; color: var(--slate); font-size: .95rem; cursor: pointer; user-select: none; }
.ff-option input[type="radio"], .ff-option input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 1.1rem; height: 1.1rem; min-height: 0; flex: 0 0 auto; padding: 0; margin: .1rem .15rem 0 0; background: initial; border: initial; border-radius: initial; box-shadow: none; accent-color: var(--blue); }
.ff-fieldset[data-invalid="true"] { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(215, 91, 75, .12); }
@media (max-width: 600px) {
  .ff-row--split { grid-template-columns: 1fr; }
  .ff-actions .btn { align-self: stretch; }
}

/* ---------- Aliases for legacy class names (back-compat for builders) ---------- */
.btn-primary { background: var(--cta); color: #fff !important; box-shadow: var(--shadow-blue); 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); white-space: nowrap; line-height: 1.2; text-decoration: none !important; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease, color .2s; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--cta-hover); color: #fff !important; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); 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); white-space: nowrap; line-height: 1.2; text-decoration: none !important; transition: transform .25s, box-shadow .2s, background .2s, color .2s; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--blue-50); color: var(--blue-700) !important; box-shadow: inset 0 0 0 1.5px var(--blue-200); transform: translateY(-2px); }
.btn-on-dark { background: #fff; color: var(--blue-700) !important; 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); white-space: nowrap; line-height: 1.2; text-decoration: none !important; transition: transform .25s, background .2s, color .2s; box-shadow: var(--shadow); }
.btn-on-dark:hover, .btn-on-dark:focus-visible { background: var(--ink); color: #fff !important; transform: translateY(-2px); }
.btn-topbar { background: var(--blue); color: #fff !important; padding: .45rem 1rem; border-radius: var(--r-pill); font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none !important; transition: background .15s ease; }
.btn-topbar:hover, .btn-topbar:focus-visible { background: var(--blue-600); color: #fff !important; }
.btn-nav { padding: .68rem 1.25rem !important; font-size: .94rem; }

/* explicit specificity boost for header Book Now button — beats .main-nav > a */
.site-header .main-nav a.btn-primary,
.site-header .main-nav a.btn { color: #fff !important; background: var(--cta) !important; }
.site-header .main-nav a.btn-primary:hover, .site-header .main-nav a.btn-primary:focus-visible,
.site-header .main-nav a.btn:hover, .site-header .main-nav a.btn:focus-visible { color: #fff !important; background: var(--cta-hover) !important; }

/* utility */
.contact-link { font-weight: 600; color: var(--blue-700); }
.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: var(--gutter); }
@media (min-width: 880px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .two-col--reverse { direction: rtl; }
  .two-col--reverse > * { direction: ltr; }
}
.two-col-media {
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.40), transparent 60%),
    linear-gradient(135deg, var(--blue-100), var(--teal-100));
  aspect-ratio: 4/3; box-shadow: var(--shadow);
}

/* ============================================================
   RICH CONTENT COMPONENTS (service-page readability)
   ============================================================ */
/* Quick-facts strip — a row of icon facts under the hero */
.facts-strip { background: linear-gradient(180deg, var(--blue-50), var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1040px; margin: 0 auto; padding-block: clamp(1.4rem, 3vw, 2rem); }
.fact { display: flex; align-items: center; gap: .8rem; }
.fact__ico { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact__ico svg { width: 22px; height: 22px; }
.fact__t { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.15; }
.fact__s { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .facts-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; } }
@media (max-width: 440px) { .facts-strip__grid { grid-template-columns: 1fr; } }

/* Numbered process steps as cards */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-card__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .85rem; box-shadow: var(--shadow-blue); }
.step-card h3 { font-family: var(--font-display); font-size: 1.08rem; margin: 0 0 .4rem; color: var(--ink); }
.step-card p { margin: 0; color: var(--slate); font-size: .96rem; }

/* Icon feature cards (benefits) */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.feature-card__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); margin-bottom: .85rem; }
.feature-card__ico svg { width: 22px; height: 22px; }
.feature-card p { margin: 0; color: var(--slate); }

/* Callout / info panels */
.callout { display: flex; gap: .95rem; padding: 1.2rem 1.3rem; border-radius: var(--r); border: 1px solid var(--blue-100); background: var(--blue-50); margin: 1.6rem 0; }
.callout--note { border-color: var(--teal-100); background: var(--teal-50); }
.callout__ico { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; color: var(--blue-600); }
.callout--note .callout__ico { color: var(--teal-700); }
.callout__ico svg { width: 22px; height: 22px; }
.callout__body { margin: 0; }
.callout__body > :first-child { margin-top: 0; }
.callout__body > :last-child { margin-bottom: 0; }
.callout__body strong { color: var(--ink); }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 460px; background: #fff; }
.compare-table th, .compare-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--blue-50); font-family: var(--font-display); color: var(--ink); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; color: var(--slate); }

/* Checklist styling for prose + why-choose lists */
.prose ul, .feature-list { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .55rem; }
.prose ul li, .feature-list li { position: relative; padding-left: 1.9rem; color: var(--slate); }
.prose ul li::before, .feature-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem;
  background: var(--blue-50); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d7fc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
/* keep ordered lists as numbers (don't checklist them) */
.prose ol { padding-left: 1.4rem; margin: 1.1rem 0; display: block; }
.prose ol li { padding-left: .3rem; }
.prose ol li::before { content: none; }

/* Pull quote */
.pullquote { margin: 1.8rem 0; padding: 1.2rem 1.6rem; border-left: 4px solid var(--blue); background: linear-gradient(180deg, var(--blue-50), transparent); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--ink); }

/* ============================================================
   CONTENT + STICKY ASIDE (long-form service sections)
   Keeps the long-form section full-width and left-aligned so it
   lines up with the two-column intro / why-choose blocks instead
   of collapsing into a narrow centered column.
   ============================================================ */
.content-layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.2rem); }
.content-main .prose, .prose--flush { max-width: none; margin-inline: 0; }
.content-aside { }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card .eyebrow { margin-bottom: .5rem; }
.aside-card h3 { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; margin: 0 0 .5rem; color: var(--ink); }
.aside-card p { color: var(--slate); margin: 0 0 1.1rem; font-size: .96rem; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-facts { list-style: none; padding: 1.2rem 0 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; border-top: 1px solid var(--line); }
.aside-facts li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--slate); }
.aside-facts li svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--blue-600); }
.aside-facts a { color: var(--slate); text-decoration: none; }
.aside-facts a:hover { color: var(--blue-700); }
@media (min-width: 980px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 326px; align-items: start; }
  .content-aside { position: sticky; top: 96px; }
}
