/* ============================================================
   DRA. MARÍA ÁLVAREZ — Médico Cirujana Capilar
   Archetype: Glassmorphism Medical Premium
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg:         #f8f6f3;
  --bg-2:       #eef1f6;
  --bg-dark:    #0f1f35;
  --navy:       #1b3a5c;
  --navy-2:     #0f2740;
  --navy-light: #2a5080;
  --gold:       #c8a96e;
  --gold-2:     #a88850;
  --ink:        #1a2030;
  --ink-soft:   #3d4a5c;
  --ink-mute:   #6b7a8d;
  --glass:      rgba(255,255,255,0.62);
  --glass-2:    rgba(255,255,255,0.38);
  --glass-border: rgba(255,255,255,0.75);
  --line:       rgba(27,58,92,0.1);
  --line-2:     rgba(27,58,92,0.06);
  --shadow-sm:  0 2px 12px rgba(27,58,92,0.08);
  --shadow-md:  0 8px 40px rgba(27,58,92,0.12);
  --shadow-lg:  0 20px 60px rgba(27,58,92,0.16);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --nav-h:        72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* --- Container --- */
.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* --- Typography helpers --- */
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  text-wrap: balance;
  max-width: 22ch;
}

.section-title em {
  font-style: italic;
  color: var(--navy-light);
}

.section-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 54ch;
  line-height: 1.75;
}

/* --- Reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safety: elements with data-split never get opacity:0 from .reveal */
.reveal[data-split] { opacity: 1; transform: none; }

/* --- Glass card --- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@supports not (backdrop-filter: blur(18px)) {
  .glass-card { background: rgba(255,255,255,0.88); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  border: none;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 24px rgba(27,58,92,0.28);
}

.btn-primary:hover {
  background: var(--navy-2);
  box-shadow: 0 8px 32px rgba(27,58,92,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-ghost:hover { background: rgba(27,58,92,0.06); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(248,246,243,0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(27,58,92,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.nav-logo-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 0.6rem 1.35rem !important;
  border-radius: 100px !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 2px 12px rgba(27,58,92,0.22);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--navy-2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(27,58,92,0.3) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(248,246,243,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 0.5rem 1.5rem 1.5rem;
}

.nav-mobile a {
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--navy); }

.nav-mobile .nav-cta {
  margin-top: 1rem;
  text-align: center;
  border-bottom: none !important;
  border-radius: 100px;
  padding: 0.85rem 1.5rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding-top: var(--nav-h);
  background: var(--bg);
}

.hero-mesh {
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 80% 30%, rgba(27,58,92,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 70%, rgba(200,169,110,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 55% 10%, rgba(42,80,128,0.08) 0%, transparent 50%);
  filter: blur(50px) saturate(120%);
  animation: meshDrift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg) translate(0, 0); }
  33%       { transform: scale(1.06) rotate(1.5deg) translate(-1%, 1%); }
  66%       { transform: scale(0.97) rotate(-1deg) translate(1%, -1%); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 5rem 3rem;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--navy-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-photo {
  display: flex;
  justify-content: flex-end;
}

.hero-photo-wrap {
  position: relative;
  width: min(400px, 100%);
}

.hero-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(27,58,92,0.06);
  animation: portraitFloat 6s ease-in-out infinite;
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 6s ease-in-out infinite 1s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-5px) rotate(-1deg); }
}

.badge-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}

.hero-badge-2 {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  box-shadow: var(--shadow-sm);
  animation: badgeFloat 6s ease-in-out infinite 2s;
}

.badge-num2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-badge-2 .badge-label {
  color: var(--ink-mute);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  transition: opacity 0.3s;
}

.hero-scroll-hint:hover { opacity: 0.7; }

.scroll-arrow {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scrollSlide 2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: contrast(1.04) brightness(0.96);
}

.about-deco {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 50%;
  height: 50%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

.about-text {
  padding-right: 1rem;
}

.about-para {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: 1.0rem;
  line-height: 1.8;
}

.about-para:last-of-type { margin-bottom: 2.5rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-block;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ============================================================
   TREATMENTS
   ============================================================ */
.treatments {
  padding: 7rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: clip;
}

.treatments::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-kicker,
.section-header .section-title,
.section-header .section-sub {
  margin-inline: auto;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.treatment-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
  flex-direction: row;
}

.featured-img {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}

.featured-card:hover .featured-img img {
  transform: scale(1.04);
}

.card-body-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,58,92,0.08);
  border-radius: var(--radius-sm);
  color: var(--navy);
  flex-shrink: 0;
}

.treatment-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.treatment-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(200,169,110,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

/* ============================================================
   CASES
   ============================================================ */
.cases {
  padding: 7rem 0;
  background: var(--bg-2);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-images {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.case-img-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.case-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.case-card:hover .case-img-wrap img {
  transform: scale(1.04);
}

.case-label {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

.before-label {
  background: rgba(15,39,64,0.82);
  color: rgba(255,255,255,0.9);
}

.after-label {
  background: var(--gold);
  color: var(--navy-2);
}

.case-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold);
  z-index: 1;
}

.case-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(200,169,110,0.12);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  width: fit-content;
}

.case-info p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.case-info p strong {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .cases-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
}

/* ============================================================
   PHOTO BAND
   ============================================================ */
.photo-band {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: clip;
}

.photo-band-img {
  position: absolute;
  inset: 0;
}

.photo-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
}

.photo-band:hover .photo-band-img img { transform: scale(1.0); }

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,39,64,0.82) 0%, rgba(27,58,92,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.photo-band-overlay blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  max-width: 36ch;
  line-height: 1.35;
  border: none;
  padding: 0;
  margin: 0;
}

.photo-band-overlay blockquote em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience {
  padding: 7rem 0;
  background: var(--bg);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,169,110,0.15));
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline-spine {
  display: flex;
  justify-content: center;
  padding-top: 1.4rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s;
}

.current-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,169,110,0.2);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,169,110,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(200,169,110,0.08); }
}

.timeline-content {
  padding: 1.5rem 1.75rem;
  transition: transform 0.3s var(--ease-out);
}

.timeline-content:hover { transform: translateX(4px); }

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.5rem;
}

.current-badge {
  color: var(--gold) !important;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.timeline-content p:last-child {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  padding: 7rem 0;
  background: var(--bg-dark);
  overflow: clip;
}

.contact-mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 25% 50%, rgba(27,58,92,0.8) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 80% 30%, rgba(200,169,110,0.12) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-text .section-kicker { color: var(--gold); }
.contact-text .section-title { color: #fff; }
.contact-text .section-title em { color: var(--gold); }

.contact-desc {
  color: rgba(255,255,255,0.65);
  margin: 1.5rem 0 2.5rem;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 46ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.contact-item svg { color: var(--gold); flex-shrink: 0; }

.contact-card-wrap {
  display: flex;
  justify-content: center;
}

.contact-card {
  max-width: 340px;
  width: 100%;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.contact-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(200,169,110,0.2);
}

.contact-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.contact-card-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-2);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.footer-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.footer-legal a:hover { opacity: 0.8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-block: 4rem 2rem; }
  .hero-photo { justify-content: center; order: -1; }
  .hero-photo-wrap { width: min(340px, 85%); }
  .hero-badge { left: -0.5rem; }
  .hero-badge-2 { right: -0.5rem; }
  .hero-title { font-size: clamp(2.4rem, 6vw, 4rem); }
  .hero-text { text-align: center; }
  .hero-sub { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-text { padding-right: 0; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }

  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card {
    grid-column: span 2;
    flex-direction: column;
  }
  .featured-img { width: 100%; height: 260px; }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-text { text-align: center; }
  .contact-desc { margin-inline: auto; }
  .contact-details { align-items: center; }
  .contact-card-wrap { justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .nav-mobile.is-open { display: flex; }
  .nav-mobile:not(.is-open) { display: none; }

  .hero-scroll-hint { display: none; }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(27,58,92,0.04);
    border-radius: var(--radius-sm);
  }

  .stat-num, .stat-plus { font-size: 2rem; }

  .treatments-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: auto; }

  .timeline::before { left: 11px; }
  .timeline-item { grid-template-columns: 24px 1fr; gap: 1rem; }
  .timeline-dot { width: 14px; height: 14px; }

  .photo-band { height: 40vh; min-height: 280px; }
}

@media (max-width: 479px) {
  .hero-portrait { aspect-ratio: 4/5; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-badge { left: 0; bottom: 1rem; }
  .hero-badge-2 { right: 0; top: 1rem; }
}
