/* ==========================================================
   LIKITH'S PHYSIOTHERAPY — STYLESHEET
   ========================================================== */

:root {
  --primary: #00796B;
  --primary-deep: #00695C;
  --secondary: #0D47A1;
  --accent: #26A69A;
  --background: #F5FAFA;
  --white: #FFFFFF;
  --text: #12315A;

  --text-muted: #5C7488;
  --border-color: #E1EDEC;
  --card-shadow: 0 6px 24px rgba(13, 71, 161, 0.07);
  --card-shadow-hover: 0 14px 34px rgba(13, 71, 161, 0.13);

  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --container-width: 1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::placeholder { color: var(--text-muted); opacity: 1; }
::selection { background: #B2DFDB; color: var(--text); }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--secondary);
  padding: 12px 18px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

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

.icon { flex-shrink: 0; }

/* ---------- Section spacing ---------- */
.section { padding: 88px 0; }
.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head p {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 150, 136, 0.28);
}
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 10px 26px rgba(0, 150, 136, 0.34); }

.btn-whatsapp {
  background: #25D366;
  color: #062A17;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { background: #3BDB78; }

.btn-call {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.24);
}
.btn-call:hover { background: #0a3a86; }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ==========================================================
   HEADER / NAVBAR
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(13, 71, 161, 0.08);
  border-bottom-color: var(--border-color);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { display: block; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--secondary);
  line-height: 1.15;
}
.brand-name strong { color: var(--primary); font-weight: 700; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 30px; }
.nav-link {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active-link { color: var(--primary); }
.nav-link.active-link::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--secondary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 78px;
  right: 0;
  width: min(84vw, 340px);
  height: calc(100vh - 78px);
  background: var(--white);
  box-shadow: -8px 0 30px rgba(13, 71, 161, 0.12);
  padding: 26px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block;
  padding: 12px 6px;
  font-weight: 500;
  font-size: 1.03rem;
  border-bottom: 1px solid var(--border-color);
  min-height: 44px;
}
.mobile-nav-contact { display: flex; flex-direction: column; gap: 10px; }
.mobile-contact-link {
  font-weight: 600;
  color: var(--secondary);
  padding: 10px 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 49, 90, 0.35);
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding: 0 0 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--background) 100%);
}

.hero-banner {
  position: relative;
  width: 100%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 71, 161, 0.14);
  min-height: 560px;
}
.hero-banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  z-index: 0;
}
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    var(--white) 0%,
    var(--white) 38%,
    rgba(255,255,255,0.94) 46%,
    rgba(255,255,255,0.55) 58%,
    rgba(255,255,255,0.05) 72%
  );
}
.hero-banner-wave {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 90px;
  z-index: 2;
  opacity: 0.9;
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  padding: 64px 0 80px;
  max-width: 620px;
}

.hero-heading {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}
.heading-navy { color: var(--secondary); }
.heading-teal { color: var(--primary); }
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
.hero-subtitle {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.btn-outline {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--border-color);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--secondary);
  background: var(--background);
  color: var(--secondary);
}

/* ==========================================================
   BOOK HOME VISIT CTA
   ========================================================== */
.home-visit-cta {
  background: var(--background);
  padding: 32px 0;
}
.home-visit-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  box-shadow: var(--card-shadow);
}
.home-visit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 150, 136, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}
.home-visit-text { flex: 1; min-width: 200px; }
.home-visit-text h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.home-visit-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.home-visit-inner .btn { flex-shrink: 0; }

/* ==========================================================
   STATS BAND
   ========================================================== */
.stats-band {
  background: var(--text);
  padding: 46px 0;
}
.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-block:first-child { border-left: none; }
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(38, 166, 154, 0.16);
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================
   INTRO
   ========================================================== */
.intro-section { padding-top: 60px; }
.intro-section .section-head { max-width: 720px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: var(--card-shadow);
}
.benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 150, 136, 0.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================
   SERVICES — IMAGE TILE GRID
   ========================================================== */
.card-grid {
  display: grid;
  gap: 24px;
}

.service-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-tile {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.service-tile-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--background);
}
.service-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}
.service-tile:hover .service-tile-image img {
  transform: scale(1.04);
}
.service-tile-body { padding: 22px 20px 26px; }
.service-tile-body h3 { font-size: 1.02rem; margin-bottom: 8px; line-height: 1.3; }
.service-tile-body p { color: var(--text-muted); font-size: 0.89rem; line-height: 1.5; }

/* ==========================================================
   CONDITIONS
   ========================================================== */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.condition-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.condition-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
  color: var(--secondary);
  margin-bottom: 14px;
}
.condition-name { font-weight: 600; font-size: 0.95rem; display: block; }

/* ==========================================================
   PROCESS / HOW IT WORKS
   ========================================================== */
.process-section { background: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: var(--background);
  border: 1px solid var(--border-color);
}
.process-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.9;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.94rem; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  right: -14px;
  width: 24px;
  height: 2px;
  background: var(--border-color);
  display: none;
}
@media (min-width: 900px) {
  .process-step:not(:last-child)::after { display: block; }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  border: 6px solid var(--white);
  outline: 1px solid var(--border-color);
  max-width: 420px;
  margin: 0 auto;
}
.about-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-credentials {
  color: var(--primary);
  font-weight: 700;
  margin: 8px 0 16px;
}
.about-text {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 560px;
}
.about-checklist {
  display: grid;
  gap: 12px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.why-section { background: var(--white); }
.why-section .section-head { max-width: 620px; }

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.why-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--background);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  border-color: rgba(0, 150, 136, 0.3);
}
.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(0, 150, 136, 0.28);
}
.why-row-text h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.why-row-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.why-row:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonial-slider {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 44px 40px 30px;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}
.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 0 6px;
}
.testimonial-stars {
  color: #F5A623;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 3em;
}
.testimonial-name { font-weight: 700; color: var(--secondary); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.testimonial-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--background);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.testimonial-btn:hover { background: var(--primary); color: var(--white); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  padding: 0;
}
.testimonial-dots button.active { background: var(--primary); width: 22px; border-radius: 6px; }

/* ==========================================================
   APPOINTMENT
   ========================================================== */
.appointment-section {
  background: var(--primary);
  color: var(--white);
}
.appointment-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.appointment-text h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.appointment-text p { color: #F0FAF8; margin-bottom: 22px; max-width: 420px; }
.appointment-points { display: grid; gap: 12px; }
.appointment-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.appointment-points .benefit-check { background: rgba(255,255,255,0.2); color: var(--white); }

.appointment-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.16);
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: var(--background);
  font-size: 0.96rem;
  color: var(--text);
  min-height: 46px;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--primary);
  outline: none;
  background: var(--white);
}
.form-field input.invalid,
.form-field select.invalid { border-color: #E53935; }
.form-error {
  display: block;
  color: #E53935;
  font-size: 0.8rem;
  min-height: 1.1em;
  margin-top: 4px;
}
.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--card-shadow);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,150,136,0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2px; }
.contact-value { font-weight: 700; font-size: 1.08rem; color: var(--secondary); }
.contact-address {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
}
.contact-buttons { display: flex; gap: 14px; margin: 24px 0 20px; flex-wrap: wrap; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  width: 100%;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-embed-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-height: 280px;
  flex: 1;
  background: var(--background);
}
.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.map-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.map-open-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================
   FLOATING BUTTONS
   ========================================================== */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 800;
}
.float-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  transition: transform 0.15s ease;
}
.float-btn-wrap:hover .float-btn { transform: scale(1.08); }
.float-btn-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(255,255,255,0.9);
  padding: 2px 9px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13,71,161,0.12);
}
.float-whatsapp { background: #25D366; }
.float-call { background: var(--secondary); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 800;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================
   MODAL
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 49, 90, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box h2 { font-size: 1.4rem; margin-bottom: 6px; padding-right: 30px; }
.modal-subtitle { color: var(--text-muted); margin-bottom: 22px; font-size: 0.94rem; }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--background);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-box .appointment-form { padding: 0; box-shadow: none; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
}
.footer-inner {
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-link { display: inline-flex; }
.footer-brand-name { color: var(--white); }
.footer-brand-name strong { color: #7FDBCF; }
.footer-tagline { margin: 14px 0 10px; font-weight: 600; color: var(--white); }
.footer-doctor { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-links h3, .footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.8);
  transition: color 0.15s ease;
  display: block;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 10px; align-content: start; padding-right: 90px; }
.footer-contact h3 { margin-bottom: 6px; }
.footer-address {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 260px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .service-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .condition-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-actions .btn-sm { display: none; }
  .hamburger { display: flex; }

  .hero-banner { min-height: 0; display: block; border-radius: var(--radius-md); }
  .hero-banner-photo {
    position: static;
    width: 100%;
    height: 260px;
    object-position: 65% center;
  }
  .hero-banner-scrim { display: none; }
  .hero-banner-wave { display: none; }
  .hero-banner-badge { top: 16px; right: 16px; width: 44px; height: 44px; }
  .hero-banner-content {
    max-width: 100%;
    padding: 24px 0 28px;
  }

  .about-inner { grid-template-columns: 1fr; }
  .about-image-frame { max-width: 320px; }

  .appointment-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .stats-band-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat-block:nth-child(3) { border-left: none; }
  .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .nav-inner { height: 68px; }
  .mobile-nav { top: 68px; height: calc(100vh - 68px); }

  .hero { padding: 24px 0; }
  .hero-banner-photo { height: 220px; }
  .hero-banner-content { padding: 20px 0 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn-outline { width: 100%; }

  .home-visit-inner { flex-direction: column; text-align: center; padding: 26px 22px; }
  .home-visit-inner .btn { width: 100%; }

  .stats-band-inner { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-block:nth-child(3) { border-left: none; }
  .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 20px; }

  .benefit-grid { grid-template-columns: 1fr; }
  .service-tile-grid { grid-template-columns: 1fr; }
  .condition-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .why-row:last-child:nth-child(odd) { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .appointment-form { padding: 24px 20px; }

  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; }

  .floating-buttons { right: 14px; bottom: 86px; gap: 12px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn-label { font-size: 0.75rem; padding: 3px 8px; }
  .hero-text { max-width: calc(100% - 64px); }
  .back-to-top { right: 14px; bottom: 24px; width: 42px; height: 42px; }

  .footer-inner { grid-template-columns: 1fr; padding: 44px 20px 24px; }
  .footer-contact { padding-right: 64px; }
}





/* Floating Video Container */
.dynamic-video-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Places it on the left, away from your WhatsApp/Call buttons */
  width: 140px;
  height: 140px;
  border-radius: 50%; /* Makes the video a perfect circle */
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 150, 136, 0.3);
  z-index: 999;
  border: 3px solid var(--primary); /* Matches your brand's teal */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}

/* Dynamic Hover Animation */
.dynamic-video-wrapper:hover {
  transform: scale(1.15) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 150, 136, 0.5);
}

/* Ensure the video fits the circle perfectly */
.dynamic-doctor-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container to hold the video and sound button */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Keep it behind the text and wave */
}

/* Ensure the video acts like a full-cover background */
.hero-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents stretching */
  object-position: center top;
}

/* Style and position the sound button */
.sound-toggle-btn {
  position: absolute;
  bottom: 80px; /* Sits just above the wave gradient */
  right: 5%;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}