/* ============================================================
   Preservé Breast Augmentation — Landing Page
   Premium / editorial / understated luxury
   ============================================================ */

:root {
  /* Restrained palette: one deep neutral + one quiet accent */
  --ink: #1c1a17;          /* deep warm near-black */
  --ink-soft: #4a4640;     /* secondary text */
  --paper: #faf8f4;        /* warm off-white background */
  --paper-alt: #f1ece4;    /* alternating section tint */
  --line: #ddd6ca;         /* hairline borders */
  --accent: #6b5b4a;       /* quiet warm taupe accent */
  --accent-deep: #4a3e30;  /* hover/active */
  --todo-bg: #fff3cd;      /* visible TODO highlight */
  --todo-ink: #7a5b00;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --narrow: 760px;
  --space: clamp(3.5rem, 8vw, 7rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.8em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 1.8em; }
p { margin: 0 0 1.1em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.narrow { max-width: var(--narrow); }
.section { padding: var(--space) 0; }
.section-desire { background: var(--paper-alt); }
.section-candidacy { background: var(--paper-alt); }
.section-faq { background: var(--paper-alt); }

/* ---------- TODO markers (visible inline) ---------- */
.todo {
  display: inline;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-family: var(--sans);
  font-size: 0.82em;
  font-weight: 600;
  padding: 0.05em 0.4em;
  border-radius: 3px;
  border: 1px dashed #d9b94a;
  white-space: normal;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { text-decoration: none; display: flex; align-items: center; line-height: 1; }
.logo-img { height: 60px; width: auto; display: block; }
.logo-name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); letter-spacing: 0.01em; }
.logo-cred { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.nav-phone { font-family: var(--sans); font-weight: 600; text-decoration: none; color: var(--ink); letter-spacing: 0.02em; }
.nav-phone:hover { color: var(--accent-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover, .btn-primary:focus { background: var(--accent-deep); }
.btn-block { width: 100%; padding: 1.1rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: 0 0 var(--space); }
.hero-banner { width: 100%; margin-bottom: 0; }
.hero-banner img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; object-position: center 35%; display: block; }
.hero-copy { max-width: var(--narrow); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.subhead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.micro-strip { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--accent); margin-top: 1.5rem; text-transform: uppercase; }

/* ---------- Signature line (elevated standalone statement) ---------- */
.section-signature { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.signature-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}
.signature-em { display: block; color: var(--ink); margin-top: 0.35em; }

/* ---------- Press / "As featured in" strip ---------- */
.press-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.75rem, 4vw, 2.5rem) 0; background: var(--paper); }
.press-label { text-align: center; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.3rem; }
.press-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.75rem, 5vw, 3.75rem); }
.press-logos li { display: flex; align-items: center; }
.press-logos img {
  width: auto; display: block;
  /* multiply drops white/transparent logo backgrounds on the light strip; black wordmarks stay crisp */
  mix-blend-mode: multiply;
  /* brightness/contrast washes the light-gray checkerboard baked into some logo files
     toward white so multiply drops it; black wordmarks stay legible */
  filter: grayscale(1) brightness(1.18) contrast(1.3);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.press-logos img:hover { opacity: 0.9; }
/* Per-logo heights tuned so the visible wordmark (cap height) matches across logos,
   compensating for the different amounts of whitespace baked into each source file. */
.logo-vogue  { height: 78px; }
.logo-elle   { height: 32px; }
.logo-bazaar { height: 33px; }
.logo-goop   { height: 32px; }

/* ---------- Section 2: desire / benefits ---------- */
.lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.4; color: var(--ink); margin-bottom: 1.8em; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.benefit-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.benefit-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Section 4: surgeon ---------- */
.section-surgeon { background: var(--ink); color: var(--paper); }
.section-surgeon h2, .section-surgeon h3 { color: var(--paper); }
.surgeon-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.surgeon-text { display: flex; flex-direction: column; }
.anchor-line { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--paper); max-width: 22ch; margin: 0 0 clamp(2.2rem, 4vw, 3rem); }
.surgeon-media { margin: 0; position: relative; min-height: 380px; }
.surgeon-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 3px; display: block; }
.surgeon-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1.1rem;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--paper);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  border-radius: 0 0 3px 3px;
}
.cred-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.cred-stack li { position: relative; padding-left: 1.6rem; color: #e6ded2; line-height: 1.5; }
.cred-stack li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.section-surgeon .todo { color: var(--todo-ink); }

/* ---------- Section 6: candidacy ---------- */
.candidacy-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.9rem; }
.candidacy-list li { position: relative; padding-left: 2rem; }
.candidacy-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.closing-line { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }

/* ---------- The Experience: deposit callout ---------- */
.deposit-line {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-alt);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}

/* ---------- Testimonial (reassurance pull-quote) ---------- */
.section-testimonial { background: var(--paper-alt); text-align: center; }
.testimonial { margin: 0; }
.testimonial blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.testimonial figcaption {
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.testimonial-more { margin: 1.1rem 0 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Section 7: FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 0 1.6rem; color: var(--ink-soft); max-width: 60ch; }
.faq-answer p { margin: 0; }

/* Smooth open/close. ::details-content animates the panel in supporting
   browsers; older browsers fall back to an instant (still accessible) toggle. */
:root { interpolate-size: allow-keywords; }
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition: block-size 0.32s ease, opacity 0.32s ease, content-visibility 0.32s allow-discrete;
  transition-behavior: allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

/* ---------- Section 8: consultation form ---------- */
.section-consult { background: var(--paper-alt); }
.consult-intro { color: var(--ink-soft); max-width: 52ch; margin-bottom: 2.5rem; }
#consult-form { display: grid; gap: 1.4rem; max-width: 560px; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.field .optional { text-transform: none; font-weight: 400; color: var(--accent); }
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input[readonly] { background: #efeae1; color: var(--ink-soft); cursor: default; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 0.85rem; color: #b3261e; }
.form-status { padding: 0.9rem 1.1rem; border-radius: 2px; font-size: 0.95rem; }
.form-status.is-error { background: #fbe9e7; color: #8a1c14; }
#consult-form input[type="submit"] { -webkit-appearance: none; appearance: none; }
.consult-microcopy { margin: 1rem 0 0; font-size: 0.85rem; color: var(--ink-soft); max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d0c4; padding: var(--space) 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.site-footer p { margin: 0 0 0.5rem; font-size: 0.92rem; }
.footer-name { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); }
.site-footer a { color: #e6ded2; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.footer-note { font-style: italic; margin-top: 1rem; }

/* ---------- Sticky CTA (always present, every viewport) ---------- */
/* Desktop/tablet: compact floating pill anchored bottom-right.
   Mobile (≤600px, below): expands to a full-width bottom bar. */
.sticky-cta {
  display: inline-block;
  position: fixed; right: 1.5rem; bottom: 1.5rem; left: auto; z-index: 60;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-family: var(--sans); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.9rem 1.6rem; border-radius: 3px;
  box-shadow: 0 12px 30px -10px rgba(28, 26, 23, 0.5);
  transition: background-color 0.2s ease;
}
.sticky-cta:hover, .sticky-cta:focus { background: var(--accent-deep); color: var(--paper); }

/* ---------- Focus visibility (WCAG) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .surgeon-grid { grid-template-columns: 1fr; }
  .surgeon-media { order: -1; max-width: 420px; }
  .anchor-line { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .subhead { max-width: none; }
}
@media (max-width: 600px) {
  .sticky-cta { display: block; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; padding: 1rem; font-size: 1rem; }
  main { padding-bottom: 5rem; }
  .nav-phone { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
