/* =========================================================
   REHABION PHYSIO CENTRE — style.css
   Design: Refined Medical-Luxury with warm gold & deep teal
   Fonts: Playfair Display + DM Sans
   ========================================================= */

:root {
  --teal-dark:  #0d2e28;
  --teal-mid:   #145a4d;
  --teal-light: #1e8a6e;
  --teal-pale:  #d2f0e8;
  --gold:       #e8a820;
  --gold-light: #f5c842;
  --gold-pale:  #fdf3d0;
  --cream:      #faf8f2;
  --white:      #ffffff;
  --text:       #1a2e2a;
  --muted:      #5a7068;
  --border:     rgba(20, 90, 77, 0.12);
  --shadow-sm:  0 4px 16px rgba(13,46,40,0.08);
  --shadow-md:  0 12px 40px rgba(13,46,40,0.12);
  --shadow-lg:  0 24px 64px rgba(13,46,40,0.16);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, #f0faf6 0%, #f7fdf9 100%); }

/* ── EYEBROW ─────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.section-head h2 em {
  font-style: italic;
  color: var(--teal-light);
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ── LOADER ──────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}

.loader-inner img {
  width: 80px; height: 80px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.8; }
}

.loader-bar {
  width: 160px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px; overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 0%; }
  70% { width: 100%; }
  100% { width: 100%; opacity: 0; }
}

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 242, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s, background 0.25s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(250, 248, 242, 0.97);
}

.nav-shell {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; min-height: 80px;
}

.brand {
  display: flex; align-items: center; gap: 0.85rem;
}

.brand img {
  width: 54px; height: 54px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
  padding: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; }
.brand-kicker { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.brand-text strong { font-size: 1rem; font-weight: 700; color: var(--teal-dark); }

.site-nav ul { display: flex; list-style: none; gap: 0.2rem; }
.site-nav a {
  display: block; padding: 0.5rem 0.85rem;
  font-weight: 600; font-size: 0.9rem;
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s;
  color: var(--text);
}
.site-nav a:hover { background: var(--teal-pale); color: var(--teal-mid); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}

.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--teal-dark);
}

.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(30,138,110,0.35), transparent 70%);
}

.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(232,168,32,0.25), transparent 70%);
}

.orb-3 {
  width: 300px; height: 300px;
  top: 50%; right: 30%;
  background: radial-gradient(circle, rgba(30,138,110,0.15), transparent 70%);
}

.grid-lines {
  position: absolute; inset: 0;
  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-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 0.85fr;
  gap: 3rem; padding: 6rem 0; align-items: center;
}

.hero-text { color: #fff; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  display: flex; flex-direction: column;
  margin-bottom: 1.2rem;
}

.headline-thin {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1;
}

.headline-bold {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.02em;
}

.headline-italic {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.2;
  margin-top: 0.2rem;
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.cta-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-dark);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border-radius: 99px;
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(232,168,32,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232,168,32,0.45); }

.cta-whatsapp {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, #25d366, #128c3e);
  color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border-radius: 99px;
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(18,140,62,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18,140,62,0.4); }

.trust-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}

.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
}

.trust-item i {
  font-size: 1.3rem;
  color: var(--gold);
}

.trust-item strong {
  display: block; font-size: 0.9rem; color: #fff;
}

.trust-item span {
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
}

/* Panel Card */
.panel-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 2rem;
  color: #fff;
}

.panel-header { margin-bottom: 1rem; }

.panel-tag {
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(232,168,32,0.12);
  border: 1px solid rgba(232,168,32,0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}

.panel-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; line-height: 1.3;
  margin-bottom: 1.2rem;
}

.check-list { list-style: none; display: grid; gap: 0.7rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem; color: rgba(255,255,255,0.85);
}
.check-list i { color: var(--gold); font-size: 0.85rem; }

.panel-footer { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); }

.panel-cta {
  font-weight: 700; font-size: 0.9rem;
  color: var(--gold-light);
  transition: letter-spacing 0.2s;
}
.panel-cta:hover { letter-spacing: 0.04em; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  padding: 2.2rem 0;
}

.stats-grid {
  display: flex; align-items: center;
  justify-content: center; gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1; min-width: 160px;
  text-align: center; padding: 0.5rem 1.5rem;
  color: #fff;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ── DOCTORS ─────────────────────────────────────── */
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.featured-card {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(232,168,32,0.2);
}

.featured-tag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-dark);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 99px;
}

.doctor-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-pale), #e8f8f3);
}

.doctor-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-img-wrap img { transform: scale(1.04); }

.doctor-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--teal-dark);
  color: var(--gold-light);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.65rem;
  border-radius: 99px;
}

.doctor-info {
  padding: 1.5rem;
}

.doctor-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--teal-dark);
}

.doctor-info .role {
  font-size: 0.82rem; font-weight: 700;
  color: var(--teal-light);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.doctor-info .degree {
  font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.doctor-info .bio {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.55; margin-bottom: 1.2rem;
}

.doctor-book-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #25d366, #128c3e);
  color: #fff;
  font-size: 0.82rem; font-weight: 700;
  padding: 0.6rem 1.1rem; border-radius: 99px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.doctor-book-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(18,140,62,0.3); }

/* ── SERVICES ────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-pale);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-pale), #c2ede0);
  display: grid; place-items: center;
  font-size: 1.3rem; color: var(--teal-mid);
  margin-bottom: 1rem;
  transition: background 0.25s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-light));
  color: #fff;
}

.service-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }

/* ── WHY US ──────────────────────────────────────── */
.why-section { background: linear-gradient(180deg, var(--teal-dark) 0%, #0a2420 100%); }

.why-layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem; align-items: start;
}

.why-copy { color: #fff; }
.why-copy .eyebrow { color: var(--gold-light); }
.why-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1; margin-bottom: 0.9rem;
  color: #fff;
}
.why-copy h2 em { color: var(--gold-light); }
.why-copy > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }

.why-features { display: grid; gap: 1.25rem; }

.why-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  transition: background 0.2s;
}
.why-feature:hover { background: rgba(255,255,255,0.08); }

.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(232,168,32,0.15);
  display: grid; place-items: center;
  font-size: 1.1rem; color: var(--gold-light);
}

.why-feature strong {
  display: block; color: #fff;
  font-size: 0.95rem; margin-bottom: 0.2rem;
}
.why-feature span { font-size: 0.84rem; color: rgba(255,255,255,0.55); }

/* Process Card */
.process-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.process-head {
  background: linear-gradient(135deg, rgba(232,168,32,0.2), rgba(232,168,32,0.05));
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.process-head span {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-light);
}

.process-step {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: rgba(255,255,255,0.04); }

.step-num {
  min-width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-mid));
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 800;
  color: #fff; letter-spacing: 0.04em;
}

.process-step strong {
  display: block; color: #fff;
  font-size: 0.92rem; margin-bottom: 0.2rem;
}
.process-step p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.8rem; max-width: 780px; }

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%; border: none; background: transparent;
  padding: 1.2rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; color: var(--text);
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(30,138,110,0.04); }

.faq-icon {
  font-size: 1.5rem; line-height: 1; color: var(--teal-light);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.92rem; }

/* ── APPOINTMENT ─────────────────────────────────── */
.appt-section { background: linear-gradient(180deg, #f0faf6, #faf8f2); }

.appt-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem; align-items: start;
}

.appt-copy .eyebrow { color: var(--teal-light); }
.appt-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; margin-bottom: 0.8rem;
}
.appt-copy h2 em { font-style: italic; color: var(--teal-light); }
.appt-copy > p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1rem; }

.appt-features { display: grid; gap: 0.6rem; }
.appt-features div {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
}
.appt-features i { color: var(--teal-light); }

.appt-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hidden-field { position: absolute; left: -9999px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0.1rem; }

.form-field {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  margin-bottom: 1rem;
}

.form-field span em { color: var(--teal-light); font-style: normal; }

.form-field.full-width { grid-column: 1 / -1; }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(20,90,77,0.15);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 0.9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(30,138,110,0.1);
  background: var(--white);
}

.form-field textarea { resize: vertical; }

.form-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.5rem; }

.form-status {
  min-height: 1.4rem; margin-top: 0.75rem;
  font-size: 0.88rem; color: var(--teal-light);
}

/* ── CONTACT ─────────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #0d2e28, #0a2018);
}

.contact-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem; align-items: stretch;
}

.contact-copy .eyebrow { color: var(--gold-light); }
.contact-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; margin-bottom: 0.8rem; color: #fff;
}
.contact-copy h2 em { font-style: italic; color: var(--gold-light); }
.contact-copy > p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }

.contact-items { display: grid; gap: 0.75rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  padding: 1rem 1.1rem;
  color: #fff;
  transition: background 0.2s;
}
.contact-item:hover { background: rgba(255,255,255,0.09); }

.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 1rem; color: var(--gold-light);
}

.whatsapp-ci { background: rgba(37,211,102,0.15) !important; color: #25d366 !important; }

.contact-item strong { display: block; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.85); }

.map-wrap {
  min-height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: #060f0d;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex; align-items: center; gap: 0.85rem;
}
.footer-brand img {
  width: 44px; height: 44px;
  border-radius: 10px; object-fit: contain;
  background: rgba(255,255,255,0.06); padding: 0.3rem;
}
.footer-brand strong { display: block; color: #fff; font-size: 0.92rem; }
.footer-brand span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.footer-links {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ASSISTANT */
.assistant-shell {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.assistant-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 280px;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(13, 46, 40, 0.92);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(20px);
}

.assistant-launcher-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.assistant-launcher strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.assistant-launcher small {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  line-height: 1.35;
}

.assistant-panel {
  width: min(380px, calc(100vw - 2rem));
  height: min(620px, calc(100vh - 8rem));
  background: rgba(250, 248, 242, 0.98);
  border: 1px solid rgba(20, 90, 77, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  grid-template-rows: auto 1fr auto auto;
}

.assistant-shell.open .assistant-panel {
  display: grid;
}

.assistant-shell.open .assistant-launcher {
  background: rgba(13, 46, 40, 0.98);
}

.assistant-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  color: #fff;
}

.assistant-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.2rem;
}

.assistant-panel-head h3 {
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
}

.assistant-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}

.assistant-chat {
  padding: 1rem 1rem 0.6rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background:
    radial-gradient(circle at top right, rgba(232,168,32,0.08), transparent 30%),
    linear-gradient(180deg, #f8fcfa 0%, #faf8f2 100%);
}

.assistant-message {
  max-width: 88%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-line;
}

.assistant-message.assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.assistant-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-light));
  color: #fff;
}

.assistant-message a {
  color: var(--teal-mid);
  font-weight: 700;
}

.assistant-quick-actions {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.8rem 1rem 0;
  background: var(--cream);
}

.assistant-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(20,90,77,0.12);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem 1rem;
  background: var(--cream);
}

.assistant-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid rgba(20,90,77,0.14);
  border-radius: 999px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--text);
}

.assistant-input-wrap input:focus {
  outline: none;
  border-color: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(30,138,110,0.1);
}

.assistant-send {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(232,168,32,0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── FLOATING BUTTONS ───────────────────────────── */
.float-btn {
  position: fixed; right: 1.2rem; z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: translateY(-3px); }

.float-wa {
  bottom: 1.2rem;
  background: linear-gradient(135deg, #25d366, #128c3e);
  box-shadow: 0 8px 24px rgba(18,140,62,0.35);
}

.float-ig {
  bottom: 5rem;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  box-shadow: 0 8px 24px rgba(238,42,123,0.3);
}

/* ── REVEAL ANIMATION ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1060px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-layout, .why-layout, .appt-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero-layout { padding: 4rem 0; }
  .stats-grid { gap: 0; }
  .stat-divider { display: none; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }

  .site-nav {
    position: relative;
  }

  .site-nav ul {
    position: absolute;
    top: calc(100% + 0.75rem); right: 0;
    min-width: 200px; flex-direction: column;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s;
    overflow: hidden;
  }

  .site-nav ul.open {
    opacity: 1; pointer-events: auto; transform: translateY(0);
  }

  .site-nav li + li { border-top: 1px solid var(--border); }
  .site-nav a { padding: 0.9rem 1.1rem; border-radius: 0; }
}

@media (max-width: 720px) {
  .doctors-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-whatsapp { width: 100%; justify-content: center; }
  .trust-row { flex-direction: column; gap: 0.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .assistant-shell {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
  }
  .assistant-launcher {
    min-width: 0;
    width: 100%;
  }
  .assistant-panel {
    width: 100%;
    height: min(70vh, 560px);
  }
}
