/* ================================================
   RAMAYAN HOSPITAL — Minimalist Warm Stylesheet
   ================================================ */

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

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Warm Palette */
  --cream:        #FDF8F3;
  --cream-dark:   #F5EDE2;
  --warm-white:   #FFFFFF;
  --red:          #C0392B;
  --red-soft:     #E8574A;
  --red-pale:     #FAEAE9;
  --navy:         #1E2D40;
  --navy-mid:     #2E4057;
  --gold:         #C9860A;
  --gold-pale:    #FEF3DC;
  --sage:         #5A7A6E;
  --sage-pale:    #EAF2EF;

  /* Text */
  --text-dark:    #1A1208;
  --text-mid:     #4A3728;
  --text-muted:   #8A7060;
  --text-light:   #B8A898;

  /* UI */
  --border:       #EAE0D5;
  --border-dark:  #D4C8BA;
  --shadow-warm:  0 2px 12px rgba(100, 60, 20, .08);
  --shadow-card:  0 4px 24px rgba(100, 60, 20, .10);
  --shadow-float: 0 8px 40px rgba(100, 60, 20, .14);

  /* Spacing */
  --s1: .5rem;  --s2: 1rem;   --s3: 1.5rem;
  --s4: 2rem;   --s5: 3rem;   --s6: 4.5rem;
  --s7: 6rem;

  /* Radius */
  --r-xs: 4px;  --r-sm: 8px;  --r-md: 14px;
  --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Transition */
  --ease: cubic-bezier(.4,0,.2,1);
  --t: 220ms var(--ease);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.section-pad { padding: var(--s7) 0; }

/* ---------- SECTION HEADERS ---------- */
.sec-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s2);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--s2);
}

.sec-rule {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: var(--r-full);
  margin: 0 auto var(--s3);
}
.sec-rule.left { margin-left: 0; }

.sec-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.8;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 14px rgba(192,57,43,.3);
}
.btn-red:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,.38);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover {
  background: var(--red-pale);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 3px 14px rgba(30,45,64,.25);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 3px 14px rgba(201,134,10,.3);
}
.btn-gold:hover {
  background: #b07508;
  transform: translateY(-2px);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  background: rgba(253,248,243,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: var(--shadow-card); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: var(--s3);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream-dark);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
}
.logo-sub {
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Nav links */
.nav-menu { margin-left: auto; }
.nav-menu ul { list-style: none; display: flex; gap: .1rem; }
.nav-link {
  display: block;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: var(--r-full);
  transition: all var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--red); background: var(--red-pale); }

/* Emergency pill */
.nav-emr {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--red);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all var(--t);
  flex-shrink: 0;
}
.nav-emr:hover { background: #a93226; }
.dot-live {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.4s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--t);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1A0C08 0%, #2C1810 30%, #1E2D40 70%, #0D1A2E 100%);
}

/* Warm overlay texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(192,57,43,.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(201,134,10,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: var(--s6) 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s6);
  align-items: center;
}

/* Left */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s3);
}
.live-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.4s ease infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: var(--s3);
}
.accent-text {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(135deg, #F5A48B, #E8735A, #F0C060);
}

.hero-para {
  font-size: 1.02rem;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: var(--s4);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: var(--s3);
}
.hstat {
  display: flex;
  flex-direction: column;
  padding-right: var(--s4);
  margin-right: var(--s4);
  border-right: 1px solid rgba(255,255,255,.12);
}
.hstat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hstat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hstat-num span { color: var(--gold); }
.hstat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* Right — contact card */
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  padding: var(--s4);
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: all var(--t);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row:hover .cr-label { color: var(--gold); }

.cr-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cr-icon.red   { background: rgba(192,57,43,.25); }
.cr-icon.gold  { background: rgba(201,134,10,.25); }
.cr-icon.green { background: rgba(74,222,128,.15); }

.cr-meta { display: flex; flex-direction: column; }
.cr-type {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.cr-label {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: color var(--t);
}

.emr-note {
  margin-top: var(--s3);
  background: rgba(192,57,43,.18);
  border: 1px solid rgba(192,57,43,.3);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: rgba(255,180,160,.9);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ================================================
   ABOUT
   ================================================ */
.about { background: var(--warm-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

.about-intro {
  font-size: 1.08rem;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: var(--s3);
}

.about-body {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: var(--s4);
  font-size: .95rem;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s2);
  transition: all var(--t);
}
.pillar:hover {
  border-color: var(--red);
  background: var(--red-pale);
  transform: translateY(-2px);
}
.pillar-icon { font-size: 1.3rem; margin-bottom: .4rem; display: block; }
.pillar strong {
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: .2rem;
}
.pillar p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* MD Card */
.md-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-xl);
  padding: var(--s4) var(--s4);
  color: #fff;
  box-shadow: var(--shadow-float);
  margin-bottom: var(--s3);
}
.md-card-top {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
}
.md-avatar {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.md-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .25rem;
}
.md-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.md-body {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: var(--s3);
}
.md-quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--s2);
  font-style: italic;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
}

.services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: var(--r-full);
}

/* ================================================
   DOCTORS
   ================================================ */
.doctors { background: var(--cream); }

/* Lead doctor */
.chief-card {
  display: flex;
  align-items: center;
  gap: var(--s4);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s5);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.chief-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--red-soft));
  border-radius: 2px 0 0 2px;
}
.chief-avatar {
  width: 90px; height: 90px;
  background: var(--red-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  border: 2px solid rgba(192,57,43,.15);
}
.chief-badge {
  position: absolute;
  top: var(--s2); right: var(--s3);
  background: var(--gold-pale);
  border: 1px solid rgba(201,134,10,.2);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
}
.chief-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}
.chief-qual {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  margin-bottom: .5rem;
  margin-right: .25rem;
}
.chief-spec {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: var(--s2);
}
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cred {
  font-size: .8rem;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: .25rem .75rem;
  border-radius: var(--r-full);
}

/* Doctor grid */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: var(--s2);
  margin-bottom: var(--s5);
}

.doc-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
  text-align: center;
  transition: all var(--t);
  cursor: default;
}
.doc-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.doc-av {
  width: 64px; height: 64px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s2);
  color: var(--text-muted);
  font-size: 1.5rem;
}
.doc-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.doc-qual {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: .4rem;
}
.doc-spec-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  background: var(--red-pale);
  color: var(--red);
}

/* Specialty row */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  padding: var(--s4) var(--s3);
  background: var(--warm-white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
.spec-tag {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: .4rem 1rem;
  border-radius: var(--r-full);
  transition: all var(--t);
}
.spec-tag:hover {
  background: var(--red-pale);
  border-color: rgba(192,57,43,.3);
  color: var(--red);
}

/* ================================================
   OPD TIMINGS
   ================================================ */
.opd { background: var(--warm-white); }

.opd-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s4);
  align-items: start;
}

/* Sidebar */
.opd-sidebar {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s3);
  position: sticky;
  top: 80px;
}
.opd-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s3);
}
.opd-info-row {
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
}
.opd-info-row:last-of-type { border-bottom: none; }
.oir-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.oir-val {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
}
.oir-val.red { color: var(--red); }
.oir-val.green { color: var(--sage); }

.emr-box {
  margin-top: var(--s3);
  background: var(--red-pale);
  border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--r-md);
  padding: var(--s2);
  text-align: center;
}
.emr-box strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .2rem;
}
.emr-box span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* Table */
.opd-tbl-wrap {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
}
.opd-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  background: var(--warm-white);
}
.opd-tbl thead tr {
  background: var(--navy);
}
.opd-tbl th {
  padding: .9rem 1.2rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.opd-tbl td {
  padding: .8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.opd-tbl tbody tr:last-child td { border-bottom: none; }
.opd-tbl tbody tr:hover { background: var(--cream); }
.opd-tbl .chief-row { background: rgba(192,57,43,.03); }
.opd-tbl .chief-row td:first-child { border-left: 3px solid var(--red); }
.tbl-qual { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 400; }

.tbl-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.tbl-badge.gyn   { background: #fce4ec; color: #880e4f; }
.tbl-badge.gen   { background: #e3f2fd; color: #0d47a1; }
.tbl-badge.ort   { background: #e8f5e9; color: #1b5e20; }
.tbl-badge.ped   { background: #fff8e1; color: #e65100; }
.tbl-badge.neu   { background: #f3e5f5; color: #4a148c; }
.tbl-badge.phy   { background: #e0f2f1; color: #004d40; }

.emr-tbl-row td {
  background: var(--red-pale);
  color: var(--red);
  font-weight: 700;
  font-size: .88rem;
}
.badge-247 {
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
}

.opd-cta {
  margin-top: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s3) var(--s4);
}
.opd-cta p { color: var(--text-muted); font-size: .9rem; flex: 1; }

/* ================================================
   STAFF
   ================================================ */
.staff { background: var(--cream); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s3);
}

.staff-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s4) var(--s3);
  text-align: center;
  transition: all var(--t);
}
.staff-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.staff-icon-wrap {
  width: 70px; height: 70px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s2);
  font-size: 1.75rem;
}
.staff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.staff-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ================================================
   CONTACT
   ================================================ */
.contact { background: var(--warm-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.contact-block { margin-bottom: var(--s3); }

.c-item {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
  margin-bottom: var(--s2);
  padding: var(--s2) var(--s3);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t);
}
.c-item:hover { border-color: var(--border-dark); box-shadow: var(--shadow-warm); }
.c-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  margin-top: .1rem;
}
.c-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.c-val {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
}
.c-val a {
  color: var(--navy);
  text-decoration: none;
  display: block;
  transition: color var(--t);
}
.c-val a:hover { color: var(--red); }

.phone-nums {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  margin-top: var(--s2);
  padding: .85rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all var(--t);
  box-shadow: 0 3px 12px rgba(30,45,64,.2);
}
.map-btn:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* Form */
.appt-form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s4);
}
.appt-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s3);
}

.form-field { margin-bottom: var(--s2); }
.form-field input,
.form-field select {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t);
  appearance: none;
}
.form-field input::placeholder { color: var(--text-light); }
.form-field input:focus,
.form-field select:focus { border-color: var(--navy); }
.form-submit { width: 100%; justify-content: center; }
.form-note {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: var(--s2);
  line-height: 1.5;
}

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  text-align: center;
  flex-direction: column;
  gap: .5rem;
}
.map-placeholder span { font-size: 2rem; }
.map-placeholder p { font-size: .85rem; color: var(--text-muted); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy);
  padding: var(--s6) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { display: flex; flex-direction: column; gap: .7rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: .65rem; }
.footer-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-sub {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: .83rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--s2);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col li { font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--t);
}
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-contact-lines { display: flex; flex-direction: column; gap: .4rem; }
.fcl {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.fcl.emr {
  color: #ff9090;
  font-weight: 600;
}

.footer-bottom {
  padding: var(--s3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}

/* ================================================
   FLOATING CALL BUTTON
   ================================================ */
.fab {
  position: fixed;
  bottom: var(--s4);
  right: var(--s4);
  z-index: 999;
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(192,57,43,.45);
  transition: all var(--t);
  opacity: 0;
  pointer-events: none;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(192,57,43,.55); }
.fab-ring {
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(192,57,43,.35);
  border-radius: 50%;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.anim-1 { animation: fadeUp .7s var(--ease) .0s both; }
.anim-2 { animation: fadeUp .7s var(--ease) .1s both; }
.anim-3 { animation: fadeUp .7s var(--ease) .2s both; }
.anim-4 { animation: fadeUp .7s var(--ease) .3s both; }
.anim-5 { animation: fadeUp .7s var(--ease) .4s both; }

/* ================================================
   RESPONSIVE — TABLET
   ================================================ */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; max-width: 640px; }
  .hero-card     { display: none; }
  .about-grid    { grid-template-columns: 1fr; gap: var(--s4); }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .opd-wrap      { grid-template-columns: 1fr; }
  .opd-sidebar   { position: static; }
  .chief-card    { flex-direction: column; text-align: center; }
  .chief-card::before { width: 100%; height: 4px; top: 0; left: 0; bottom: auto; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .creds         { justify-content: center; }
}

/* ================================================
   RESPONSIVE — MOBILE
   ================================================ */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(253,248,243,.98);
    border-bottom: 1px solid var(--border);
    padding: var(--s2) var(--s3) var(--s3);
    box-shadow: var(--shadow-card);
  }
  .nav-menu.open  { display: block; }
  .nav-menu ul    { flex-direction: column; gap: .2rem; }
  .nav-link       { padding: .6rem var(--s2); border-radius: var(--r-sm); }
  .nav-emr        { display: none; }
  .hamburger      { display: flex; }

  .hero-stats     { flex-wrap: wrap; gap: var(--s3); }
  .hstat          { border-right: none; padding-right: 0; margin-right: 0; }
  .hero-btns      { flex-direction: column; align-items: flex-start; }

  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .pillars        { grid-template-columns: 1fr; }
  .doc-grid       { grid-template-columns: 1fr 1fr; }
  .staff-grid     { grid-template-columns: 1fr 1fr; }
  .opd-tbl        { font-size: .8rem; }
  .opd-tbl th, .opd-tbl td { padding: .65rem .75rem; }
}

@media (max-width: 480px) {
  .section-pad    { padding: var(--s5) 0; }
  .doc-grid       { grid-template-columns: 1fr; }
  .staff-grid     { grid-template-columns: 1fr; }
}
