:root {
  --burgundy: #6b0f24;
  --burgundy-dark: #3a0d1a;
  --ink: #1c1417;
  --muted: #5d5559;
  --line: #d9d4d5;
  --bg: #fcfbfb;
  --soft: #f3f0f0;
  --serif: "Playfair Display", Georgia, serif;
  --display: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 1100px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.025em; font-size: 1.1em; color: var(--burgundy); }
.reco h2, .big, .card h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 200; padding: 10px 14px; background: var(--burgundy); color: #fff; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.modal-open { overflow: hidden; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Shared bits */
.eyebrow, .label, .pillars, .credit, .credit-static, .creds small, label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,.8); }
.label { color: var(--muted); display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.arr { margin-left: 8px; font-size: .9em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; font-size: 14px; font-weight: 400; border: 1px solid var(--burgundy);
  transition: background .2s, color .2s;
}
.btn-solid { background: var(--burgundy); color: #fff; }
.btn-solid:hover { background: var(--burgundy-dark); }
.btn-outline { color: var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--burgundy); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.link-line { display: inline-block; font-size: 14px; font-weight: 400; padding-bottom: 6px; border-bottom: 1px solid var(--burgundy); color: var(--burgundy); }
.link-line:first-child, .hero-cta .link-line { color: var(--ink); }
.link-line:hover { opacity: .7; }

/* Media frames: preserve layout while images load */
.ph { margin: 0; position: relative; overflow: hidden; background: linear-gradient(135deg, #e7dfdf, #c9bcbd 60%, #a99a9d); }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph figcaption { position: absolute; left: 10px; bottom: 8px; font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gutter);
  background: rgba(252,251,251,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--burgundy); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 14px; letter-spacing: .08em; color: var(--ink); font-weight: 400; }
.brand-sub { font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); }
.brand.light, .brand.light .brand-name, .brand.light .brand-sub { color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 400; }
.nav a:not(.btn) { font-weight: 600; font-size: 15px; color: var(--burgundy-dark); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--burgundy); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 46.5% 53.5%; min-height: 600px; background: var(--bg); }
.hero-copy { padding: 64px var(--gutter); align-self: center; max-width: 620px; justify-self: end; width: 100%; }
.hero h1 { font-size: clamp(44px, 5.2vw, 68px); margin: 18px 0 34px; }
.hero h1 em { display: inline-block; transform: scaleX(1.08); transform-origin: left center; margin-right: .08em; }
.hero-name { font-weight: 400; font-size: 17px; }
.hero-lead { color: var(--muted); margin: 4px 0 32px; }
.hero-cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-media { position: relative; min-height: 420px; }
.ph-hero { position: absolute; inset: 0; background: linear-gradient(120deg, #cfc8c9, #8d8083 80%); }
.ph-hero img { object-position: 76% center; }
.hero-curve { position: absolute; left: 0; top: 0; height: 100%; width: 28%; overflow: visible; }
.credit { position: absolute; right: 14px; bottom: 12px; font-size: 9px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* Pillars */
.pillars { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 22px var(--gutter); color: var(--muted); font-size: 10px; flex-wrap: wrap; }
.pillars i { width: 5px; height: 5px; border-radius: 50%; background: var(--burgundy); }

/* Doctor */
.doctor { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 56px; }
.ph-doctor { aspect-ratio: 1 / 1.05; }
.doctor h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 24px; }
.strong { font-weight: 400; margin-bottom: 4px; }
.muted { color: var(--muted); max-width: 46ch; }
.creds { display: flex; gap: 28px; margin: 32px 0; }
.creds div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.creds strong { display: block; font-weight: 400; font-size: 14px; }
.creds small { color: var(--muted); font-size: 9.5px; }

/* Specialties */
.specialties { padding-block: 56px; }
.specialties h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.card .ph { position: absolute; inset: 0; transition: transform .6s; }
.card:hover .ph { transform: scale(1.04); }
.card-body { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(transparent, rgba(255,255,255,.92) 55%); }
.card h3 { font-size: 26px; color: var(--burgundy); margin-bottom: 4px; }
.card p { font-size: 13px; color: var(--ink); font-weight: 400; }
.ph-c1 { background: linear-gradient(135deg, #efe8e4, #cdb9b3); }
.ph-c2 { background: linear-gradient(135deg, #e6e2e6, #b9aab4); }
.ph-c3 { background: linear-gradient(135deg, #ece9e6, #c7bcb3); }

/* Reconstructive band */
.reco { position: relative; background: var(--burgundy); color: #fff; overflow: hidden; }
.reco-curve { position: absolute; left: 30%; top: 0; width: 280px; height: 100%; opacity: .8; }
.reco-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: auto; padding: 56px var(--gutter); }
.reco h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 16px 0 24px; }
.reco em { color: #fff; }
.reco p:not(.eyebrow) { max-width: 34ch; margin-bottom: 28px; font-weight: 300; }
.ph-reco { aspect-ratio: 1.8 / 1; background: linear-gradient(135deg, #d9cfc9, #9b8b86); }

/* Process */
.process { padding-block: 64px 40px; }
.process h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: -24px; height: 1px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); }
.steps li:last-child::before { right: 0; }
.steps h3 { font-family: var(--sans); font-weight: 400; font-size: 16px; letter-spacing: 0; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 14px; }

/* Results */
.results { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; padding-block: 40px 64px; }
.ph-results { aspect-ratio: 3.2 / 1; background: linear-gradient(135deg, #ddd2cc, #b3a39e); }
.results h3 { font-size: 28px; margin: 12px 0 24px; }
.credit-static { display: block; margin-top: 36px; font-size: 9px; color: var(--muted); text-align: right; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 80px); padding-block: 56px 72px; border-top: 1px solid var(--line); max-width: none; }
.contact > * { }
.contact-copy .eyebrow + .eyebrow { margin-top: 4px; }
.big { font-size: clamp(44px, 5.4vw, 68px); margin-top: 48px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { color: var(--ink); font-size: 10px; font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], select {
  font: inherit; font-size: 14px; padding: 12px 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 0; width: 100%;
}
input::placeholder { color: #8a8185; }
input:focus, select:focus { outline: none; border-color: var(--burgundy); }
.field.invalid input, .field.invalid select { border-color: #b3261e; }
.consent, .form .btn, .form-msg { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 300; }
.consent input { margin-top: 3px; accent-color: var(--burgundy); }
.consent a { text-decoration: underline; }
.form-msg { font-size: 13px; min-height: 1.4em; color: var(--burgundy); }
.form-msg.error { color: #b3261e; }

/* Footer */
.footer { background: var(--burgundy-dark); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr .6fr; gap: 32px; align-items: center; padding: 36px var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: auto; font-size: 13px; font-weight: 300; font-style: normal; }
.footer address { font-style: normal; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.footer-inner > div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.footer a:hover { text-decoration: underline; }

/* WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav .btn { width: auto; margin-top: 8px; padding: 14px 22px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { justify-self: stretch; max-width: none; padding-block: 48px 32px; }
  .hero-media { min-height: 380px; }
  .hero-curve { left: 0; width: 34%; }
  .doctor, .reco-inner, .results, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div, .footer address { border-left: 0; padding-left: 0; }
  .reco-curve { display: none; }
  .big { margin-top: 16px; }
}
@media (max-width: 620px) {
  .site-header { gap: 12px; }
  .brand { min-width: 0; }
  .nav-toggle { display: block !important; flex: 0 0 40px; }
  .hero, .hero-copy { min-width: 0; width: 100%; }
  .hero-lead { max-width: 100%; overflow-wrap: anywhere; }
  .hero-cta { gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; }
  .creds { flex-direction: column; gap: 16px; }
  .creds div + div { border-left: 0; padding-left: 0; }
  .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-name { font-size: 12px; }
  .ph-hero img { object-position: 100% center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
