/* ============================================================
   KLINIK ALANNA — Glassmorphism Theme (Bright)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

:root {
  --primary:        #580000;
  --primary-hover:  #6e0000;
  --accent:         #e07820;
  --accent-gold:    #c28238;
  --glass:          rgba(255, 255, 255, 0.58);
  --glass-md:       rgba(255, 255, 255, 0.72);
  --glass-dark:     rgba(88, 0, 0, 0.92);
  --border:         rgba(88, 0, 0, 0.09);
  --border-warm:    rgba(224, 120, 32, 0.25);
  --text:           #1c0000;
  --text-sec:       rgba(42, 0, 0, 0.65);
  --text-muted:     rgba(42, 0, 0, 0.42);
  --text-on-dark:   #ffffff;
  --text-sec-dark:  rgba(255, 255, 255, 0.74);
  --whatsapp:       #25D366;
  --whatsapp-hover: #1ebe5b;
  --blur:           blur(16px);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --shadow:         0 4px 24px rgba(88, 0, 0, 0.10);
  --shadow-lg:      0 12px 40px rgba(88, 0, 0, 0.16);
  --t:              0.28s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #fff6ed;
  background-image:
    radial-gradient(ellipse at 85% 5%,  rgba(224, 120, 32, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 95%, rgba(88,  0,   0,  0.12) 0%, transparent 48%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a   { color: inherit; }

/* ── BACKGROUND ORBS ─────────────────────────────────────── */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.bg-orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(224,120,32,0.22) 0%, transparent 70%);
  top: -220px; right: -180px;
}
.bg-orb-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(88,0,0,0.15) 0%, transparent 70%);
  bottom: -180px; left: -160px;
}
.bg-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,120,32,0.10) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── UTILITY ─────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.glass-warm {
  background: var(--glass-md);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
}

.glass-dark {
  background: var(--glass-dark);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

.section { padding: 84px 0; position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  background: rgba(224,120,32,0.12);
  border: 1px solid var(--border-warm);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.section-divider {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

.text-center { text-align: center; }
.text-sec    { color: var(--text-sec); }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 66px;
  display: flex;
  align-items: center;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(88,0,0,0.08);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img  { height: 36px; width: auto; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(88,0,0,0.07);
}

.nav-cta {
  background: var(--whatsapp) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.42rem 1.1rem !important;
  font-weight: 600 !important;
  margin-left: 0.3rem;
}
.nav-cta:hover { background: var(--whatsapp-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 23px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e0000 0%, #580000 50%, #2e0000 100%);
  overflow: hidden;
  z-index: 1;
}

/* decorative orbs inside hero */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,120,32,0.14) 0%, transparent 70%);
  top: -160px; left: -80px;
}
.hero::after {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(224,120,32,0.10) 0%, transparent 70%);
  bottom: -100px; right: 45%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1.5rem;
  width: 100%;
}

/* ── hero text (left) ── */
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(224,120,32,0.4);
  border-radius: 50px;
  padding: 0.32rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffd49e;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.12;
  margin-bottom: 0.65rem;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.hero-tagline {
  font-size: 0.85rem;
  color: #ffd49e;
  font-style: italic;
  margin-bottom: 1.8rem;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ── hero photo (right) ── */
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-photo-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background-color: #fff;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: 90% center;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 1px rgba(224,120,32,0.3),
    0 24px 64px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.hero-photo-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(224,120,32,0.25);
  border-radius: 50px;
  padding: 0.45rem 1.25rem;
}

.hero-photo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.hero-photo-role {
  font-size: 0.7rem;
  color: #ffd49e;
  letter-spacing: 0.3px;
}

/* ── scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.38);
  font-size: 1.1rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.28), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── hero responsive ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
    padding: 2.5rem 1.5rem 4rem;
  }
  .hero-photo { order: -1; }
  .hero-photo-card {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    aspect-ratio: unset;
    background-position: 82% 36%;
    background-size: 500%;
    max-width: unset;
  }
  .hero-text { align-items: center; }
  .hero-actions { justify-content: center; }
}

/* ── PAGE HEADER (stays dark) ────────────────────────────── */
.page-header {
  position: relative;
  padding: 60px 0 52px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88,0,0,0.95) 0%, rgba(42,0,0,0.98) 100%);
}
.page-header > * { position: relative; z-index: 1; }
.page-header-title {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
  color: #ffffff;
}
.page-header-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.7rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--t);
}
.btn-wa {
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37,211,102,0.48);
}
.btn-outline {
  background: rgba(255,255,255,0.14);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ── PROMO GRID ──────────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.promo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.promo-card img { width: 100%; height: auto; display: block; }

/* ── SOCIAL LINKS ────────────────────────────────────────── */
.social-row {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--glass);
  border: 1px solid var(--border-warm);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: all var(--t);
  box-shadow: var(--shadow);
}
.social-pill:hover {
  background: var(--glass-md);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.social-pill svg { width: 17px; height: 17px; fill: currentColor; }

/* ── QUICK INFO STRIP ────────────────────────────────────── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.info-tile { padding: 1.5rem; text-align: center; }
.info-tile-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.info-tile-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.info-tile-value { font-size: 0.9rem; color: var(--text-sec); line-height: 1.55; }
.info-tile-value a { color: var(--primary); text-decoration: none; font-weight: 500; }
.info-tile-value a:hover { color: var(--accent); }

/* ── SERVICE CARDS ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.service-card {
  padding: 1.7rem;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--primary);
}
.service-desc {
  font-size: 0.86rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* featured card stays dark for emphasis */
.service-featured {
  background: linear-gradient(135deg, rgba(88,0,0,0.94), rgba(110,0,0,0.88));
  border-color: rgba(224,120,32,0.45);
}
.service-featured .service-name { color: #ffffff; }
.service-featured .service-desc { color: rgba(255,255,255,0.78); }

.badge-new {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin-left: 7px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

/* ── DOCTOR CARD ─────────────────────────────────────────── */
.doctor-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  align-items: flex-start;
}
.doctor-avatar {
  flex-shrink: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(224,120,32,0.4);
  background: #f5e8d8;
}
.doctor-avatar svg { width: 100%; height: 100%; }
.doctor-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--primary);
}
.doctor-role {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.doctor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 1.1rem;
}
.badge-pill {
  display: inline-block;
  padding: 0.24rem 0.75rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(224,120,32,0.1);
  border: 1px solid var(--border-warm);
  color: var(--accent);
}
.doctor-details { display: flex; flex-direction: column; gap: 0.65rem; }
.detail-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.detail-icon { font-size: 1rem; flex-shrink: 0; margin-top: 3px; }
.detail-body strong {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.12rem;
}
.detail-body p { font-size: 0.86rem; color: var(--text-sec); line-height: 1.5; }

/* ── ABOUT TEXT ──────────────────────────────────────────── */
.about-highlight { color: var(--accent); }

/* ── LOCATION ────────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.clinic-photo {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.loc-info { display: flex; flex-direction: column; gap: 0.9rem; }
.loc-row  { display: flex; gap: 0.7rem; align-items: flex-start; }
.loc-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.loc-content h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 0.18rem;
}
.loc-content p, .loc-content a {
  font-size: 0.9rem;
  color: var(--text-sec);
  text-decoration: none;
  line-height: 1.55;
}
.loc-content a:hover { color: var(--primary); }
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; }
.nav-btns { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--t);
}
.nav-btn-gmaps { background: #4285F4; color: white; }
.nav-btn-gmaps:hover { background: #3367d6; transform: translateY(-2px); }
.nav-btn-waze  { background: #33CCFF; color: #111; }
.nav-btn-waze:hover  { background: #00b8e6; transform: translateY(-2px); }

/* ── CTA BLOCK (stays dark) ──────────────────────────────── */
.cta-block { text-align: center; padding: 2.5rem 2rem; }
.cta-block h2 { font-size: 1.35rem; margin-bottom: 1.2rem; color: #ffffff; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(88,0,0,0.1);
  background: rgba(255, 243, 228, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  margin-bottom: 0.65rem;
}
.footer-logo-wrap img { height: 34px; }
.footer-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(88,0,0,0.07);
  border: 1px solid rgba(88,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--primary);
  transition: all var(--t);
}
.footer-social a:hover {
  background: rgba(88,0,0,0.14);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.38rem; }
.footer-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--primary); }
.footer-contact-info { display: flex; flex-direction: column; gap: 0.38rem; }
.footer-contact-info p, .footer-contact-info a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.6;
}
.footer-contact-info a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(88,0,0,0.07);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.48);
  transition: all var(--t);
  animation: wa-pulse 2.5s infinite;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg   { width: 26px; height: 26px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.48); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

.stagger-children > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.00s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
.stagger-children.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.48s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .promo-grid    { grid-template-columns: 1fr 1fr; }
  .info-strip    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: rgba(255,248,240,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.2rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    pointer-events: none;
    border-bottom: 1px solid rgba(88,0,0,0.08);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
    display: block;
    border-radius: var(--radius-sm);
  }
  .nav-cta { margin-left: 0 !important; border-radius: var(--radius-sm) !important; }
  .nav-toggle { display: flex; }

  .doctor-card   { flex-direction: column; align-items: center; text-align: center; }
  .doctor-badges { justify-content: center; }
  .detail-row    { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 88vh; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .info-strip    { grid-template-columns: 1fr; }
  .promo-grid    { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
}
