@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:wght@500;600;700&family=Nunito+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #12263f;
  --heading-ink: #0b2341;
  --muted: #5d6978;
  --soft: #f5fafb;
  --surface: #ffffff;
  --line: #dce8eb;
  --teal: #66b4b2;
  --teal-dark: #377e80;
  --gold: #d9a441;
  --clay: #b9755f;
  --sage: #7e9b84;
  --charcoal: #182534;
  --shadow: 0 18px 44px rgba(14, 35, 61, .11);
  --font-body: "Nunito Sans", "Avenir Next", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-logo: "Cinzel", "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfd;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.theme-warm {
  --ink: #1e2d2d;
  --muted: #64706b;
  --soft: #fbf7f1;
  --line: #e8ded2;
  --teal: #789b8c;
  --teal-dark: #526f62;
  --shadow: 0 18px 42px rgba(71, 51, 35, .12);
  background: #fbf7f1;
}

body.theme-modern {
  --ink: #102136;
  --muted: #526274;
  --soft: #eef9f9;
  --line: #d4e7eb;
  --teal: #33adb6;
  --teal-dark: #15747e;
  --shadow: 0 22px 54px rgba(10, 28, 48, .13);
  background: #f7fbfb;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.2em;
  height: 1.2em;
}

svg path,
svg circle,
svg rect {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 232, 235, .82);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.theme-warm .site-header {
  background: rgba(251, 247, 241, .94);
}

.theme-modern .site-header {
  border-bottom-color: rgba(21, 116, 126, .18);
  background: rgba(247, 251, 251, .95);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--teal) 55%, white);
  border-radius: 8px;
  color: var(--teal-dark);
  background: color-mix(in srgb, var(--soft) 80%, white);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand strong {
  display: block;
  font-family: var(--font-logo);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .36em;
  text-align: center;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a,
.text-link {
  position: relative;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform .18s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link svg {
  color: var(--teal-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: var(--teal-dark);
  color: white;
  padding: 0 20px;
  font: 700 .95rem/1 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(55, 126, 128, .2);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: color-mix(in srgb, var(--teal-dark) 88%, black);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: .88rem;
}

.theme-warm .button {
  background: var(--clay);
  box-shadow: 0 12px 22px rgba(185, 117, 95, .22);
}

.theme-warm .button:hover,
.theme-warm .button:focus-visible {
  background: #9e5d4b;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, #ffffff 0%, #fbfdfd 38%, #eef8f8 100%);
}

.theme-warm .hero {
  background:
    linear-gradient(120deg, #fbf7f1 0%, #fffdf9 46%, #edf5ef 100%);
}

.theme-modern .hero {
  background:
    linear-gradient(100deg, #f2f6f5 0%, #f2f6f5 50%, #edf7f7 100%);
}

.theme-modern .hero::after {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -58px;
  height: 118px;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, .86);
  pointer-events: none;
}

.theme-warm .hero::after {
  background: rgba(255, 253, 249, .86);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 52px;
  min-height: 500px;
  padding: 20px 0 24px;
}

.theme-warm .hero-grid {
  grid-template-columns: 1.04fr .96fr;
}

.theme-warm .hero-copy {
  order: 2;
}

.theme-warm .hero-media {
  order: 1;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow:empty {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--heading-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: .96;
  white-space: pre-line;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.35rem;
  line-height: 1.08;
}

h3 {
  color: var(--heading-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: var(--teal);
}

.lede {
  max-width: 500px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 610px;
}

.proof-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.25;
}

.proof-row svg,
.proof-icon {
  flex: 0 0 auto;
  color: var(--teal-dark);
}

.proof-icon {
  width: 42px;
  height: 42px;
}

.proof-row span {
  white-space: pre-line;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 370px;
  max-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.theme-classic .hero-media img {
  border-radius: 8px 0 0 8px;
}

.theme-warm .hero-media img {
  min-height: 430px;
  object-position: center;
}

.theme-modern .hero-media img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-position: 76% center;
}

.floating-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(280px, calc(100% - 48px));
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(16, 35, 61, .14);
  backdrop-filter: blur(12px);
}

.theme-modern .floating-note {
  display: none;
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
}

.floating-note span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.services-band {
  padding: 34px 0 36px;
  background: #ffffff;
}

.theme-warm .services-band {
  background: #fffdf9;
}

.theme-modern .services-band {
  background: #ffffff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 15px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(16, 35, 61, .06);
}

.service-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.38;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 16%, white);
  color: var(--teal-dark);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.feature-band {
  padding: 22px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.theme-warm .feature-band {
  background: linear-gradient(180deg, #fffdf9 0%, #f4eee4 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
}

.feature-panel {
  min-height: 248px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 35, 61, .07);
}

.feature-panel h2 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.doctor-panel h2 {
  white-space: pre-line;
}

.feature-panel p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.58;
}

.doctor-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.doctor-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.doctor-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.review-panel {
  display: grid;
  align-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--soft) 78%, white), #ffffff);
}

.stars {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .08em;
}

blockquote {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.24;
}

.review-person {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border: 3px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(16, 35, 61, .12);
}

.review-person p {
  margin: 0;
  line-height: 1.25;
}

.review-panel strong,
.review-panel span {
  display: block;
}

.review-panel span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .84rem;
}

.patient-panel {
  position: relative;
  overflow: hidden;
  padding-right: 118px;
}

.patient-panel > :not(.patient-panel-icon) {
  position: relative;
  z-index: 1;
}

.patient-panel-icon {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 88px;
  height: auto;
  opacity: .92;
  pointer-events: none;
}

.appointment-band {
  padding: 60px 0;
  background: var(--charcoal);
  color: white;
}

.theme-warm .appointment-band {
  background: #26332e;
}

.theme-modern .appointment-band {
  background: #102136;
}

.appointment-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.appointment-band h2 {
  max-width: 520px;
  color: white;
}

.appointment-band p {
  max-width: 520px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

.appointment-band .eyebrow {
  color: color-mix(in srgb, var(--teal) 72%, white);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  padding: 20px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form span {
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  background: rgba(255, 255, 255, .95);
  color: #12223a;
  font: 1rem/1.4 var(--font-body);
  padding: 13px 14px;
}

.appointment-form textarea {
  resize: vertical;
}

.span-2 {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.theme-warm .site-footer {
  background: #fffdf9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .8fr;
  gap: 36px;
  padding: 34px 0 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
}

.site-footer p,
.site-footer a,
.hours {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.site-footer a {
  display: block;
  text-decoration: none;
}

.hours {
  display: grid;
  gap: 4px;
}

.hours div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
}

.hours strong {
  color: var(--muted);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  color: var(--muted);
  font-size: .78rem;
}

.theme-warm .hero-copy .eyebrow,
.theme-warm .section-heading .eyebrow,
.theme-warm .feature-panel .eyebrow {
  color: var(--clay);
}

.theme-warm .rule,
.theme-warm .doctor-panel li::before {
  background: var(--clay);
}

.theme-warm .service-icon {
  background: #f4e5d9;
  color: #9e5d4b;
}

.theme-modern .hero-grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: stretch;
  min-height: 568px;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.theme-modern .hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.theme-modern .hero-media {
  display: flex;
  align-self: stretch;
  overflow: hidden;
  margin-left: -116px;
  margin-right: -24px;
}

.theme-modern .hero-media img {
  height: 100%;
  min-height: 0;
  max-height: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .08) 9%, rgba(0, 0, 0, .78) 24%, #000 36%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .08) 9%, rgba(0, 0, 0, .78) 24%, #000 36%);
}

.theme-modern h1 {
  max-width: 620px;
  font-size: 3.78rem;
  line-height: .94;
}

.theme-modern .lede {
  font-size: 1.08rem;
  line-height: 1.5;
}

.theme-modern .lede,
.theme-modern .hero-actions {
  margin-bottom: 26px;
}

.theme-modern .proof-row div {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theme-modern .service-card {
  border-color: rgba(51, 173, 182, .22);
}

@media (min-width: 1228px) {
  .theme-modern .hero-media {
    margin-right: calc((1180px - 100vw) / 2);
  }
}

@media (min-width: 1440px) {
  .theme-modern .hero-media {
    justify-content: flex-end;
  }

  .theme-modern .hero-media img {
    flex: 0 0 110%;
    max-width: none;
    width: 110%;
  }
}

@media (max-width: 1100px) {
  .header-actions .phone-link {
    display: none;
  }

  h1 {
    font-size: 3.45rem;
  }

  .theme-modern h1 {
    font-size: 3.28rem;
  }

  .hero-grid {
    gap: 34px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .theme-modern .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 58px;
  }

  .theme-modern .hero-media {
    margin-right: 0;
    margin-left: 0;
  }

  .theme-modern .hero-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    grid-column: 1 / -1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .header-actions {
    display: none;
  }

  .hero-grid,
  .theme-warm .hero-grid,
  .theme-modern .hero-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }

  .theme-warm .hero-copy,
  .theme-warm .hero-media {
    order: initial;
  }

  .theme-modern .hero-media {
    margin-right: 0;
    margin-left: 0;
  }

  .theme-modern .hero-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-grid {
    min-height: auto;
    padding: 34px 0 58px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-media img,
  .theme-warm .hero-media img {
    min-height: 360px;
    max-height: 470px;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand strong {
    font-size: .92rem;
  }

  .brand small {
    font-size: .58rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1.03rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
  }

  .button {
    width: 100%;
  }

  .proof-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .proof-row div {
    gap: 7px;
    font-size: .7rem;
  }

  .theme-modern h1 {
    font-size: 2.55rem;
  }

  .hero-grid,
  .theme-modern .hero-grid {
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-media img,
  .theme-warm .hero-media img,
  .theme-modern .hero-media img {
    min-height: 180px;
    max-height: 205px;
  }

  .floating-note {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 142px;
  }

  .patient-panel {
    padding-right: 24px;
  }

  .patient-panel-icon {
    width: 96px;
    opacity: .16;
  }

  .appointment-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .span-2 {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
