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

:root {
  --blue: #1A6FA8;
  --blue-light: #E8F3FB;
  --blue-dark: #155a8a;
  --green: #4A9B7F;
  --green-light: #EBF7F2;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --text: #1F2937;
  --text-muted: #6B7280;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Use overflow-x: clip so horizontal overflow is hidden WITHOUT creating a
   scroll container — that lets position: sticky on the navbar keep working. */
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--gray-800); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font); font-weight: 600; }
p { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header p { margin-top: 12px; font-size: 1.05rem; }

section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,111,168,0.3); }

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }

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

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  z-index: 999;
  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.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  /* Intentionally no backdrop-filter / filter / transform here — those would
     establish a containing block for position:fixed descendants and break the
     mobile menu overlay + bottom CTA dock when the page is scrolled. */
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}
.nav-logo-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta .btn { padding: 10px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--blue);
  background: white;
  border-radius: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-toggle:hover, .nav-toggle.open { background: var(--blue); color: white; }
.nav-toggle:hover .nav-toggle-bars span,
.nav-toggle.open .nav-toggle-bars span { background: white; }
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* When the mobile nav is open, hide the hamburger entirely.
   The user closes the menu by tapping the dimmed backdrop or pressing Escape. */
.nav-toggle.open {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Blurred backdrop shown behind the open mobile nav.
   Clicking it closes the menu (handled in nav.js). */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  z-index: 95;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  cursor: pointer;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Lock body scroll while the nav is open so the dimmed page
   behind the menu doesn't scroll underneath. */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}
/* Hide the floating WhatsApp button while the menu is open so the only
   tappable things on-screen are the menu links + the dimmed backdrop. */
body.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #F0F7FF 0%, #EBF7F2 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,111,168,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 28px;
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); }

.hero-image-wrap {
  position: relative;
}
.hero-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: #000;
  width: 100%;
}
.hero-img-main img,
.hero-img-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-main video { outline: none; }

/* The video's native AR is 640×352 (~16:9). We give the wrapper a max width
   so the landscape frame never grows taller than ~450px on wide screens. */
.hero-image-wrap {
  max-width: 640px;
  margin-left: auto;
}

/* Two-up rating cards that collapse to a single column on phones */
.rating-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .rating-summary-grid { grid-template-columns: 1fr; }
}
.hero-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-img-badge-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-img-badge strong { font-size: 0.9rem; color: var(--gray-800); display: block; }
.hero-img-badge span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== TRUST STRIP ===== */
.trust-strip {
  padding: 32px 0;
  background: var(--blue);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
}
.trust-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.trust-item strong { font-size: 0.95rem; font-weight: 600; }
.trust-item span { font-size: 0.8rem; opacity: 0.8; }

/* ===== SERVICES ===== */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: block;
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 100%;
  aspect-ratio: 16/9;
  margin: -28px -24px 18px;
  width: calc(100% + 48px);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service-card h4 { margin-bottom: 8px; color: var(--gray-800); }
.service-card p { font-size: 0.9rem; margin-bottom: 12px; }
.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}
.service-card:hover .service-card-more { gap: 8px; }

/* ===== DOCTORS ===== */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.doctor-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--gray-100);
}
.doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.doctor-info { padding: 24px; }
.doctor-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.doctor-info h3 { margin-bottom: 4px; }
.doctor-qual {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 12px;
}
.doctor-info p { font-size: 0.9rem; margin-bottom: 16px; }
.doctor-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== WHY CHOOSE US ===== */
.why { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-card-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.why-card h4 { margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  position: relative;
}
.review-stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 0.92rem; color: var(--gray-800); font-style: italic; margin-bottom: 16px; }
.review-author { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.review-source {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.review-source a { color: var(--blue); text-decoration: underline; }
.reviews-cta { text-align: center; }

.practo-strip {
  background: var(--blue-light);
  border: 1px solid #c5dff2;
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.practo-strip > * { min-width: 0; }
.practo-strip-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; }
.practo-strip-text { min-width: 0; }
.practo-rating-big {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .practo-strip { padding: 20px 18px; gap: 14px; flex-direction: column; align-items: flex-start; text-align: left; }
  .practo-strip-info { width: 100%; }
  .practo-rating-big { font-size: 2.25rem; }
  .practo-strip .btn { width: 100%; justify-content: center; }
}
.practo-strip-text strong { display: block; font-size: 1rem; color: var(--gray-800); }
.practo-strip-text span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0f4f80 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img {
  width: 52px; height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-brand strong {
  display: block;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-brand span { font-size: 0.82rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.6; }

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a:hover { color: white; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%);
  padding: 56px 0;
  text-align: center;
}
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-story .section-label { display: block; margin-bottom: 8px; }
.about-story h2 { margin-bottom: 16px; }
.about-story p { margin-bottom: 14px; }
.about-values {
  background: var(--gray-50);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--gray-200);
}
.value-card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; }

/* ===== SERVICES PAGE ===== */
.service-detail {
  padding: 80px 0;
}
.service-detail:nth-child(even) { background: var(--gray-50); }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.service-detail-icon-wrap {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  font-size: 3rem;
}
.service-detail h2 { margin-bottom: 12px; }
.service-detail .section-label { margin-bottom: 10px; }
.service-detail p { margin-bottom: 14px; }
.service-detail ul { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.service-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.service-detail ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
}
.contact-info-card h3 { margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.contact-detail span { font-size: 0.88rem; color: var(--text-muted); }
.contact-detail a { color: var(--blue); font-weight: 500; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.map-wrap iframe { display: block; }

.contact-phones { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.contact-phones a { color: var(--blue); font-weight: 500; font-size: 0.9rem; }

/* ===== DOCTORS FULL PAGE ===== */
.doctors-full .doctors-grid { max-width: 100%; grid-template-columns: 1fr 1fr; }
.doctor-full-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.doctor-full-photo {
  overflow: hidden;
}
.doctor-full-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.doctor-full-info { padding: 36px; }
.doctor-full-info .doctor-tag { margin-bottom: 12px; }
.doctor-full-info h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 4px; }
.doctor-full-info .doctor-qual { margin-bottom: 16px; font-size: 0.95rem; }
.doctor-exp {
  display: flex;
  gap: 20px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}
.doctor-exp-item {
  background: var(--blue-light);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
}
.doctor-exp-item strong { display: block; font-size: 1.2rem; color: var(--blue); }
.doctor-exp-item span { font-size: 0.75rem; color: var(--text-muted); }
.doctor-full-info p { font-size: 0.92rem; margin-bottom: 16px; }
.doctor-full-info .doctor-chips { margin-top: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  /* Slightly taller landscape on tablets so the video doesn't feel squat */
  .hero-img-main { aspect-ratio: 16 / 10; }
  .hero-img-badge { left: 0; bottom: -16px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .about-story img {
    order: -1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .doctors-full .doctors-grid { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-icon-wrap { max-width: 200px; margin: 0 auto; }
}

/* Collapse navbar into hamburger on tablets + phones */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open a { padding: 12px 16px; border-radius: 10px; font-size: 1rem; }
  .nav-cta.open {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    gap: 10px;
  }
  .nav-cta.open .btn { flex: 1; justify-content: center; }
}

/* Desktop safety net — if anything tries to open the mobile nav above 860px
   (e.g. a user resizes from mobile), hide the backdrop and unlock scroll. */
@media (min-width: 861px) {
  .nav-backdrop { display: none; }
  body.nav-open { overflow: visible; touch-action: auto; }
}

@media (max-width: 640px) {
  .wa-float {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 14px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg { width: 26px; height: 26px; }
  section { padding: 56px 0; }
  /* On phones, widen the video to fill the column and lift the location badge
     onto the video so it doesn't push the layout below. */
  .hero-image-wrap { max-width: 100%; }
  .hero-img-main { aspect-ratio: 16 / 9; border-radius: 14px; }
  /* On phones, the badge sits BELOW the video so it can't block the video
     controls (play/pause, scrub, volume, fullscreen). */
  .hero-img-badge {
    position: static;
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 0.82rem;
    background: white;
    width: 100%;
    justify-content: flex-start;
  }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 20px; }
  .practo-strip { flex-direction: column; text-align: center; }
  .practo-strip-info { justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
