/* ============================================
   Neuroplexus — Clínica de Neurologia e Psiquiatria
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --teal-950: #071f1e;
  --teal-900: #0a3634;
  --teal-800: #0f4442;
  --teal-700: #155452;
  --teal-600: #1c6764;
  --mint-300: #d9f0b8;
  --mint-400: #c9e79f;
  --mint-500: #b3db7c;
  --cream-050: #fbf8f1;
  --cream-100: #f4efe1;
  --cream-200: #ece3cd;
  --wood-400: #a9835f;
  --ink: #12201f;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-050);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--mint-500);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--teal-950);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-top: 10px;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  color: #3d4f4d;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #4a5c5a;
  max-width: 60ch;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint-400);
  color: var(--teal-950);
  box-shadow: 0 8px 24px -8px rgba(201, 231, 159, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(201, 231, 159, 0.8);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  opacity: 0.85;
}

.btn-ghost:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  height: 25px;
  width: auto;
}

.brand-word {
  position: relative;
  display: inline-block;
  height: 17px;
  width: 151px;
}

.brand-word img {
  position: absolute;
  left: 0;
  top: 0;
  height: 17px;
  width: auto;
  max-width: none;
  transition: opacity 0.35s var(--ease);
}

.brand-word .word-dark {
  opacity: 0;
}

.site-header.scrolled .brand-word .word-light, .site-header.static .brand-word .word-light {
  opacity: 0;
}

.site-header.scrolled .brand-word .word-dark, .site-header.static .brand-word .word-dark {
  opacity: 1;
}

.site-header.scrolled, .site-header.static {
  padding: 12px 0;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(10, 54, 52, 0.08);
}

.site-header.scrolled .brand, .site-header.static .brand {
  color: var(--teal-950);
}

.site-header.scrolled .nav-links a, .site-header.static .nav-links a {
  color: var(--teal-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.25s;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.site-header.scrolled .nav-toggle span, .site-header.static .nav-toggle span {
  background: var(--teal-950);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(7, 31, 30, 0.55) 0%, rgba(7, 31, 30, 0.72) 55%, rgba(7, 31, 30, 0.94) 100%), url('../assets/images/hero-background.jpg') center 30% / cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 10%, rgba(201, 231, 159, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
  padding-top: 180px;
}

.hero-tag {
  color: var(--mint-400);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-style: italic;
  font-weight: 400;
  max-width: 14ch;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat {
  color: var(--white);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--mint-400);
}

.stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.scroll-cue {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.scroll-cue span {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mint-400);
  animation: scrollDown 2.2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============ SYMPTOMS / MANIFESTO ============ */
.symptoms {
  background: var(--teal-950);
  padding: 110px 0;
}

.symptoms .section-head h2,
.symptoms .eyebrow {
  color: var(--white);
}

.symptoms .eyebrow {
  color: var(--mint-400);
}

.symptoms .lede {
  color: rgba(255, 255, 255, 0.65);
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.symptom-card {
  background: var(--teal-900);
  padding: 40px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
}

.symptom-card:hover {
  background: var(--teal-800);
}

.symptom-card .num {
  font-family: var(--font-display);
  color: var(--mint-500);
  font-size: 0.95rem;
  opacity: 0.7;
}

.symptom-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.28;
  margin-top: 24px;
}

/* ============ SPECIALTIES ============ */
.specialties {
  padding: 120px 0;
}

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.specialty-card {
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.specialty-card.neuro {
  background: linear-gradient(155deg, var(--teal-900), var(--teal-950));
  color: var(--white);
}

.specialty-card.psi {
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
}

.specialty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}

.specialty-card.neuro .specialty-icon {
  background: rgba(201, 231, 159, 0.15);
}

.specialty-card.psi .specialty-icon {
  background: var(--mint-300);
}

.specialty-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--mint-400);
}

.specialty-card.psi .specialty-icon svg {
  stroke: var(--teal-900);
}

.specialty-card h3 {
  font-size: 1.7rem;
  margin-top: 22px;
}

.specialty-card.neuro h3 {
  color: var(--white);
}

.specialty-card p {
  margin-top: 12px;
}

.specialty-card.neuro p {
  color: rgba(255, 255, 255, 0.72);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.specialty-card.psi .tag {
  background: var(--white);
  color: var(--teal-800);
}

/* ============ ABOUT ============ */
.about {
  background: var(--cream-100);
  padding: 120px 0;
}

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 31, 30, 0.72);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-body p {
  margin-top: 18px;
  font-size: 1.02rem;
}

.about-body p.lede-strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--teal-950);
  line-height: 1.4;
}

.about-signoff {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-200);
  display: flex;
  gap: 32px;
}

.about-signoff div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal-800);
}

.about-signoff div span {
  font-size: 0.8rem;
  color: #6b7a78;
}

/* ============ PROCEDURES ============ */
.procedures {
  padding: 120px 0;
}

.proc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--cream-200);
}

.proc-item {
  border-bottom: 1px solid var(--cream-200);
}

.proc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.proc-trigger .left {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.proc-trigger .idx {
  font-family: var(--font-display);
  color: var(--mint-500);
  font-size: 1rem;
  width: 28px;
  flex-shrink: 0;
}

.proc-trigger h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  transition: color 0.3s;
}

.proc-item.open .proc-trigger h3 {
  color: var(--teal-700);
}

.proc-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-200);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s;
}

.proc-plus::before, .proc-plus::after {
  content: '';
  position: absolute;
  background: var(--teal-900);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.proc-plus::before { width: 12px; height: 1.5px; }
.proc-plus::after { width: 1.5px; height: 12px; transition: opacity 0.3s; }

.proc-item.open .proc-plus {
  background: var(--mint-400);
  border-color: var(--mint-400);
  transform: rotate(180deg);
}

.proc-item.open .proc-plus::after { opacity: 0; }

.proc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.proc-panel-inner {
  padding: 0 4px 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proc-panel-inner .col span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 8px;
}

.proc-panel-inner .col p {
  font-size: 0.92rem;
}

/* ============ SPACE / VIDEO ============ */
.space {
  background: var(--teal-950);
  padding: 120px 0;
  color: var(--white);
}

.space .eyebrow { color: var(--mint-400); }
.space .lede { color: rgba(255, 255, 255, 0.65); }
.space h2 { color: var(--white); }

.space-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 20px;
}

.space-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #000;
  aspect-ratio: 9/16;
  max-height: 640px;
  margin: 0 auto;
  width: 100%;
}

.space-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(7, 31, 30, 0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-400);
}

.space-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.space-feature {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.space-feature:first-child { padding-top: 0; }

.space-feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 231, 159, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.space-feature .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--mint-400);
}

.space-feature h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.space-feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* ============ TEAM ============ */
.team {
  padding: 120px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(10, 54, 52, 0.25);
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal-800), var(--teal-950));
  color: var(--mint-400);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 20px;
}

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

.team-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-950);
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--teal-700);
  font-weight: 600;
  margin-top: 2px;
}

.team-card .focus {
  font-size: 0.85rem;
  color: #6b7a78;
  margin-top: 12px;
}

.team-note {
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--cream-100);
  font-size: 0.85rem;
  color: #6b7a78;
  border-left: 3px solid var(--mint-400);
}

/* ============ FAQ ============ */
.faq {
  background: var(--cream-100);
  padding: 120px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--cream-200);
}

.faq-q {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--teal-950);
}

.faq-q .sign { font-size: 1.3rem; color: var(--teal-700); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding-bottom: 22px;
  font-size: 0.95rem;
}

/* ============ LOCATION ============ */
.location {
  padding: 120px 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.location-card {
  background: var(--teal-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card .eyebrow { color: var(--mint-400); }

.location-card .btn-primary {
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.3);
}

.location-card .btn-primary:hover {
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.35);
}

.location-info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.location-info .row {
  display: flex;
  gap: 16px;
}

.location-info .row svg {
  width: 20px;
  height: 20px;
  stroke: var(--mint-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-info .row strong {
  display: block;
  font-size: 0.95rem;
}

.location-info .row span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--cream-200);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 140px 0;
  text-align: center;
  background: linear-gradient(155deg, var(--cream-050), var(--cream-100));
}

.final-cta h2 {
  font-style: italic;
  max-width: 16ch;
  margin: 0 auto;
}

.final-cta .lede {
  margin: 20px auto 0;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--teal-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; max-width: 30ch; }

.footer-col h5 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--mint-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-right: 84px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mint-400);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(10, 54, 52, 0.5);
  transition: transform 0.3s var(--ease);
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; stroke: var(--teal-950); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ DISEASES GRID ============ */
.diseases {
  background: var(--cream-100);
  padding: 120px 0;
}

.disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.disease-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.disease-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -20px rgba(10, 54, 52, 0.3);
  border-color: var(--mint-400);
}

.disease-card .n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--mint-500);
  flex-shrink: 0;
  width: 34px;
}

.disease-card span.label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-950);
  line-height: 1.3;
}

/* ============ HOSPITAL NEUROLOGY ============ */
.hospital {
  padding: 120px 0;
}

.hospital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hospital-body p {
  margin-top: 18px;
}

.hospital-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  background: var(--cream-100);
  border-radius: var(--radius-md);
}

.hospital-centered {
  max-width: 760px;
  margin: 0 auto;
}

.hospital-centered .hospital-flow {
  justify-content: center;
}

.hospital-flow .step {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-800);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cream-200);
}

.hospital-flow .arrow {
  color: var(--mint-500);
  font-size: 1rem;
}

.hospital-credentials {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
  margin-bottom: 14px;
}

.credential-card .avatar {
  margin-bottom: 0;
  flex-shrink: 0;
}

.credential-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--teal-950);
}

.credential-card p {
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ============ TEAM: FOUNDERS + LINK CARDS ============ */
.founders-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.founder-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/3.6;
  background: var(--teal-950);
}

.founder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

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

.founder-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,31,30,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.founder-card .tag {
  align-self: flex-start;
  background: var(--mint-400);
  color: var(--teal-950);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.founder-card h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.founder-card .role {
  color: var(--mint-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

.founder-card .crm {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  margin-top: 8px;
}

.team-link-card {
  display: block;
  background: var(--cream-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(10, 54, 52, 0.25);
}

.team-link-card .photo {
  aspect-ratio: 3/3.4;
  overflow: hidden;
  background: var(--teal-900);
}

.team-link-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-link-card .info {
  padding: 20px 20px 24px;
}

.team-link-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-950);
}

.team-link-card .crm-small {
  font-size: 0.76rem;
  color: #8a9694;
  margin-top: 6px;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--teal-800), var(--teal-950));
}

.placeholder-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(201, 231, 159, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-badge svg {
  width: 34px;
  height: 34px;
  stroke: var(--mint-400);
}

/* ============ DOCTOR INDIVIDUAL PAGE ============ */
.doctor-hero {
  padding: 170px 0 90px;
  background: var(--cream-100);
}

.doctor-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: end;
}

.doctor-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/3.7;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-photo-wrap.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--teal-800), var(--teal-950));
}

.doctor-photo-wrap.placeholder span {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--mint-400);
}

.doctor-crm {
  display: inline-flex;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 18px;
  border: 1px solid var(--cream-200);
}

.doctor-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-style: italic;
  color: var(--teal-950);
}

.doctor-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-top: 10px;
}

.doctor-bio-section {
  padding: 90px 0;
}

.doctor-bio-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
}

.doctor-bio-grid p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.doctor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 26px;
}

.sidebar-card h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}

.sidebar-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-card li {
  font-size: 0.92rem;
  color: var(--teal-950);
  padding-left: 16px;
  position: relative;
}

.sidebar-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-500);
}

.doctor-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--cream-100);
  font-size: 0.85rem;
  color: #6b7a78;
  border-left: 3px solid var(--mint-400);
}

.back-to-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 26px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-grid { grid-template-columns: 1fr; }
  .about .container { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; aspect-ratio: 4/3; }
  .space-grid { grid-template-columns: 1fr; }
  .space-video-wrap { max-height: 420px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .disease-grid { grid-template-columns: repeat(2, 1fr); }
  .hospital-grid { grid-template-columns: 1fr; gap: 36px; }
  .founders-row { grid-template-columns: 1fr; }
  .doctor-hero-grid { grid-template-columns: 1fr; }
  .doctor-photo-wrap { max-width: 340px; }
  .doctor-bio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--teal-950);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--white) !important; font-size: 1.1rem; }
  .header-actions .btn-primary.nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { padding-top: 140px; padding-bottom: 60px; }
  .hero-stats { gap: 20px; }
  .scroll-cue { display: none; }

  .symptoms, .specialties, .about, .procedures, .space, .team, .faq, .location, .final-cta, .diseases, .hospital { padding: 76px 0; }
  .symptom-grid { grid-template-columns: 1fr; }
  .proc-panel-inner { grid-template-columns: 1fr; gap: 18px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .location-card { padding: 36px 28px; }
  .disease-grid { grid-template-columns: 1fr; }
  .doctor-hero { padding: 130px 0 60px; }
}
