/* Fairfield Dental Healthcare Clinic — site styles */

:root {
  --ink: #0d2b3a;
  --ink-soft: #35505e;
  --muted: #5d7482;
  --teal: #34b8c0;
  --teal-600: #1d8f98;
  --teal-700: #13737b;
  --teal-800: #0e5c63;
  --teal-50: #ecf8f8;
  --teal-100: #d4eff1;
  --purple: #6f51c7;
  --purple-600: #5a3fb0;
  --purple-50: #f3effc;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e3eaed;
  --line-strong: #c9d6dc;
  --success: #1c9a61;
  --danger: #c2413a;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(13, 43, 58, .06), 0 2px 8px rgba(13, 43, 58, .05);
  --shadow: 0 2px 6px rgba(13, 43, 58, .05), 0 16px 40px -12px rgba(13, 43, 58, .16);
  --shadow-lg: 0 40px 80px -28px rgba(13, 43, 58, .34);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Keeps anchor jumps and focused form fields clear of the sticky header. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 600; line-height: 1.15; }
h1, h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.022em; }
h1 { font-size: clamp(2.5rem, 1.55rem + 3.7vw, 4.4rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3.05rem); line-height: 1.08; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal-600); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.65; }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--teal-700);
}
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.prose a, .inline-link {
  color: var(--teal-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple-600);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55;
}

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

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: .75rem 1.1rem; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1.1; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--teal-700); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(19, 115, 123, .7);
}
.btn--primary:hover { background: var(--teal-800); box-shadow: 0 14px 28px -10px rgba(19, 115, 123, .75); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--teal-50); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: .78em 1.2em; font-size: .9375rem; }

/* ---------- Open status ---------- */
.status__dot {
  position: relative; display: inline-block; width: 9px; height: 9px; flex: none;
  border-radius: 50%; background: var(--teal);
}
.is-open .status__dot { background: #2bd17e; }
.is-open .status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #2bd17e; opacity: 0; animation: pulse 2.2s var(--ease) infinite;
}
.is-closed .status__dot { background: #f0a43a; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .55rem; margin: 0; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--teal); }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 43, 58, .4); background: rgba(255, 255, 255, .9); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; margin-right: auto; }
.brand img { width: 160px; height: 44px; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block; padding: .55rem 1rem; border-radius: 999px;
  font-size: .975rem; font-weight: 500; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__list a:hover { background: var(--teal-50); }
.nav__list a[aria-current="page"] { color: var(--teal-700); background: var(--teal-50); font-weight: 600; }
.nav__cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone .icon { width: 17px; height: 17px; color: var(--teal-700); }

.nav-toggle {
  display: none; position: relative;
  width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 84px) clamp(96px, 11vw, 150px);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(52, 184, 192, .17), transparent 60%),
    radial-gradient(700px 480px at 6% 92%, rgba(111, 81, 199, .09), transparent 60%),
    linear-gradient(180deg, #f2fafa 0%, var(--bg) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 2.25rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; color: var(--ink); }
.tick {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-700);
}
.tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.hero__media { position: relative; width: 100%; max-width: 500px; margin-left: auto; }
.hero__img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 50% 50% 28px 28px / 38% 38% 28px 28px;
  box-shadow: var(--shadow-lg);
}
.hero__ring {
  position: absolute; z-index: 0; inset: -22px -22px auto auto; width: 72%; aspect-ratio: 1;
  border-radius: 50%; border: 1.5px dashed rgba(29, 143, 152, .45);
}
.hero__blob {
  position: absolute; z-index: 0; left: -14%; bottom: -8%; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(111, 81, 199, .22), rgba(111, 81, 199, 0) 70%);
}
.hero__sparkle { position: absolute; z-index: 2; color: var(--teal); }
.hero__sparkle--a { top: 6%; left: 2%; width: 34px; height: 34px; }
.hero__sparkle--b { top: 22%; left: -6%; width: 18px; height: 18px; color: var(--purple); }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.float-card strong { display: block; font-size: .975rem; line-height: 1.3; }
.float-card small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.float-card--status { left: -40px; bottom: 54px; }
.float-card--status .status__dot { width: 11px; height: 11px; }
.float-card--years { right: -26px; top: 70px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 20px; }
.float-card__big { font-family: var(--font-serif); font-size: 2.3rem; font-weight: 500; line-height: 1; color: var(--teal-700); }
.float-card--years span:last-child { font-size: .82rem; line-height: 1.35; color: var(--muted); }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: clamp(-96px, -7vw, -64px); }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.highlight { display: flex; gap: 16px; padding: 30px 28px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-700);
}
.highlight:nth-child(even) .highlight__icon { background: var(--purple-50); color: var(--purple-600); }
.highlight__icon .icon { width: 24px; height: 24px; }
.highlight h3 { margin-bottom: .3em; font-size: 1.05rem; }
.highlight p { font-size: .925rem; line-height: 1.55; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--tint { background: linear-gradient(180deg, var(--teal-50), #f6fbfb); }
.section--white { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head p { color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none;
}
.section-head--split > div { max-width: 640px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 0 26px 28px; }
.card__icon {
  position: relative; display: grid; place-items: center;
  width: 54px; height: 54px; margin-top: -27px; margin-bottom: 6px;
  border-radius: 16px; background: #fff; color: var(--teal-700);
  box-shadow: 0 8px 20px -8px rgba(13, 43, 58, .3);
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: .96rem; color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 12px; }

/* ---------- Scheme banner ---------- */
.scheme {
  display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; margin-top: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(52, 184, 192, .28), transparent 60%),
    linear-gradient(135deg, #0d2b3a 0%, #123d4f 100%);
  color: rgba(255, 255, 255, .82);
}
.scheme__body { padding: clamp(36px, 5vw, 64px); }
.scheme .eyebrow { color: var(--teal); }
.scheme h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.scheme h2 em { color: var(--teal); }
.scheme__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.scheme__media { position: relative; min-height: 320px; }
.scheme__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scheme__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #123d4f 0%, rgba(18, 61, 79, 0) 40%);
}

/* ---------- Split / doctor ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.portrait { position: relative; max-width: 460px; }
.portrait::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: 0;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--teal-100), var(--purple-50));
}
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.portrait__badge {
  position: absolute; z-index: 2; left: -20px; bottom: 36px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); color: var(--ink);
}
.portrait__badge .icon { width: 26px; height: 26px; color: var(--purple-600); }
.portrait__badge strong { display: block; font-size: .95rem; line-height: 1.3; }
.portrait__badge small { display: block; font-size: .8rem; color: var(--muted); }
.role { margin: -.2rem 0 1.4rem; font-weight: 600; color: var(--teal-700); }

.ticks { display: grid; gap: 12px; margin: 1.6rem 0 2rem; }
.ticks--2 { grid-template-columns: 1fr 1fr; }
.ticks li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink); font-weight: 500; line-height: 1.45; }
.ticks .tick { margin-top: -1px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: center; }
.member__photo { overflow: hidden; margin-bottom: 14px; border-radius: var(--radius); background: var(--teal-50); }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member h3 { margin-bottom: .15em; font-size: 1.08rem; }
.member p { font-size: .88rem; color: var(--muted); }
.team-sub { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: clamp(64px, 8vw, 104px) 0 32px; }
.team-sub h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.quote--feature { max-width: 860px; margin-inline: auto; }
.quote__mark {
  height: 56px; margin-bottom: 4px;
  font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--teal-100);
}
.quote blockquote {
  margin: 0 0 28px; font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  font-weight: 400; line-height: 1.45; color: var(--ink);
}
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--purple)); color: #fff; font-weight: 700; font-size: .95rem;
}
.quote figcaption strong { display: block; color: var(--ink); line-height: 1.3; }
.quote figcaption div span { font-size: .875rem; color: var(--muted); }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: stretch; }
.map {
  position: relative; overflow: hidden; min-height: 460px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--teal-50);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-card {
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.info-card h3 { font-size: 1.1rem; }
.info-card + .info-card { margin-top: 20px; }
.info-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.info-list li { display: flex; gap: 14px; line-height: 1.5; }
.info-list .icon-box { margin-top: 1px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a:hover { color: var(--teal-700); }
.info-list a, .footer-contact a, .prose a { overflow-wrap: break-word; }
.info-list li > div, .footer-contact li > * { min-width: 0; }
.icon-box {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-700);
}
.icon-box .icon { width: 20px; height: 20px; }
.divider { height: 1px; margin: 26px 0; background: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hours li {
  display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; margin-inline: -12px;
  border-radius: 10px; font-size: .95rem;
}
.hours li span:first-child { color: var(--ink); font-weight: 500; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }
.hours li.is-today { background: var(--teal-50); }
.hours li.is-today span { color: var(--teal-800); font-weight: 700; }
.hours li.is-today span:first-child::after {
  content: "Today"; margin-left: .5rem; padding: 2px 8px; border-radius: 999px;
  background: var(--teal-700); color: #fff; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px;
}
.hours-note { margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.section--cta { padding-top: 0; padding-bottom: clamp(64px, 8vw, 104px); }
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(111, 81, 199, .55), transparent 65%),
    radial-gradient(520px 320px at 0% 100%, rgba(52, 184, 192, .2), transparent 65%),
    linear-gradient(120deg, #0e5c63 0%, #0f5f66 45%, #3f3a8f 100%);
  color: rgba(255, 255, 255, .92);
}
.cta-band h2 { margin-bottom: .3em; color: #fff; }
.cta-band h2 em { color: #bff0f2; }
.cta-band p { max-width: 520px; font-size: 1.075rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 28px; background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 48px; }
.footer-brand img { width: 176px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 {
  margin-bottom: 1.1rem; font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.site-footer .hours li { padding: 4px 0; margin: 0; font-size: .9rem; }
.site-footer .hours li span:first-child { color: rgba(255, 255, 255, .9); }
.site-footer .hours li.is-today { background: none; }
.site-footer .hours li.is-today span { color: var(--teal); }
.site-footer .hours li.is-today span:first-child::after { display: none; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s, border-color .2s;
}
.social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; font-size: .85rem;
}
.footer-bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: rgba(255, 255, 255, .12);
}
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 420px at 92% 0%, rgba(52, 184, 192, .18), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(111, 81, 199, .08), transparent 60%),
    linear-gradient(180deg, #f2fafa 0%, var(--bg) 100%);
}
.page-hero h1 { max-width: 820px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.9rem); }
.page-hero .lead { max-width: 640px; }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: 1.4rem; font-size: .875rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Services page ---------- */
.svc-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  border-block: 1px solid var(--line);
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.svc-nav ul {
  display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none;
}
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a {
  display: block; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.svc-nav a:hover { border-color: var(--teal); }
.svc-nav a[aria-current="true"] { border-color: var(--teal-700); background: var(--teal-700); color: #fff; }
.page-services [id] { scroll-margin-top: 60px; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc:nth-of-type(even) .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.svc__num {
  position: absolute; top: 20px; left: 20px; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .94);
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--teal-700); box-shadow: var(--shadow-sm);
}
.svc h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
.svc .ticks { margin-bottom: 2rem; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.6rem 0 2rem; }
.option { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.option .icon-box { margin-bottom: 14px; }
.option h3 { margin-bottom: .35em; font-size: 1.05rem; }
.option p { font-size: .925rem; color: var(--muted); }
.option .text-link { margin-top: 12px; font-size: .92rem; }

/* ---------- Team page ---------- */
.doctor {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: .38rem .8rem; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-800); font-size: .82rem; font-weight: 600;
}
.staff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.staff-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.staff-card__photo { overflow: hidden; }
.staff-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.staff-card:hover .staff-card__photo img { transform: scale(1.04); }
.staff-card__body { padding: 22px 22px 26px; }
.staff-card h3 { margin-bottom: .15em; }
.staff-card .role { margin: 0 0 12px; font-size: .92rem; }
.staff-card .chips { margin-bottom: 14px; }
.staff-card ul { display: grid; gap: 7px; font-size: .88rem; color: var(--muted); }
.staff-card li { position: relative; padding-left: 16px; line-height: 1.45; }
.staff-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.form-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--purple-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335505e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field select { text-overflow: ellipsis; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(52, 184, 192, .2);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
fieldset.field { margin: 0; padding: 0; border: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 7px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block; padding: .85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  text-align: center; font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .2s, background-color .2s, color .2s;
}
.segmented input:checked + span { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-800); }
.segmented input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form-foot p { flex: 1 1 240px; margin: 0; font-size: .85rem; color: var(--muted); }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-error, .form-status--fallback:target { display: block; background: #fdf0ef; color: #8f2d27; }
.form-success { display: none; text-align: center; padding: 24px 0 8px; }
.form-success .icon-box { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #e6f6ee; color: var(--success); }
.form-success .icon-box .icon { width: 34px; height: 34px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success, .form-success:target { display: block; }
.form-card:has(.form-success:target) form { display: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.call-card {
  padding: clamp(28px, 3.5vw, 36px); border-radius: var(--radius-lg); color: rgba(255, 255, 255, .92);
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(111, 81, 199, .5), transparent 65%),
    linear-gradient(135deg, #0f5f66, #13737b);
}
.call-card h2 { margin-bottom: .2em; color: #fff; font-size: 1.6rem; }
.call-card__number { display: block; margin: 14px 0 6px; font-family: var(--font-serif); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); color: #fff; letter-spacing: -.01em; }
.call-card .status { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: #fff; }
.contact-aside > * + * { margin-top: 20px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4em; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header-phone { display: none; }
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .float-card--status { left: -16px; }
  .float-card--years { right: -10px; }
}

@media (max-width: 1024px) {
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .staff { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-block; }
  .brand img { width: 145px; height: 40px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); background: var(--bg);
    box-shadow: 0 24px 40px -24px rgba(13, 43, 58, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: .95rem 1rem; border-radius: 14px; font-size: 1.1rem; }
  .nav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

  .hero__grid, .split, .doctor, .contact-grid, .visit { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { text-align: left; }
  .hero__media { max-width: 440px; margin: 16px auto 0; }
  .split .portrait, .doctor .portrait { margin-inline: auto; }
  .scheme { grid-template-columns: minmax(0, 1fr); }
  .scheme__media { min-height: 260px; order: -1; }
  .scheme__media::before { background: linear-gradient(0deg, #0d2b3a 0%, rgba(13, 43, 58, 0) 55%); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-of-type(even) .svc__media { order: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .map { min-height: 360px; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; font-size: 1rem; }
  .topbar { display: none; }
  .header-actions .btn--primary { display: none; }
  .section-head--split, .team-sub { flex-direction: column; align-items: flex-start; }
  .highlights__grid { grid-template-columns: minmax(0, 1fr); }
  .highlight { padding: 22px 22px; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .staff, .options, .ticks--2 { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card--status { left: 8px; bottom: 20px; }
  .float-card--years { right: 8px; top: 24px; }
  .portrait::before { inset: 18px -12px -18px 12px; }
  .portrait__badge { left: 12px; bottom: 20px; }
  .hero__sparkle--b { display: none; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .mobile-cta .btn { padding: .9em 1em; }
}

@media (max-width: 400px) {
  .team-grid { gap: 12px; }
  .float-card { padding: 12px 14px; }
  .float-card--years { display: none; }
  .nav__cta { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 24px 20px; }
  .btn { white-space: normal; text-align: center; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .map, .cta-band { display: none !important; }
  body { padding: 0; background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
