/* ============================================================
   Rawal Hospital — style.css
   Aesthetic: Heritage Green · Warm Gold · Cream
   Fonts: Cormorant Garant (serif) + Outfit (sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --green:       #1B4332;
  --green-mid:   #2D6A4F;
  --green-light: #40916C;
  --gold:        #C9A84C;
  --gold-light:  #E9C96E;
  --cream:       #FDFAF5;
  --cream-dark:  #F5EFE0;
  --white:       #FFFFFF;
  --text:        #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-muted:  #888;
  --border:      #E5DDD0;

  --font-serif:  'Cormorant Garant', Georgia, serif;
  --font-sans:   'Outfit', system-ui, sans-serif;

  --header-h:    88px;
  --bar-h:       40px;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;

  --shadow-sm:   0 1px 4px rgba(27,67,50,.08);
  --shadow-md:   0 4px 20px rgba(27,67,50,.12);
  --shadow-lg:   0 12px 40px rgba(27,67,50,.18);

  --fast:   150ms ease;
  --medium: 300ms ease;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.reveal-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: none; }

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────── */
.announcement-bar {
  background: var(--green);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 0 24px;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: .01em;
}
.announcement-bar a { color: var(--gold-light); font-weight: 600; }
.announcement-bar a:hover { text-decoration: underline; }
.bar-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.7);
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px 8px;
}
.bar-close:hover { color: white; }

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--medium);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-icon { width: 56px; height: 56px; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-icon-default {
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-name .highlight { color: var(--gold); }
.logo-tagline {
  font-size: .68rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.logo-light .logo-name { color: var(--white); }
.logo-light .logo-name .highlight { color: var(--gold-light); }
.logo-light .logo-tagline { color: rgba(255,255,255,.6); }

/* Desktop nav */
.nav-desktop { flex: 1; }
.nav-desktop > ul { display: flex; align-items: center; gap: 4px; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop > ul > li > a {
  display: flex; align-items: center; gap: 4px;
  font-size: .95rem; font-weight: 500;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--fast);
}
.nav-desktop > ul > li > a:hover { color: var(--green); background: var(--cream-dark); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 210px; padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--fast); z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 9px 14px;
  font-size: .875rem; color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--fast);
}
.dropdown li a:hover { background: var(--cream-dark); color: var(--green); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn-emergency {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600;
  color: var(--green); border: 1.5px solid var(--green);
  padding: 9px 18px; border-radius: 100px;
  transition: all var(--fast);
}
.btn-emergency:hover { background: var(--green); color: var(--white); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--green);
  font-family: var(--font-sans); font-size: .95rem;
  font-weight: 700; padding: 12px 26px;
  border-radius: 100px;
  transition: all var(--fast);
  box-shadow: 0 4px 14px rgba(201,168,76,.35);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.45);
}
.btn-primary.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-primary.btn-block { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--green); color: var(--green);
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  padding: 12px 26px; border-radius: 100px;
  transition: all var(--fast);
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline.btn-lg { padding: 14px 34px; font-size: 1.05rem; }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.5); color: var(--white);
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  padding: 14px 32px; border-radius: 100px;
  transition: all var(--fast);
}
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--green);
  font-size: .82rem; font-weight: 700;
  padding: 8px 16px; border-radius: 100px;
  transition: all var(--fast);
}
.btn-sm:hover { background: var(--gold-light); }
.btn-sm.btn-ghost {
  background: transparent; border: 1.5px solid var(--border); color: var(--text-mid);
}
.btn-sm.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
  transition: background var(--fast);
}
.nav-toggle:hover { background: var(--cream-dark); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.nav-mobile {
  max-height: 0; overflow: hidden; opacity: 0;
  pointer-events: none;
  background: var(--cream); border-top: 1px solid var(--border);
  transition: max-height .35s ease, opacity .3s ease;
}
.nav-mobile ul { padding: 16px 24px 20px; display: flex; flex-direction: column; gap: 2px; }
.nav-mobile a {
  display: block; padding: 11px 16px;
  font-size: .95rem; font-weight: 500; color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--fast);
}
.nav-mobile a:hover { color: var(--green); background: var(--cream-dark); }
.mobile-cta {
  background: var(--gold) !important; color: var(--green) !important;
  font-weight: 700 !important; text-align: center;
  border-radius: 100px !important; margin-top: 8px;
}

/* ── SECTION COMMON ───────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.bg-light { background: var(--cream); }
.bg-green { background: var(--green); }
.bg-cream-dark { background: var(--cream-dark); }

.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 12px;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--green); margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }

.section-subtitle {
  font-size: 1.05rem; color: var(--text-mid);
  max-width: 560px; margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,.75); }

.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-footer { text-align: center; margin-top: 48px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--green);
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h) - var(--bar-h));
  display: flex; align-items: center;
}

/* Decorative pattern */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,.12) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(64,145,108,.2) 0%, transparent 50%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; z-index: 2;
}

/* Gold divider */
.hero-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(201,168,76,.4);
  background: rgba(201,168,76,.1);
  color: var(--gold-light);
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px; max-width: 480px;
}

.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Stat bar */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 28px;
  backdrop-filter: blur(8px);
}
.stat-item { text-align: center; flex: 1; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold-light); display: block;
  line-height: 1;
}
.stat-label { font-size: .72rem; color: rgba(255,255,255,.65); letter-spacing: .05em; margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-image-card {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  aspect-ratio: 4/3;
  position: relative;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,.08);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; min-height: 340px;
}
.placeholder-text { color: rgba(255,255,255,.4); font-size: .8rem; text-align: center; }

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  font-size: .85rem; font-weight: 500;
  min-width: 180px;
  animation: float 4s ease-in-out infinite;
}
.hero-float-card strong { display: block; font-size: .9rem; color: var(--green); }
.hero-float-card span { color: var(--text-muted); font-size: .78rem; }
.card-left { bottom: 24px; left: -24px; animation-delay: 0s; }
.card-right { top: 24px; right: -24px; animation-delay: 2s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.emergency-icon { background: #FEE2E2; color: #DC2626; }
.success-icon { background: #DCFCE7; color: #16A34A; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  z-index: 2;
}
.scroll-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(6px) } }

/* ── QUICK ACCESS ─────────────────────────────────────────── */
.quick-access {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 5;
}
.quick-access-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.qa-item {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  transition: background var(--fast);
}
.qa-item:last-child { border-right: none; }
.qa-item:hover { background: var(--cream); }
.qa-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
  transition: background var(--fast);
}
.qa-item:hover .qa-icon { background: var(--green); color: var(--white); }
.qa-item strong { display: block; font-size: .9rem; font-weight: 600; color: var(--green); }
.qa-item span { font-size: .78rem; color: var(--text-muted); }
.qa-emergency .qa-icon { background: #FEE2E2; color: #DC2626; }
.qa-emergency:hover .qa-icon { background: #DC2626; color: white; }
.qa-emergency strong { color: #DC2626; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

/* Visuals stack */
.about-visuals { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/3;
}
.about-img-main img { width:100%;height:100%;object-fit:cover; }
.about-img-secondary {
  position: absolute; bottom: -28px; right: -20px;
  width: 52%; aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-img-secondary img { width:100%;height:100%;object-fit:cover; }
.about-badge {
  position: absolute; bottom: -28px; left: -16px;
  background: var(--green); color: var(--white);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); z-index: 2;
  font-size: .82rem;
}
.about-badge strong { display: block; font-weight: 700; font-size: .9rem; }
.about-badge span { color: rgba(255,255,255,.7); font-size: .75rem; }
.about-badge svg { color: var(--gold); flex-shrink: 0; }

/* About content */
.about-content { padding-bottom: 32px; }
.section-desc { color: var(--text-mid); margin-bottom: 16px; line-height: 1.75; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.pillar {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream); border-radius: var(--radius);
  padding: 18px; border: 1px solid var(--border);
}
.pillar-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar strong { display: block; font-size: .9rem; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.pillar p { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Year founded ribbon */
.founded-ribbon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 18px;
  font-size: .8rem; font-weight: 600; color: var(--green);
  margin-bottom: 20px;
}
.founded-ribbon svg { color: var(--gold); }

/* ── DEPARTMENTS ──────────────────────────────────────────── */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--medium);
  display: block;
  position: relative; overflow: hidden;
}
.dept-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--medium);
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dept-card:hover::after { transform: scaleX(1); }
.dept-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--dept-color, var(--cream-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.dept-card h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.dept-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.dept-link { font-size: .8rem; font-weight: 700; color: var(--green-light); letter-spacing: .02em; }

/* ── DOCTORS ──────────────────────────────────────────────── */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doctor-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--medium);
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-photo {
  aspect-ratio: 4/5; overflow: hidden;
  position: relative; background: var(--cream-dark);
}
.doctor-photo img { width:100%;height:100%;object-fit:cover;transition:transform .4s ease; }
.doctor-card:hover .doctor-photo img { transform: scale(1.04); }
.doctor-experience {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 5px 10px; border-radius: 100px;
  letter-spacing: .03em;
}

/* Placeholder for doctor photo */
.img-placeholder {
  background: linear-gradient(135deg, hsl(calc(var(--ph-hue, 150)) 30% 88%), hsl(calc(var(--ph-hue, 150)) 20% 78%));
  display: flex; align-items: center; justify-content: center;
}
.placeholder-label {
  font-size: .78rem; color: rgba(0,0,0,.35); text-align: center;
  font-family: monospace; background: rgba(255,255,255,.4);
  padding: 8px 14px; border-radius: 8px; border: 1px dashed rgba(0,0,0,.2);
}

.doctor-info { padding: 20px; }
.doctor-dept {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 8px;
}
.doctor-info h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.doctor-info p { font-size: .8rem; color: var(--text-muted); margin-bottom: 4px; }
.doctor-desc { color: var(--text-mid) !important; font-size: .82rem !important; line-height: 1.5; margin-bottom: 16px !important; }
.doctor-actions { display: flex; gap: 8px; }

/* ── EMERGENCY ────────────────────────────────────────────── */
.emergency-section {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 50%, #7F1D1D 100%);
  position: relative; overflow: hidden; padding: clamp(60px, 8vw, 100px) 0;
}
.emergency-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
}
.emergency-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.emergency-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: white; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 100px;
  margin-bottom: 24px; position: relative;
}
.pulse-ring {
  width: 10px; height: 10px;
  background: #FCA5A5; border-radius: 50%;
  position: relative;
}
.pulse-ring::after {
  content: ''; position: absolute; inset: -4px;
  border: 2px solid #FCA5A5; border-radius: 50%;
  animation: pulse-anim 1.5s ease-out infinite;
}
@keyframes pulse-anim { 0%{ opacity:1;transform:scale(1) } 100%{ opacity:0;transform:scale(2) } }
.emergency-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: white; line-height: 1.2;
  margin-bottom: 16px;
}
.emergency-content h2 em { font-style: italic; color: #FCA5A5; }
.emergency-content p { color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.75; }
.emergency-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-emergency-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: #991B1B;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 700;
  padding: 16px 32px; border-radius: 100px;
  transition: all var(--fast); box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-emergency-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.btn-ambulance {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255,255,255,.5); color: white;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  padding: 14px 28px; border-radius: 100px;
  transition: all var(--fast);
}
.btn-ambulance:hover { background: rgba(255,255,255,.15); border-color: white; }

.emergency-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.emerg-feat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  backdrop-filter: blur(8px);
}
.emerg-feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.15); color: #FCA5A5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.emerg-feat strong { display: block; color: white; font-size: .9rem; margin-bottom: 4px; }
.emerg-feat p { color: rgba(255,255,255,.65); font-size: .8rem; line-height: 1.4; margin: 0; }

/* ── APPOINTMENT ──────────────────────────────────────────── */
.appointment-wrapper {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 72px; align-items: start;
}
.appointment-info .section-title { margin-bottom: 16px; }
.appointment-info p { color: var(--text-mid); margin-bottom: 28px; }

.appt-reassurances { margin-bottom: 32px; }
.reassurance-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--text-mid); margin-bottom: 12px;
}
.reassurance-item svg { color: var(--green-light); flex-shrink: 0; }

.contact-quick a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--green);
  transition: color var(--fast);
}
.contact-quick a:hover { color: var(--gold); }

/* Form */
.appointment-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: .83rem; font-weight: 600;
  color: var(--green); margin-bottom: 7px; letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text); background: var(--white);
  transition: border-color var(--fast), box-shadow var(--fast);
  appearance: none; font-family: var(--font-sans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(27,67,50,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%231B4332'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-success {
  display: none; align-items: center; gap: 10px;
  color: var(--green-light); font-weight: 600; margin-top: 12px;
}

/* ── FACILITIES ───────────────────────────────────────────── */
.facilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facility-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: all var(--medium); text-align: center;
}
.facility-card:hover {
  background: var(--green); border-color: var(--green);
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.facility-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--cream-dark); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; transition: all var(--medium);
}
.facility-card:hover .facility-icon { background: rgba(255,255,255,.15); color: var(--gold-light); }
.facility-card h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--green); margin-bottom: 10px; transition: color var(--medium); }
.facility-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; transition: color var(--medium); }
.facility-card:hover h3 { color: var(--white); }
.facility-card:hover p { color: rgba(255,255,255,.7); }

/* ── WHY CHOOSE US ────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: all var(--medium);
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-number {
  font-family: var(--font-serif);
  font-size: 3.5rem; font-weight: 700;
  color: var(--gold); opacity: .4; line-height: 1;
  margin-bottom: 16px; letter-spacing: -0.04em;
}
.why-card h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 10px; }
.why-card p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--medium); position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif); font-size: 5rem;
  color: var(--gold); opacity: .15; line-height: 1;
  position: absolute; top: 16px; right: 24px;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-family: var(--font-serif); font-size: 1rem;
  font-style: italic; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--green); }
.testimonial-author span { font-size: .78rem; color: var(--text-muted); }

/* Trust strip */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding: 32px; background: var(--cream);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-logo {
  font-family: var(--font-serif); font-size: 1.3rem;
  font-weight: 700; color: var(--green);
}
.trust-item span { font-size: .75rem; color: var(--text-muted); letter-spacing: .05em; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--cream-dark); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.contact-item p { font-size: .88rem; color: var(--text-mid); margin: 2px 0; }
.contact-item a { color: var(--green-light); }
.contact-item a:hover { color: var(--gold); text-decoration: underline; }

.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-dark); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--fast);
}
.social-btn:hover { background: var(--green); color: white; }

.map-container { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.map-container iframe { display: block; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--green); color: rgba(255,255,255,.8); }
.footer-top { padding: clamp(48px, 6vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; margin-top: 20px; color: rgba(255,255,255,.65); }
.footer-accreditations { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.accred-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 10px; border: 1px solid rgba(201,168,76,.4);
  border-radius: 6px; color: var(--gold-light);
}

.footer-links h4 {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  color: white; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--fast); }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.5); transition: color var(--fast); }
.footer-legal a:hover { color: var(--gold-light); }

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all var(--medium); z-index: 99;
}
.back-to-top:hover { background: var(--green-mid); transform: translateY(-2px) !important; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .departments-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .appointment-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .about-img-secondary { width: 50%; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .btn-emergency { display: none; }

  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 80%; height: 1px; }
  .hero-float-card { display: none; }

  .quick-access-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-secondary { width: 50%; }

  .departments-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .emergency-inner { grid-template-columns: 1fr; gap: 40px; }
  .emergency-features { grid-template-columns: 1fr; }

  .appointment-wrapper { grid-template-columns: 1fr !important; gap: 32px !important; }
  .appointment-info { text-align: center; }
  .contact-quick { display: flex; justify-content: center; }
  .appt-reassurances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .reassurance-item { font-size: .82rem; }
  .appointment-form { padding: 20px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .form-group input, .form-group select, .form-group textarea { padding: 14px 16px !important; font-size: 1rem !important; }
  #apptSubmitBtn { width: 100%; justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .about-pillars { grid-template-columns: 1fr; }
  .trust-strip { gap: 24px; }
}

@media (max-width: 480px) {
  .quick-access-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group > * { width: 100%; justify-content: center; }
  .emergency-actions { flex-direction: column; }
  .btn-emergency-lg, .btn-ambulance { width: 100%; justify-content: center; }
  .doctor-actions { flex-direction: column; }
  .doctor-actions .btn-sm { width: 100%; justify-content: center; }
  .appt-reassurances { grid-template-columns: 1fr; }
}
