@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --deep: #102a30;
  --middle: #23454a;
  --paper: #f6f4ef;
  --white: #fff;
  --mineral: #006b68;
  --mineral-active: #00514f;
  --mint: #a8e5d9;
  --mint-active: #c9f1e8;
  --text-muted: #425b5f;
  --light-muted: #d0e1de;
  --line: #cfd9d4;
  --header-height: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-space: clamp(68px, 8.3vw, 120px);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --focus: var(--mineral);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--paper);
  color: var(--deep);
  font: 400 1rem/1.68 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.shell {
  width: min(calc(100% - 2 * var(--gutter)), 1320px);
  margin-inline: auto;
}
.section { padding-block: var(--section-space); }
.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
}
.skip-link:focus { transform: none; }
.eyebrow {
  display: block;
  font: 700 .875rem/1.45 var(--body);
  letter-spacing: .11em;
  text-transform: uppercase;
}
h2, .legal-content h1 {
  font: 600 clamp(2.625rem, 5.4vw, 4.625rem)/.99 var(--heading);
  letter-spacing: -.035em;
}
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 48px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}
.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  background: var(--mineral);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  transition: background .2s, transform .2s;
}
.button:hover { background: var(--mineral-active); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button-light { background: var(--mint); color: var(--deep); }
.button-light:hover { background: var(--mint-active); }
.text-link { text-decoration: none; transition: color .2s ease, transform .2s ease; }
.text-link:hover { transform: translateY(-2px); }
.text-link:hover { color: var(--mineral); }
.hero .text-link:hover, .care .text-link:hover { color: var(--mint); }
.text-link span { text-decoration: none; }

.site-header, .legal-header {
  z-index: 10;
  background: var(--deep);
  color: var(--white);
  border-bottom: 1px solid #416166;
}
.site-header { position: fixed; inset: 0 0 auto; }
.header-inner {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: calc(var(--header-height) - 1px);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 5px;
  background: transparent;
  text-decoration: none;
  overflow: hidden;
}
.brand img { width: 124px; height: auto; mix-blend-mode: screen; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); }
.site-nav > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
}
.site-nav > a:not(.button):hover,
.site-nav > a[aria-current="location"] {
  color: var(--mineral);
  color: var(--mint);
}
.header-contact { justify-self: end; white-space: nowrap; }
.menu-toggle, .menu-contact { display: none; }

.hero {
  --focus: var(--mint);
  display: flex;
  min-height: clamp(600px, 49vw, 740px);
  background: linear-gradient(90deg, rgba(8, 34, 38, .68) 0%, rgba(8, 34, 38, .44) 38%, rgba(8, 34, 38, .08) 100%), url("hero-gerson.png") center / cover;
  color: var(--white);
}
.hero-copy {
  align-self: center;
  width: min(100%, 720px);
  padding: clamp(42px, 5vw, 84px) clamp(24px, 4vw, 64px) clamp(48px, 5vw, 90px) max(var(--gutter), calc((100vw - 1320px) / 2));
}
.hero .eyebrow, .care .eyebrow { color: var(--mint); }
.hero h1 {
  margin-block: 22px 24px;
  font: 600 clamp(3.25rem, 6.4vw, 6rem)/.98 var(--heading);
  letter-spacing: -.047em;
}
.hero h1 em { color: var(--mint); font-weight: 600; }
.hero-intro { max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--light-muted); }
.hero-actions, .action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 25px;
}
.hero-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--middle);
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 63%;
}
.hero-media figcaption {
  position: absolute;
  bottom: 22px;
  right: 24px;
  max-width: calc(100% - 48px);
  padding: 6px 12px;
  border-radius: 999px;
  background: #102a30;
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
}
.contact-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 22px;
}
.strip-inner > div { display: grid; gap: 3px; }
.strip-inner > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.strip-inner strong, .strip-inner div a { font-size: .95rem; font-weight: 600; }
.strip-inner div a { width: fit-content; text-underline-offset: 4px; }
.strip-inner .eyebrow { color: var(--text-muted); }
.strip-inner > .text-link { color: var(--mineral); }

.split { display: grid; align-items: center; gap: clamp(32px, 7vw, 112px); }
.clinic-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); }
.section-copy .eyebrow { margin-bottom: 12px; color: var(--mineral); }
.section-copy > p:not(.eyebrow) { max-width: 49ch; margin-top: 18px; color: var(--text-muted); }
.section-copy > .button { margin-top: 24px; }
.credential {
  display: grid;
  gap: 2px;
  margin-block: 24px 6px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--mineral);
}
.credential span { font-size: .875rem; color: var(--text-muted); }
.photo-frame img { width: 100%; height: auto; border-radius: 4px; }
.photo-frame { max-width: 512px; }
.photo-frame figcaption { margin-top: 8px; font-size: .875rem; color: var(--text-muted); }
.care { --focus: var(--mint); background: var(--deep); color: var(--white); }
.care-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.care .section-copy .eyebrow { color: var(--mint); }
.care .section-copy > p:not(.eyebrow), .care-note > p:not(.eyebrow) { color: var(--light-muted); }
.care-note {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #467076;
  border-radius: 4px;
  background: var(--middle);
}
.care-note h3 { margin-block: 12px; font: 600 clamp(2rem, 3.3vw, 3rem)/1.04 var(--heading); }
.care-note .text-link { margin-top: 10px; }
.location-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.location-grid address { margin-top: 22px; color: var(--text-muted); }
.reception { max-width: none; }

.faq { background: #eaf0ec; }
.faq-container {
  width: min(calc(100% - 2 * var(--gutter)), 896px);
  margin-inline: auto;
}
.faq header { margin-bottom: 32px; text-align: center; }
.faq header p { margin-top: 12px; color: var(--text-muted); }
.faq-list { display: grid; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq-item h3 { font: inherit; }
.faq-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--deep);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.faq-item button:hover { color: var(--mineral); }
.faq-item button:focus-visible { outline-offset: -3px; }
.chevron {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-inline: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(225deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .2s ease, opacity .2s ease;
}
.faq-panel > div { overflow: hidden; }
.faq-panel[aria-hidden="true"] { grid-template-rows: 0fr; opacity: 0; }
.faq-panel p { padding: 0 24px 19px; color: var(--text-muted); }
.final-cta { text-align: center; }
.final-cta p { margin-block: 15px 22px; color: var(--text-muted); }

.site-footer {
  --focus: var(--mint);
  padding-block: 56px 24px;
  background: var(--deep);
  color: var(--light-muted);
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr; gap: 28px; }
.footer-grid p { margin-top: 10px; }
.footer-grid h2 { margin-bottom: 10px; color: var(--white); font: 700 .875rem/1.4 var(--body); letter-spacing: 0; }
.footer-grid a:not(.brand) { display: flex; align-items: center; width: fit-content; min-height: 44px; padding-block: 8px; }
.site-footer a:not(.brand) { text-decoration: none; transition: color .2s ease; }
.site-footer a:not(.brand):hover { color: var(--mint); }
.footer-grid .social-links { display: flex; gap: 12px; margin-top: 12px; }
.footer-grid .social-links a { display: grid; place-items: center; width: 48px; height: 48px; padding: 10px; border-radius: 50%; transition: background .2s ease, transform .2s ease; }
.footer-grid .social-links a:hover { background: #ffffff1f; transform: translateY(-2px); }
.social-links img { width: 28px; height: 28px; filter: invert(1); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #547075;
  font-size: .875rem;
}
.whatsapp-float {
  position: fixed;
  z-index: 8;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 64px;
  height: 64px;
  border-radius: 50%;
  filter: drop-shadow(0 3px 10px #102a3040);
  transition: transform .2s ease;
}
.whatsapp-float img { width: 100%; height: 100%; object-fit: contain; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.06); }
.whatsapp-float:active { transform: scale(.97); }

.legal-page { padding-top: 0; }
.legal-header .header-inner { grid-template-columns: 1fr auto; }
.legal-content {
  width: min(calc(100% - 2 * var(--gutter)), 66ch);
  margin-inline: auto;
  padding-block: 60px 85px;
}
.legal-content h1 { margin-block: 12px 22px; }
.legal-content h2 { margin-block: 30px 8px; font-size: clamp(1.875rem, 4vw, 2.6rem); }
.legal-content p { margin-bottom: 14px; }
.legal-content a { color: var(--mineral); }

[data-motion] { --motion-distance: 60px; }
.hero-media[data-motion] { --motion-distance: 76px; }
.motion-pending { visibility: visible; opacity: 0; }
.motion-pending:focus-within, .motion-running:focus-within {
  animation: none;
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  :root { --header-height: 68px; }
  body { padding-top: 0; }
  .js-enabled body:not(.legal-page) { padding-top: var(--header-height); }
  .site-header { position: relative; }
  .js-enabled .site-header { position: fixed; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 12px; }
  .header-contact { display: none; }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; padding-bottom: 8px; }
  .js-enabled .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    gap: 0;
    max-height: calc(100dvh - var(--header-height));
    padding: 8px var(--gutter) 20px;
    overflow-y: auto;
    background: var(--deep);
    color: var(--white);
    box-shadow: 0 14px 22px #102a3022;
  }
  .js-enabled .site-nav.is-open { display: grid; }
  .js-enabled .site-nav > a:not(.button) { padding: 5px 8px; border-bottom: 1px solid var(--line); }
  .menu-contact { display: inline-flex; }
  .js-enabled .menu-contact { margin-top: 16px; }
  .js-enabled .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-toggle span { width: 14px; height: 8px; border-block: 1.5px solid currentColor; }
  .menu-toggle[aria-expanded="true"] span { height: 0; border-top: 0; }
}

@media (max-width: 760px) {
  .hero { min-height: 760px; background-color: var(--deep); background-image: linear-gradient(180deg, #102a30 0%, #102a30 42%, rgba(16,42,48,.12) 72%), url("hero-gerson.png"); background-repeat: no-repeat; background-position: center, 78% bottom; background-size: 100% 100%, auto 62%; }
  .hero-copy { align-self: flex-start; padding: 48px var(--gutter) 390px; }
  .hero h1 { margin-block: 14px 16px; font-size: clamp(2.875rem, 10vw, 4.5rem); }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { max-width: 100%; }
  .hero-actions, .action-row { gap: 10px 18px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-media figcaption { right: 14px; bottom: 14px; }
  .strip-inner { grid-template-columns: 1fr; gap: 12px; }
  .strip-inner > div + div { padding-left: 0; border-left: 0; }
  .strip-inner > .text-link { min-height: 44px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .clinic-grid .photo-frame { order: 2; }
  .photo-frame { max-width: 100%; }
  .clinic-grid .photo-frame { width: min(100%, 460px); }
  .faq-item button { padding-inline: 17px; }
  .faq-panel p { padding-inline: 17px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .whatsapp-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; }
}

@media (max-width: 380px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (max-width:760px) { .hero { background-size:100% 100%, auto 52%; } .hero-copy { padding-bottom:430px; } }
