/* ============================================
   MEDIVANA GLOBAL — DESIGN TOKENS
   ============================================ */
:root {
  /* Color */
  --color-primary: #0A4D8C;
  --color-primary-dark: #073A6B;
  --color-secondary: #12B7C9;
  --color-gold: #D4AF37;
  --color-gold-light: #E8C766;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-ink: #1F2937;
  --color-ink-soft: #5B6472;
  --color-line: #E4E9F0;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --section-pad-desktop: 150px;
  --section-pad-tablet: 100px;
  --section-pad-mobile: 72px;
  --container-max: 1240px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; }

.lead {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 640px;
  margin-bottom: 8px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead.center { margin-left: auto; margin-right: auto; }
.eyebrow.center { justify-content: center; }

/* Flag chip — small premium accent, not literal flag image */
.flag-chip {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 50%, var(--color-gold) 50%, var(--color-gold) 100%);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.flag-chip::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  background: var(--color-gold-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px var(--color-primary-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #2A2106;
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,0.45); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

.btn-ghost {
  color: #fff;
  padding: 15px 6px;
  font-weight: 500;
  opacity: 0.85;
}
.btn-ghost:hover { opacity: 1; transform: translateX(3px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(10,77,140,0.08);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 48px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: color .4s var(--ease);
}
.site-header.scrolled .logo { color: var(--color-primary-dark); }

.logo-mark { display: flex; width: 26px; height: 26px; color: var(--color-gold); }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.logo-text em { font-style: normal; color: var(--color-gold); font-weight: 600; }

.main-nav {
  display: flex;
  gap: 34px;
}

@media (min-width: 901px) {
  .main-nav {
    justify-self: center;
  }
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-gold);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--color-ink); }
.main-nav a:hover { color: var(--color-gold); }
.site-header.scrolled .main-nav a:hover { color: var(--color-primary); }

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

@media (min-width: 901px) {
  .header-actions {
    justify-self: end;
    padding-left: 32px;
    position: relative;
  }
  .header-actions::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,0.25);
    transition: background .4s var(--ease);
  }
  .site-header.scrolled .header-actions::before {
    background: var(--color-line);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--color-ink); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 340px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 110px 36px 40px;
    gap: 26px;
    transition: right .45s var(--ease);
    box-shadow: -20px 0 60px rgba(10,77,140,0.15);
  }
  .main-nav.nav-open { right: 0; }
  .main-nav a { color: var(--color-ink); font-size: 1.05rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #06335E 0%, #0A4D8C 55%, #0E6FA8 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 80% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 40% 30%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 60% 10%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 90% 35%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 70% 50%, rgba(255,255,255,0.25), transparent);
  opacity: 0.8;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 0.95; } }

.hero-skyline {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 22vh;
  min-height: 140px;
  max-height: 200px;
}
.skyline-fill { fill: rgba(6, 51, 94, 0.65); }
.skyline-trace {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.5));
  stroke-dasharray: 4200;
  stroke-dashoffset: 4200;
  animation: drawSkyline 3.2s var(--ease) 0.3s forwards;
}
@keyframes drawSkyline { to { stroke-dashoffset: 0; } }

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(18,183,201,0.18), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 150px 32px 130px;
  color: #fff;
}

.hero-content .eyebrow { color: var(--color-gold-light); }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: '✓';
  color: var(--color-secondary);
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 14px;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 4px;
  background: var(--color-gold-light);
  border-radius: 50%;
  margin: 7px auto 0;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* Reveal animations */
.reveal-up { opacity: 0; transform: translateY(24px); animation: revealUp 0.9s var(--ease) forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   SCROLL REVEAL (generic, JS-triggered)
   ============================================ */
.sr {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.sr.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg);
}

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

.about-services {
  margin-top: 44px;
  display: grid;
  gap: 30px;
}

.about-service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-line);
}
.about-service-item:last-child { border-bottom: none; padding-bottom: 0; }

.about-service-item .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-gold);
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 2px;
}

.about-service-item h3 { margin-bottom: 4px; font-size: 1.1rem; }
.about-service-item p { color: var(--color-ink-soft); font-size: 0.95rem; }

.about-visual { position: relative; }

.about-frame {
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 24px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.about-frame::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
}

.pulse-line {
  position: absolute;
  top: 70px; left: 0; right: 0;
  height: 100px;
  opacity: 0.9;
}
.pulse-trace {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawPulse 2.4s var(--ease) 0.5s forwards infinite;
}
@keyframes drawPulse {
  0% { stroke-dashoffset: 700; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -700; }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: #fff;
  font-weight: 500;
}
.about-stats span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ============================================
   TREATMENTS
   ============================================ */
.treatments {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg-alt);
}

.treatments-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.treatment-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  border: 1px solid var(--color-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(10,77,140,0.12);
  border-color: transparent;
}

.t-icon {
  width: 52px; height: 52px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.t-icon svg { width: 100%; height: 100%; }
.treatment-card--gold .t-icon { color: var(--color-gold); }

.treatment-card h3 { font-size: 1.1rem; }
.treatment-card p { color: var(--color-ink-soft); font-size: 0.92rem; flex-grow: 1; margin-bottom: 18px; }

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  transition: gap .3s;
  display: inline-flex;
}
.card-link:hover { color: var(--color-primary); }

/* ============================================
   WHY CHOOSE
   ============================================ */
.why-choose {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg);
}

.why-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
}

.why-item { text-align: center; }

.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  color: var(--color-secondary);
  background: rgba(18,183,201,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.why-item:hover .why-icon { transform: scale(1.08) rotate(-4deg); background: rgba(212,175,55,0.12); color: var(--color-gold); }

.why-item h3 { font-size: 1.02rem; }
.why-item p { color: var(--color-ink-soft); font-size: 0.88rem; }

/* ============================================
   HOSPITALS
   ============================================ */
.hospitals {
  padding: var(--section-pad-desktop) 0;
  background: linear-gradient(180deg, var(--color-bg-alt), #EEF3F8);
  position: relative;
}

.hospitals-track-wrap {
  overflow: hidden;
  margin-top: 60px;
}

.hospitals-track {
  display: flex;
  gap: 24px;
  transition: transform .6s var(--ease);
}

.hospital-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  border: 1px solid var(--color-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hospital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10,77,140,0.1);
}

.hospital-mark {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hospital-card h3 { font-size: 1.05rem; }
.hospital-card p { color: var(--color-ink-soft); font-size: 0.88rem; margin-bottom: 16px; }

.specialty-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(10,77,140,0.07);
  padding: 6px 12px;
  border-radius: 100px;
}

.hospitals-controls {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}
.hospitals-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.1rem;
  transition: all .3s;
}
.hospitals-controls button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ============================================
   PATIENT JOURNEY
   ============================================ */
.journey {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg);
}

.journey-timeline {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 36px;
  position: relative;
}

.journey-step {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-bg-alt);
  transition: border-color .4s, background .4s;
}
.journey-step:hover { background: #fff; border-color: var(--color-secondary); }

.journey-icon {
  width: 44px; height: 44px;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.journey-icon svg { width: 100%; height: 100%; }

.step-no {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-gold);
  opacity: 0.5;
  font-weight: 600;
}

.journey-step h3 { font-size: 1.08rem; }
.journey-step p { color: var(--color-ink-soft); font-size: 0.9rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-pad-desktop) 0;
  background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
}
.testimonials .eyebrow { color: var(--color-gold-light); }
.testimonials h2 { color: #fff; }

.testimonial-slider { margin-top: 56px; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .6s var(--ease);
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.stars {
  color: var(--color-gold-light);
  letter-spacing: 4px;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
  color: #fff;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.patient-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212,175,55,0.2);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(212,175,55,0.4);
}

.testimonial-meta div { text-align: left; }
.testimonial-meta strong { display: block; font-size: 0.92rem; }
.testimonial-meta span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.testi-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all .3s;
}
.testi-dots button.active { background: var(--color-gold); width: 24px; border-radius: 4px; }

/* ============================================
   PARTNERSHIP
   ============================================ */
.partnership {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg);
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.partner-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 40px;
}
.partner-list li {
  font-weight: 500;
  padding-left: 26px;
  position: relative;
}
.partner-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1.5px;
  background: var(--color-gold);
}

.partner-benefits {
  background: var(--color-bg-alt);
  border-radius: 20px;
  padding: 48px 40px;
  display: grid;
  gap: 22px;
}
.benefit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 0.98rem;
}
.benefit-row span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-pad-desktop) 0;
  background: var(--color-bg-alt);
}

.contact-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 34px;
  border: 1px solid var(--color-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(10,77,140,0.1);
}

.c-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(10,77,140,0.07);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.contact-card h3 { font-size: 1.1rem; }
.contact-card p { color: var(--color-ink-soft); margin-bottom: 18px; }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: var(--section-pad-desktop) 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 60%, #0E6FA8);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
}

.final-cta-inner { text-align: center; position: relative; z-index: 1; }
.final-cta h2 { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.final-cta p {
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
}
.final-cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #08233E;
  color: rgba(255,255,255,0.7);
  padding: 90px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text em { color: var(--color-gold); }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; max-width: 26ch; color: rgba(255,255,255,0.5); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 13px;
  color: rgba(255,255,255,0.65);
  transition: color .3s;
}
.footer-col a:hover { color: var(--color-gold-light); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  animation: floatPulse 2.6s ease-in-out infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}
.float-whatsapp:hover { transform: scale(1.08); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .treatments-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 10px; }
}

@media (max-width: 900px) {
  :root {
    --section-pad-desktop: var(--section-pad-tablet);
  }
  .nav-toggle { display: flex; }
  .about-grid, .partnership-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .journey-timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root {
    --section-pad-desktop: var(--section-pad-mobile);
  }
  .header-actions .btn-sm { display: none; }
  .section-inner { padding: 0 22px; }
  .header-inner { padding: 0 22px; }
  .hero-content { padding: 110px 22px 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { width: auto; }
  .hero-trust { gap: 14px 22px; }
  .hero-skyline { height: 14vh; min-height: 90px; }
  .treatments-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .treatment-card { padding: 26px 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .journey-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .hospital-card { flex-basis: 240px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.05rem; }
  .header-actions { gap: 12px; }
}

@media (max-width: 420px) {
  .treatments-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}
