/* ── ROOT VARIABLES ── */
:root {
  --navy: #0D2B4E;
  --teal: #1E8A8A;
  --teal-light: #2EB8B8;
  --orange: #E07A3A;
  --cream: #F7F4EF;
  --warm-white: #FDFCFA;
  --slate: #4A5568;
  --gold: #C9A84C;
  --text: #1a1a2e;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
}

h1 { font-size: 52px; font-weight: 700; line-height: 1.2; }
h2 { font-size: 38px; font-weight: 600; line-height: 1.25; }
h3 { font-size: 26px; font-weight: 600; line-height: 1.3; }
p  { font-size: 16px; font-weight: 400; }

/* ── NAV ── */
/* ── OPENING BANNER ── */
.opening-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: linear-gradient(90deg, #0a1f3a 0%, #1E8A8A 40%, #C9A84C 60%, #0a1f3a 100%);
  background-size: 300% 100%;
  animation: bannerShimmer 8s linear infinite;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 14px 5%;
  flex-wrap: wrap; text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.opening-banner-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}
.opening-banner-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.03em;
}
.opening-banner-text strong {
  color: #fff;
  font-weight: 700;
}
.opening-banner-cta {
  background: white;
  color: #0D2B4E;
  font-size: 0.75rem; font-weight: 700;
  padding: 7px 18px; border-radius: 100px;
  white-space: nowrap; text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.opening-banner-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
@keyframes bannerShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

nav {
  position: fixed; top: 48px; width: 100%; z-index: 100;
  background: rgba(253,252,250,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,43,78,0.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-logo-mark svg { width: 28px; height: 28px; }

.nav-logo-text { line-height: 1.2; }
.nav-logo-text .brand { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.nav-logo-text .sub { font-size: 0.68rem; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: 0.85rem; font-weight: 400;
  color: var(--slate); letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy) !important; color: white !important; }

/* ── ACTIVE NAV ── */
.nav-links a.active { color: var(--teal); font-weight: 500; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV BACKDROP ── */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,20,40,0.4);
  z-index: 298;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.open { display: block; opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(30,138,138,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-left {
  padding: 190px 8% 80px 10%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,138,138,0.15);
  border: 1px solid rgba(46,184,184,0.3);
  color: var(--teal-light);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 32px;
  width: fit-content;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex; align-items: center; gap: 20px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.btn-primary {
  background: var(--teal);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30,138,138,0.4); }

.btn-secondary {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: white; }
.btn-secondary .arrow { transition: transform 0.2s; }
.btn-secondary:hover .arrow { transform: translateX(4px); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s 0.5s ease both;
}

.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem; font-weight: 600;
  color: white; line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num span { color: var(--teal-light); }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }

.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 5% 80px 0;
  animation: fadeInRight 1s 0.3s ease both;
}

.hero-clinic-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  width: 100%; max-width: 520px;
  backdrop-filter: blur(8px);
}

.hero-clinic-img {
  width: 100%; height: 360px;
  object-fit: cover;
  background: linear-gradient(135deg, #1E3A5F 0%, #0D2B4E 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.clinic-interior-visual {
  width: 100%; height: 280px;
  background:
    linear-gradient(180deg, rgba(13,43,78,0) 0%, rgba(13,43,78,0.6) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='280'%3E%3Crect width='400' height='280' fill='%23e8e4de'/%3E%3Crect x='20' y='20' width='160' height='240' rx='8' fill='%23f5f1eb'/%3E%3Crect x='200' y='60' width='180' height='200' rx='4' fill='%23f0ece4'/%3E%3Crect x='20' y='20' width='160' height='80' fill='%23d4cfc8' rx='8'/%3E%3Ccircle cx='100' cy='60' r='28' fill='%231E8A8A' opacity='0.6'/%3E%3Crect x='230' y='120' width='120' height='8' rx='4' fill='%23c8c3bb'/%3E%3Crect x='230' y='140' width='90' height='8' rx='4' fill='%23c8c3bb'/%3E%3C/svg%3E");
  background-size: cover;
}

.clinic-img-label {
  position: absolute; bottom: 16px; left: 16px;
  color: white; font-size: 0.8rem; font-weight: 500;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px; border-radius: 100px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
}

.hero-clinic-info { padding: 24px; }
.doctor-name-hero { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 600; color: white; margin-bottom: 4px; }
.doctor-cred { font-size: 0.78rem; color: var(--teal-light); letter-spacing: 0.06em; margin-bottom: 16px; }
.hero-availability {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
}
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }

.hero-reviews-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}
.hero-reviews-scroll::-webkit-scrollbar { display: none; }
.hero-reviews-track {
  display: flex;
  width: max-content;
  animation: reviewsScroll 18s linear infinite;
}
.hero-reviews-track:hover { animation-play-state: paused; }
.hero-review-item {
  min-width: 260px;
  padding: 14px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-review-stars { color: #E07A3A; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 5px; }
.hero-review-text { font-size: 0.77rem; color: rgba(255,255,255,0.85); line-height: 1.5; font-style: italic; margin-bottom: 6px; }
.hero-review-author { font-size: 0.68rem; color: var(--teal-light); font-weight: 500; }
@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(13,43,78,0.08);
  padding: 20px 10%;
  display: flex; align-items: center; justify-content: center; gap: 60px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--slate); font-weight: 400;
}
.trust-icon { color: var(--teal); font-size: 1.1rem; }

/* ── SECTION COMMON ── */
section { padding: 100px 10%; }
.section-label {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.375rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-desc {
  font-size: 0.95rem; color: var(--slate);
  line-height: 1.8; max-width: 560px;
}

/* ── ABOUT DR ── */
.about {
  background: white;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}

.about-image-block { position: relative; }

.about-photo {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.doctor-silhouette {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, #1a3a6e 0%, #0d2347 100%);
  position: relative;
}

.doctor-silhouette::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(30,138,138,0.2) 0%, transparent 70%);
}

.doctor-icon {
  font-size: 6rem; filter: grayscale(1) brightness(0.6);
  margin-bottom: 12px;
}

.about-photo-caption {
  position: absolute; bottom: -1px; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(13,43,78,0.95) 0%, transparent 100%);
  padding: 40px 28px 28px;
  border-radius: 0 0 20px 20px;
}
.about-photo-caption .dr-name { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 600; color: white; }
.about-photo-caption .dr-deg { font-size: 0.75rem; color: var(--teal-light); letter-spacing: 0.06em; margin-top: 4px; }

.about-accent-card {
  position: absolute; top: 32px; right: -28px;
  background: var(--teal);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(30,138,138,0.3);
  min-width: 140px; text-align: center;
}
.accent-num { font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 600; line-height: 1; }
.accent-lbl { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }

.about-content .section-desc { max-width: 100%; margin-bottom: 32px; }

.credential-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.credential-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 12px;
  border-left: 3px solid var(--teal);
  font-size: 0.88rem; color: var(--slate); line-height: 1.5;
}
.cred-icon { color: var(--teal); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }

/* ── WHY CHOOSE US ── */
.why {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.why::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,138,138,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.why-header { margin-bottom: 60px; }
.why .section-label { color: var(--teal-light); }
.why .section-title { color: white; }
.why .section-desc { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.why-card:hover::before { transform: scaleX(1); }

.why-card-icon {
  width: 52px; height: 52px;
  background: rgba(30,138,138,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
  color: var(--teal-light);
}
.why-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 600; color: white; margin-bottom: 10px; }
.why-card p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ── SERVICES ── */
.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
  border: 1px solid rgba(13,43,78,0.06);
  cursor: pointer;
}
.service-card:hover { box-shadow: 0 16px 48px rgba(13,43,78,0.12); transform: translateY(-4px); }
.service-icon {
  font-size: 2rem; margin-bottom: 16px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.service-card h4 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.service-card p { font-size: 0.8rem; color: var(--slate); line-height: 1.6; }

/* ── CLINIC TOUR ── */
.clinic-tour { background: white; }
.tour-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.tour-photos {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.tour-photo {
  border-radius: 16px; overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  position: relative;
}
.tour-photo.large { grid-row: span 2; aspect-ratio: unset; min-height: 400px; }
.tour-photo-label {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: white; background: rgba(13,43,78,0.7);
  padding: 5px 12px; border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* Clinic photo backgrounds */
.photo-reception { background: linear-gradient(135deg, #e8e4de 0%, #d4cfc8 100%); }
.photo-consult { background: linear-gradient(135deg, #dde4ed 0%, #c8d4e0 100%); }
.photo-waiting { background: linear-gradient(135deg, #e4e8e4 0%, #d0d8d0 100%); }
.photo-exam { background: linear-gradient(135deg, #ede8e4 0%, #e0d8d0 100%); }

.photo-inner-label {
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.4;
  letter-spacing: 0.05em;
  font-weight: 400;
  font-style: italic;
}

/* ── APPOINTMENT ── */
.appointment {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.appointment::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,122,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.appt-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}

.appt-content .section-label { color: var(--teal-light); }
.appt-content .section-title { color: white; }
.appt-content .section-desc { color: rgba(255,255,255,0.6); margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(30,138,138,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--teal-light); flex-shrink: 0;
}
.contact-item-text strong { display: block; color: white; font-size: 0.88rem; font-weight: 500; }
.contact-item-text span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.contact-item-link { text-decoration: none; border-radius: 12px; transition: background 0.2s; }
.contact-item-link:hover { background: rgba(30,138,138,0.12); }
.maps-hint { font-size: 0.75rem !important; color: var(--teal-light) !important; margin-top: 2px; }

.appt-form {
  background: white;
  border-radius: 24px;
  padding: 40px 36px;
}
.appt-form h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
}
.appt-form .form-sub { font-size: 0.82rem; color: var(--slate); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid rgba(13,43,78,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--warm-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); background: white; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-submit {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--navy); }

/* ── FORM VALIDATION ── */
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e05a5a; }
.form-error-msg {
  font-size: 0.75rem; color: #e05a5a; margin-top: 4px; display: none;
}
.form-error-msg.show { display: block; }
.form-submit.loading { opacity: 0.7; cursor: not-allowed; }
.form-submit.success { background: #1a6b3a !important; }

/* ── SLOT GRID ── */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.slot-btn {
  padding: 11px 6px;
  border: 1.5px solid rgba(13,43,78,0.15);
  border-radius: 10px;
  background: var(--warm-white);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  line-height: 1.2;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
  background: white;
}

.slot-btn.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.slot-btn:disabled {
  border-color: rgba(200,60,60,0.2);
  color: rgba(200,60,60,0.5);
  background: rgba(200,60,60,0.04);
  cursor: not-allowed;
  text-decoration: line-through;
}

.slots-hint,
.slots-loading {
  font-size: 0.8rem;
  color: var(--slate);
  font-style: italic;
  grid-column: 1 / -1;
  margin: 0;
}

.slots-loading { color: var(--teal); font-style: normal; }

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--cream);
  padding: 100px 10%;
}

.testimonials-inner { max-width: 1200px; margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial-card {
  background: white;
  border: 1px solid rgba(13,43,78,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(13,43,78,0.08);
  transform: translateY(-2px);
}

.t-stars { color: var(--orange); font-size: 1.05rem; letter-spacing: 2px; }

.t-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--slate);
  flex: 1;
  font-style: italic;
}

.t-author { display: flex; align-items: center; gap: 12px; }

.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem; flex-shrink: 0;
}

.t-name { font-weight: 500; color: var(--navy); font-size: 0.88rem; }
.t-concern { font-size: 0.75rem; color: var(--teal); letter-spacing: 0.04em; }

/* Submit box */
.t-submit-wrap { max-width: 560px; margin: 0 auto; }

.t-submit-box {
  background: white;
  border: 1px solid rgba(13,43,78,0.07);
  border-radius: 20px;
  padding: 36px 32px;
}

.t-submit-box h3 {
  font-size: 1.25rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}

.t-submit-box > p { font-size: 0.85rem; color: var(--slate); margin-bottom: 24px; }

/* Star rating input */
.star-rating {
  display: flex; gap: 6px;
  padding: 10px 0;
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

.star-rating .star {
  color: rgba(13,43,78,0.15);
  transition: color 0.1s;
  user-select: none;
}

.star-rating .star.active { color: var(--orange); }

/* ── FOOTER ── */
footer {
  background: #080f1e;
  color: rgba(255,255,255,0.5);
  padding: 60px 10% 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name {
  font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 600; color: white;
  margin-bottom: 6px;
}
.footer-brand .tagline { font-size: 0.8rem; color: var(--teal-light); margin-bottom: 16px; font-style: italic; }
.footer-brand p { font-size: 0.82rem; line-height: 1.75; max-width: 280px; }

.footer-col h5 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { text-decoration: none; font-size: 0.83rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal-light); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  text-decoration: none; font-size: 1.6rem;
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ── MOBILE NAV DRAWER ── */
/* Transition defined outside media query so it applies at all sizes */
.nav-links {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s;
}

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 60px; }
  .hero-right { padding: 0 10% 60px; justify-content: flex-start; }
  .hero-clinic-card { max-width: 380px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-accent-card { right: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .appt-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tour-photos { grid-template-columns: 1fr 1fr; }
  .tour-photo.large { grid-row: auto; aspect-ratio: 4/3; min-height: auto; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 640px) {
  nav { padding: 0 5%; z-index: 300; }
  .nav-hamburger { display: flex; z-index: 301; }

  /* Drawer: slides in from the right, sits beneath the nav bar */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 0 48px;
    z-index: 299;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Hidden state */
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
  }
  .nav-links.open {
    display: flex;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Each item is a full-width row */
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(13,43,78,0.07);
  }
  .nav-links li:last-child { border-bottom: none; padding: 28px 6% 0; }

  /* Links: tall touch targets, left-aligned */
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 6%;
    min-height: 68px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    color: var(--navy) !important;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(30,138,138,0.08);
  }
  .nav-links a:active { background: rgba(30,138,138,0.06); }

  /* CTA button inside drawer */
  .nav-links .nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    background: var(--teal) !important;
    color: white !important;
    border-radius: 14px;
    padding: 0 32px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
  }
  .nav-links .nav-cta:active { background: var(--navy) !important; }

  section { padding: 70px 6%; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .trust-bar { gap: 24px; }
  .tour-photos { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { padding: 64px 6%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .t-submit-box { padding: 28px 20px; }
  .about-accent-card { position: static; margin: 16px 0 0 auto; box-shadow: none; }
  .appt-form { padding: 28px 20px; }

  /* Opening banner — stack text, hide CTA button on small screens */
  .opening-banner { gap: 10px; padding: 10px 5%; }
  .opening-banner-text { font-size: 0.75rem; text-align: center; }
  .opening-banner-cta { display: none; }
  .banner-long { display: none; }

  /* Date input — prevent overflow on mobile browsers */
  .form-group input[type="date"] {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    -webkit-appearance: none;
  }
}
