/* =====================================================
   Dr. Sandhya Elhance – Landing Page Styles
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #b5533c;
  --primary-dark: #943f2b;
  --primary-light: #fdf1ee;
  --primary-mid: #f5cec6;
  --accent: #d4785a;
  --dark: #2d1f1a;
  --dark-soft: #3d2b24;
  --text: #4a3028;
  --text-light: #7a6058;
  --text-muted: #a89088;
  --border: #ecddd8;
  --bg: #ffffff;
  --bg-soft: #fdf8f6;
  --bg-mid: #f7eeea;
  --success: #5c9b7a;
  --warning: #d4785a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(45, 33, 26, 0.08);
  --shadow-md: 0 8px 40px rgba(45, 33, 26, 0.12);
  --shadow-lg: 0 16px 64px rgba(45, 33, 26, 0.16);
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 17px; }

h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 16px; }

.highlight { color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,83,60,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-mid); }
.btn-large { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  flex-shrink: 0;
}
.logo-icon { color: var(--primary); font-size: 20px; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: 0; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}
.nav-practo { display: flex; align-items: center; }
.nav-cta-mobile { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* hero-content acts as a normal block on desktop — reset display:contents from mobile */
.hero-content {
  display: flex;
  flex-direction: column;
}
.hero-text { display: contents; } /* transparent wrapper on desktop */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-content h1 { margin-bottom: 20px; }
.hero-subtitle { font-size: 17px; color: var(--text-light); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.play-icon { font-size: 12px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-item { display: flex; }
.trust-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
}
.trust-text { display: flex; flex-direction: column; gap: 2px; }
.stars { color: var(--warning); font-size: 14px; }
.trust-text span { font-size: 13px; color: var(--text-light); }

/* Hero image */
.hero-image { display: flex; justify-content: center; }
.hero-image-wrapper { position: relative; width: 100%; max-width: 460px; }
.hero-img-placeholder {
  background: linear-gradient(135deg, var(--primary-mid) 0%, #e8cfc8 100%);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-doctor-photo {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

.doctor-card-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
}
.doctor-avatar-large { width: 120px; height: 120px; }
.doctor-avatar-large svg { width: 100%; height: 100%; }
.doctor-info-hero { display: flex; flex-direction: column; gap: 4px; }
.doctor-info-hero strong { font-size: 18px; color: var(--dark); }
.doctor-info-hero span { font-size: 14px; color: var(--text-light); }
.available-tag { color: var(--success) !important; font-weight: 600; font-size: 13px !important; }
.floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.floating-card strong { display: block; font-size: 14px; color: var(--dark); }
.floating-card small { color: var(--text-muted); font-size: 12px; }
.fc-icon { font-size: 20px; }
.card-1 { top: 24px; right: -10px; }
.card-2 { bottom: 40px; left: -10px; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}
.trust-bar-track {
  overflow: hidden;
  width: 100%;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-bar:hover .trust-bar-inner {
  animation-play-state: paused;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 28px;
  white-space: nowrap;
}
.tb-icon { font-size: 16px; flex-shrink: 0; }
.trust-bar-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- Stats ---- */
.stats {
  background: var(--dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ---- Why Us ---- */
.why-us { padding: 96px 0; background: var(--bg); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-content h2 { margin-bottom: 16px; }
.why-content > p { color: var(--text-light); font-size: 16px; margin-bottom: 36px; }
.why-points { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.point-num {
  min-width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.why-point div strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--dark); }
.why-point div p { font-size: 14px; color: var(--text-light); }

/* Doctor Profile Card */
.doctor-profile-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
}
.dpc-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dpc-avatar {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.dpc-header h3 { color: white; font-size: 18px; margin-bottom: 4px; }
.dpc-header span { color: rgba(255,255,255,0.75); font-size: 13px; }
.dpc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}
.dpc-stat strong { display: block; font-size: 20px; color: white; }
.dpc-stat small { font-size: 11px; color: rgba(255,255,255,0.7); }
.dpc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag {
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
}
.doctor-profile-card .btn-primary {
  background: white;
  color: var(--primary);
  border-color: white;
}
.doctor-profile-card .btn-primary:hover { background: var(--primary-light); }

/* ---- About ---- */
.about { padding: 96px 0; background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.about-icon { font-size: 36px; margin-bottom: 16px; }
.about-card h4 { font-size: 18px; margin-bottom: 16px; color: var(--dark); }
.about-card ul { display: flex; flex-direction: column; gap: 8px; }
.about-card ul li { font-size: 14px; color: var(--text-light); padding-left: 16px; position: relative; }
.about-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ---- Services ---- */
.services { padding: 96px 0; background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover h4, .service-card:hover p { color: white; }
.service-card:hover .service-icon svg path,
.service-card:hover .service-icon svg circle,
.service-card:hover .service-icon svg rect {
  stroke: white;
}
.service-card:hover .service-icon svg circle[fill="#fdf4f1"] { fill: rgba(255,255,255,0.2); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,255,255,0.15); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-size: 16px; margin-bottom: 10px; transition: color var(--transition); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; transition: color var(--transition); }

/* ---- Virtual Banner ---- */
.virtual-banner {
  background: linear-gradient(135deg, #2d1f1a 0%, #5c3b2e 100%);
  padding: 64px 0;
}
.virtual-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.virtual-text h2 { color: white; font-size: clamp(22px, 3vw, 34px); margin-bottom: 8px; }
.virtual-text p { color: rgba(255,255,255,0.65); font-size: 15px; }
.virtual-rating { text-align: right; }
.stars-large { color: var(--warning); font-size: 22px; margin-bottom: 4px; }
.virtual-rating strong { display: block; color: white; font-size: 16px; }
.virtual-rating span { color: rgba(255,255,255,0.6); font-size: 13px; }
.virtual-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vf-input {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.vf-input::placeholder { color: rgba(255,255,255,0.5); }
.vf-input option { color: var(--dark); background: white; }
.vf-input:focus { border-color: rgba(255,255,255,0.5); }

/* ---- Reviews ---- */
.reviews { padding: 96px 0; background: var(--bg-soft); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  border-left: 3px solid transparent;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-left-color: var(--primary);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.review-header div { flex: 1; }
.review-header strong { display: block; font-size: 14px; color: var(--dark); }
.review-header small { font-size: 12px; color: var(--text-muted); }
.stars-small { color: var(--warning); font-size: 12px; }
.google-badge {
  width: 28px; height: 28px;
  background: #4285f4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.review-card > p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.reviews-cta { text-align: center; }

/* ---- Booking ---- */
.booking { padding: 96px 0; background: var(--dark); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: flex-start;
}
.booking-left .section-label { background: rgba(181,83,60,0.2); color: #f0a090; border-color: rgba(181,83,60,0.3); }
.booking-left h2 { color: white; margin-bottom: 12px; }
.booking-left > p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 36px; }
.clinic-info { display: flex; flex-direction: column; gap: 20px; }
.clinic-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ci-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.clinic-info-item strong { display: block; font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
.clinic-info-item span { font-size: 14px; color: rgba(255,255,255,0.6); }

/* Booking Form */
.booking-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,83,60,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}
.form-group textarea { resize: vertical; }
.form-error { font-size: 12px; color: #ef4444; min-height: 16px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}
.form-consent a { color: var(--primary); }
.form-consent label { cursor: pointer; }

/* Success state */
.booking-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.booking-success h3 { color: var(--dark); margin-bottom: 12px; }
.booking-success p { color: var(--text-light); margin-bottom: 8px; }
.success-detail { font-weight: 600; color: var(--primary) !important; }

/* ---- Footer ---- */
.footer { background: var(--dark-soft); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 24px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.social-link:hover { background: var(--primary); }
.maps-link:hover { background: #1a73e8; }
.footer-col h4 { color: white; font-size: 14px; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a, .footer-col ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list li span { font-size: 14px; flex-shrink: 0; }
.footer-newsletter { margin-top: 24px; }
.footer-newsletter p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.nl-form { display: flex; gap: 8px; }
.nl-form input {
  flex: 1;
  padding: 9px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  color: white;
  font-size: 13px;
  outline: none;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.nl-consent { font-size: 11px !important; color: rgba(255,255,255,0.3) !important; margin-top: 8px !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-legal a:hover { color: white; }

/* ---- Floating Buttons ---- */
.floating-maps-btn {
  position: fixed;
  bottom: 28px;
  right: 188px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a73e8;
  color: white;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(26,115,232,0.35);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  text-decoration: none;
}
.floating-maps-btn.visible { opacity: 1; transform: translateY(0); }
.floating-maps-btn:hover { background: #1558b0; box-shadow: 0 12px 40px rgba(26,115,232,0.5); transform: translateY(-2px); }

.floating-book-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(181,83,60,0.4);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.floating-book-btn.visible { opacity: 1; transform: translateY(0); }
.floating-book-btn:hover { background: var(--primary-dark); box-shadow: 0 12px 40px rgba(181,83,60,0.5); transform: translateY(-2px); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* --- Navbar --- */
  .nav-links, .nav-cta { display: none; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: white;
    padding: 20px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li:last-child a { border-bottom: none; }
  /* Book Appointment CTA inside mobile menu */
  .nav-links.open .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    padding: 14px;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: none !important;
  }

  /* --- Hero --- */
  .hero { padding: 40px 0 52px; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  /* Use display:contents to "dissolve" hero-content so its children
     (hero-text, hero-cta-block) become direct flex children of hero-inner,
     allowing order-based reflow: text → image → cta */
  .hero-content { display: contents; }
  .hero-text { order: 1; text-align: center; }
  .hero-badge { justify-content: center; }
  .hero-content h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero-subtitle { font-size: 15px; max-width: 100%; margin-bottom: 0; }
  .hero-image { order: 2; justify-content: center; margin: 24px 0; }
  .hero-cta-block { order: 3; }
  .hero-image-wrapper { max-width: 320px; width: 100%; }
  .hero-img-placeholder { min-height: 300px; }
  .hero-doctor-photo { min-height: 300px; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .floating-card { display: none; }
  .card-1, .card-2 { display: none; }

  /* --- Stats --- */
  .stats { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 12px;
  }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  /* --- Why Us --- */
  .why-us { padding: 60px 0; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-content { text-align: center; }
  .why-content h2 { font-size: clamp(22px, 6vw, 32px); }
  .why-point { text-align: left; }
  .why-card-wrap { padding: 0; }

  /* --- About --- */
  .about { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-card { padding: 28px 20px; }

  /* --- Services --- */
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 20px; }

  /* --- Virtual Banner --- */
  .virtual-banner { padding: 48px 0; }
  .virtual-inner { flex-direction: column; text-align: center; gap: 20px; margin-bottom: 24px; }
  .virtual-rating { text-align: center; }
  .virtual-form { flex-direction: column; gap: 12px; }
  .vf-input { min-width: 0; width: 100%; }

  /* --- Reviews --- */
  .reviews { padding: 60px 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }

  /* --- Booking --- */
  .booking { padding: 60px 0; }
  .booking-inner { grid-template-columns: 1fr; gap: 36px; }
  .booking-left { text-align: center; }
  .booking-left .clinic-info { text-align: left; }
  .booking-left .btn-whatsapp { width: 100% !important; justify-content: center !important; box-sizing: border-box; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .booking-form-wrap { padding: 20px 14px; border-radius: var(--radius); overflow: hidden; }
  .booking-form { gap: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 12px 12px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-consent { font-size: 12px; }
  .booking { overflow: hidden; }

  /* --- Footer --- */
  .footer { padding: 48px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-legal { gap: 16px; flex-wrap: wrap; justify-content: center; }

  /* --- Floating Buttons --- */
  .floating-maps-btn {
    bottom: 16px;
    right: 160px;
    padding: 12px;
  }
  .floating-book-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 13px;
  }

  /* --- Section spacing & typography --- */
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(22px, 6vw, 32px); }
  .section-header p { font-size: 15px; }
  h2 { font-size: clamp(22px, 6vw, 34px); }
  h3 { font-size: clamp(17px, 4.5vw, 22px); }

  /* --- Doctor profile card on mobile --- */
  .doctor-profile-card { padding: 24px 20px; }
  .dpc-header { gap: 12px; }
  .dpc-header h3 { font-size: 16px; }
  .dpc-tags { gap: 6px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 44px; }
  .hero-image-wrapper { max-width: 260px; }
  .hero-img-placeholder { min-height: 260px; }
  .hero-doctor-photo { min-height: 260px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: clamp(28px, 7vw, 40px); }
  .dpc-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 8px; }
  .dpc-stat strong { font-size: 16px; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { width: 100%; justify-content: center; }
  .footer-legal { flex-direction: column; align-items: center; gap: 8px; }
  .floating-maps-btn { right: 144px; bottom: 14px; }
  .floating-book-btn { right: 14px; bottom: 14px; padding: 10px 14px; font-size: 12px; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}
.animate-in { animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-in-left { animation: fadeInLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-in-scale { animation: scaleIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* Stagger delays for grid children */
.services-grid .service-card:nth-child(1),
.reviews-grid .review-card:nth-child(1),
.about-grid .about-card:nth-child(1) { animation-delay: 0s; }
.services-grid .service-card:nth-child(2),
.reviews-grid .review-card:nth-child(2),
.about-grid .about-card:nth-child(2) { animation-delay: 0.08s; }
.services-grid .service-card:nth-child(3),
.reviews-grid .review-card:nth-child(3),
.about-grid .about-card:nth-child(3) { animation-delay: 0.16s; }
.services-grid .service-card:nth-child(4),
.reviews-grid .review-card:nth-child(4) { animation-delay: 0.24s; }
.services-grid .service-card:nth-child(5),
.reviews-grid .review-card:nth-child(5) { animation-delay: 0.32s; }
.services-grid .service-card:nth-child(6),
.reviews-grid .review-card:nth-child(6) { animation-delay: 0.40s; }

/* ---- Scroll indicator ---- */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 101;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---- Active nav link ---- */
.nav-links a.active { color: var(--primary); font-weight: 600; }

/* ---- Review card quote style ---- */
.review-card > p::before {
  content: '\201C';
  font-size: 42px;
  line-height: 0;
  vertical-align: -16px;
  color: var(--primary-mid);
  font-family: Georgia, serif;
  margin-right: 2px;
}

/* ---- Trust badge in hero ---- */
.trust-text span { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* ---- Stat counter ---- */
.stat-number { cursor: default; }

/* ---- Service section label fix ---- */
.services .section-header .section-label { display: inline-block; }

/* ---- Booking form focus ring ---- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(181,83,60,0.12);
}

/* ---- Review card verified badge ---- */
.review-header small {
  background: #f0fdf4;
  color: #3d7a5e;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

/* ---- Why point hover ---- */
.why-point {
  padding: 16px;
  border-radius: 12px;
  transition: background var(--transition);
}
.why-point:hover { background: var(--bg-soft); }
