/* =========================================================
   Vaanya Gynec And Children Hospital - site.css
   Custom, framework-free responsive design system
   ========================================================= */

:root {
  --color-primary: #146c94;
  --color-primary-dark: #0d4d6b;
  --color-primary-light: #4f9bc4;
  --color-accent: #a8461f;
  --color-accent-dark: #7c3216;
  --color-gold: #f2a541;
  --color-ink: #1e293b;
  --color-body: #4b5563;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f9fb;
  --color-bg-pink: #fdf1e6;
  --color-border: #e5edf1;

  --font-heading: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(20, 108, 148, 0.08);
  --shadow-md: 0 12px 30px rgba(20, 108, 148, 0.14);
  --shadow-lg: 0 24px 50px rgba(20, 108, 148, 0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-w: 1180px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-ink); line-height: 1.25; font-weight: 600; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

section { position: relative; padding: 96px 0; }
.section-alt { background: var(--color-bg-soft); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-dark);
  background: var(--color-bg-pink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 17px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.btn-block { color: var(--color-primary); border-color: var(--color-primary); }
.btn-block:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--color-primary-dark);
  color: #dceefb;
  font-size: 13.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color var(--transition); }
.topbar a:hover { color: var(--color-gold); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.topbar-social a:hover { background: var(--color-accent); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 86px; transition: height var(--transition); }
.navbar.scrolled .container { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; flex-shrink: 0; overflow: hidden; position: relative;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text strong { display: block; font-size: 19px; color: var(--color-ink); }
.brand-text span { display: block; font-size: 11.5px; letter-spacing: 0.08em; color: var(--color-primary); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative; font-weight: 500; font-size: 15px; color: var(--color-ink);
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-accent); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--color-primary); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn-primary { padding: 12px 24px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 32px; background: none; border: none; z-index: 1100; }
.nav-toggle span { height: 3px; border-radius: 2px; background: var(--color-primary-dark); transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 130px;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #1c8aa8 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), transparent 70%);
  animation: float 9s ease-in-out infinite;
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -100px; }
.hero::after { width: 260px; height: 260px; bottom: -80px; left: -60px; animation-delay: 2.5s; background: radial-gradient(circle at 30% 30%, rgba(242,165,65,0.35), transparent 70%); }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.06); }
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14);
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 22px; text-transform: uppercase;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6);} 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0);} }
.hero h1 { font-size: clamp(32px, 5vw, 52px); color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--color-gold); }
.hero p { font-size: 18px; color: #dceefb; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 26px; color: #fff; font-family: var(--font-heading); }
.hero-stats .stat span { font-size: 13px; color: #bfe0f0; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #eaf6fb, #ffffff);
  display: flex; align-items: center; justify-content: center;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-16px) rotate(1deg);} }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .placeholder-icon { font-size: 90px; color: var(--color-primary-light); }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--color-ink);
  padding: 16px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; font-size: 13px; max-width: 220px;
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge { 0%,100% { transform: translateY(0);} 50% { transform: translateY(12px);} }
.hero-badge .icon-circle { width: 42px; height: 42px; border-radius: 50%; background: var(--color-bg-pink); color: var(--color-accent-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 14px; }

.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; display: block; }

/* ---------- Icon circle generic ---------- */
.icon-circle-lg {
  width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px; transition: transform var(--transition), background var(--transition), color var(--transition);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 1/1; background: linear-gradient(145deg, var(--color-bg-soft), #dff1f8);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media-frame .placeholder-icon { font-size: 110px; color: var(--color-primary-light); }
.about-exp-badge {
  position: absolute; bottom: -26px; right: -26px; background: var(--color-accent);
  color: #fff; border-radius: 50%; width: 130px; height: 130px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
}
.about-exp-badge strong { font-size: 32px; line-height: 1; }
.about-exp-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.about-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--color-ink); }
.about-list .check { width: 26px; height: 26px; border-radius: 50%; background: var(--color-bg-pink); color: var(--color-accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; margin-top: 2px; }

/* ---------- Doctors ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.doctor-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.doctor-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.doctor-photo { aspect-ratio: 3/4; background: linear-gradient(145deg, var(--color-bg-soft), #dff1f8); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.doctor-card:hover .doctor-photo img { transform: scale(1.07); }
.doctor-photo .placeholder-icon { font-size: 80px; color: var(--color-primary-light); }
.doctor-body { padding: 30px 32px 34px; }
.doctor-body h3 { font-size: 21px; margin-bottom: 2px; }
.doctor-role { color: var(--color-accent-dark); font-weight: 600; font-size: 14px; margin-bottom: 18px; display: block; }
.doctor-body ul { display: grid; gap: 10px; }
.doctor-body li { display: flex; gap: 10px; font-size: 14px; color: var(--color-body); }
.doctor-body li .icon-circle { width: 22px; height: 22px; border-radius: 6px; background: var(--color-bg-soft); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 32px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon-circle-lg { background: var(--color-bg-soft); color: var(--color-primary); }
.service-card:hover .icon-circle-lg { background: var(--color-primary); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 14px; }

/* ---------- Facilities strip ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facility-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--color-primary-dark), var(--color-primary));
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
}
.facility-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.facility-card:hover img { transform: scale(1.08); }
.facility-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,77,107,0.88), rgba(13,77,107,0.15) 60%); }
.facility-card .placeholder-icon { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); font-size: 64px; color: rgba(255,255,255,0.35); }
.facility-body { position: relative; z-index: 2; padding: 26px; color: #fff; }
.facility-body h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.facility-body p { color: #d8ecf5; font-size: 13.5px; }

.room-chip-row { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center; }
.room-chip-label { font-weight: 600; color: var(--color-ink); font-size: 14px; margin-right: 4px; }
.room-chip {
  background: #fff; border: 1.5px solid var(--color-border); color: var(--color-primary-dark);
  font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.cashless-frame { max-width: 860px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.cashless-frame img { width: 100%; height: auto; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .g-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1;
  background: linear-gradient(145deg, var(--color-bg-soft), #dff1f8);
  display: flex; align-items: center; justify-content: center;
}
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-grid .g-item:hover img { transform: scale(1.12); }
.gallery-grid .g-item .placeholder-icon { font-size: 46px; color: var(--color-primary-light); }
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ---------- Testimonial ---------- */
.testimonial-card { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-quote-mark { font-family: var(--font-heading); font-size: 64px; color: var(--color-gold); line-height: 1; display: block; margin-bottom: 4px; }
.testimonial-text { font-size: 19px; color: var(--color-ink); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; color: var(--color-gold); margin-bottom: 12px; }
.testimonial-author { font-weight: 600; color: var(--color-primary-dark); font-size: 14.5px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-lg); padding: 56px 60px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-banner p { color: #ffe3ea; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
.contact-info-card {
  background: var(--color-primary-dark); color: #fff; border-radius: var(--radius-lg);
  padding: 44px 38px;
}
.contact-info-card h3 { color: #fff; margin-bottom: 26px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-item .icon-circle { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: 14px; color: #cfe7f2; }
.contact-map { margin-top: 30px; border-radius: var(--radius-md); overflow: hidden; height: 200px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2); }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--color-ink); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 13px 16px;
  font-family: inherit; font-size: 14.5px; color: var(--color-ink); background: var(--color-bg-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(20,108,148,0.12); background: #fff;
}
.form-note { font-size: 13px; margin-top: 14px; color: var(--color-body); }
.form-note.success { color: #16a34a; font-weight: 600; }
.field-error { display: block; color: #c0392b; font-size: 12.5px; margin-top: 6px; font-weight: 500; }

.captcha-group { justify-content: flex-end; }
.captcha-box { display: flex; align-items: center; gap: 10px; height: 46px; }
.captcha-box img { height: 46px; width: 140px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border); background: var(--color-bg-soft); }
.captcha-refresh {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border);
  background: #fff; color: var(--color-primary); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.captcha-refresh:hover { background: var(--color-primary); color: #fff; transform: rotate(180deg); }

/* ---------- Footer ---------- */
.site-footer { background: #0b2f42; color: #b9d6e2; padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--color-accent); transform: translateY(-4px); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; transition: color var(--transition), padding-left var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), visibility var(--transition);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); }

/* ---------- Mobile nav overlay ---------- */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 68px 0; }
  .topbar-left span.hide-sm { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: 40px; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform var(--transition); z-index: 1050;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .services-grid, .facility-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid, .facility-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .contact-form { padding: 28px; }
}

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(11,47,66,0.5); z-index: 1040;
  opacity: 0; transition: opacity var(--transition);
}
.nav-overlay.show { display: block; opacity: 1; }
