/* ============================================================
   LuthoDerm Dermatology — public website
   Implemented from the Claude Design project "Luthoderm Landing Page"
   (LuthoDerm Landing Page.dc.html). Tokens below are the design's own.
   ============================================================ */

:root {
  --deep:   #013a4a;
  --teal:   #026885;
  --pale:   #cfe4ec;
  --gold:   #c9a227;

  --ink:    #1c2733;
  --body:   #4a5765;
  --muted:  #8a96a6;

  --line:   #e3e8ef;
  --line-2: #eef1f5;
  --field:  #cdd5e0;

  --grey:   #f5f7fa;
  --grey-2: #f7f9fc;
  --tint:   #f4f8fa;

  --wrap: 1200px;
  --pad: 40px;
  --util-h: 48px;

  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --sans: Karla, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

/* scroll-padding clears the sticky header when jumping to an anchor. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--deep); }
p { text-wrap: pretty; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--pale); }

button { font: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--deep); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.section { padding: 104px 0; }

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow .rule { width: 26px; height: 1px; background: var(--gold); display: block; flex: 0 0 auto; }
.eyebrow-centred { justify-content: center; }
.eyebrow-gold { color: var(--gold); }
.eyebrow-on-teal { color: rgba(255,255,255,.72); }

h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: 76px; line-height: 1.03; letter-spacing: -0.025em;
}
h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: 46px; line-height: 1.12; letter-spacing: -0.015em;
  color: var(--deep); margin-top: 18px;
}
h3 { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--deep); }

.lead { font-size: 17px; line-height: 1.72; color: var(--body); margin-top: 22px; }
.section-head { max-width: 640px; }
.section-head .lead { font-size: 16px; line-height: 1.7; }

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

.btn {
  display: inline-block; border-radius: 2px;
  padding: 18px 34px; font-size: 15px; font-weight: 600;
  text-align: center; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-white { background: #fff; color: var(--deep); border-bottom: 2px solid var(--gold); }
.btn-white:hover { background: var(--gold); color: #fff; }

.btn-outline { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

.btn-primary {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 12px 24px; border-radius: 2px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border-bottom: 2px solid var(--gold);
  transition: background .2s ease;
}
/* Stays white: the generic `a:hover` colour would otherwise win on specificity
   and paint the label the same navy as the hover background. */
.btn-primary:hover { background: var(--deep); color: #fff; }

/* ---------- Utility bar ---------- */

.util { background: var(--deep); color: var(--pale); font-size: 13px; letter-spacing: 0.02em; }
.util-inner {
  height: var(--util-h);
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.util-left { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.util-hours { color: var(--muted); }
.util-right { display: flex; gap: 20px; align-items: center; }
.util a { color: var(--pale); }
.util a:hover { color: #fff; }

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

.header {
  /* Flush to the top: the utility bar scrolls away, so sticking at its height
     would leave a gap above the nav. */
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
}

.brand { display: flex; gap: 14px; align-items: center; }
.brand img { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 22px; color: var(--deep); letter-spacing: 0.01em; }
.brand-sub { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 500; }
.nav > a { color: var(--body); }
.nav > a:hover, .nav > a.is-active { color: var(--teal); }
/* The CTA is a button first — keep it white on teal, not nav-link grey. */
.nav > a.btn-primary,
.nav > a.btn-primary:hover { color: #fff; }

.hamburger {
  display: none;
  width: 46px; height: 46px; padding: 12px;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer;
}
.hamburger span { display: block; height: 1.5px; background: var(--deep); margin: 4px 0; transition: transform .25s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

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

.hero {
  position: relative; min-height: 720px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--deep);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 78%; display: block;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(1,58,74,.96) 0%, rgba(1,58,74,.86) 34%, rgba(1,58,74,.42) 58%, rgba(1,58,74,.12) 78%, rgba(1,58,74,.28) 100%);
}
.hero-veil-b {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,58,74,.72) 0%, rgba(1,58,74,0) 42%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 132px; padding-bottom: 88px; }
.hero-copy { max-width: 620px; }
.hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 28px rgba(1,58,74,.45); }
.hero-lead { font-size: 19px; line-height: 1.68; color: var(--pale); margin-top: 26px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-stats {
  display: flex; flex-wrap: wrap; margin-top: 72px;
  border-top: 1px solid rgba(207,228,236,.28);
}
.stat { padding: 26px 40px 0 0; border-right: 1px solid rgba(207,228,236,.28); margin-right: 40px; }
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-rule { display: block; width: 18px; height: 1px; background: var(--gold); margin-bottom: 12px; }
.stat-value { font-family: var(--serif); font-size: 32px; color: #fff; line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pale); margin-top: 8px; }

/* ---------- Reveal on scroll ---------- */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal]:nth-child(2) { transition-delay: .1s; }

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

/* ---------- About ---------- */

.about-grid {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 80px; align-items: start;
}
.about-figure { width: 100%; aspect-ratio: 3/4; border: 1px solid var(--line); overflow: hidden; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.values {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: 40px;
}
.value { background: #fff; padding: 26px 28px; }
.value-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--deep); }
.value .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; display: block; flex: 0 0 auto; }
.value p { font-size: 14px; line-height: 1.6; color: var(--body); margin-top: 10px; }

/* ---------- Services ---------- */

.services { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.tabs {
  display: flex; gap: 2px; margin-top: 48px;
  background: var(--line); padding: 2px; border: 1px solid var(--line);
  width: fit-content; max-width: 100%; flex-wrap: wrap;
}
.tabs button {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 28px; border: none; cursor: pointer; white-space: nowrap;
  background: #fff; color: var(--body);
  transition: background .2s ease, color .2s ease;
}
.tabs button[aria-selected="true"] { background: var(--teal); color: #fff; }

.panel {
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  margin-top: -1px;
}
.panel[hidden] { display: none; }
.panel-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.panel-copy { padding: 56px; }
.panel-copy > p { font-size: 16px; line-height: 1.7; color: var(--body); margin-top: 16px; }
.panel-figure { border-left: 1px solid var(--line); min-height: 440px; overflow: hidden; }
.panel-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.conditions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 28px; margin-top: 34px; }
.conditions > div { font-size: 15px; line-height: 1.45; color: var(--ink); padding-left: 16px; border-left: 2px solid var(--pale); }

.features { border-top: 1px solid var(--line-2); margin-top: 34px; padding-top: 26px; display: grid; gap: 18px; }
.feature-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.feature-body { font-size: 14px; line-height: 1.6; color: var(--body); margin-top: 5px; }

.procedures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.procedures > div { background: #fff; padding: 16px 20px; font-size: 15px; color: var(--ink); }

.panel-link {
  display: inline-block; margin-top: 36px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  border-bottom: 1px solid var(--pale); padding-bottom: 3px;
}
.panel-link:hover { border-bottom-color: var(--teal); }

/* ---------- The Doctor ---------- */

.doctor-grid {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 72px; align-items: start;
}
.doctor-figure { width: 100%; aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; }
.doctor-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }

.quals { background: var(--teal); padding: 28px; }
.quals-list { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; color: #f0f0f0; }

.doctor-role { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 10px; }

blockquote { margin: 40px 0 0; padding: 34px 38px; background: var(--grey); border-left: 3px solid var(--gold); }
blockquote p { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--deep); font-style: italic; font-weight: 300; }
blockquote footer { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }

.memberships { margin-top: 80px; border-top: 1px solid var(--line); padding-top: 44px; }
.memberships .eyebrow { color: var(--muted); }
.logo-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 36px 100px; margin: 32px auto 0; max-width: 860px;
}
.logo-slot { height: 130px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ---------- Reviews ---------- */

.reviews { color: #fff; background: linear-gradient(-280deg, #013a4a, #026885); padding: 96px 0; }
.review-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px; background: rgba(207,228,236,.22);
  border: 1px solid rgba(207,228,236,.22); margin-top: 36px;
}
.review { background: var(--deep); padding: 44px 40px; }
.review-rule { width: 22px; height: 1px; background: var(--gold); margin-bottom: 26px; }
.review p { font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.55; color: #fff; }
.review-by { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }

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

.faq-head { text-align: center; }
.faq-list { margin-top: 48px; }

.faq-item { padding: 2px 28px; border-radius: 10px; transition: background .25s ease; }
.faq-item.is-open { background: var(--tint); }

.faq-q {
  width: 100%; background: none; border: none; padding: 22px 0;
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--deep);
}
.faq-icon {
  font-family: var(--sans); font-size: 26px; font-weight: 300; line-height: 1;
  width: 32px; height: 32px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--field); color: var(--teal); background: transparent;
  transition: transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item.is-open .faq-icon { border-color: var(--teal); background: var(--teal); color: #fff; transform: rotate(45deg); }

.faq-a p { font-size: 16px; line-height: 1.72; color: var(--body); margin: 0 0 24px; }

.faq-rule { height: 1px; margin: 0 28px; background: var(--line); transition: opacity .25s ease; }
.faq-rule.is-hidden { opacity: 0; }

.faq-foot { text-align: center; font-size: 15px; line-height: 1.7; color: var(--body); margin-top: 44px; }
.faq-foot a { font-weight: 600; border-bottom: 1px solid var(--pale); }
.faq-foot a:hover { border-bottom-color: var(--teal); }

/* ---------- CTA band ---------- */

.cta { color: #fff; background: linear-gradient(280deg, #026885, #013a4a); border-top: 2px solid var(--gold); }
.cta-inner { padding: 88px 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.cta > div > div > p, .cta p { font-size: 18px; line-height: 1.65; color: var(--pale); margin-top: 20px; }
.cta > .wrap > div:first-child { max-width: 640px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { padding: 18px 36px; font-size: 16px; }

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

.contact { border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: start; }

.details { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 36px; }
.detail { background: #fff; padding: 24px 28px; display: flex; gap: 32px; justify-content: space-between; align-items: baseline; }
.detail-key { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; flex: 0 0 auto; }
.detail-val { font-size: 16px; color: var(--ink); text-align: right; line-height: 1.5; }
.detail-pending {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: var(--muted); white-space: nowrap;
}

.follow { display: flex; gap: 10px; margin-top: 28px; align-items: center; flex-wrap: wrap; }
.follow .detail-key { margin-right: 6px; }

.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: 0 0 auto;
  border: 1px solid var(--field); border-radius: 2px;
  color: var(--teal); background: #fff;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.social:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.social svg { display: block; }

/* ---------- Form ---------- */

.form-card { background: var(--grey); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 48px 44px; }
.form-card h3 { font-size: 28px; }
.form-intro { font-size: 15px; line-height: 1.65; color: var(--body); margin-top: 12px; }

.form-card form { display: grid; gap: 18px; margin-top: 32px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }

.field label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--body); font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  border: 1px solid var(--field); background: #fff;
  padding: 14px 16px; border-radius: 2px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  outline: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }

.err { font-size: 13px; color: #b42318; }
.err:empty { display: none; }

.consent-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-label input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--teal); }
.consent-label span {
  font-size: 13px; line-height: 1.55; color: var(--body);
  font-weight: 400; letter-spacing: 0; text-transform: none;
}

.btn-submit {
  background: var(--teal); color: #fff; border: none;
  padding: 17px 24px; border-radius: 2px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  margin-top: 6px; transition: background .2s ease;
}
.btn-submit:hover { background: var(--deep); }
.btn-submit:disabled { opacity: .65; cursor: default; }

.form-note { font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
.form-note.is-ok { color: #1b7a43; font-weight: 600; }
.form-note.is-error { color: #b42318; font-weight: 600; }

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

.map { position: relative; display: block; line-height: 0; background: #e8edf1; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.72) contrast(1.02); }

/* The embed's own pins open Google Maps; this is the unmissable version. */
.map-directions {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: #fff;
  padding: 14px 24px; border-radius: 2px;
  font-size: 14px; font-weight: 600; line-height: 1;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 10px 28px -14px rgba(1,58,74,.7);
  transition: background .2s ease;
}
.map-directions:hover { background: var(--deep); color: #fff; }

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

.footer { background: linear-gradient(-280deg, #013a4a, #026885); color: var(--pale); border-top: 2px solid var(--gold); }
.footer-grid {
  padding-top: 72px; padding-bottom: 32px;
  display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 56px;
}
.brand-footer img { width: 46px; height: 46px; background: #fff; padding: 4px; }
.footer .brand-name { color: #fff; font-size: 24px; }
.footer-blurb { font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 22px; max-width: 340px; }
.footer-head { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.footer-links { display: grid; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 1.5; }
.footer-links a { color: var(--pale); min-width: 0; }
.footer-links a:hover { color: #fff; }
.footer-plain span { color: var(--muted); min-width: 0; }
.footer-email { overflow-wrap: anywhere; }

.footer-bottom {
  padding-top: 24px; padding-bottom: 40px;
  border-top: 1px solid rgba(207,228,236,.18);
  display: flex; align-items: center; justify-content: center; gap: 20px;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); border-bottom: 1px solid rgba(207,228,236,.25); }
.footer-bottom a:hover { color: var(--pale); }

/* ---------- Sticky booking bar ---------- */

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px -20px rgba(1,58,74,.4);
  transform: translateY(100%); transition: transform .3s ease;
}
.sticky-bar.is-visible { transform: none; }
.sticky-inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.sticky-copy { display: flex; gap: 14px; align-items: center; min-width: 0; }
.sticky-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: block; flex: 0 0 auto; }
.sticky-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.sticky-sub { font-size: 14px; color: var(--muted); }
.sticky-actions { display: flex; gap: 10px; align-items: center; }
.sticky-call { border: 1px solid var(--field); color: var(--ink); padding: 12px 22px; border-radius: 2px; font-weight: 600; font-size: 14px; }
.sticky-call:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================
   Responsive. The source design is desktop-only (1200px);
   everything below this line is added for smaller screens.
   ============================================================ */

@media (max-width: 1100px) {
  :root { --pad: 28px; }

  h1 { font-size: 58px; }
  h2 { font-size: 38px; }
  .cta h2 { font-size: 38px; }

  .about-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .about-figure { aspect-ratio: 16/10; }

  .doctor-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
  /* Keep the portrait's own proportions once stacked — a landscape crop cuts
     the top of her head off. Capped so it doesn't dominate the column. */
  .doctor-figure { aspect-ratio: 4/5; max-width: 400px; }
  .quals { max-width: 400px; }

  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }

  .panel-body { grid-template-columns: minmax(0,1fr); }
  .panel-copy { padding: 40px; }
  .panel-figure { border-left: none; border-top: 1px solid var(--line); min-height: 300px; }

  .review-grid { grid-template-columns: minmax(0,1fr); }
  .logo-grid { gap: 28px 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; }

  .sticky-sub { display: none; }
}

@media (max-width: 767px) {
  :root { --pad: 20px; --util-h: 30px; }

  html { scroll-padding-top: 80px; }

  .section { padding: 64px 0; }
  .reviews { padding: 64px 0; }

  /* Address + hours don't fit; the footer and contact block carry them. */
  .util { font-size: 12px; }
  .util-inner { justify-content: center; gap: 18px; }
  .util-left { display: none; }
  .util-right { gap: 18px; }

  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .hamburger { display: block; }

  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(1,58,74,.5);
    padding: 8px 20px 20px;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .nav > a.btn-primary { margin-top: 14px; text-align: center; padding: 16px 24px; border-bottom: 2px solid var(--gold); }

  .hero { min-height: 0; }
  .hero-img { object-position: 62% 50%; }
  .hero-veil { background: linear-gradient(180deg, rgba(1,58,74,.92) 0%, rgba(1,58,74,.86) 60%, rgba(1,58,74,.94) 100%); }
  .hero-inner { padding-top: 72px; padding-bottom: 56px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { width: 100%; padding: 16px 24px; }

  /* Desktop only. Stacked, the stat rail pushed the whole page below the fold;
     the same facts appear in About and The Doctor. */
  .hero-stats { display: none; }

  h2 { font-size: 32px; }
  .lead { font-size: 16px; }
  .values { grid-template-columns: minmax(0,1fr); }

  /* Tabs become stacked cards. Three ~175px tabs cannot fit 375px, and a
     scrolling strip hid the third service entirely — so on phones every
     service is simply shown in full, no control to find and nothing to open. */
  .tabs { display: none; }

  .panel { margin-top: 20px; }
  .panel:first-of-type { margin-top: 32px; }

  /* Image on top, card-style. Source order stays copy-then-figure so the
     heading is still read first. */
  .panel-body { display: flex; flex-direction: column; }
  .panel-figure { order: -1; min-height: 0; height: 190px; border-left: none; border-bottom: 1px solid var(--line); }

  .panel-copy { padding: 26px 22px 30px; }
  .panel-copy h3 { font-size: 26px; }
  .conditions { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 26px; }
  .features { margin-top: 26px; padding-top: 22px; }
  .procedures { margin-top: 26px; }
  .panel-link { margin-top: 28px; }

  .quals { padding: 22px; }
  blockquote { padding: 26px 24px; }
  blockquote p { font-size: 18px; }

  .logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; }
  .logo-slot { height: 90px; }

  .review { padding: 32px 26px; }
  .review p { font-size: 20px; }

  .faq-item { padding: 2px 16px; }
  .faq-rule { margin: 0 16px; }
  .faq-q { font-size: 19px; gap: 16px; padding: 18px 0; }

  .cta-inner { padding: 64px 20px; gap: 32px; }
  .cta h2 { font-size: 32px; }
  .cta-actions { width: 100%; }

  .detail { flex-direction: column; gap: 6px; align-items: flex-start; }
  .detail-val { text-align: left; }

  .form-card { padding: 28px 22px; }
  .field-row { grid-template-columns: minmax(0,1fr); }
  /* 16px keeps iOS Safari from zooming the viewport on focus. */
  .field input, .field select, .field textarea { font-size: 16px; }

  .map iframe { height: 300px; }
  .map-directions { right: 50%; transform: translateX(50%); bottom: 16px; padding: 13px 22px; }

  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 32px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding-bottom: 32px; }

  .sticky-inner { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .sticky-copy { display: none; }
  .sticky-actions { width: 100%; }
  .sticky-actions > a { flex: 1 1 0; text-align: center; }

  /* The sticky bar covers the end of the page. */
  .footer { padding-bottom: 68px; }
}

@media print {
  .util, .header, .sticky-bar, .map, .hero-actions, .cta-actions, .form-card { display: none; }
  .hero-img, .hero-veil, .hero-veil-b { display: none; }
  .hero { min-height: 0; background: #fff; }
  .hero h1, .hero-lead, .stat-value, .stat-label { color: var(--ink); text-shadow: none; }
  .section { padding: 24px 0; }
}
