/* Ortoconsult — shared design system */

:root {
  /* Brand palette (from logo) */
  --navy: #16204B;
  --navy-deep: #0B1230;
  --navy-soft: #2A3A6E;
  --teal: #2BB3B7;
  --teal-deep: #1F8A8D;
  --pink: #E0286A;
  --pink-soft: #F4A8C2;

  /* Surfaces */
  --ink: #0E1224;
  --ink-soft: #2A2E40;
  --muted: #6E7185;
  --muted-soft: #9A9DAE;
  --paper: #F6F1E6;
  --paper-soft: #FBF8F1;
  --surface: #FFFFFF;
  --line: #E6E0D0;
  --line-soft: #EFEADC;

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --container-text: 720px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Typography */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
.sans { font-family: var(--sans); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--teal);
}
.eyebrow.eyebrow-pink { color: var(--pink); }
.eyebrow.eyebrow-pink::before { background: var(--pink); }
.eyebrow.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow.eyebrow-light::before { background: rgba(255,255,255,0.4); }
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.012em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.25; }

p { margin: 0 0 0.7em; text-wrap: pretty; }
.lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  color: var(--ink-soft);
  font-weight: 400;
}

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.container-text { width: 100%; max-width: var(--container-text); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(51px, 6.8vw, 94px) 0; }
.section-tight { padding: clamp(34px, 4.2vw, 60px) 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 100px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  letter-spacing: 0.005em;
}
.nav a:hover { color: var(--navy); background: var(--paper-soft); }
.nav a.is-active { color: var(--navy); }
.nav a.is-active::after {
  content: '';
  display: block;
  height: 2px;
  width: 18px;
  background: var(--pink);
  margin: 4px auto 0;
  border-radius: 2px;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--navy-deep) !important; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    gap: 2px;
  }
  .site-header.is-open .nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #c91f5e; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-link {
  padding: 0;
  background: none;
  color: var(--navy);
  border-bottom: 1px solid var(--pink);
  border-radius: 0;
  padding-bottom: 3px;
}
.btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-light:hover { background: rgba(255,255,255,0.15); }

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero {
  padding: clamp(42px, 6vw, 77px) 0 clamp(51px, 6.8vw, 85px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 .accent { color: var(--pink); font-style: italic; font-weight: 400; }
.hero h1 .teal { color: var(--teal-deep); font-style: italic; font-weight: 400; }
.hero-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* Hero team photo */
.hero-photo {
  position: relative;
  padding-top: 32px; /* room for the badge */
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(20, 28, 48, 0.35), 0 8px 24px -16px rgba(20, 28, 48, 0.18);
}
.hero-photo .badge {
  position: absolute;
  top: 8px;
  right: 24px;
  z-index: 5;
  background: var(--pink);
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(224,40,106,0.35);
  white-space: nowrap;
}
@media (max-width: 540px) {
  .hero-photo .badge { right: 16px; top: 6px; font-size: 14px; padding: 10px 16px; }
}

/* Doctor portrait fan on hero — 3 portraits side-by-side, faces always visible */
.doctor-stack {
  position: relative;
  aspect-ratio: 1 / 0.96;
  max-width: 580px;
  margin-left: auto;
  padding-top: 80px; /* room for the badge sitting above portraits */
}
.doctor-stack .frame {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 50px -22px rgba(15,20,49,0.28);
  background: var(--paper);
  border: 4px solid #fff;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.doctor-stack .frame img { width: 100%; height: 100%; object-fit: cover; }
.doctor-stack .frame:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 4; }
.doctor-stack .frame-1 {
  top: 8%; left: 0; width: 38%; aspect-ratio: 4/5;
  z-index: 1; transform: rotate(-4deg);
}
.doctor-stack .frame-2 {
  top: 0; left: 32%; width: 38%; aspect-ratio: 4/5;
  z-index: 3; transform: rotate(1deg);
}
.doctor-stack .frame-3 {
  top: 8%; right: 0; width: 38%; aspect-ratio: 4/5;
  z-index: 2; transform: rotate(4deg);
}
.doctor-stack .name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(to top, rgba(11,18,48,0.85) 30%, transparent);
  color: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s ease;
}
.doctor-stack .frame:hover .name-tag { opacity: 1; }
.doctor-stack .badge {
  position: absolute;
  top: -24px;
  right: 0;
  z-index: 5;
  background: var(--pink);
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(224,40,106,0.35);
  white-space: nowrap;
}
@media (max-width: 540px) {
  .doctor-stack .badge { right: 0; top: -20px; font-size: 14px; padding: 10px 16px; }
}
@media (max-width: 880px) {
  .doctor-stack {
    aspect-ratio: 1 / 0.65;
    padding-top: 60px;
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .doctor-stack {
    aspect-ratio: 1 / 0.62;
  }
  .doctor-stack .frame { border-width: 3px; }
}

/* Section labels */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head .head-right { color: var(--muted); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* Cards & grids */
.card {
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

.article-card { display: flex; flex-direction: column; }
.article-card .thumb {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 4px;
  margin-bottom: 22px;
  position: relative;
}
.article-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.article-card:hover .thumb img { transform: scale(1.04); }
.article-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  margin-bottom: 10px;
}
.article-card:hover h3 { color: var(--navy-soft); }
.article-card .excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.article-card .read {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  margin-top: auto;
}
.article-card .read::after {
  content: '→';
  transition: transform .25s ease;
}
.article-card:hover .read::after { transform: translateX(4px); }

/* Featured article card (larger) */
.article-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.article-card.featured .thumb {
  aspect-ratio: 4/5;
  margin-bottom: 0;
}
.article-card.featured h3 { font-size: clamp(28px, 2.6vw, 38px); }
@media (max-width: 960px) {
  .article-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .article-card.featured { grid-column: span 1; }
}

/* Doctors row */
.doctors-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 880px) { .doctors-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.doctor-card {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-soft);
}
.doctor-card .portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper);
}
.doctor-card .portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.doctor-card:hover .portrait img { transform: scale(1.04); }
.doctor-card .body { padding: 28px 30px 32px; }
.doctor-card .name {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 6px;
}
.doctor-card .role {
  font-size: 13px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doctor-card .focus {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  margin-bottom: 22px;
}
.doctor-card .link {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doctor-card .link::after { content: '→'; transition: transform .25s ease; }
.doctor-card:hover .link::after { transform: translateX(4px); }

/* Approach / panels */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.panel-grid > .panel {
  padding: clamp(24px, 3vw, 41px);
  border-right: 1px solid var(--line);
}
.panel-grid > .panel:last-child { border-right: none; }
.panel .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink);
  font-size: 28px;
  margin-bottom: 24px;
}
.panel h4 { font-size: 22px; margin-bottom: 10px; }
.panel p { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin: 0; }
@media (max-width: 880px) {
  .panel-grid { grid-template-columns: 1fr; }
  .panel-grid > .panel { border-right: none; border-bottom: 1px solid var(--line); }
  .panel-grid > .panel:last-child { border-bottom: none; }
}

/* Dark band */
.dark-band {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-band h2 { color: #fff; }
.dark-band .lead { color: rgba(255,255,255,0.75); }
.dark-band p { color: rgba(255,255,255,0.75); }
.dark-band .eyebrow { color: var(--teal); }
.dark-band .eyebrow::before { background: var(--teal); }

.dark-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(43,179,183,0.22) 0%, transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(224,40,106,0.18) 0%, transparent 45%);
  pointer-events: none;
}
.dark-band > * { position: relative; z-index: 1; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h5 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-brand img {
  height: 78px;
  margin-bottom: 22px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  display: block;
}
.footer-tag {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  max-width: 320px;
}
.footer-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  gap: 20px;
  flex-wrap: wrap;
}

/* Doctor profile page */
.doctor-hero {
  padding: clamp(34px, 4.2vw, 60px) 0 clamp(34px, 4.2vw, 60px);
  border-bottom: 1px solid var(--line-soft);
}
.doctor-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 860px) { .doctor-hero-grid { grid-template-columns: 1fr; } }
.doctor-hero .portrait {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.doctor-hero .portrait img { width: 100%; height: 100%; object-fit: cover; }
.doctor-hero h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  margin-bottom: 24px;
}
.doctor-hero h1 small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.doctor-tags .tag {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* Long-form body */
.prose {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 0.75em; }
.prose h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  margin: 56px 0 18px;
}
.prose h3 {
  font-size: 22px;
  margin: 36px 0 12px;
}
.prose ul, .prose ol {
  margin: 0 0 1.3em;
  padding-left: 24px;
}
.prose ul li, .prose ol li {
  margin-bottom: 10px;
  padding-left: 6px;
}
.prose ul li::marker { color: var(--pink); }
.prose ol li::marker { color: var(--pink); font-family: var(--serif); font-style: italic; font-size: 1.1em; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  color: var(--navy);
  border-left: 2px solid var(--pink);
  padding: 6px 0 6px 28px;
  margin: 40px 0;
  font-style: italic;
}

/* Article page hero */
.article-hero {
  padding: clamp(34px, 4.2vw, 60px) 0 clamp(26px, 3.4vw, 43px);
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-hero-meta .dot { width: 4px; height: 4px; background: var(--pink); border-radius: 50%; }
.article-hero h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  margin-bottom: 24px;
}
.article-hero .lead { max-width: 720px; }

.article-image {
  aspect-ratio: 4/5;
  background: var(--navy-deep);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto clamp(34px, 4.2vw, 60px);
  max-width: 480px;
}
.article-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Breadcrumb */
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.crumb a:hover { color: var(--navy); }
.crumb .sep { color: var(--line); }

/* Consultations table */
.locations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.locations-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--line);
}
.locations-table td {
  padding: 24px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.locations-table .clinic-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.locations-table .clinic-addr {
  font-size: 13.5px;
  color: var(--muted);
}
.locations-table .doctor-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  color: var(--navy);
  margin: 0 4px 4px 0;
}
.locations-table .booking-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}
.locations-table .booking-links a {
  color: var(--teal-deep);
  border-bottom: 1px solid var(--line);
  width: fit-content;
}
.locations-table .booking-links a:hover { color: var(--navy); border-color: var(--pink); }
.locations-table .booking-links .phone {
  color: var(--ink);
  font-weight: 500;
  border: none;
}

@media (max-width: 760px) {
  .locations-table thead { display: none; }
  .locations-table, .locations-table tbody, .locations-table tr, .locations-table td {
    display: block; width: 100%;
  }
  .locations-table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .locations-table td { padding: 6px 0; border: none; }
  .locations-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
  }
}

/* Pull quote / two-up info */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 760px) { .two-up { grid-template-columns: 1fr; gap: 28px; } }

/* Decoration */
.divider-arc {
  position: relative;
  height: 32px;
  margin: clamp(34px, 4.2vw, 60px) auto 0;
  max-width: 600px;
}
.divider-arc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 2px solid var(--pink);
  border-radius: 100% 100% 0 0 / 90px 90px 0 0;
  opacity: 0.85;
}

.dot-grid {
  --d: 1.5px;
  background-image: radial-gradient(var(--line) var(--d), transparent var(--d));
  background-size: 16px 16px;
}

/* Bone marks (3 small icons echoing logo) */
.bone-marks {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.bone-marks .divider { width: 1px; height: 22px; background: var(--pink); opacity: 0.6; }

/* Utility */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.no-wrap { white-space: nowrap; }

/* On-paper section */
.bg-paper { background: var(--paper); }
.bg-paper-soft { background: var(--paper-soft); }

/* Reveal animations (optional, used on doctor section etc.) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Tweaks bridge variables */
body.theme-warm { --paper: #F6F1E6; --paper-soft: #FBF8F1; }
body.theme-cool { --paper: #EEF2F8; --paper-soft: #F6F8FC; --line: #D8DEE9; --line-soft: #E6EAF2; }
body.theme-mono { --paper: #F1F1EE; --paper-soft: #F8F8F5; --pink: #1F2030; --pink-soft: #5A5C70; }

body.accent-pink { /* default */ }
body.accent-teal { --pink: var(--teal-deep); }
body.accent-amber { --pink: #C97A18; }
