/* ============================================================
   PLASTICOS - Advanced Hair Transplant, Cosmetic & Plastic Surgery Center
   Main Stylesheet — style.css
   Brand: Premium Healthcare / Editorial
   ============================================================ */

/* ---------- Brand Tokens ---------- */
:root {
  /* Colours */
  --primary: #AF3236;
  --primary-dark: #783735;
  --primary-light: #C8464A;
  --charcoal: #201E1F;
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --warm-grey: #F0ECEB;
  --border: #E5E1E0;
  --muted: #6B6867;
  --success: #2E7D32;
  --error: #C62828;
  --shadow-sm: 0 2px 8px rgba(32, 30, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(32, 30, 31, 0.08);
  --shadow-lg: 0 20px 48px rgba(32, 30, 31, 0.12);
  --shadow-primary: 0 10px 30px rgba(175, 50, 54, 0.18);

  /* Typography */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1240px;
  --header-h: 84px;

  /* Motion */
  --t-fast: 180ms ease;
  --t-med: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-7) 0; }
.section-alt { background: var(--light-grey); }
.section-warm { background: var(--warm-grey); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark a { color: var(--primary-light); }
.section-primary { background: var(--primary); color: var(--white); }
.text-center { text-align: center; }
.grid { display: grid; gap: var(--space-5); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-primary h1, .section-primary h2, .section-primary h3, .section-primary h4 { color: var(--white); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.section-dark .eyebrow, .section-primary .eyebrow { color: var(--white); opacity: 0.85; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }

.section-head { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p { color: var(--muted); margin-top: var(--space-3); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-med);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(175, 50, 54, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover { background: var(--warm-grey); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.btn-block { width: 100%; display: flex; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.topbar a { color: var(--white); opacity: 0.9; }
.topbar a:hover { color: var(--primary-light); opacity: 1; }
.topbar-info { display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.55rem; }
.topbar-item svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary-light);
  transition: background var(--t-fast), transform var(--t-fast);
}
.topbar-item:hover svg { background: var(--primary); color: var(--white); border-color: var(--primary); }
.topbar-social { display: flex; gap: var(--space-3); }
.topbar-social a { display: inline-flex; }
.topbar-social svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.topbar-social a:hover svg { background: #25D366; color: var(--white); border-color: #25D366; transform: translateY(-1px); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img {
  height: 60px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.98rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--t-med);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.nav-phone:hover { color: var(--primary); }
.nav-phone svg { width: 16px; height: 16px; color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--t-med);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 999;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
.mobile-menu .nav-link:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: var(--space-3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  background: linear-gradient(135deg, var(--warm-grey) 0%, var(--white) 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 .accent { color: var(--primary); }

/* Animated hero headline — words rise in, accent words catch a slow sheen */
.hero-word { display: inline-block; will-change: transform, opacity, filter; }
.hero-content.visible .hero-word {
  animation: heroWordIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 85ms + 120ms);
}
@keyframes heroWordIn {
  from { opacity: 0; transform: translateY(0.5em) scale(0.97); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent {
    background-image: linear-gradient(100deg, var(--primary) 0%, var(--primary) 26%, #E4837F 42%, var(--primary) 58%, var(--primary) 100%);
    background-size: 240% 100%;
    background-position: 135% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-content.visible h1 .accent {
    animation: accentSheen 8s ease-in-out 1.1s infinite;
  }
}
@keyframes accentSheen {
  0%, 100% { background-position: 135% 0; }
  55% { background-position: -35% 0; }
}
.hero-lead { font-size: 1.18rem; color: var(--muted); margin-bottom: var(--space-6); line-height: 1.7; }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-6); }
.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.hero-trust-label { font-size: 0.85rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.hero-shape {
  position: absolute;
  width: 220px; height: 220px;
  background: var(--primary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.12;
  filter: blur(2px);
}
.hero-shape.s1 { top: -40px; right: -50px; }
.hero-shape.s2 { bottom: -60px; left: -40px; background: var(--primary-dark); width: 180px; height: 180px; }
.hero-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-badge-name { font-weight: 700; color: var(--charcoal); font-size: 1.05rem; }
.hero-badge-role { font-size: 0.85rem; color: var(--primary); font-weight: 500; }

/* ---------- Trust / Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-list { margin: var(--space-5) 0; display: grid; gap: var(--space-3); }
.intro-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.02rem;
}
.intro-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Service cards — Treatment icon cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(32, 30, 31, 0.05);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(175, 50, 54, 0.32);
  box-shadow: 0 26px 48px rgba(32, 30, 31, 0.14);
}
/* Illustrative media tile */
.service-card-image {
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border-bottom: 1px solid rgba(175, 50, 54, 0.08);
}
.service-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 -35% 0;
  height: 70%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(175, 50, 54, 0.16), rgba(175, 50, 54, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.service-card-image img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--t-slow);
}
.service-card:hover .service-card-image img { transform: scale(1.06) rotate(-1.5deg); }
/* Large treatment number watermark */
.service-card-number {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(175, 50, 54, 0.16);
  z-index: 2;
  transition: color var(--t-med), transform var(--t-med);
}
.service-card:hover .service-card-number {
  color: rgba(175, 50, 54, 0.34);
  transform: translateY(-2px);
}
/* Category tag */
.service-card-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(175, 50, 54, 0.22);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* Body */
.service-card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
}
.service-card h3 {
  color: var(--charcoal);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  max-height: none;
  opacity: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid rgba(175, 50, 54, 0.25);
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.service-card-link svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.service-card:hover .service-card-link { gap: 0.6rem; border-color: var(--primary); }
.service-card:hover .service-card-link svg { transform: translateX(3px); }
/* "Treatment" word in link — hidden on small screens to prevent truncation */
.link-full { display: inline; }
/* The small SVG badge is replaced by the treatment illustration */
.service-card-icon { display: none; }

/* CTA card — spans 2 columns, horizontal layout */
.service-card-cta {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  box-shadow: 0 6px 20px rgba(32, 30, 31, 0.10);
}
.service-card-cta::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.service-card-cta::after {
  content: "";
  position: absolute;
  bottom: -70px; left: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.service-card-cta:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(175, 50, 54, 0.30);
}
.service-card-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-2);
  position: relative; z-index: 1;
}
.service-card-cta-content { position: relative; z-index: 1; flex: 0 0 auto; max-width: 46ch; }
.service-card-cta h3 {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.service-card-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  margin: 0;
}
.service-card-cta .btn {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  margin-top: var(--space-3);
}
.service-card-cta .btn-light {
  background: var(--white);
  color: var(--primary);
}
.service-card-cta .btn-light:hover { background: var(--warm-grey); }

/* ---------- Why choose — Bento grid design ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--space-4);
}
.why-card {
  background: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(32, 30, 31, 0.06);
  border: 1px solid rgba(229, 225, 224, 0.6);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(32, 30, 31, 0.12);
  border-color: var(--primary);
}
/* Large icon with accent circle */
.why-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 22px rgba(175, 50, 54, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.why-card:hover .why-card-icon { transform: scale(1.08) rotate(-4deg); }
.why-card-icon svg { width: 28px; height: 28px; }
.why-card h3 {
  color: var(--charcoal);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
/* Featured large card — spans 2 columns and 2 rows */
.why-card-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d2a2b 100%);
  color: var(--white);
  border: none;
  padding: var(--space-7);
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.why-card-feature::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: rgba(175,50,54,0.18);
  border-radius: 50%;
}
.why-card-feature::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(175,50,54,0.08);
  border-radius: 50%;
}
.why-card-feature .why-card-icon {
  background: rgba(255,255,255,0.12);
  width: 72px; height: 72px;
  border-radius: 20px;
  position: relative; z-index: 1;
}
.why-card-feature h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative; z-index: 1;
}
.why-card-feature p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.why-card-feature .why-card-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  position: relative; z-index: 1;
}
.why-card-feature .why-card-stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  position: relative; z-index: 1;
}
/* Wide card — spans 2 columns */
.why-card-wide {
  grid-column: span 2;
}

/* ---------- Doctor / Meet surgeon ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-7);
  align-items: center;
}
.doctor-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}
.doctor-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.doctor-image::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 120px; height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.4;
}
.doctor-content h2 { margin-bottom: var(--space-3); }
.doctor-name { font-size: 1.6rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.3rem; }
.doctor-role { color: var(--primary); font-weight: 600; margin-bottom: var(--space-4); font-size: 1.05rem; }
.doctor-bio { color: var(--muted); margin-bottom: var(--space-5); line-height: 1.75; }
.doctor-creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.doctor-cred {
  display: flex; gap: var(--space-3); align-items: flex-start;
}
.doctor-cred-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border: 1px solid rgba(175, 50, 54, 0.14);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(175, 50, 54, 0.08);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.doctor-cred:hover .doctor-cred-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(175, 50, 54, 0.16);
}
.doctor-cred-icon svg { width: 22px; height: 22px; }
.doctor-cred-text { font-size: 0.9rem; }
.doctor-cred-label { color: var(--muted); font-size: 0.78rem; display: block; }
.doctor-cred-value { font-weight: 600; color: var(--charcoal); }

/* ---------- Gallery preview ---------- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.gallery-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.gallery-preview-item:hover img { transform: scale(1.08); }
.gallery-preview-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(32,30,31,0.78));
  opacity: 0.8;
  transition: opacity var(--t-med);
}
.gallery-preview-item:hover::after { opacity: 1; }
.gallery-preview-label {
  position: absolute;
  bottom: var(--space-3); left: var(--space-3); right: var(--space-3);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gallery-disclaimer {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--warm-grey);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.1rem; }
.cta-banner-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Location / contact preview ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-7);
  align-items: stretch;
}
.location-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.location-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.location-item-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border: 1px solid rgba(175, 50, 54, 0.14);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(175, 50, 54, 0.08);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.location-item:hover .location-item-icon {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 10px 20px rgba(175, 50, 54, 0.18);
}
.location-item-icon svg { width: 22px; height: 22px; }
.location-item-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.location-item-value { font-weight: 500; color: var(--charcoal); }
.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-sm);
  background: var(--warm-grey);
}
.location-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.78);
  padding: var(--space-8) 0 var(--space-5);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: 1.05rem;
  font-weight: 600;
}
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.footer-brand-logo img { height: 62px; width: auto; }
.footer-about { line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer-links { display: grid; gap: var(--space-2); }
.footer-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: var(--space-3); margin-bottom: var(--space-3); align-items: flex-start; }
.footer-contact-item svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer-contact-item:hover svg { background: var(--primary); color: var(--white); border-color: var(--primary); }
.footer-contact-item span { color: rgba(255,255,255,0.85); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.footer-bottom-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ---------- Floating actions ---------- */
.floating-actions {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 990;
}
.floating-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-med), box-shadow var(--t-med);
  color: var(--white);
}
.floating-btn:hover { transform: translateY(-3px); }
.floating-btn svg { width: 26px; height: 26px; }
.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1FB855; color: var(--white); }
.btn-call { background: var(--primary); }
.btn-call:hover { background: var(--primary-dark); color: var(--white); }
.btn-top { background: var(--charcoal); opacity: 0; visibility: hidden; pointer-events: none; }
.btn-top.visible { opacity: 1; visibility: visible; pointer-events: auto; }
.btn-top:hover { background: var(--primary); color: var(--white); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--warm-grey) 0%, var(--white) 100%);
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
}
.page-hero .container { position: relative; }
.breadcrumb {
  font-size: 0.88rem;
  margin-bottom: var(--space-3);
  color: var(--muted);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { color: var(--border); }
.breadcrumb span.current { color: var(--charcoal); font-weight: 500; }
.page-hero h1 { margin-bottom: var(--space-3); max-width: 820px; }
.page-hero p { max-width: 740px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Treatment detail page ---------- */
.treatment-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-7);
  align-items: start;
}
.treatment-main h2 {
  margin: var(--space-6) 0 var(--space-3);
  font-size: 1.5rem;
}
.treatment-main h2:first-child { margin-top: 0; }
.treatment-main h3 { margin: var(--space-5) 0 var(--space-2); font-size: 1.2rem; }
.treatment-main p { margin-bottom: var(--space-4); color: var(--charcoal); }
.treatment-main ul, .treatment-main ol { margin: var(--space-3) 0 var(--space-4) var(--space-5); }
.treatment-main ul li, .treatment-main ol li { margin-bottom: var(--space-2); position: relative; }
.treatment-main ul li::marker { color: var(--primary); }
.treatment-main ol li::marker { color: var(--primary); font-weight: 600; }
.treatment-hero-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
  aspect-ratio: 16/7;
}
.treatment-hero-image img { width: 100%; height: 100%; object-fit: cover; }
/* Illustration variant — used where the treatment artwork represents the page best */
.treatment-hero-image--art {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border: 1px solid rgba(175, 50, 54, 0.12);
}
.treatment-hero-image--art img {
  width: auto;
  height: 84%;
  max-width: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.treatment-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.sidebar-card.card-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.sidebar-card.card-primary h3, .sidebar-card.card-primary p { color: var(--white); }
.sidebar-card h3 { margin-bottom: var(--space-3); font-size: 1.15rem; }
.sidebar-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: var(--space-3); }
.sidebar-info { display: grid; gap: var(--space-3); }
.sidebar-info-item {
  display: flex; gap: var(--space-2); align-items: flex-start;
  font-size: 0.92rem;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-info-item:last-child { border-bottom: none; }
.sidebar-info-item svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 9px;
  background: linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border: 1px solid rgba(175, 50, 54, 0.14);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0;
}
.sidebar-card.card-primary .sidebar-info-item { border-bottom-color: rgba(255, 255, 255, 0.18); }
.sidebar-card.card-primary .sidebar-info-item svg {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.sidebar-treatments { display: grid; gap: var(--space-2); }
.sidebar-treatments a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-size: 0.92rem;
  transition: all var(--t-fast);
}
.sidebar-treatments a:hover { background: var(--warm-grey); color: var(--primary); }
.sidebar-treatments a svg { width: 14px; height: 14px; }
.sidebar-treatments a.active { background: var(--warm-grey); color: var(--primary); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: var(--space-3); max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--t-med), border-color var(--t-med);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--primary); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  width: 100%;
  background: transparent;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--t-med);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med);
}
.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}
.form-label .req { color: var(--primary); }
.form-hint { font-size: 0.82rem; color: var(--muted); }
.form-input, .form-select, .form-textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(175,50,54,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--error);
  background: #FEF6F6;
}
.form-error {
  font-size: 0.82rem;
  color: var(--error);
  display: none;
  align-items: center;
  gap: 0.3rem;
}
.form-error.show { display: flex; }
.form-error svg { width: 14px; height: 14px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.form-checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.form-checkbox label { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.form-checkbox label a { color: var(--primary); font-weight: 500; }
.form-feedback {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  display: none;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
}
.form-feedback.show { display: flex; }
.form-feedback.success { background: #E8F5E9; color: var(--success); border: 1px solid #A5D6A7; }
.form-feedback.error { background: #FFEBEE; color: var(--error); border: 1px solid #FFCDD2; }
.form-feedback svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}
.contact-info-item { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #FBEAE9 0%, #F4DCDA 100%);
  border: 1px solid rgba(175, 50, 54, 0.14);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(175, 50, 54, 0.08);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.contact-info-item:hover .contact-info-icon {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 10px 20px rgba(175, 50, 54, 0.18);
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-info-value { font-weight: 600; color: var(--charcoal); font-size: 1.05rem; }
.contact-info-sub { font-size: 0.9rem; color: var(--muted); }

/* ---------- Gallery page ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-6);
}
.gallery-filter {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--t-fast);
}
.gallery-filter:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(32,30,31,0.85));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  transition: opacity var(--t-med);
  color: var(--white);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-cat { font-size: 0.75rem; color: var(--primary-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.gallery-item-title { font-weight: 600; font-size: 1rem; }
.gallery-item-zoom {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-item:hover .gallery-item-zoom { opacity: 1; }
.gallery-item-zoom svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,18,19,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 900px;
  max-height: 88vh;
  position: relative;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  margin: 0 auto;
  display: block;
}
.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: var(--space-4);
}
.lightbox-caption-cat { font-size: 0.78rem; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.lightbox-caption-title { font-weight: 500; font-size: 1.05rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid rgba(255,255,255,0.2);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
  transform: scale(1.08);
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-close { top: -20px; right: -20px; }
.lightbox-prev { left: -64px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -64px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------- Disclaimer callout ---------- */
.disclaimer-callout {
  background: var(--warm-grey);
  border-left: 4px solid var(--primary);
  padding: var(--space-5);
  border-radius: var(--radius-sm);
  margin: var(--space-6) 0;
}
.disclaimer-callout strong { color: var(--primary); }
.disclaimer-callout p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 500;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-word { animation: none !important; opacity: 1; transform: none; filter: none; }
  .hero h1 .accent {
    animation: none !important;
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}

/* ---------- Before & After comparison band ---------- */
.ba-section {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-8) 0 var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ba-section::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(175, 50, 54, 0.38), rgba(175, 50, 54, 0) 68%);
  pointer-events: none;
}
.ba-section > .container { position: relative; z-index: 1; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-7);
  align-items: center;
}
.ba-section h2 { color: var(--white); margin-bottom: var(--space-3); }
.ba-section .eyebrow { color: var(--primary-light); }
.ba-copy p { color: rgba(255, 255, 255, 0.75); max-width: 460px; margin-bottom: var(--space-4); }
.ba-copy .btn { margin-top: var(--space-2); }
.ba-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 420px;
  margin: var(--space-4) 0 0;
}
.ba-slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111111;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-img-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* Treatment-diagram variant used on service pages: the artwork needs a light backdrop */
.ba-slider--diagram .ba-img-before { background: var(--white); }
.ba-label {
  position: absolute;
  top: var(--space-3);
  z-index: 3;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(32, 30, 31, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label-before { left: var(--space-3); }
.ba-label-after { right: var(--space-3); background: rgba(175, 50, 54, 0.92); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  z-index: 4;
  cursor: ew-resize;
}
.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.ba-handle-grip svg { width: 20px; height: 20px; }
.ba-slider:hover .ba-handle-grip,
.ba-slider.is-dragging .ba-handle-grip,
.ba-handle:focus-visible .ba-handle-grip {
  background: var(--primary);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.05);
}
