/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', 'Segoe UI', sans-serif; color: #1a1a1a; background: #FAFAFA; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --green:       #16a34a;
  --green-dark:  #15803d;
  --green-light: #dcfce7;
  --blue:        #0284c7;
  --orange:      #DE5A24;
  --orange-light:#fff1ec;
  --cream:       #f7f7f5;
  --cream-dark:  #f0ede8;
  --charcoal:    #1a1a1a;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --white:       #ffffff;
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:   0 12px 24px rgba(0,0,0,0.08);
  --radius:      16px;
  --radius-lg:   24px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--charcoal); margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.025em; }
.section-sub { font-size: 1rem; color: var(--gray-600); max-width: 600px; margin: 0 auto 3rem; text-align: center; }
.text-center { text-align: center; }

/* Pill buttons (HealthX style) */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.25rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem; transition: all 0.25s; cursor: pointer; border: none; white-space: nowrap; }
.btn-green  { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* Section tag pill (HealthX-style label) */
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cream-dark); color: var(--charcoal);
  border: 1px solid var(--gray-200);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px;
  margin-bottom: 0.85rem;
}
.section-tag-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, #0284c7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.orange-text { color: var(--orange); }

/* Divider accent */
.divider { width: 48px; height: 4px; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 2px; }
.divider.mx-auto { margin: 0 auto 1.5rem; }

/* Dot pattern bg */
.dot-bg {
  background-image: radial-gradient(circle, rgba(22,163,74,0.10) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Hover lift utility */
.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed; top: 0; width: 100%; z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.09); border-bottom-color: transparent; }
body { padding-top: 72px; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 2rem; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); position: relative; transition: color 0.2s; padding: 0.25rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active-nav { color: var(--green); }
.nav-links a:hover::after, .nav-links a.active-nav::after { width: 100%; }
.nav-cta { background: var(--green); color: #fff !important; padding: 0.5rem 1.25rem; border-radius: 12px !important; font-weight: 600 !important; box-shadow: var(--shadow-sm); transition: all 0.2s !important; }
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-md) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--gray-200); padding: 1rem 1.5rem 1.5rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .btn-green { display: block; text-align: center; margin-top: 1rem; border-radius: 999px; padding: 0.75rem 1.5rem; }

/* ===== HERO ===== */
#hero {
  background: var(--cream);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
#hero .dot-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 560px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-light); color: var(--green);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-tag .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.hero-text h1 .highlight { color: var(--green); }
.hero-text p { font-size: 1.1rem; color: var(--gray-600); max-width: 480px; margin-bottom: 2rem; line-height: 1.7; }
.hero-trust-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-trust-dot { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; color: var(--gray-600); }
.hero-trust-dot::before { content: ''; display: block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo collage */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}
.hero-photo-main {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-photo-main img,
.hero-photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-photo-main:hover img,
.hero-photo-sm:hover img { transform: scale(1.04); }
.hero-photo-sm {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Floating stat badges */
.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 175px;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-badge.badge-top-right { top: 10px; right: -20px; animation-delay: 0s; }
.hero-badge.badge-bottom-left { bottom: 30px; left: -20px; animation-delay: 1.6s; }
.hero-badge .b-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-badge .b-icon.blue  { background: #dbeafe; color: var(--blue); }
.hero-badge .b-icon.gold  { background: #fef9c3; color: #d97706; }
.hero-badge .b-icon.green { background: var(--green-light); color: var(--green); }
.hero-badge .b-val { font-size: 1.05rem; font-weight: 800; color: var(--charcoal); line-height: 1.2; }
.hero-badge .b-lbl { font-size: 0.68rem; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-badge .b-live { display: flex; align-items: center; gap: 4px; font-size: 0.65rem; font-weight: 700; color: var(--green); margin-top: 2px; }
.hero-badge .b-live::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Hero info cards (bottom of hero) */
.hero-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.hero-info-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hero-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hero-info-card .icon { color: var(--green); flex-shrink: 0; }
.hero-info-card .label { font-weight: 600; font-size: 0.85rem; color: var(--charcoal); }
.hero-info-card .sub   { font-size: 0.75rem; color: var(--gray-500); }

/* ===== PARTNER LOGOS STRIP ===== */
#partners {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 2.5rem 0;
}
.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}
.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.logos-strip img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.logos-strip img:hover { filter: grayscale(0%); opacity: 1; }

/* ===== STATS STRIP ===== */
#stats-strip {
  background: var(--cream);
  padding: 3.5rem 0;
}
.stats-row-hx {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.stat-hx {
  flex: 1;
  text-align: center;
  padding: 0 3rem;
  position: relative;
}
.stat-hx:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; height: 80%;
  width: 1px;
  background: var(--gray-200);
}
.stat-hx .num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1;
}
.stat-hx .num span { color: var(--green); }
.stat-hx .lbl { font-size: 0.82rem; color: var(--gray-500); font-weight: 500; margin-top: 0.4rem; }

/* ===== ABOUT ===== */
#about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--charcoal); }
.about-text p { color: var(--gray-600); margin-bottom: 1rem; line-height: 1.75; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); width: 100%; height: 400px; object-fit: cover; box-shadow: var(--shadow-lg); transition: transform 0.5s; }
.about-img:hover img { transform: scale(1.02); }
.about-img-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem;
  animation: floatBadge 4s ease-in-out infinite;
}
.about-img-badge .icon-box { background: var(--green-light); width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.about-img-badge strong { display: block; font-weight: 700; color: var(--charcoal); font-size: 0.9rem; }
.about-img-badge span { font-size: 0.78rem; color: var(--gray-500); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.mv-card { border-radius: var(--radius-lg); padding: 2rem; transition: transform 0.25s, box-shadow 0.25s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-card.mission { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1px solid #bbf7d0; }
.mv-card.vision  { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; }
.mv-card .icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.mv-card.mission .icon-box { background: var(--green); color: #fff; }
.mv-card.vision  .icon-box { background: var(--blue); color: #fff; }
.mv-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.mv-card p  { color: var(--gray-600); line-height: 1.7; font-size: 0.9rem; }

/* ===== SERVICES — Photo Cards (HealthX style) ===== */
#services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.06); }
/* Dark gradient overlay */
.photo-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}
.photo-card:hover::before { opacity: 0.85; }
.photo-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.5rem;
}
.photo-card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.photo-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.photo-card-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.photo-card-cta:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }

/* ===== INSURANCE ===== */
.insurance-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.insurance-section h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.insurance-section p  { color: var(--gray-600); margin-bottom: 2rem; }
.marquee-wrapper { overflow: hidden; position: relative; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ''; position: absolute; top: 0; width: 80px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
.marquee-track { display: flex; gap: 2.5rem; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.logo-item { width: 120px; height: 68px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-item img { max-height: 52px; max-width: 120px; object-fit: contain; filter: grayscale(80%); opacity: 0.7; transition: all 0.3s; }
.logo-item img:hover { filter: grayscale(0%); opacity: 1; }
.insurance-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--gray-500); }

/* ===== SPECIALTY CLINICS ===== */
#specialties { background: #fff; }
.clinics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.clinic-pair { display: flex; align-items: stretch; gap: 1.25rem; }
.clinic-pair img { width: 46%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-md); transition: transform 0.5s; }
.clinic-pair:hover img { transform: scale(1.03); }
.clinic-card { background: #f9fafb; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; flex: 1; transition: transform 0.25s, box-shadow 0.25s; }
.clinic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.clinic-card .icon-box { background: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); margin-bottom: 1rem; color: var(--blue); border: 1px solid var(--gray-200); }
.clinic-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.clinic-card p  { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 0.75rem; line-height: 1.6; }
.clinic-card .detail strong { font-size: 0.78rem; color: var(--gray-700); display: block; margin-bottom: 0.15rem; }
.clinic-card .detail span   { font-size: 0.78rem; color: var(--gray-500); }
.specialties-cta { text-align: center; margin-top: 3rem; }

/* ===== CTA STRIP (HealthX style) ===== */
#cta-strip {
  background: linear-gradient(135deg, #f0fdf4 0%, var(--cream-dark) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-strip::before, #cta-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#cta-strip::before { width: 350px; height: 350px; background: rgba(22,163,74,0.07); top: -100px; left: -80px; }
#cta-strip::after  { width: 280px; height: 280px; background: rgba(2,132,199,0.06); bottom: -80px; right: -60px; }
.cta-strip-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-strip-inner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: var(--charcoal); margin-bottom: 0.75rem; line-height: 1.2; letter-spacing: -0.02em; }
.cta-strip-inner h2 .highlight { color: var(--green); }
.cta-strip-inner p { color: var(--gray-600); margin-bottom: 2rem; font-size: 1rem; }
.cta-strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-accreditations {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.accred-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.8); border: 1px solid var(--gray-200);
  border-radius: 999px; padding: 0.4rem 1rem;
  font-size: 0.75rem; font-weight: 600; color: var(--gray-700);
}
.accred-badge svg { color: var(--green); }

/* ===== BOOK APPOINTMENT ===== */
#book-appointment { background: var(--gray-50); }
.appt-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto; border: 1px solid var(--gray-200); position: relative; }
.appt-form-wrap::before { content: ''; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 2px); background: linear-gradient(135deg, var(--green), var(--blue)); z-index: -1; opacity: 0; transition: opacity 0.4s; }
.appt-form-wrap:focus-within::before { opacity: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.85rem; color: var(--gray-700); display: flex; align-items: center; gap: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--gray-200); border-radius: 12px; font-size: 0.9rem; color: var(--gray-700); background: var(--gray-50); transition: all 0.2s; outline: none; font-family: inherit; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-full { grid-column: 1 / -1; }
.form-submit { width: 100%; padding: 0.85rem; background: var(--green); color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 0.5rem; }
.form-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--gray-500); margin-top: 0.75rem; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: 0.75rem; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
#form-success, #form-error { display: none; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--cream); }
.testimonials-carousel { position: relative; overflow: hidden; padding: 1rem 0; }
.testimonials-track { display: flex; gap: 1.5rem; width: max-content; animation: marqueeRightToLeft 40s linear infinite; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes marqueeRightToLeft { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.testimonial-slide {
  width: 380px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: normal;
}
.testimonial-slide:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.t-quote-icon { color: rgba(22,163,74,0.2); margin-bottom: 1rem; }
.t-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.t-stars .s-on  { color: #fbbf24; }
.t-stars .s-off { color: var(--gray-200); }
.t-text { font-style: italic; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.5rem; font-size: 0.9rem; }
.t-author { border-top: 1px solid var(--gray-100); padding-top: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; font-size: 0.8rem; }
.t-author strong { display: block; font-weight: 700; color: var(--charcoal); font-size: 0.875rem; }
.t-author span   { font-size: 0.75rem; color: var(--green); font-weight: 500; }
.t-verified      { font-size: 0.7rem; color: var(--gray-500); display: flex; align-items: center; gap: 0.25rem; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-200); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.carousel-btn:hover { border-color: var(--green); color: var(--green); transform: scale(1.08); }
.carousel-dots { display: flex; gap: 0.4rem; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gray-300); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.carousel-dot.active { width: 24px; background: var(--green); }

/* ===== CONTACT ===== */
#contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card { background: var(--gray-50); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 1.5rem; }
.contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; transition: transform 0.2s; }
.contact-item:hover { transform: translateX(4px); }
.contact-item .icon-box { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item.green  .icon-box { background: #dcfce7; color: var(--green); }
.contact-item.blue   .icon-box { background: #dbeafe; color: var(--blue); }
.contact-item.purple .icon-box { background: #ede9fe; color: #7c3aed; }
.contact-item.orange .icon-box { background: #ffedd5; color: #ea580c; }
.contact-item h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }
.contact-item a:hover { color: var(--green); }
.nearby { border-top: 1px solid var(--gray-200); padding-top: 1.25rem; }
.nearby h4 { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.nearby-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nearby-tag { background: var(--green-light); color: var(--green); padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; transition: all 0.2s; cursor: default; }
.nearby-tag:hover { background: var(--green); color: #fff; transform: scale(1.05); }
.emergency-card { background: linear-gradient(135deg, var(--green), #0369a1); border-radius: var(--radius-lg); padding: 2rem; color: #fff; position: relative; overflow: hidden; }
.emergency-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: rgba(255,255,255,0.07); border-radius: 50%; transition: transform 0.5s; }
.emergency-card:hover::before { transform: scale(1.5); }
.emergency-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }
.emergency-card p  { opacity: 0.88; margin-bottom: 1.5rem; font-size: 0.9rem; line-height: 1.6; }
.emergency-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--green); padding: 0.7rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; }
.btn-white:hover { background: #f0fdf4; transform: translateY(-2px); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 480px; border: 1px solid var(--gray-200); }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== FOOTER ===== */
#footer { background: #111; color: #9ca3af; }
.footer-top { padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.social-links a:hover { background: var(--green); color: #fff; transform: rotate(8deg) scale(1.12); }
.footer-col h3 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: #4ade80; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.85rem; }
.footer-contact li svg { color: #4ade80; flex-shrink: 0; margin-top: 2px; }

/* Footer accreditation badges */
.footer-accred {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem;
}
.footer-accred-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 0.3rem 0.8rem;
  font-size: 0.7rem; font-weight: 600; color: #9ca3af;
}
.footer-accred-badge svg { color: #4ade80; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.8rem;
}
.payment-logos { display: flex; align-items: center; gap: 0.5rem; }
.payment-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: #d1d5db; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; }

/* ===== FLOATING BUTTONS (pulsing ring) ===== */
.float-btns { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; z-index: 900; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.float-btn::before, .float-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: floatRing 2.4s ease-out infinite; }
.float-btn::after { animation-delay: 1.1s; }
@keyframes floatRing { 0%{transform:scale(1);opacity:0.5} 100%{transform:scale(2.4);opacity:0} }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.float-phone { background: var(--blue); color: #fff; }
.float-wa    { background: #25d366; color: #fff; }

/* ===== SCROLL PROGRESS ===== */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--green), #0284c7, #4ade80); z-index: 9999; transition: width 0.1s linear; border-radius: 0 2px 2px 0; }

/* ===== BACK TO TOP ===== */
#back-to-top { position: fixed; bottom: 6rem; right: 1.5rem; width: 42px; height: 42px; background: #fff; border: 2px solid var(--green); color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.1); opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s, background 0.2s; z-index: 800; }
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--green); color: #fff; }

/* ===== PAGE LOADER ===== */
#page-loader { position: fixed; inset: 0; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 99999; transition: opacity 0.5s ease; }
#page-loader.done { opacity: 0; pointer-events: none; }
.loader-ring { width: 52px; height: 52px; border: 4px solid var(--gray-200); border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HERO ENTRANCE ANIMATIONS ===== */
.hero-tag { animation: fadeInDown 0.6s ease both 0.1s; }
.hero-text h1 { animation: fadeInUp 0.7s ease both 0.2s; }
.hero-text p, .hero-trust-row { animation: fadeInUp 0.7s ease both 0.35s; }
.hero-btns { animation: fadeInUp 0.7s ease both 0.45s; }
.hero-visual { animation: fadeInRight 0.8s ease both 0.3s; }
#topbar { animation: slideDown2 0.4s ease both; }
#navbar  { animation: slideDown2 0.4s 0.05s ease both; }

@keyframes fadeInDown  { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:none} }
@keyframes fadeInUp    { from{opacity:0;transform:translateY(22px)}  to{opacity:1;transform:none} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(30px)}  to{opacity:1;transform:none} }
@keyframes fadeIn      { from{opacity:0} to{opacity:1} }
@keyframes slideDown2  { from{transform:translateY(-100%);opacity:0} to{transform:none;opacity:1} }

/* ===== SCROLL REVEAL SYSTEM ===== */
.reveal { opacity:0; transform:translateY(36px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left  { opacity:0; transform:translateX(-46px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity:0; transform:translateX(46px);  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale { opacity:0; transform:scale(0.90); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.revealed { opacity:1 !important; transform:none !important; }
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ===== FORM SPINNER ===== */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-right: 6px; }

/* ===== ACTIVE NAV ===== */
.nav-links a.active-nav { color: var(--green); }

/* ===== FLOAT BTNS initial ===== */
.float-btns { opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; }

/* ===== CONFETTI ===== */
@keyframes confettiFall { 0%{transform:translateY(0) rotate(0deg);opacity:1} 100%{transform:translateY(200px) rotate(720deg);opacity:0} }

/* ===== FORM STATE ===== */
.form-group.focused label { color: var(--green); }
.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); background: #fff; }

/* ===== FOOTER FOOTER REVEAL ===== */
#footer .footer-grid > * { opacity:0; transform:translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
#footer.in-view .footer-grid > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
#footer.in-view .footer-grid > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
#footer.in-view .footer-grid > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.25s; }
#footer.in-view .footer-grid > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.35s; }

/* ===== TYPING CURSOR ===== */
#hero-typing::after { content:'|'; animation: blink 0.75s step-end infinite; color: var(--green); margin-left: 2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ===== SLIDE DOWN ALERT ===== */
@keyframes slideDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge.badge-top-right { top: 10px; right: 0; }
  .hero-badge.badge-bottom-left { bottom: 10px; left: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-row-hx { flex-direction: column; gap: 1.5rem; }
  .stat-hx:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { height: 360px; }
  .hero-info-strip { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-badge { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .clinics-grid { grid-template-columns: 1fr; }
  .clinic-pair { flex-direction: column; }
  .clinic-pair img { width: 100%; height: 180px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-strip-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .logos-strip { gap: 1.5rem; }
  .logos-strip img { height: 28px; }
}

@media (max-width: 480px) {
  .emergency-btns { flex-direction: column; }
  .testimonial-slide { min-width: calc(100% - 0.9rem); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-slide { min-width: calc(50% - 0.9rem); }
}
