/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Layered background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,172,160,.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 20% 60%, rgba(201,168,76,.07) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 45%, #07111e 100%);
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

/* Animated floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,172,160,.12), transparent 70%);
  top: -100px; right: 5%;
  animation-duration: 14s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 70%);
  bottom: 0; left: 10%;
  animation-duration: 10s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* ── Content ── */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  padding-top: 100px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* ── Left: text ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroFadeUp .8s var(--ease-out) .2s forwards;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50%       { opacity:.4; transform:scale(.65); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--space-5);
  opacity: 0;
  animation: heroFadeUp .9s var(--ease-out) .35s forwards;
}

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

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroFadeUp .9s var(--ease-out) .5s forwards;
}

.cred-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-gold);
  color: var(--gold-pale);
  background: rgba(201,168,76,.07);
  white-space: nowrap;
}

.hero-tagline {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: heroFadeUp .9s var(--ease-out) .65s forwards;
}

.hero-tagline strong { color: rgba(255,255,255,.85); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: heroFadeUp .9s var(--ease-out) .78s forwards;
}

/* ── Stats bar ── */
.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  animation: heroFadeUp .9s var(--ease-out) .9s forwards;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: block;
  margin-top: 4px;
}

/* ── Right: doctor card ── */
.hero-card {
  position: relative;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) .5s forwards;
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-light);
}

/* Placeholder gradient when no photo */
.hero-photo-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-placeholder svg {
  width: 140px; height: 140px;
  opacity: 0.12;
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Gold border accent */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border-gold);
  z-index: 1;
  pointer-events: none;
}

/* Floating info chip */
.hero-chip {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-chip-icon {
  width: 36px; height: 36px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-chip-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  display: block;
}

.hero-chip-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

/* Decorative ring */
.hero-ring {
  position: absolute;
  top: -24px; right: -24px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.12);
  z-index: 0;
  animation: heroSpin 30s linear infinite;
}
.hero-ring::after {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: -4px;
  opacity: .5;
}

@keyframes heroSpin { to { transform: rotate(360deg); } }

/* ── Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: heroFadeIn 1s .ease-out 1.4s forwards;
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out) 1.4s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,.5), transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── Keyframes ── */
@keyframes heroFadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: none; }
}
@keyframes heroFadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-credentials { justify-content: center; }
  .hero-actions      { justify-content: center; }
  .hero-stats        { justify-content: center; }
  .hero-tagline      { margin-inline: auto; }
  .hero-card         { max-width: 360px; margin-inline: auto; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: var(--space-6); }
  .hero-chip  { font-size: 12px; padding: 10px 16px; }
}
