/* ============================================================
   DR. SUNDHARARAJAN HOSPITAL — PREMIUM DESIGN SYSTEM
   Dashmier Digital | Salem, Tamil Nadu
   ============================================================ */

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

/* ─── CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Primary Palette */
  --c-blue:        #0A3E6E;
  --c-blue-mid:    #1558A0;
  --c-blue-light:  #2878C8;
  --c-teal:        #0E7A7A;
  --c-teal-light:  #17A8A8;
  --c-emerald:     #1A8C5C;
  --c-emerald-lt:  #22B07D;

  /* Neutrals */
  --c-white:       #FFFFFF;
  --c-warm-white:  #F8F7F4;
  --c-off-white:   #EEF1F5;
  --c-navy:        #0B1F3A;
  --c-navy-mid:    #1A2F4A;
  --c-gray-1:      #F2F5F9;
  --c-gray-2:      #D8E2EE;
  --c-gray-3:      #9BAEC8;
  --c-gray-4:      #5A738E;
  --c-text:        #1C2B3A;
  --c-text-mid:    #3D5470;
  --c-text-light:  #6B83A0;

  /* Accents */
  --c-gold:        #C8992A;
  --c-gold-light:  #E8B84B;
  --c-red:         #C0392B;

  /* Glass */
  --glass-bg:      rgba(255,255,255,0.72);
  --glass-border:  rgba(255,255,255,0.5);
  --glass-shadow:  0 8px 32px rgba(10,62,110,0.12);

  /* Typography */
  --font-heading:  'Poppins', sans-serif;
  --font-body:     'Manrope', sans-serif;
  --font-serif:    'Playfair Display', serif;

  /* Spacing */
  --section-pad:   100px;
  --container-max: 1320px;

  /* Transitions */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:      0.2s;
  --dur-mid:       0.4s;
  --dur-slow:      0.7s;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(10,62,110,0.08);
  --shadow-md:     0 8px 24px rgba(10,62,110,0.12);
  --shadow-lg:     0 20px 60px rgba(10,62,110,0.16);
  --shadow-xl:     0 32px 80px rgba(10,62,110,0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-warm-white);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ─── CUSTOM CURSOR ───────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--c-blue-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), opacity 0.3s;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(21,88,160,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-smooth), width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth);
}

.cursor.hovered { width: 14px; height: 14px; background: var(--c-teal); }
.cursor-follower.hovered { width: 52px; height: 52px; border-color: var(--c-teal); opacity: 0.5; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--c-navy);
}

.display-xl  { font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; letter-spacing: -0.02em; }
.display-lg  { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
.display-md  { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; }
.display-sm  { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 600; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
}
.body-lg  { font-size: 1.125rem; line-height: 1.75; color: var(--c-text-mid); }
.body-md  { font-size: 1rem;     line-height: 1.7;  color: var(--c-text-mid); }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--section-pad) 0; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-spring), box-shadow var(--dur-mid) var(--ease-smooth);
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:hover        { transform: translateY(-2px); }
.btn:active       { transform: translateY(0); }

.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(10,62,110,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(10,62,110,0.45); }

.btn-teal {
  background: var(--c-teal);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(14,122,122,0.35);
}
.btn-teal:hover { box-shadow: 0 8px 30px rgba(14,122,122,0.45); }

.btn-outline {
  background: transparent;
  color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
}
.btn-outline:hover { background: var(--c-blue); color: var(--c-white); }

.btn-white {
  background: var(--c-white);
  color: var(--c-blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-emergency {
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 4px 20px rgba(192,57,43,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(192,57,43,0.65); }
}

.btn-lg { padding: 18px 40px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── UTILITY BAR ─────────────────────────────────────────── */
.util-bar {
  background: var(--c-navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.util-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-bar-left, .util-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.util-item {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast);
}
.util-item:hover { color: var(--c-white); }
.util-item svg { width: 13px; height: 13px; opacity: 0.7; }
.util-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.util-emergency {
  background: var(--c-red);
  color: var(--c-white) !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  animation: pulse-red-sm 2s infinite;
}
@keyframes pulse-red-sm {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.85; }
}
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  transition: background var(--dur-fast), color var(--dur-fast);
  color: rgba(255,255,255,0.7);
}
.social-links a:hover { background: var(--c-blue-light); color: var(--c-white); }
.social-links svg { width: 13px; height: 13px; }

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--dur-mid) var(--ease-smooth),
              box-shadow var(--dur-mid) var(--ease-smooth),
              backdrop-filter var(--dur-mid);
}
.nav-main {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(10,62,110,0.08);
  transition: box-shadow var(--dur-mid);
}
.nav-main.scrolled {
  box-shadow: 0 4px 30px rgba(10,62,110,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '✚';
  font-size: 22px;
  color: white;
  font-weight: 300;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name  { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--c-navy); letter-spacing: -0.01em; }
.logo-sub   { font-size: 0.65rem; font-weight: 500; color: var(--c-teal); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-mid);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
  transition: width var(--dur-mid) var(--ease-smooth);
}
.nav-link:hover { color: var(--c-blue); background: var(--c-gray-1); }
.nav-link:hover::after { width: 20px; }
.nav-link.active { color: var(--c-blue); }
.nav-link.active::after { width: 20px; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--dur-fast);
}
.nav-hamburger:hover { background: var(--c-gray-1); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform var(--dur-mid), opacity var(--dur-fast);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #F0F6FF 0%, #EAF5F5 40%, #F4F9F4 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Background decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-circle-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #B8D4F5 0%, transparent 70%);
  top: -150px; right: -100px;
}
.hero-circle-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #B0E8E8 0%, transparent 70%);
  bottom: -100px; left: 30%;
}
.hero-circle-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #C5E8D5 0%, transparent 70%);
  top: 40%; left: -50px;
}

/* Subtle grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,62,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,62,110,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,122,122,0.1);
  border: 1px solid rgba(14,122,122,0.2);
  color: var(--c-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--c-teal);
  border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--c-teal);
  position: relative;
}
.hero-headline .underline-word {
  position: relative;
  display: inline-block;
}
.hero-headline .underline-word::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal-light), var(--c-emerald-lt));
  border-radius: 2px;
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--c-text-mid);
  margin-bottom: 40px;
  max-width: 480px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid);
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-suffix { font-size: 1rem; color: var(--c-teal); }
.stat-label  { font-size: 0.72rem; color: var(--c-text-light); margin-top: 4px; font-weight: 500; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #D0E8FF 0%, #C0EEEE 50%, #C5EDD8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-svg-illustration {
  width: 85%;
  height: 85%;
}

/* Floating accent cards */
.float-card {
  position: absolute;
  background: var(--c-white);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float-gentle 4s ease-in-out infinite;
}
.float-card-1 {
  top: 12%;
  left: -60px;
  animation-delay: 0s;
}
.float-card-2 {
  bottom: 20%;
  right: -50px;
  animation-delay: 1.5s;
}
.float-card-3 {
  bottom: 6%;
  left: 10%;
  animation-delay: 0.8s;
}
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-8px);  }
}
.float-card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.float-card-icon svg { width: 18px; height: 18px; color: white; }
.float-card-title { font-size: 0.75rem; font-weight: 700; color: var(--c-navy); }
.float-card-desc  { font-size: 0.68rem; color: var(--c-text-light); margin-top: 2px; }
.float-card-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card-inline .float-card-icon { margin-bottom: 0; flex-shrink: 0; }

/* Rating in float card */
.stars { display: flex; gap: 2px; margin-top: 4px; }
.stars svg { width: 11px; height: 11px; color: var(--c-gold); fill: var(--c-gold); }

/* ─── STATS SECTION ───────────────────────────────────────── */
.stats-section {
  background: var(--c-navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21,88,160,0.8), rgba(14,122,122,0.8), transparent);
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21,88,160,0.8), rgba(14,122,122,0.8), transparent);
}

/* Decorative bg element */
.stats-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  font-family: var(--font-heading);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.stat-block {
  background: rgba(255,255,255,0.03);
  padding: 40px 30px;
  text-align: center;
  transition: background var(--dur-mid);
  position: relative;
}
.stat-block:hover { background: rgba(255,255,255,0.07); }
.stat-block-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21,88,160,0.4) 0%, rgba(14,122,122,0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stat-block-icon svg { width: 24px; height: 24px; color: var(--c-teal-light); }
.stat-block-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-block-suffix { color: var(--c-teal-light); }
.stat-block-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.stat-block-line {
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-teal-light), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
}
.stat-block:hover .stat-block-line { opacity: 1; }

/* ─── SPECIALITIES ────────────────────────────────────────── */
.specialities-section {
  background: var(--c-warm-white);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-label { justify-content: center; margin-bottom: 14px; }
.section-header .section-label::before { display: none; }
.section-header h2 { margin: 0 auto; max-width: 600px; }
.section-header .body-lg { margin-top: 14px; max-width: 520px; margin-left: auto; margin-right: auto; }

.specialities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spec-card {
  background: var(--c-white);
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid var(--c-gray-2);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-smooth),
              box-shadow var(--dur-mid),
              border-color var(--dur-mid);
  cursor: pointer;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-smooth);
}
.spec-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,122,122,0.06) 0%, transparent 70%);
  transition: transform var(--dur-slow) var(--ease-smooth), opacity var(--dur-slow);
  opacity: 0;
}
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.spec-card:hover::before { transform: scaleX(1); }
.spec-card:hover::after { opacity: 1; transform: scale(1.3); }

.spec-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--dur-mid) var(--ease-spring);
}
.spec-card:hover .spec-icon { transform: scale(1.1); }
.spec-icon svg { width: 26px; height: 26px; }

.spec-icon.blue    { background: rgba(10,62,110,0.08);  color: var(--c-blue); }
.spec-icon.teal    { background: rgba(14,122,122,0.08); color: var(--c-teal); }
.spec-icon.emerald { background: rgba(26,140,92,0.08);  color: var(--c-emerald); }
.spec-icon.gold    { background: rgba(200,153,42,0.1);  color: var(--c-gold); }

.spec-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--c-navy); margin-bottom: 10px; }
.spec-card p  { font-size: 0.875rem; line-height: 1.65; color: var(--c-text-light); }
.spec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-teal);
  transition: gap var(--dur-fast);
}
.spec-card:hover .spec-link { gap: 10px; }
.spec-link svg { width: 14px; height: 14px; }

.spec-num {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(10,62,110,0.04);
  font-family: var(--font-heading);
  line-height: 1;
  transition: color var(--dur-mid);
}
.spec-card:hover .spec-num { color: rgba(14,122,122,0.07); }

/* ─── DOCTORS ─────────────────────────────────────────────── */
.doctors-section {
  background: var(--c-gray-1);
}
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
.doctor-card {
  background: var(--c-white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--c-gray-2);
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid);
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.doctor-img {
  width: 100%;
  aspect-ratio: 1.1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #D8ECF9 0%, #C8EEE8 100%);
}
.doctor-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.doctor-card:hover .doctor-img-inner { transform: scale(1.04); }
.doctor-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-avatar-svg { width: 70%; height: 70%; }

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,62,110,0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-mid);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.doctor-card:hover .doctor-overlay { opacity: 1; }
.doctor-overlay .btn { width: 100%; justify-content: center; }

.doctor-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--c-teal);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.doctor-info { padding: 24px; }
.doctor-name { font-size: 1.1rem; font-weight: 700; color: var(--c-navy); }
.doctor-spec { font-size: 0.8rem; color: var(--c-teal); font-weight: 600; margin-top: 4px; }
.doctor-qual { font-size: 0.75rem; color: var(--c-text-light); margin-top: 4px; }
.doctor-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-gray-2);
}
.doctor-exp {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-mid);
  display: flex;
  align-items: center;
  gap: 5px;
}
.doctor-exp svg { width: 13px; height: 13px; color: var(--c-teal); }

/* ─── WHY CHOOSE US ───────────────────────────────────────── */
.why-section {
  background: var(--c-warm-white);
  position: relative;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
}
.why-img-wrap {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #D0E8FF 0%, #C8EEEE 50%, #C5EDD8 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-white);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.why-badge-num { font-size: 2rem; font-weight: 800; color: var(--c-teal); font-family: var(--font-heading); }
.why-badge-text { font-size: 0.78rem; color: var(--c-text-light); font-weight: 500; }

.why-timeline { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-gray-2);
  position: relative;
  cursor: default;
  transition: padding-left var(--dur-mid) var(--ease-smooth);
}
.why-item:last-child { border-bottom: none; }
.why-item:hover { padding-left: 8px; }
.why-item-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--c-gray-3);
  font-family: var(--font-heading);
  flex-shrink: 0;
  margin-top: 4px;
  letter-spacing: 0.05em;
  transition: color var(--dur-mid);
}
.why-item:hover .why-item-num { color: var(--c-teal); }
.why-item-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c-gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-mid), transform var(--dur-mid) var(--ease-spring);
}
.why-item:hover .why-item-icon {
  background: linear-gradient(135deg, var(--c-blue), var(--c-teal));
  transform: scale(1.05);
}
.why-item-icon svg { width: 22px; height: 22px; color: var(--c-teal); transition: color var(--dur-fast); }
.why-item:hover .why-item-icon svg { color: white; }
.why-item-content h4 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.why-item-content p  { font-size: 0.85rem; line-height: 1.65; color: var(--c-text-light); }

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -60px; left: 10%;
  font-size: 30rem;
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
}

.testimonials-section .section-label { color: var(--c-teal-light); }
.testimonials-section .section-label::before { background: var(--c-teal-light); }
.testimonials-section h2 { color: var(--c-white); }

.testimonials-carousel {
  position: relative;
  margin-top: 50px;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px 30px;
  transition: background var(--dur-mid), transform var(--dur-mid) var(--ease-smooth);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--c-gold-light); color: var(--c-gold-light); }
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-light), var(--c-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; color: var(--c-white); }
.testimonial-loc  { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.testimonial-tag  {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-teal-light);
  background: rgba(23,168,168,0.12);
  border: 1px solid rgba(23,168,168,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ─── HEALTH INSIGHTS ─────────────────────────────────────── */
.insights-section {
  background: var(--c-white);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.insight-featured {
  background: var(--c-warm-white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--c-gray-2);
  transition: box-shadow var(--dur-mid);
}
.insight-featured:hover { box-shadow: var(--shadow-lg); }
.insight-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #D0E8FF 0%, #C8EEEE 60%, #C5EDD8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.insight-featured-img svg { width: 40%; opacity: 0.4; }
.insight-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-teal);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.insight-featured-body { padding: 32px; }
.insight-featured-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--dur-fast);
}
.insight-featured:hover .insight-featured-body h3 { color: var(--c-blue); }
.insight-featured-body p { font-size: 0.88rem; color: var(--c-text-light); line-height: 1.7; margin-bottom: 20px; }
.insight-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--c-text-light);
}
.insight-meta svg { width: 12px; height: 12px; }

.insights-secondary { display: flex; flex-direction: column; gap: 16px; }
.insight-mini {
  background: var(--c-warm-white);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--c-gray-2);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid);
}
.insight-mini:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.insight-mini-img {
  width: 90px; height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D0E8FF 0%, #C8EEEE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.insight-mini-img svg { width: 40px; height: 40px; opacity: 0.5; }
.insight-mini-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 6px;
}
.insight-mini h4 { font-size: 0.88rem; font-weight: 700; color: var(--c-navy); line-height: 1.35; }
.insight-mini-meta { font-size: 0.72rem; color: var(--c-text-light); margin-top: 6px; }

/* ─── APPOINTMENT CTA ─────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--c-blue) 0%, #0D3F70 40%, var(--c-teal) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(21,88,160,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(14,122,122,0.4) 0%, transparent 50%);
}
.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-inner { position: relative; z-index: 2; }
.cta-section .section-label { color: rgba(255,255,255,0.6); justify-content: center; }
.cta-section .section-label::before { background: rgba(255,255,255,0.4); display: none; }
.cta-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-info {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.cta-info-item svg { width: 14px; height: 14px; color: var(--c-teal-light); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--c-navy);
  padding: 80px 0 0;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo .logo-mark { width: 42px; height: 42px; border-radius: 10px; }
.footer-logo .logo-name { color: var(--c-white); font-size: 0.95rem; }
.footer-logo .logo-sub  { color: rgba(255,255,255,0.4); }
.footer-desc {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  transition: color var(--dur-fast);
}
.footer-contact-item:hover { color: rgba(255,255,255,0.85); }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--c-teal-light); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-mid) var(--ease-spring);
}
.footer-social a:hover {
  background: var(--c-teal);
  color: white;
  border-color: var(--c-teal);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast), padding-left var(--dur-mid);
}
.footer-links a:hover { color: rgba(255,255,255,0.85); padding-left: 4px; }

.footer-newsletter p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 18px;
}
.newsletter-form { display: flex; gap: 8px; }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: white;
  outline: none;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: var(--c-teal); background: rgba(255,255,255,0.1); }

.map-placeholder {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.map-placeholder:hover { background: rgba(255,255,255,0.08); border-color: rgba(14,122,122,0.4); }
.map-placeholder svg { width: 24px; height: 24px; color: var(--c-teal-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--dur-fast);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-by {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-by a { color: var(--c-teal-light); font-weight: 600; transition: color var(--dur-fast); }
.footer-by a:hover { color: var(--c-teal); }

/* ─── FLOATING ELEMENTS ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-btn {
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--dur-mid) var(--ease-spring), box-shadow var(--dur-mid);
  cursor: pointer;
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; color: white; }
.whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.sticky-appt {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sticky-appt .btn { box-shadow: var(--shadow-lg); }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 999;
  flex-direction: column;
  padding: 100px 40px 40px;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 1.2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-gray-2);
  display: block;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--c-gray-1);
  border: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 28px; }
  .hero-inner      { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual     { display: none; }
  .hero-stats      { grid-template-columns: repeat(4, 1fr); }
  .stats-grid      { grid-template-columns: repeat(3, 1fr); }
  .specialities-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: 1fr; }
  .why-visual      { display: none; }
  .testimonials-track { grid-template-columns: repeat(2, 1fr); }
  .insights-grid   { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .util-bar-left .util-item:not(:first-child):not(.util-emergency) { display: none; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .specialities-grid { grid-template-columns: 1fr; }
  .doctors-grid    { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: repeat(2, 1fr); }
  .footer-top      { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .sticky-appt     { display: none; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}
