/* ============================================================
   Better Plastic Surgery — style-v2.css
   Design system tokens + shared layout utilities
   All pages link: <link rel="stylesheet" href="./style-v2.css">
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── Tokens ── */
:root {
  /* Backgrounds */
  --bg:       #08141A;
  --card:     #0d1f29;
  --card2:    #0f2330;
  --card3:    #132838;
  --slate:    #2a3438;
  --slate-lt: #8a9599;

  /* Accents */
  --lav:      #958FA6;
  --lav-lt:   #B8B1CC;
  --lav-soft: rgba(149,143,166,0.10);
  --lav-border: rgba(149,143,166,0.20);
  --lav-border2: rgba(184,177,204,0.30);

  /* Neutrals */
  --white:    #F5F7F8;
  --warm:     #EAE6DF;
  --warm-dk:  #D5D0C8;

  /* Rose */
  --rose:     #C47A7A;
  --rose-dk:  #A96565;
  --rose-lt:  #D4938C;
  --rose-glow: rgba(196,122,122,0.16);

  /* Borders */
  --border:   rgba(149,143,166,0.14);
  --border-warm: rgba(8,20,26,0.09);

  /* Typography */
  --serif: 'Playfair Display', serif;
  --sans:  'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; }
img { display:block; max-width:100%; }
ul { list-style:none; }

/* ── Body padding for fixed nav ── */
body { padding-top: 136px; }
body.hero-page { padding-top: 0; }

/* ── Typography ── */
.eyebrow {
  font-size: 9px; font-weight: 400; letter-spacing: 5px;
  text-transform: uppercase; color: var(--lav); margin-bottom: 14px; display: block;
}
.eyebrow.light { color: var(--lav-lt); }

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.5px;
}
.section-h2 em { font-style: italic; color: var(--rose); }
.section-h2.light { color: var(--white); }
.section-h2.light em { color: var(--lav-lt); }

.editorial-h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 300; line-height: 0.98; letter-spacing: -1px;
}
.editorial-h2 em { font-style: italic; color: var(--rose); }
.editorial-h2 .block { display: block; }

.body-text {
  font-size: 14px; font-weight: 300; line-height: 2.1;
  color: #2a3438;
}
.body-text + .body-text { margin-top: 14px; }
.body-text.light { color: rgba(234,230,223,0.55); }

.h-rule {
  display: flex; align-items: center; gap: 14px; margin: 22px 0;
}
.h-rule-line { width: 36px; height: 1px; background: var(--rose); flex-shrink: 0; }
.h-rule-dot  { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.h-rule.lav .h-rule-line { background: var(--lav); }
.h-rule.lav .h-rule-dot  { background: var(--lav); }

/* ── Buttons ── */
.btn-rose {
  display: inline-block; padding: 16px 40px;
  background: var(--rose); color: var(--white);
  font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  font-family: var(--sans); border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 0 28px var(--rose-glow);
}
.btn-rose:hover { background: var(--rose-dk); transform: translateY(-2px); }

.btn-rose-sm {
  display: inline-block; padding: 12px 28px;
  background: var(--rose); color: var(--white);
  font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  font-family: var(--sans); transition: background .2s;
}
.btn-rose-sm:hover { background: var(--rose-dk); }

.btn-white {
  display: inline-block; padding: 16px 44px;
  background: var(--white); color: var(--rose);
  font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  font-family: var(--sans); transition: background .2s;
}
.btn-white:hover { background: var(--warm); }

.btn-ghost {
  display: inline-block; padding: 16px 32px;
  border: 1px solid rgba(8,20,26,0.18); color: var(--slate);
  font-size: 10px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase;
  font-family: var(--sans); background: none; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--lav); color: var(--bg); }

.btn-ghost-lt {
  display: inline-block; padding: 16px 32px;
  border: 1px solid rgba(245,247,248,0.2); color: rgba(245,247,248,0.6);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-family: var(--sans); background: none; transition: border-color .2s, color .2s;
}
.btn-ghost-lt:hover { border-color: var(--lav-lt); color: var(--white); }

/* ── Layout ── */
.section-inner { max-width: 1200px; margin: 0 auto; }

.section        { padding: 96px 80px; }
.section.dark   { background: var(--bg); }
.section.card   { background: var(--card); }
.section.warm   { background: var(--warm); }
.section.white  { background: var(--white); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Page hero (non-homepage) ── */
.page-hero {
  min-height: 48vh; display: flex; align-items: center;
  padding: 80px 80px 72px; position: relative; overflow: hidden;
  background: var(--bg);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,20,26,.7) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.breadcrumb {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted, rgba(234,230,223,0.4)); margin-bottom: 20px;
}
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: var(--lav-lt); }
.breadcrumb span { color: var(--lav); margin: 0 8px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px); font-weight: 300; line-height: 1.0;
  color: var(--white); margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--lav-lt); }
.page-hero-sub {
  font-size: 14px; font-weight: 300; line-height: 2;
  color: rgba(234,230,223,0.58); max-width: 500px;
}

/* ── Content + sticky sidebar ── */
.content-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start;
}
.sidebar-box {
  background: var(--card2); padding: 36px; position: sticky; top: 88px;
}
.sidebar-label {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--lav); margin-bottom: 18px;
}
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 11px; letter-spacing: 1.5px;
  color: rgba(234,230,223,0.45); transition: color .2s, gap .2s;
}
.sidebar-links a::before {
  content: ''; width: 14px; height: 1px;
  background: var(--lav-border2); flex-shrink: 0; transition: width .2s, background .2s;
}
.sidebar-links a:hover { color: var(--white); }
.sidebar-links a:hover::before { width: 20px; background: var(--lavender, var(--lav)); }

/* ── Before/After grid ── */
.ba-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 52px;
}
.ba-case { background: var(--card2); overflow: hidden; }
.ba-label-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.ba-label {
  background: var(--card3); padding: 8px 16px;
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lav); text-align: center;
}
.ba-case-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.ba-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .5s; }
.ba-case:hover .ba-img { transform: scale(1.03); }
.ba-caption {
  padding: 14px 18px; display: flex; align-items: center;
  justify-content: space-between; border-top: 1px solid var(--border);
}
.ba-caption-label { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--lav); }
.ba-caption-detail { font-size: 10px; color: rgba(234,230,223,0.4); }

/* ── Review cards ── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.review-card {
  background: var(--white); padding: 36px 32px;
  display: flex; flex-direction: column;
  border-top: 2px solid transparent; transition: border-color .2s, background .2s;
}
.review-card:hover { border-top-color: var(--rose); background: var(--warm); }
.review-stars { color: var(--rose-lt); font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; }
.review-text {
  font-family: var(--serif); font-size: 17px; font-weight: 300;
  line-height: 1.75; color: var(--bg); flex: 1; margin-bottom: 22px;
}
.review-footer {
  border-top: 1px solid var(--border-warm); padding-top: 14px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.review-patient { font-size: 11px; font-weight: 500; color: var(--bg); }
.review-loc { font-size: 9px; letter-spacing: 1px; color: var(--slate); margin-top: 2px; }
.review-source { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--lav); }

/* Featured quote block */
.quote-feature {
  background: var(--card3); padding: 44px 52px; border-left: 3px solid var(--rose);
}
.quote-feature-text {
  font-family: var(--serif); font-size: clamp(17px, 2vw, 22px);
  font-weight: 300; line-height: 1.75; color: rgba(245,247,248,0.9);
}
.quote-feature-attr {
  margin-top: 18px; font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose-lt);
}

/* ── Proc list (editorial) ── */
.proc-list { display: flex; flex-direction: column; }
.proc-row {
  display: grid; grid-template-columns: 72px 1fr 240px 80px;
  align-items: center; padding: 0 80px; gap: 28px;
  border-top: 1px solid rgba(149,143,166,0.1);
  transition: background .2s; cursor: pointer; min-height: 76px;
}
.proc-row:last-child { border-bottom: 1px solid rgba(149,143,166,0.1); }
.proc-row:hover { background: rgba(149,143,166,0.04); }
.proc-row-num {
  font-family: var(--serif); font-size: 12px; font-weight: 300;
  color: rgba(149,143,166,0.22); letter-spacing: 1px;
}
.proc-row-name {
  font-family: var(--serif); font-size: 24px; font-weight: 300;
  color: var(--white); letter-spacing: -0.3px;
}
.proc-row-cat { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(149,143,166,0.38); }
.proc-row-arrow { font-size: 16px; color: rgba(149,143,166,0.22); text-align: right; transition: color .2s, transform .2s; }
.proc-row:hover .proc-row-arrow { color: var(--rose); transform: translateX(4px); }

/* ── CTA band ── */
.cta-band {
  background: var(--rose); padding: 80px 80px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 60px; position: relative; overflow: hidden;
}
.cta-band-watermark {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 200px; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px rgba(245,247,248,0.07);
  letter-spacing: -6px; pointer-events: none; user-select: none;
}
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 300; line-height: 1.0; color: var(--white); letter-spacing: -0.5px;
}
.cta-band h2 em { font-style: italic; color: rgba(245,247,248,0.55); }
.cta-band-sub {
  font-size: 13px; font-weight: 300; color: rgba(245,247,248,0.6);
  line-height: 2; margin-top: 12px; max-width: 460px;
}
.cta-band-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.cta-band-phone { font-size: 11px; letter-spacing: 1.5px; color: rgba(245,247,248,0.38); }

/* ── Footer ── */
.site-footer { background: var(--bg); padding: 72px 80px 36px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 5fr 3fr 3fr 3fr;
  gap: 52px; margin-bottom: 52px;
}
.footer-brand-desc {
  font-size: 14px; font-weight: 300; line-height: 2;
  color: rgba(245,247,248,0.85); margin-top: 14px; max-width: 260px;
}
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--lav-lt);
  transition: color .2s;
}
.footer-social a:hover { color: var(--white); }
.footer-heading {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lav-lt); margin-bottom: 22px; font-weight: 500;
}
.footer-links li { margin-bottom: 13px; }
.footer-links a {
  font-size: 15px; font-weight: 300; color: rgba(245,247,248,0.75); transition: color .2s;
}
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(245,247,248,0.45); letter-spacing: .5px; }

/* ── Marquee ── */
.marquee-wrap { background: var(--rose); overflow: hidden; padding: 13px 0; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 24s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(245,247,248,0.8); font-weight: 300;
  padding: 0 32px; border-right: 1px solid rgba(245,247,248,0.18);
}

/* ── Gallery mosaic ── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  grid-template-rows: 300px 280px;
  gap: 4px;
}
.gal-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(6%); transition: filter .4s; }
.gal-img:hover { filter: grayscale(0%); }
.gal-span2 { grid-row: span 2; }
.gallery-caption {
  grid-column: 1/-1; display: flex; align-items: center; gap: 20px;
  padding: 14px 0; font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(8,20,26,0.3);
}
.gallery-caption-line { flex: 1; height: 1px; background: rgba(8,20,26,0.08); }

/* ══ GLOBAL RESPONSIVE ══════════════════════════════════════ */

/* ── Large tablet (≤1200px) ── */
@media(max-width:1200px) {
  .section { padding: 80px 52px; }
  .page-hero { padding: 80px 52px 72px; }
  .cta-band { padding: 72px 52px; }
  .site-footer { padding: 64px 52px 32px; }
}

/* ── Tablet (≤1024px) ── */
@media(max-width:1024px) {
  .section { padding: 72px 44px; }
  .page-hero { padding: 72px 44px 64px; }
  .ba-grid { grid-template-columns: repeat(2,1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .cta-band { grid-template-columns: 1fr; gap: 32px; padding: 64px 44px; }
  .cta-band-actions { align-items: flex-start; }
  .proc-row { grid-template-columns: 56px 1fr 180px; padding: 0 44px; }
  .proc-row-arrow { display: none; }
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .gal-span2 { grid-row: span 1; }
  .site-footer { padding: 64px 44px 32px; }
}

/* ── Mobile (≤768px) ── */
@media(max-width:768px) {
  body { padding-top: 72px; }
  .section { padding: 56px 20px; }
  .page-hero { padding: 56px 20px 48px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 52px); }

  /* BA grid */
  .ba-grid { grid-template-columns: 1fr; }
  .ba-case-images .ba-img { aspect-ratio: 3/4; }

  /* Reviews */
  .review-grid { grid-template-columns: 1fr; }
  .review-card { padding: 28px 22px; }
  .review-text { font-size: 15px; }

  /* Gallery */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
    gap: 2px;
  }
  .gal-span2 { grid-row: span 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-copy { font-size: 10px; }

  /* CTA band */
  .cta-band { padding: 52px 20px; gap: 28px; }
  .cta-band h2 { font-size: clamp(26px, 7vw, 40px); }
  .btn-white { padding: 16px 24px; width: 100%; text-align: center; }

  /* Proc list */
  .proc-row {
    grid-template-columns: 1fr;
    padding: 16px 20px; min-height: auto; gap: 4px;
  }
  .proc-row-num, .proc-row-cat, .proc-row-arrow { display: none; }
  .proc-row-name { font-size: 22px; }

  /* Quote */
  .quote-feature { padding: 32px 24px; }
  .quote-feature-text { font-size: 16px; }

  /* Marquee */
  .marquee-item { font-size: 8px; padding: 0 18px; }
}

/* ── Small mobile (≤480px) ── */
@media(max-width:480px) {
  .section { padding: 48px 16px; }
  .page-hero { padding: 48px 16px 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gal-img { aspect-ratio: 4/3; height: auto; }
  .cta-band { padding: 44px 16px; }
  .proc-row-name { font-size: 20px; }
}
