/* ───────────────────────────────────────────────────────────────
   Lux Vitality — specialty pages (Plastic Surgery, Dentistry, Dermatology, Hair Transplant)
   Shared glass-card hero + "Meet your specialists" section.
   Loaded after lux-vitality-global.css (doctor cards live there). Prefix: sh- / sp-
   --sp-gold-text is a darker gold for SMALL text on light backgrounds (AA contrast).
   ─────────────────────────────────────────────────────────────── */

.sh, .sp-team { --sp-gold-text: #7A6445; --sp-line: rgba(184, 160, 130, 0.38); }

/* ═════════ HERO ═════════ */
.sh { background: var(--ivory); padding: 104px clamp(16px, 2.6vw, 40px) 0; }

.sh-panel {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  min-height: clamp(560px, 78vh, 740px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  background: #5F3C40;
}

.sh-media { position: absolute; inset: 0; }
.sh-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; display: block; }
.sh-photo--placeholder { background: linear-gradient(20deg, #5F3C40 0%, #9A7476 36%, #E6D8D1 76%, #F2EFE8 100%); }
.sh-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(40, 22, 26, 0.82) 0%, rgba(40, 22, 26, 0.7) 22%, rgba(40, 22, 26, 0) 52%); }  /* keeps the white tagline AA-readable even on a light photo */

/* floating step circles along a thin curved gold line (decorative) */
.sh-steps { position: absolute; left: 4.5%; top: 6%; height: 66%; max-height: 470px; aspect-ratio: 220 / 440; z-index: 1; pointer-events: none; }
.sh-steps svg { display: block; width: 100%; height: 100%; overflow: visible; }

.sh-tagline {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 3.4vw, 52px);
  bottom: 34px;
  max-width: 330px;
  font: 400 15px/1.6 'Jost', sans-serif;
  color: #fff;
  text-shadow: 0 1px 12px rgba(40, 22, 26, 0.55);
}

/* right column: main glass card + small "meet your specialists" card */
.sh-side {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(520px, 46%);
  padding: 44px clamp(20px, 3.4vw, 52px) 44px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sh-glass {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(40, 22, 26, 0.18);
}
.sh-card { border-radius: 20px; padding: 36px 36px 32px; }
.sh-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--burgundy);
  margin-bottom: 26px;
}
.sh-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 30px;
  border-radius: 999px; background: var(--burgundy); color: #fff; text-decoration: none;
  font: 500 12px/1 'Jost', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(65, 39, 45, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}
.sh-btn:hover { background: var(--rosewood); transform: translateY(-2px); }
.sh-divider { width: 1px; height: 44px; background: var(--gold); flex: none; }
.sh-cta-text { flex: 1 1 170px; font: 400 14px/1.55 'Jost', sans-serif; color: rgba(51, 43, 43, 0.85); }

.sh-mini { border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 14px; }
.sh-avatars { display: flex; }
.sh-avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid #fff; margin-left: -12px; background: var(--ivory-dark); }
.sh-avatars img:first-child { margin-left: 0; }
.sh-mini a { font: 500 14px/1.4 'Jost', sans-serif; color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.sh-mini a:hover { color: var(--rosewood); border-color: var(--rosewood); }

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

/* ═════════ MEET YOUR SPECIALISTS (short doctor cards) ═════════ */
.sp-team { background: #EBE5DA; padding: 110px 0; }
.sp-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--site-pad); padding-right: var(--site-pad); }
.sp-eyebrow { display: block; font: 500 12px/1.5 'Jost', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sp-gold-text); margin-bottom: 18px; }
.sp-team h2 { font: 400 clamp(38px, 4.4vw, 58px)/1.05 'Cormorant Garamond', serif; letter-spacing: -0.015em; color: var(--burgundy); margin-bottom: 44px; }
.sp-team .doc-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: start; }
.sp-team-note { margin-top: 32px; max-width: 640px; font: 400 15px/1.8 'Jost', sans-serif; color: rgba(51, 43, 43, 0.8); }
.sp-team-note a { color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  .sh-side { width: min(520px, 52%); }
  .sh-card { padding: 30px 28px 28px; }
}

@media (max-width: 900px) {
  .sh { padding-top: 92px; }
  .sh-panel { display: block; min-height: 0; overflow: visible; background: none; }
  .sh-media { position: relative; inset: auto; height: 60vh; min-height: 340px; border-radius: 24px; overflow: hidden; background: #5F3C40; }
  .sh-steps { display: none; }               /* decorative circles are desktop-only */
  .sh-tagline { left: 22px; right: 22px; bottom: 56px; max-width: none; font-size: 14.5px; }
  .sh-side { width: auto; padding: 0; margin: -34px 0 0; position: relative; }
  .sh-card { padding: 26px 22px 24px; }
  .sp-team { padding: 80px 0; }
}

@media (max-width: 480px) {
  .sh-divider { display: none; }
  .sh-cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .sh-cta-text { flex: none; }
}

@media (prefers-reduced-motion: reduce) { .sh-btn { transition: none; } }

/* ───────────────────────────────────────────────────────────────
   DENTISTRY-STYLE COMPONENTS
   Exact copies of the Dentistry page components, shared so the Plastic Surgery page
   uses the same classes: type (.label/.display), buttons, burgundy numbered-steps band
   (.stay/.steps) and the closing CTA band (.dent-cta).
   Dentistry, Dermatology and Hair Transplant still define the same rules inline (identical).
   ─────────────────────────────────────────────────────────────── */
:root {
  --page-max: 1320px;
  --below: #2E1C20;
  --hair: rgba(184,160,130,0.35);
  --hair-dark: rgba(212,196,168,0.18);
  --ink-soft: rgba(51,43,43,0.72);
  --ivory-soft: rgba(242,239,232,0.72);
}

html { scroll-padding-top: 110px; }
main { padding-top: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

.wrap { max-width: var(--page-max); margin: 0 auto; padding-left: var(--site-pad); padding-right: var(--site-pad); }

.label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.display em { font-style: italic; color: var(--gold); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--burgundy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border: 1px solid var(--hair-dark); color: var(--ivory); }
.btn-line:hover { border-color: var(--gold-light); }

/* burgundy band with numbered steps */
.stay { background: var(--burgundy); color: var(--ivory); padding: 120px 0; }

.stay h2 { font-size: clamp(40px, 4.6vw, 66px); color: var(--ivory); margin: 18px 0 64px; max-width: 760px; }
.stay h2 em { color: var(--gold-light); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.steps li { position: relative; padding: 38px 24px 0 0; counter-increment: step; }

.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 1px solid var(--gold);
}

.steps li:last-child::before { background: var(--gold); }

.steps b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.steps b::before { content: counter(step, decimal-leading-zero) " · "; }

.steps h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; line-height: 1.1; margin-bottom: 10px; }
.steps p { font-size: 13.5px; line-height: 1.75; color: var(--ivory-soft); }

.stay-note {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hair-dark);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ivory-soft);
  max-width: 720px;
}

.stay-note strong { color: var(--ivory); font-weight: 500; }

/* closing CTA band */
.dent-cta { background: var(--below); color: var(--ivory); padding: 110px 0; text-align: center; }
.dent-cta h2 { font-size: clamp(40px, 5vw, 72px); max-width: 900px; margin: 0 auto 22px; }
.dent-cta p { max-width: 560px; margin: 0 auto 36px; font-size: 15px; line-height: 1.85; color: var(--ivory-soft); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .steps li { padding: 0 0 0 42px; }
}

@media (max-width: 768px) {
  .stay, .dent-cta { padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ───────────────────────────────────────────────────────────────
   SHARED EDITORIAL COMPONENTS (new names; used by About, available to any page)
   .sp-intro  heading + text row · .sp-card  beige card · .sp-grid  card grid · .sp-link  text link
   ─────────────────────────────────────────────────────────────── */
.sp-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.sp-intro h2 { font-size: clamp(38px, 4.4vw, 62px); color: var(--burgundy); margin-top: 16px; }
.sp-intro p { max-width: 65ch; font-size: 17px; line-height: 1.7; color: var(--burgundy); }
.sp-intro p + p { margin-top: 14px; }

.sp-grid { display: grid; grid-template-columns: repeat(var(--sp-cols, 3), minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sp-card { background: var(--ivory-dark); border: 1px solid var(--hair); border-radius: 20px; padding: 40px 34px 36px; }
.sp-card-num { display: block; font: 300 44px/1 'Cormorant Garamond', serif; color: var(--gold); margin-bottom: 18px; }
.sp-card h3 { font: 400 clamp(28px, 2.6vw, 34px)/1.1 'Cormorant Garamond', serif; color: var(--burgundy); margin: 0 0 14px; }
.sp-card p { max-width: 65ch; font-size: 17px; line-height: 1.7; color: var(--burgundy); }

.sp-link { color: var(--burgundy); font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.sp-link:hover { color: var(--rosewood); border-color: var(--rosewood); }

@media (max-width: 900px) {
  .sp-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-card { padding: 32px 26px 28px; }
}

@media (max-width: 600px) {
  .sp-intro p, .sp-card p, .sp-link { font-size: 16px; }
}
