/* ==========================================================================
   Cypress Clinic — stylesheet
   Palette: beige, black, gold
   ========================================================================== */

:root {
  --beige-50: #fbf8f3;
  --beige-100: #f5efe5;
  --beige-200: #ebe1d0;
  --beige-300: #dccdb4;
  --black: #141312;
  --black-soft: #1f1d1a;
  --ink: #2b2824;
  --ink-muted: #6b645a;
  --gold: #b08d4c;
  --gold-light: #d4b97a;
  --gold-dark: #8c6d33;
  --sage: #7d8471;
  --line: rgba(20, 19, 18, 0.12);
  --line-light: rgba(245, 239, 229, 0.16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--beige-100);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--black);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

p { margin: 0 0 1.2em; }

em.accent { font-style: italic; color: var(--gold-dark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 38em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--beige-100);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-dark { background: var(--black); color: var(--beige-100); border-color: var(--black); }
.btn-dark:hover { background: transparent; color: var(--black); }
.btn-outline { border-color: currentColor; color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--beige-100); border-color: var(--black); }
.btn-outline-light { border-color: var(--gold-light); color: var(--beige-100); }
.btn-outline-light:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: color .3s;
}
.text-link:hover { color: var(--gold-dark); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--black);
}
.brand-mark { width: 26px; height: 44px; flex-shrink: 0; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-name span {
  font-size: .62rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 6px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a:not(.btn) {
  position: relative;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--black); font-weight: 500; }
.main-nav .btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--black);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--beige-100);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 19, 18, .08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { display: block; padding: 16px 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 24px; }
}

/* Sections --------------------------------------------------------------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-sand { background: var(--beige-200); }
.section-light { background: var(--beige-50); }
.section-dark { background: var(--black); color: var(--beige-200); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--beige-50); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .lead { color: rgba(235, 225, 208, .75); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  margin: 0 auto 28px;
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

/* Hero ------------------------------------------------------------------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-size: .85rem; color: var(--ink-muted); }
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.2;
}

.arch {
  position: relative;
  aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--black);
}
.arch-frame { position: relative; padding: 14px; }
.arch-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch img, .arch svg { width: 100%; height: 100%; object-fit: cover; }

/* Page hero (interior pages) -------------------------------------------- */

.page-hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-mark {
  position: absolute;
  right: var(--gutter);
  bottom: -60px;
  width: 140px;
  opacity: .14;
  pointer-events: none;
}
@media (max-width: 700px) { .page-hero-mark { display: none; } }

/* Grid helpers ----------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* Cards ------------------------------------------------------------------ */

.service {
  padding: 40px 32px 36px;
  border-left: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.service:first-child { border-left: 0; }
.service:hover { background: var(--beige-50); }
.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 28px;
}
.service h3 { margin-bottom: .6em; }
.service p { font-size: .95rem; color: var(--ink-muted); margin: 0; }

.feature-list { list-style: none; padding: 0; margin: 0 0 2em; }
.feature-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 25px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}
.section-dark .feature-list li { border-color: var(--line-light); }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 36px 0 0;
  border-top: 1px solid var(--line-light);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-variant-numeric: lining-nums;
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 20px;
}
.step p { color: rgba(235, 225, 208, .72); font-size: .95rem; }

/* Quote band */
.statement {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.statement p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  color: var(--black);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin: 0 auto 2.2em; }
.cta-band-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: .08;
  pointer-events: none;
}

/* Team ------------------------------------------------------------------- */

.physician {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.physician-photo { position: static; }
.photo-caption {
  margin-top: 18px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2.4em 0;
  border-top: 1px solid var(--line);
}
.credentials div {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}
.credentials dt {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.credentials dd { margin: 0; font-size: .98rem; }

.staff-card {
  background: var(--beige-50);
  padding: 40px 32px;
  border-top: 2px solid var(--gold);
}
.staff-card .role {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  display: block;
}
.staff-card p { color: var(--ink-muted); font-size: .95rem; margin: 0; }

/* Pricing ---------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  background: var(--beige-50);
  padding: 48px 36px 40px;
  border: 1px solid var(--line);
  position: relative;
}
.plan.featured {
  background: var(--black);
  color: var(--beige-200);
  border-color: var(--black);
}
.plan.featured h3 { color: var(--beige-50); }
.plan.featured .plan-desc { color: rgba(235, 225, 208, .7); }
.plan.featured .feature-list li { border-color: var(--line-light); }
.plan-badge {
  position: absolute;
  top: -1px;
  right: 28px;
  background: var(--gold);
  color: var(--black);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.plan-price {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold-dark);
  margin: 10px 0 6px;
}
.plan.featured .plan-price { color: var(--gold-light); }
.plan-price sup { font-size: .45em; vertical-align: top; position: relative; top: .5em; margin-right: 4px; }
.plan-duration {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.plan.featured .plan-duration { color: rgba(235, 225, 208, .6); }
.plan-desc { font-size: .95rem; color: var(--ink-muted); }
.plan .feature-list { flex-grow: 1; font-size: .95rem; }
.plan .btn { width: 100%; }
.plan.featured .btn-outline { color: var(--beige-100); border-color: var(--gold-light); }
.plan.featured .btn-outline:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td {
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 0;
}
.price-table td:last-child,
.price-table th:last-child { text-align: right; white-space: nowrap; padding-left: 24px; }
.price-table .svc { font-family: var(--serif); font-size: 1.3rem; color: var(--black); display: block; line-height: 1.3; }
.price-table .svc-note { font-size: .9rem; color: var(--ink-muted); }
.price-table .amt { font-family: var(--serif); font-size: 1.4rem; color: var(--black); }

.note-box {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 24px;
  color: var(--ink-muted);
  font-size: .95rem;
}

/* Contact ---------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.contact-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.contact-item p,
.contact-item address { font-style: normal; font-size: 1.1rem; margin: 0; }
.contact-item a { text-decoration: none; border-bottom: 1px solid var(--beige-300); transition: border-color .3s; }
.contact-item a:hover { border-color: var(--gold); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.hours td:last-child { text-align: right; color: var(--beige-50); }
.hours tr:last-child td { border-bottom: 0; }

.map-placeholder {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(var(--beige-200), var(--beige-200)) padding-box;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.map-placeholder svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.map-pin span.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(176, 141, 76, .2), 0 0 0 18px rgba(176, 141, 76, .1);
}

.notice {
  background: var(--beige-50);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 22px 26px;
  font-size: .95rem;
}
.notice strong { font-weight: 500; color: var(--black); }

/* FAQ -------------------------------------------------------------------- */

.faq { max-width: 860px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--black);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 24px 0; color: var(--ink-muted); }

/* Legal ------------------------------------------------------------------ */

.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.8rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .updated {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: rgba(235, 225, 208, .72);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  font-size: .95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer .brand { color: var(--beige-50); margin-bottom: 22px; }
.site-footer .brand-name span { color: var(--gold-light); }
.footer-about { max-width: 22em; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer address { font-style: normal; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  font-size: .8rem;
  color: rgba(235, 225, 208, .5);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom li { margin: 0; }
.emergency-note {
  margin-top: 28px;
  font-size: .8rem;
  color: rgba(235, 225, 208, .5);
}

/* Reveal animation -------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .physician,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .physician-photo { position: static; max-width: 420px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .service { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0; }
  .service:first-child { border-top: 0; }
  .service:hover { background: transparent; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .credentials { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
  .hero-actions .btn { width: 100%; }
  .brand-name strong { font-size: 1.3rem; }
  .plan { padding: 44px 24px 32px; }
  .faq details > div { padding-right: 0; }
}

/* Map embed --------------------------------------------------------------- */

.map-embed {
  position: relative;
  height: clamp(340px, 42vw, 480px);
  padding: 10px;
  border: 1px solid var(--gold);
  background: var(--beige-50);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) sepia(.12);
}

.hours td.closed { color: rgba(235, 225, 208, .45); }

.plans.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 1024px) { .plans.plans-2 { grid-template-columns: 1fr; max-width: 520px; } }

.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.notes-grid .note-box p { margin: 0; }
@media (max-width: 760px) { .notes-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Physician portrait: taller arch matching the photo's proportions, so nothing is cropped */
.arch.arch-portrait { aspect-ratio: 1024 / 1545; }

/* Hero illustration (has its own arch, frame and shadow) */
.hero-art { width: 100%; max-width: 520px; height: auto; margin: 0 auto; }

/* Mobile: hero illustration above the headline */
@media (max-width: 860px) {
  .hero-visual { order: -1; max-width: 300px; }
  .hero-grid { gap: 32px; }
}

/* Logo */
.brand-logo { height: 54px; width: auto; display: block; }
.site-footer .brand-logo { height: 64px; }
@media (max-width: 560px) { .brand-logo { height: 46px; } }
.page-hero-mark { width: 200px; height: auto; bottom: -40px; }

/* Compact header on phones */
@media (max-width: 560px) {
  .header-inner { min-height: 68px; }
  .brand-logo { height: 42px; }
  .main-nav { inset: 68px 0 auto 0; }
}

/* Keep the accented phrase of the hero headline on one line */
.hero h1 .accent { white-space: nowrap; }

/* Pricing: plans sit above the page intro */
.plans-top { padding-bottom: clamp(48px, 6vw, 72px); }
.plans-top + .page-hero { border-top: 1px solid var(--line); }
.plans-top { padding-top: clamp(64px, 9vw, 120px); }
.plans-top .eyebrow { margin-bottom: clamp(32px, 4vw, 48px); }
.notes-grid .note-box p + p { margin-top: .8em; }

/* Contact links with gold line icons (phone, WhatsApp, email) */
.icon-link { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .icon-link { display: flex; }
.ci-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; color: var(--gold); transition: color .3s; }
.site-footer .ci-icon { color: var(--gold-light); }
.icon-link:hover .ci-icon { color: var(--gold-dark); }
.site-footer .icon-link:hover .ci-icon { color: var(--beige-100); }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: var(--beige-200); padding: 1px 6px; border-radius: 3px; color: var(--ink); }
.legal h3 { font-size: 1.4rem; margin-top: 1.6em; }
.legal-address { font-style: normal; line-height: 1.8; }
.legal h2, .legal h3 { font-variant-numeric: lining-nums; }
/* Full-height (lining) figures for prices */
.plan-price, .price-table .amt { font-variant-numeric: lining-nums; }

/* Address link: icon sits beside the first of two lines */
.icon-link--multi { align-items: flex-start; }
.icon-link--multi .ci-icon { margin-top: .22em; }
