/* BEGIN: font-face (build-fonts.mjs) */
/* Generated by scripts/build-fonts.mjs — do not edit by hand. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/font/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/font/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/font/plus-jakarta-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/font/plus-jakarta-sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/font/fraunces-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/font/fraunces-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/font/source-serif-4-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/font/source-serif-4-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/font/source-serif-4-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/font/source-serif-4-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/font/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/font/ibm-plex-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* END: font-face (build-fonts.mjs) */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Design tokens ---------- */
:root {
  --color-blue: #1986a2;
  --color-blue-dark: #12657c;
  --color-green: #60de9c;
  --color-green-dark: #2fa872;
  --color-white: #ffffff;
  --color-grey-50: #f7f9fa;
  --color-grey-100: #edf1f2;
  --color-grey-200: #dde4e6;
  --color-grey-400: #9aa8ad;
  --color-grey-600: #5b6a70;
  --color-grey-900: #1b2a2f;
  --color-cream: #faf7f1;

  --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --radius: 12px;
  --shadow-card: 0 4px 20px rgba(27, 42, 47, 0.08);
  --container-width: 1200px;
}

/* ---------- Base ---------- */
html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--color-grey-900);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 1rem;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-grey-900);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.25rem); }
h3 { font-size: 1.15rem; }

p { color: var(--color-grey-600); }

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* Visible only to assistive tech */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -3rem;
  background: var(--color-blue);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-2); }

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-green);
  color: var(--color-grey-900);
}
.btn-primary:hover { background: var(--color-green-dark); color: var(--color-white); }

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* Pill button with a circular arrow icon, matching the "Learn more" links
   used on the services cards. */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-grey-900);
  text-decoration: none;
  padding: 0.55rem 0.55rem 0.55rem 1.3rem;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  box-shadow: var(--shadow-card);
  transition: background 0.22s ease, color 0.22s ease, padding 0.22s ease, border-color 0.22s ease;
}
.arrow-btn:hover { border-color: var(--color-blue-dark); }
.arrow-btn-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(25, 134, 162, 0.12);
  color: var(--color-blue);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.arrow-btn-icon svg { width: 14px; height: 14px; }
.arrow-btn:hover {
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding-left: 1.5rem;
}
.arrow-btn:hover .arrow-btn-icon {
  background: var(--color-green);
  color: var(--color-grey-900);
  transform: rotate(45deg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--color-blue); }
.link-arrow::after {
  content: '\2192';
  transition: transform 0.15s ease;
}
.link-arrow:hover::after { transform: translateX(3px); }

.muted { color: var(--color-grey-400); font-size: 0.9em; }

/* ---------- Topbar ---------- */
/* Scrolls away with the page (not sticky) - only .site-header below it sticks to top:0 */
.topbar {
  background: var(--color-blue-dark);
  color: var(--color-white);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: 0.5rem;
  font-size: 0.8rem;
}
.topbar-item,
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-white);
  text-decoration: none;
}
.topbar-links {
  display: flex;
  gap: var(--space-3);
}
.topbar-links a:hover { color: var(--color-green); }
@media (max-width: 640px) {
  .topbar-item { display: none; }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-grey-900);
  line-height: 1.2;
}
.logo img {
  height: 40px;
  width: auto;
}

/* WebP wrappers injected by scripts/inject-pictures.js. <picture> is inline by
   default, which would add a descender gap and break the img's parent flex/grid
   relationship — display:contents removes its box so the <img> keeps every rule
   that targeted it before the wrapper existed. */
picture { display: contents; }

/* Inline <symbol> sprite — defs only, must never occupy layout space. */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* The topbar's phone link scrolls away, so the sticky header carries its own
   call button on mobile — the phone is this practice's primary CTA. */
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  flex-shrink: 0;
}
.header-call:hover { background: var(--color-blue-dark); }

/* Checkbox drives the mobile menu; no JavaScript involved */
.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.nav-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
}
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--color-blue); outline-offset: 2px; }

.nav-toggle-label span:first-child,
.nav-toggle-label span:first-child::before,
.nav-toggle-label span:first-child::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-grey-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-label span:first-child { position: relative; }
.nav-toggle-label span:first-child::before,
.nav-toggle-label span:first-child::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-label span:first-child::before { top: -7px; }
.nav-toggle-label span:first-child::after { top: 7px; }

.nav-toggle:checked + .nav-toggle-label span:first-child { background: transparent; }
.nav-toggle:checked + .nav-toggle-label span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
}
.nav-toggle:checked ~ .site-nav { display: block; }

.site-nav > ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.site-nav > ul > li > a {
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
}

/* Checkbox-hack trigger (not <details>/<summary>): recent Chromium/Firefox hide a
   closed <details>'s content via an internal content-visibility rule that CSS
   "display" overrides can't reach, which broke the desktop hover dropdown below. */
.submenu-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.has-submenu .submenu-label {
  cursor: pointer;
  font-weight: 500;
  display: block;
  padding: 0.4rem 0;
}
.has-submenu .submenu-label::after {
  content: '\25BE';
  margin-left: 0.5em;
  font-size: 0.8em;
  color: var(--color-blue);
  display: inline-block;
  transition: transform 0.18s ease;
}
.submenu-toggle:checked ~ .submenu-label::after { transform: rotate(180deg); }
.submenu {
  display: none;
  padding-left: var(--space-2);
  padding-top: var(--space-1);
  flex-direction: column;
  gap: var(--space-1);
  border-left: 2px solid var(--color-grey-100);
}
.submenu-toggle:checked ~ .submenu { display: flex; }
.submenu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-grey-600);
  padding: 0.3rem 0;
}
.submenu a:hover, .site-nav > ul > li > a:hover { color: var(--color-blue); }
.submenu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-grey-100);
}
.nav-cta { text-align: center; }

@media (min-width: 960px) {
  .nav-toggle-label { display: none; }
  .header-call { display: none; }

  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
    justify-content: flex-end;
    max-height: none;
    overflow: visible;
  }
  .site-nav > ul {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
  }
  .site-nav > ul > li > a { padding: 0; }

  /* padding-bottom + a canceling negative margin-bottom extend .has-submenu's
     hoverable box down into the visual gap above the dropdown, so the mouse
     never has to cross "dead space" (which would drop :hover) to reach it. */
  .has-submenu {
    position: relative;
    padding-bottom: var(--space-2);
    margin-bottom: calc(-1 * var(--space-2));
  }
  .has-submenu .submenu-label { padding: 0; }
  .has-submenu:hover .submenu-label::after,
  .has-submenu:focus-within .submenu-label::after { transform: rotate(180deg); }

  /* Hover/focus governs visibility here, not the checkbox's checked state.
     The !important overrides the mobile default of display:none. */
  .submenu {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-white);
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: var(--space-2);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    left: -80px;
  }
  .submenu a { padding: 0.5rem 0.6rem; border-radius: 8px; }
  .submenu a:hover { background: var(--color-grey-50); }

  .nav-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  /* This is the home page's LCP element, so the file named here must be the
     same one index.html preloads. image-set() is deliberately NOT used: the
     preload picks one format and image-set() picks another, and the hero then
     downloads twice. A plain WebP URL keeps the two in agreement.
     background-color carries the design if WebP is unsupported or the image is
     still in flight — the copy stays legible on the dark panel either way. */
  background-color: #0e3845;
  background-image:
    linear-gradient(90deg, rgba(14, 56, 69, 0.82) 0%, rgba(14, 56, 69, 0.5) 50%, rgba(14, 56, 69, 0.25) 100%),
    url('/images/optimized/hand-surgery-bg-800.webp');
  background-size: cover;
  background-position: center 30%;
  color: var(--color-white);
  padding-block: var(--space-6) var(--space-6);
}
/* Phones paint this box ~412 px wide; the 800 px file above already covers a
   2× DPR screen. Only wider viewports need the full-size render. Breakpoint
   and file must match the two <link rel=preload media=...> tags in index.html. */
@media (min-width: 601px) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(14, 56, 69, 0.82) 0%, rgba(14, 56, 69, 0.5) 50%, rgba(14, 56, 69, 0.25) 100%),
      url('/images/optimized/hand-surgery-bg.webp');
  }
}
.hero-copy { max-width: 640px; }
.hero h1 { color: var(--color-white); }

.hero-blue {
  background-image: none;
  background-color: var(--color-blue-dark);
}
.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-top: var(--space-3);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section-tight-top { padding-top: var(--space-2); }
.section-alt { background: var(--color-grey-50); }
.section-dark {
  background: var(--color-grey-900);
  color: var(--color-grey-200);
}
.section-dark h2 { color: var(--color-white); }
.section-dark p { color: var(--color-grey-200); }
.section-dark .credentials { color: var(--color-white); }
.section-dark .arrow-btn:hover { background: var(--color-blue-dark); color: var(--color-white); }

.section-blue {
  background: var(--color-blue);
  color: var(--color-white);
}
.section-blue h2 { color: var(--color-white); }
.section-blue p { color: rgba(255, 255, 255, 0.9); }
.section-blue .arrow-btn:hover { background: var(--color-blue-dark); color: var(--color-white); }

.section-cream { background: var(--color-cream); }

.why-choose-us {
  position: relative;
  isolation: isolate;
  background-image: url('/images/hand-surgery.jpg');
  background-image: image-set(url('/images/optimized/hand-surgery.webp') type('image/webp'),
                              url('/images/hand-surgery.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}
/* Separate overlay layer, sized to the section itself (not the viewport), so
   coverage stays uniform regardless of scroll position or where the fixed
   background photo happens to be aligned. */
.why-choose-us::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(13, 59, 52, 0.72);
}
.why-choose-us > .container {
  position: relative;
  z-index: 1;
}
.why-choose-us h2 { color: var(--color-white); }
.why-choose-us .benefit-list li { color: var(--color-white); }
.why-choose-us .benefit-icon {
  background: var(--color-green);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .why-choose-us { background-attachment: scroll; }
}

.section-heading { max-width: 700px; margin-bottom: var(--space-5); }
.section-heading p:last-child { margin-top: var(--space-2); }

.intro-center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.intro-center p { margin-top: var(--space-2); }
.intro-center .link-arrow,
.intro-center .arrow-btn { margin-top: var(--space-4); }

.section-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.section-grid > div > p { margin-top: var(--space-2); }
.section-grid > div > p:first-of-type { margin-top: var(--space-2); }
.section-grid h2 + p { margin-top: var(--space-2); }
.section-grid .link-arrow,
.section-grid .arrow-btn { margin-top: var(--space-4); }

@media (min-width: 960px) {
  .section-grid { grid-template-columns: 1fr 1fr; }
  .section-grid-reverse { grid-template-columns: 1fr 1fr; }
  .section-grid-reverse .doctor-photo-frame { order: -1; }
}

.doctor-photo-frame {
  position: relative;
}

.doctor-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-grey-200);
  object-fit: cover;
  object-position: top center;
  min-height: 260px;
  box-shadow: 0 24px 48px -16px rgba(27, 42, 47, 0.35);
}

.credentials {
  font-weight: 500;
  color: var(--color-grey-900);
  margin-top: var(--space-2);
}

/* ---------- Services ---------- */
.services-redesign {
  --sr-teal-900: #0d3b34;
  --sr-teal-700: #12594e;
  --sr-teal-500: #1f8f79;
  --sr-teal-100: #e4f3ef;
  --sr-cream: #faf7f1;
  --sr-ink: #1c2624;
  --sr-ink-soft: #5c6864;
  --sr-line: #e3ddd0;

  background: var(--sr-cream);
  color: var(--sr-ink);
  padding-block: var(--space-6);
}

.services-redesign h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.375rem);
  line-height: 1.15;
  margin: 14px 0 16px;
  color: var(--sr-teal-900);
  max-width: 600px;
}
.services-redesign .intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sr-ink-soft);
  max-width: 560px;
  margin: 0 0 var(--space-5);
}

.services-redesign .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .services-redesign .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-redesign .grid { grid-template-columns: 1fr; }
}

.services-redesign .grid .card-col-2 { grid-column: 2; }
@media (max-width: 600px) {
  .services-redesign .grid .card-col-2 { grid-column: auto; }
}

.services-redesign .card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--sr-line);
  border-radius: 14px;
  padding: 32px 28px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.services-redesign .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(13, 59, 52, 0.35);
  border-color: var(--sr-teal-500);
}

.services-redesign .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.services-redesign .card:hover .card-icon { transform: scale(1.06); }

.services-redesign .stitch { width: 44px; height: 10px; margin: 0 0 18px 2px; }
.services-redesign .stitch path { stroke: var(--sr-teal-500); stroke-width: 1.4; fill: none; stroke-dasharray: 5 4; opacity: 0.55; }

.services-redesign .card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--sr-teal-900);
}
.services-redesign .card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sr-ink-soft);
  margin: 0 0 22px;
}

.services-redesign .learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sr-teal-900);
  text-decoration: none;
  padding: 9px 8px 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--sr-line);
  background: var(--color-white);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, padding 0.22s ease;
}
.services-redesign .learn .arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sr-teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.services-redesign .learn .arrow svg { width: 13px; height: 13px; stroke: var(--sr-teal-700); transition: stroke 0.22s ease; }
.services-redesign .learn:hover { border-color: var(--sr-teal-500); background: var(--sr-teal-900); color: #fff; padding-left: 20px; }
.services-redesign .learn:hover .arrow { background: var(--sr-teal-500); transform: rotate(45deg); }
.services-redesign .learn:hover .arrow svg { stroke: #fff; }

.services-redesign .idx {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--sr-line);
  font-weight: 500;
}

/* ---------- Benefits ---------- */
.why-choose-content {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.benefit-list {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  text-align: left;
}
.benefit-list li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--color-grey-900);
  font-weight: 500;
}
.benefit-icon {
  position: absolute;
  left: 0;
  top: -0.15em;
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: var(--color-grey-900);
  border-radius: 50%;
}
.benefit-icon svg { width: 1.15rem; height: 1.15rem; }
.why-choose-us .btn { margin-top: var(--space-4); }

@media (max-width: 560px) {
  .benefit-list { grid-template-columns: 1fr; }
}

.section .link-arrow { margin-top: var(--space-3); display: inline-flex; }

/* ---------- Testimonials (chart-card variant) ---------- */
.ortho-testimonials {
  --bone: #F5F1E9;
  --bone-card: #FBF9F4;
  --navy: #16223A;
  --navy-soft: #3C4A63;
  --teal: #2F8F76;
  --teal-soft: #DCEEE8;
  --xray: #AFC3D6;
  --hairline: rgba(22, 34, 58, 0.14);
  --shadow-ortho: 0 1px 2px rgba(22, 34, 58, 0.06);
  --shadow-ortho-lift: 0 18px 34px -18px rgba(22, 34, 58, 0.28);

  position: relative;
  background: var(--color-white);
  color: var(--navy);
  padding-block: var(--space-6);
  overflow: hidden;
  isolation: isolate;
}

.ortho-testimonials .watermark-hand {
  position: absolute;
  top: -6%;
  right: -9%;
  width: 620px;
  max-width: 60vw;
  height: auto;
  stroke: var(--navy-soft);
  fill: none;
  opacity: 0.055;
  z-index: 0;
  pointer-events: none;
}
.ortho-testimonials .watermark-hand circle { fill: var(--navy-soft); stroke: none; }

.ortho-testimonials .container { position: relative; z-index: 1; }

.ortho-testimonials .section-head { max-width: 640px; margin-bottom: var(--space-5); }

.ortho-testimonials .testimonials-body {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.ortho-testimonials .testimonials-body .chart-grid { flex: 1; min-width: 0; }

.ortho-testimonials .carousel-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}
.ortho-testimonials .carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bone-card);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ortho-testimonials .carousel-btn:hover { background: var(--teal); color: var(--bone-card); border-color: var(--teal); }
.ortho-testimonials .carousel-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ortho-testimonials h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  /* Same clamp shape as the global h2 and .services-redesign h2 (2.5vw + 1rem,
     max 2.375rem) so this heading tracks the site's type scale instead of
     scaling on viewport width alone and overshooting h1 on wide screens. */
  font-size: clamp(1.875rem, 2.5vw + 1rem, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 26px;
}

.ortho-testimonials .rating-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.ortho-testimonials .rating-summary p {
  margin: 0;
  font-size: 14.5px;
  color: var(--navy-soft);
  max-width: 280px;
  line-height: 1.5;
}
.ortho-testimonials .rating-summary p strong { color: var(--navy); font-weight: 600; }

.rom-dial { position: relative; flex: none; width: 74px; height: 46px; }
.rom-dial svg { width: 100%; height: 100%; overflow: visible; }
.rom-dial .track { fill: none; stroke: var(--xray); stroke-width: 4; stroke-linecap: round; opacity: 0.55; }
.rom-dial .fill { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--offset, 0); }
.rom-dial .value {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.rom-dial .value small { font-size: 8.5px; color: var(--navy-soft); letter-spacing: 0.06em; }
.rom-dial.small { width: 52px; height: 34px; }
.rom-dial.small .value { font-size: 11px; bottom: -1px; }
.rom-dial.small .value small { font-size: 7.5px; }

/* Horizontal scroll-snap carousel: shows 4 cards on desktop, no JavaScript needed */
.ortho-testimonials .chart-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-3);
  margin-inline: calc(var(--space-3) * -1);
  padding-inline: var(--space-3);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ortho-testimonials .chart-grid::-webkit-scrollbar { display: none; }

.ortho-testimonials .chart-card {
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2 * 22px) / 3);
  min-width: 260px;
  background: var(--bone-card);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--navy);
  border-radius: 3px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-ortho);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ortho-testimonials .chart-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-ortho-lift); }
.ortho-testimonials .chart-card::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, var(--color-white) 50%);
  border-left: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.ortho-testimonials .chart-card header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ortho-testimonials .chart-card blockquote {
  margin: 0 0 20px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--navy);
  flex-grow: 1;
}
.ortho-testimonials .chart-card blockquote::before { content: '\201C'; }
.ortho-testimonials .chart-card blockquote::after { content: '\201D'; }

.ortho-testimonials .signature-line { border-top: 1px dashed var(--hairline); margin-bottom: 14px; }

.ortho-testimonials .chart-card footer { display: flex; flex-direction: column; gap: 2px; }
.ortho-testimonials .patient-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.ortho-testimonials .review-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--navy-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ortho-testimonials .review-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); display: inline-block; }

.ortho-testimonials .chart-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

@media (max-width: 940px) {
  .ortho-testimonials .chart-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 600px) {
  .ortho-testimonials .chart-card { flex-basis: 85%; }
  .ortho-testimonials .rating-summary { align-items: flex-start; }
  .ortho-testimonials .watermark-hand { opacity: 0.045; }
}

/* ---------- Contact CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, #0a3644 100%);
  color: var(--color-white);
  padding-block: var(--space-6);
  text-align: center;
}
.cta-band-inner { max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-top: var(--space-2); }
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.cta-band-email {
  display: inline-block;
  margin-top: var(--space-3);
  color: var(--color-white);
  font-weight: 500;
  text-decoration: underline;
}
.cta-band-email:hover { color: var(--color-green); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-grey-900);
  color: var(--color-grey-200);
  padding-block: var(--space-6) var(--space-3);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.site-footer h2 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-2);
}
.site-footer p { color: var(--color-grey-200); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-green); }

.footer-logo {
  display: inline-flex;
  background: var(--color-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}
.footer-logo img { height: 32px; width: auto; }

.footer-links ul,
.footer-hours ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-hours li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.footer-icon { flex-shrink: 0; margin-top: 0.15em; color: var(--color-green); }

.social-links {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-grey-200);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-icon:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-grey-900);
}

.footer-contact address p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-2);
}
.footer-contact address .footer-icon { margin-top: 0.25em; }

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: var(--space-2);
  text-align: center;
}
.footer-bottom p { color: var(--color-grey-400); font-size: 0.85rem; }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-grey-400);
}

@media (min-width: 768px) {
  .footer-bottom {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }
  .footer-bottom p { justify-self: start; }
  .footer-legal { justify-self: center; }
  .footer-credit { justify-self: end; }
}
.footer-legal a { color: var(--color-grey-400); }
.footer-legal a:hover { color: var(--color-green); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-grey-400);
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-credit a { color: inherit; text-decoration: none; }
.footer-credit a:hover { color: var(--color-green); }
.footer-credit img { height: 18px; width: auto; }

/* ---------- Service detail pages ---------- */
.breadcrumb-bar {
  background: var(--color-grey-50);
  border-bottom: 1px solid var(--color-grey-100);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding-block: var(--space-2);
  font-size: 0.85rem;
  color: var(--color-grey-400);
}
.breadcrumb a { color: var(--color-grey-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-blue); }
.breadcrumb .current { color: var(--color-blue-dark); font-weight: 600; }

.service-page { padding-block: var(--space-6); }

.service-layout {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 960px) {
  .service-layout { grid-template-columns: 2fr 1fr; }
}

.service-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-4);
}
.service-hero-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 400px;
  object-fit: cover;
}

.service-content h1 { margin-bottom: var(--space-3); }
.service-content h2 { margin-top: var(--space-5); }
.service-content h2 + p { margin-top: var(--space-2); }
.service-content > p + p { margin-top: var(--space-3); }
.service-content a.inline-link {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(25, 134, 162, 0.35);
  text-underline-offset: 2px;
}
.service-content a.inline-link:hover { color: var(--color-blue-dark); }

.quote-intro {
  border-left: 4px solid var(--color-blue);
  background: var(--color-grey-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}
.quote-intro p {
  margin: 0;
  color: var(--color-grey-900);
  font-size: 1.05rem;
  font-weight: 500;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: var(--space-3) 0;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--color-grey-900);
  font-weight: 500;
}
.info-list .info-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(25, 134, 162, 0.12);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-list .info-icon svg { width: 13px; height: 13px; }

.service-cta {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-grey-100);
}
.service-cta h2 { margin-top: 0; margin-bottom: var(--space-2); }
.service-cta .arrow-btn { margin-top: var(--space-4); }

/* Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
@media (min-width: 960px) {
  .service-sidebar { position: sticky; top: calc(var(--space-3) + 80px); }
}

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding: var(--space-3);
}
.sidebar-card-header .sidebar-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-card-header .sidebar-icon svg { width: 18px; height: 18px; }
.sidebar-card-header h2 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin: 0;
}
.sidebar-card-body { padding: var(--space-3); }
.sidebar-card-body > p { color: var(--color-grey-600); margin-bottom: 0.75rem; font-size: 0.85rem; }
.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sidebar-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-grey-900);
  margin-bottom: 0.2rem;
}
.sidebar-form input,
.sidebar-form textarea {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--color-grey-200);
  border-radius: 8px;
  background: var(--color-grey-50);
  font-size: 0.85rem;
}
/* iOS Safari zooms the whole page when a focused field is under 16px — keep
   the enquiry form at 16px on touch widths and only shrink it on desktop. */
@media (max-width: 767px) {
  .sidebar-form input,
  .sidebar-form textarea { font-size: 16px; }
}
.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder { color: var(--color-grey-400); }
.sidebar-form input:focus,
.sidebar-form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: var(--color-white);
}
.sidebar-form textarea { resize: vertical; min-height: 56px; }
.sidebar-form .form-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-top: 0.1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.sidebar-contact-list {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sidebar-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-grey-600);
}
.sidebar-contact-list a { color: var(--color-grey-900); text-decoration: none; font-weight: 500; }
.sidebar-contact-list a:hover { color: var(--color-blue); }
.sidebar-contact-list svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--color-blue); }

/* Related services: reuses the .services-redesign card component at a smaller scale */
.related-services { padding-block: var(--space-6); }
.related-services h2 { margin-bottom: var(--space-4); }
.related-services .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .related-services .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related-services .grid { grid-template-columns: 1fr; }
}

/* ---------- Legal pages (Privacy Policy, Terms & Conditions) ---------- */
.legal-page { padding-block: var(--space-6); }
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content .effective-date {
  color: var(--color-grey-400);
  font-size: 0.9rem;
  margin-top: var(--space-1);
  margin-bottom: var(--space-4);
}
.legal-content > p.lead {
  font-size: 1.05rem;
  color: var(--color-grey-900);
  margin-bottom: var(--space-4);
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.legal-content h2:first-of-type { margin-top: var(--space-4); }
.legal-content p { margin-top: var(--space-2); }
.legal-content p:first-child { margin-top: 0; }
.legal-content ul {
  margin: var(--space-2) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-grey-600);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
}
.legal-content address {
  margin-top: var(--space-2);
  padding: var(--space-3);
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius);
  color: var(--color-grey-600);
}
.legal-content address p { margin: 0.25rem 0; }
.legal-content address strong { color: var(--color-grey-900); }
.legal-content a { color: var(--color-blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(25, 134, 162, 0.35); }
.legal-content a:hover { color: var(--color-blue-dark); }

/* ---------- Contact page ---------- */
.location-cards {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  /* align-items: center; */
  gap: var(--space-4);
  margin-top: 20px;
}
.location-cards-title { margin: 0; }
@media (max-width: 900px) {
  .location-cards { grid-template-columns: 1fr; }
}
.location-card {
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.location-card .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(25, 134, 162, 0.12);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.location-card .icon-circle svg { width: 20px; height: 20px; }
.location-card h3 { margin-bottom: 0.35rem; }
.location-card p { margin-bottom: var(--space-3); }
.location-card .map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-grey-200);
}
.location-card .map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }
