/* =============================================================
   Brantford Pediatrics — Design System
   1. Tokens
   2. Reset & base
   3. Utilities & typography
   4. Buttons
   5. Header & navigation
   6. Hero + key information bar
   7. Sections, waves, watermarks
   8. About / credentials
   9. Team
   10. Services
   11. Patient hub / start cards
   12. Testimonials
   13. CTA band & partners
   14. Page banners & breadcrumbs
   15. eForms library
   16. eVisits (checklist, advantages, steps, video)
   17. Contact
   18. Footer & back-to-top
   19. Motion & reveal
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --rose: #a85a6b;
  --rose-600: #95505f;
  --rose-700: #7c4250;
  --rose-100: #f2e2e6;
  --rose-50: #fbf5f6;

  --teal: #3e7089;
  --teal-600: #356075;
  --teal-800: #2b4b5b;
  --teal-900: #223d4a;
  --teal-50: #eef3f6;

  --ink: #26303d;
  --ink-soft: #414c5b;
  --body: #5a6573;
  --muted: #7d8794;

  --surface: #ffffff;
  --surface-2: #f4f7fa;
  --line: #e5eaf0;
  --focus: #1e5d7a;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 76px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(34, 61, 74, .06);
  --shadow-sm: 0 2px 10px rgba(34, 61, 74, .06);
  --shadow-md: 0 12px 30px -12px rgba(34, 61, 74, .18);
  --shadow-lg: 0 28px 60px -24px rgba(34, 61, 74, .28);

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .965rem + .16vw, 1.0625rem);
  line-height: 1.72;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

/* Keep the hidden attribute authoritative over component display rules. */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a { color: var(--teal-600); text-decoration-color: rgba(62, 112, 137, .35); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--rose); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.cta-band :focus-visible,
.page-banner :focus-visible,
.site-footer :focus-visible,
.site-header--overlay:not(.is-stuck):not(.is-open) :focus-visible { outline-color: #fff; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 3. Utilities & typography ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--surface); color: var(--ink);
  padding: .7rem 1.2rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md); font-weight: 600; text-decoration: none;
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.h2 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); font-weight: 700; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 .75rem;
}

.lede { font-size: 1.0625rem; color: var(--body); }
.lede--center { max-width: 62ch; margin-inline: auto; text-align: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s, color .22s, border-color .22s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--rose); box-shadow: 0 10px 24px -12px rgba(168, 90, 107, .9); }
.btn--primary:hover { --btn-bg: var(--rose-600); }

.btn--secondary { --btn-bg: var(--teal); box-shadow: 0 10px 24px -12px rgba(62, 112, 137, .9); }
.btn--secondary:hover { --btn-bg: var(--teal-600); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { --btn-fg: var(--rose); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal-600); --btn-border: var(--line); }
.btn--outline:hover { --btn-bg: var(--teal-50); --btn-border: var(--teal); }

.btn--ghost { --btn-bg: rgba(255, 255, 255, .14); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--rose-700); --btn-border: #fff; }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--teal-800); --btn-border: #fff; }

.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1.02rem 2rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header--overlay { background: transparent; color: #fff; }
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 rgba(38, 48, 61, .07), 0 10px 30px -22px rgba(38, 48, 61, .5);
  color: var(--ink);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  text-decoration: none;
  flex: none;
}
.logo__mark { width: 40px; height: 40px; color: currentColor; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__text {
  display: grid;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.logo__text strong { font-weight: 700; }
.logo__text span { font-weight: 500; opacity: .92; }
.logo--footer { color: #fff; }

@media (max-width: 420px) {
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: .95rem; }
}

/* Nav */
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
  list-style: none;
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding: .35rem 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a:hover { color: inherit; opacity: .85; }
.site-header.is-stuck .nav__list a:hover,
.site-header.is-open .nav__list a:hover { color: var(--rose); opacity: 1; }
.site-header.is-stuck .nav__list a[aria-current="page"],
.site-header.is-open .nav__list a[aria-current="page"] { color: var(--rose); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
}
.site-header.is-stuck .nav-toggle,
.site-header.is-open .nav-toggle { background: var(--surface-2); }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0;
  z-index: 55;
  background: rgba(20, 30, 38, .45);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 58;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__list a { padding: .95rem .25rem; font-size: 1.0625rem; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--rose); }
  .nav__cta { align-self: flex-start; }
}

/* ---------- 6. Hero + key information bar ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(94vh, 780px);
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(7rem, 12vw, 10rem);
  color: #fff;
  overflow: hidden;
  /* To use a photograph, drop it in assets/img/hero.jpg and add:
     background-image: url("../img/hero.jpg"); background-size: cover; background-position: center; */
  background: linear-gradient(158deg, #bb6e80 0%, var(--rose) 42%, #8b4a5c 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 15% 10%, rgba(255, 255, 255, .18), transparent 60%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .16;
  background: #fff;
}
.hero__blob--1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -8vw; top: -12vw; }
.hero__blob--2 { width: 30vw; height: 30vw; max-width: 400px; max-height: 400px; right: 18vw; bottom: -6vw; opacity: .1; }
.hero__emblem {
  position: absolute;
  right: -3vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(44vw, 560px);
  color: #fff;
  opacity: .1;
}
@media (max-width: 900px) {
  .hero__emblem { right: -30vw; width: 95vw; opacity: .07; }
}

.hero__inner { position: relative; max-width: 44rem; }
.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.9rem, 1.6rem + 6vw, 5.25rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 12px 40px rgba(90, 40, 52, .28);
}
.hero__title span { color: rgba(255, 255, 255, .82); }
.hero__lede {
  max-width: 34rem;
  margin: 0 0 2.25rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .94);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Key information bar */
.quickbar-wrap { position: relative; z-index: 5; margin-top: clamp(-5.5rem, -7vw, -3.5rem); }
.quickbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.quickbar__item { display: flex; align-items: flex-start; gap: 1rem; }
.quickbar__item + .quickbar__item { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.5vw, 2rem); }
.quickbar__icon {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--rose-50);
  color: var(--rose);
}
.quickbar__icon svg { width: 24px; height: 24px; }
.quickbar__body { min-width: 0; }
.quickbar__label {
  margin: 0 0 .2rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.quickbar__value {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
a.quickbar__value:hover { color: var(--rose); }
.quickbar__meta { margin: .15rem 0 0; font-size: .875rem; color: var(--muted); }
.quickbar__meta a { color: var(--teal-600); }

@media (max-width: 860px) {
  .quickbar { grid-template-columns: 1fr; }
  .quickbar__item + .quickbar__item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.25rem; }
}

/* ---------- 7. Sections, waves, watermarks ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section--tint { background: var(--surface-2); }
.section--flush-top { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--about { padding-top: clamp(4.5rem, 9vw, 7.5rem); }

.watermark {
  position: absolute;
  top: clamp(.5rem, 2vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 11.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(38, 48, 61, .045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .h2 { margin-bottom: .5rem; }
.section-head__lede { margin: 0; color: var(--body); }
.section-foot { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; text-align: center; }

.wave { position: absolute; left: 0; right: 0; line-height: 0; pointer-events: none; z-index: 2; }
.wave svg { width: 100%; height: clamp(48px, 7vw, 110px); display: block; fill: var(--surface); }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; }
.section--tint + .cta-band .wave--top svg { fill: var(--surface-2); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reviews { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--contact { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
.split--narrow { align-items: start; }

@media (max-width: 900px) {
  .split, .split--reviews, .split--contact { grid-template-columns: minmax(0, 1fr); }
  .section--about .split__media { order: 2; }
}

/* ---------- 8. About / credentials ---------- */
.credential-panel {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--teal-800), var(--teal) 70%, #4a809a);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.credential-panel::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.credential-panel__badge { position: relative; margin-bottom: 1.75rem; }
.credential-panel__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.credential-panel__caption {
  display: block;
  margin-top: .35rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .82);
}
.credential-list { position: relative; list-style: none; display: grid; gap: 1rem; }
.credential-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .93);
}
.credential-list svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; color: #fff; opacity: .9; }

.callout {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--rose-50);
}
.callout__title { margin: 0 0 .5rem; font-size: 1.0625rem; font-weight: 600; color: var(--rose-700); }
.callout p { font-size: .9375rem; }
.callout__flag { margin-top: .6rem !important; font-weight: 600; color: var(--rose-700); }

/* ---------- 9. Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 960px;
  margin-inline: auto;
  list-style: none;
}
.person-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person-card__photo { position: relative; background: var(--surface-2); }
.person-card__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter .45s var(--ease), transform .6s var(--ease);
}
.person-card:hover .person-card__photo img { filter: grayscale(0); transform: scale(1.03); }
.person-card__body { padding: 1.35rem 1.5rem 1.6rem; }
.person-card__name { margin: 0 0 .15rem; font-size: 1.1875rem; font-weight: 600; }
.person-card__role {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
}
.person-card__bio { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--body); }

/* ---------- 10. Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
}
/* The full services list uses balanced columns so cards of very different
   lengths pack tightly instead of leaving tall gaps in a rigid grid. */
.service-grid--full {
  display: block;
  columns: 3;
  column-gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.service-grid--full .service-card {
  height: auto;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
@media (max-width: 1080px) { .service-grid--full { columns: 2; } }
@media (max-width: 720px) { .service-grid--full { columns: 1; } }

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--rose-100); box-shadow: var(--shadow-lg); }
.service-card__icon {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--rose-50), var(--teal-50));
  color: var(--rose);
  transition: color .35s;
}
.service-card:hover .service-card__icon { color: var(--teal); }
.service-card__icon svg { width: 34px; height: 34px; }
.service-card__title { margin: 0 0 .65rem; font-size: 1.1875rem; font-weight: 600; }
.service-card__text { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.68; }
.service-card__text:last-of-type { margin-bottom: 0; }
.service-card__link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
}
.service-card__link::after { content: " →"; transition: none; }
.service-card__link:hover { color: var(--rose); }
.service-card__note {
  margin: 1.15rem 0 0;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service-card--detail .service-card__title { font-size: 1.3125rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; list-style: none; }
.tag-list li {
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  background: var(--rose-50);
  color: var(--rose-700);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- 11. Patient hub / start cards ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
}
.hub-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hub-card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal);
}
.hub-card__icon svg { width: 24px; height: 24px; }
.hub-card__title { margin: 0 0 .5rem; font-size: 1.0625rem; font-weight: 600; }
.hub-card__text { margin: 0 0 1.25rem; font-size: .9375rem; line-height: 1.6; }
.hub-card__cta {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
}
.hub-card__cta::after { content: " →"; }
.hub-card__cta:hover { color: var(--rose); }
.hub-card--primary {
  border-color: transparent;
  background: linear-gradient(150deg, var(--rose), #94505f);
  color: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-md);
}
.hub-card--primary .hub-card__title { color: #fff; }
.hub-card--primary .hub-card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.hub-card--primary .hub-card__cta { color: #fff; }
.hub-card--primary .hub-card__cta:hover { color: #fff; text-decoration: underline; }

.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
}
.start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.start-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.start-card__step {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
}
.start-card__title { margin: 0 0 .5rem; font-size: 1.1875rem; font-weight: 600; }
.start-card__text { margin: 0 0 1.5rem; font-size: .9375rem; line-height: 1.6; }
.start-card .btn { margin-top: auto; }

.notice {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  font-size: .9375rem;
  line-height: 1.6;
}
.notice svg { flex: none; width: 22px; height: 22px; margin-top: .1rem; }
.notice--info { background: var(--teal-50); color: var(--teal-800); border: 1px solid rgba(62, 112, 137, .18); }
.notice--warn { background: var(--rose-50); color: var(--rose-700); border: 1px solid rgba(168, 90, 107, .2); }
.notice--warn a { color: var(--rose-700); font-weight: 600; }

/* ---------- 12. Testimonials ---------- */
.section--reviews { background: var(--surface); }
.testimonials { position: relative; }
.testimonials__track {
  display: flex;
  list-style: none;
  transition: transform .5s var(--ease);
}
.testimonial { flex: 0 0 100%; min-width: 0; padding: .5rem; }
.testimonial blockquote {
  margin: 0;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.testimonial__title { margin: 0 0 .85rem; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }
.testimonial__text { margin: 0 0 1.5rem; font-size: .9375rem; line-height: 1.75; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; }
.testimonial__avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--rose), var(--teal));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial__name { display: block; font-family: var(--font-display); font-weight: 600; font-style: normal; color: var(--ink); }
.testimonial__meta { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.testimonials__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.carousel-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--teal-600);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.carousel-btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color .25s, transform .25s;
}
.carousel-dots button[aria-selected="true"] { background: var(--rose); transform: scale(1.25); }

/* ---------- 13. CTA band & partners ---------- */
.cta-band {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: linear-gradient(135deg, var(--teal-800), var(--teal) 60%, #4b7f99);
  color: rgba(255, 255, 255, .92);
  overflow: hidden;
}
.cta-band__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.cta-band__title { margin: 0 0 .5rem; color: #fff; }
.cta-band__text { margin: 0; max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.partner-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.partner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.partner__mark { width: 46px; height: 46px; color: var(--rose); flex: none; }
.partner__name { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.25; letter-spacing: .01em; color: var(--teal-800); }
.partner__name strong { font-weight: 700; }

/* ---------- 14. Page banners & breadcrumbs ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(5rem, 10vw, 7.5rem);
  background: linear-gradient(140deg, var(--teal-900), var(--teal-800) 55%, #37627a);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -10%; top: -30%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 62%);
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner__title {
  margin: 0 0 .75rem;
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff;
}
.page-banner__lede {
  max-width: 46rem;
  margin: 0 auto;
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  color: rgba(255, 255, 255, .88);
}

.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
}
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- 15. eForms library ---------- */
.form-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.search-field { position: relative; flex: 1 1 300px; display: flex; align-items: center; }
.search-field svg {
  position: absolute; left: 1rem;
  width: 20px; height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: .85rem 1rem .85rem 3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search-field input::placeholder { color: var(--muted); }
.search-field input:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(62, 112, 137, .14);
}
.search-field input:focus-visible { outline: none; }

.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.filter-chip:hover { border-color: var(--rose); color: var(--rose); }
.filter-chip.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }

.form-count { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }

.form-group { margin-top: clamp(2.25rem, 4vw, 3rem); }
.form-group[hidden] { display: none; }
.form-group__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.form-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.form-group__hint { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--muted); }
.form-group__title + .form-list { margin-top: 1.25rem; }

.form-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  list-style: none;
}
.form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.form-item:hover { transform: translateY(-3px); border-color: var(--teal-50); box-shadow: var(--shadow-md); }
.form-item[hidden] { display: none; }
.form-item__body { min-width: 0; }
.form-item__name { margin: 0 0 .2rem; font-size: 1rem; font-weight: 600; }
.form-item__desc { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.form-item__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.05rem;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.form-item__link svg { width: 15px; height: 15px; }
.form-item__link:hover { background: var(--rose); color: #fff; transform: translateX(2px); }

.empty-state {
  margin-top: 2rem;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}
.empty-state[hidden] { display: none; }

/* ---------- 16. eVisits ---------- */
.checklist-panel {
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.checklist-panel__title { margin: 0 0 1.15rem; font-size: 1.1875rem; font-weight: 600; }
.checklist { list-style: none; display: grid; gap: .85rem; margin-bottom: 1.75rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: .9375rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .28rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e7089' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
}
.advantage {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.advantage:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.advantage__tick {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--rose-50);
  color: var(--rose);
}
.advantage__tick svg { width: 18px; height: 18px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 1.1rem;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--teal), var(--teal-800));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.step__title { margin: .35rem 0 .4rem; font-size: 1.0625rem; font-weight: 600; }
.step__body p { margin: 0; font-size: .9375rem; line-height: 1.65; }

.video-frame { margin: 0; max-width: 780px; margin-inline: auto; }
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: var(--teal-900);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.video-frame figcaption { margin-top: 1rem; text-align: center; font-size: .875rem; color: var(--muted); }

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  list-style: none;
}
.contact-card {
  padding: clamp(1.4rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--teal-800);
  color: #fff;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card__value { margin: 0 0 .6rem; font-size: 1rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.contact-card__value a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card__value a:hover { color: var(--rose); }
.contact-card__action { font-size: .8125rem; font-weight: 600; color: var(--teal-600); }
.contact-card__action--static { display: block; color: var(--muted); font-weight: 500; }

.reach-list { list-style: none; display: grid; gap: 1.5rem; margin-top: 2rem; }
.reach-list li { display: flex; gap: 1rem; align-items: flex-start; }
.reach-list__icon {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--rose-50);
  color: var(--rose);
}
.reach-list__icon svg { width: 21px; height: 21px; }
.reach-list h3 { margin: .2rem 0 .3rem; font-size: 1rem; font-weight: 600; }
.reach-list p { margin: 0; font-size: .9375rem; line-height: 1.6; }

.contact-panel {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.contact-panel__title { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 700; text-align: center; }
.contact-panel__text { margin: 0 0 1.5rem; font-size: .9375rem; text-align: center; color: var(--body); }
.contact-panel__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-panel__divider::before,
.contact-panel__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.contact-panel__actions { display: grid; gap: .75rem; }
.contact-panel__note {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.section--map { background: var(--surface); padding-top: clamp(1rem, 2vw, 2rem); }
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; }
.map-fallback { margin: 1rem 0 0; text-align: center; font-size: .875rem; color: var(--muted); }

/* ---------- 18. Footer & back-to-top ---------- */
.site-footer {
  position: relative;
  background: var(--teal-900);
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
}
.site-footer::before {
  content: "";
  display: block;
  height: clamp(40px, 6vw, 90px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0h1440v52c-120 36-240 52-360 48-180-7-360-63-540-84-180-22-360-10-540 34V0Z'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr .85fr .95fr 1.75fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
.site-footer__blurb { margin: 1.15rem 0 0; max-width: 34ch; font-size: .875rem; line-height: 1.7; color: rgba(255, 255, 255, .68); }
.site-footer__heading {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}
.site-footer__links { list-style: none; display: grid; gap: .7rem; }
.site-footer__links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }

.site-footer__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-block;
  padding: .45rem 1.05rem;
  border-radius: var(--r-pill);
  background: var(--rose);
  color: #fff;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.chip:hover { background: #fff; color: var(--rose-700); transform: translateY(-2px); }

.site-footer__col--contact { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.site-footer__contact { list-style: none; display: grid; gap: .9rem; }
.site-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.site-footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: .22rem; opacity: .8; }
.site-footer__contact a { color: rgba(255, 255, 255, .82); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: #fff; text-decoration: underline; }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
}
.site-footer__bar p { margin: 0; }
.site-footer__note { color: rgba(255, 255, 255, .5); }

@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__col--contact { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--rose);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--rose-700); }
.to-top svg { width: 22px; height: 22px; }
.to-top[hidden] { display: none; }

/* ---------- 19. Motion & reveal ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav, .to-top, .wave, .watermark, .cta-band { display: none !important; }
  body { color: #000; }
}
