/* ============================================================
   Miracle Advanced Physiotherapy Clinic — Global Stylesheet
   Palette: Deep teal (trust/clinical) + soft amber (warmth)
   ============================================================ */

:root {
  /* MAP brand extension: navy and gold drawn from the supplied logo. */
  --navy-950: #032b54;
  --navy-800: #073d70;
  --gold-500: #d89b14;
  --gold-400: #f1b62e;
  --teal-900: #032b54;
  --teal-700: #07477f;
  --teal-600: #0a5c9e;
  --teal-500: #2877b8;
  --teal-100: #dcecf9;
  --teal-50: #f1f7fc;
  --amber-500: #e1a51a;
  --amber-600: #c98909;
  --amber-50: #fff7e5;
  --neutral-900: #1f2a2e;
  --neutral-700: #3d4a4f;
  --neutral-500: #6b7c82;
  --neutral-300: #c9d4d8;
  --neutral-100: #eef2f3;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 34px rgba(0,0,0,.14);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1440px;
  --font: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

h1, h2, h3, h4 {
  color: var(--teal-900);
  line-height: 1.25;
  font-weight: 700;
}

p { color: var(--neutral-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  transition: all .25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--gold-400);
  color: var(--navy-950);
  box-shadow: 0 6px 16px rgba(216,155,20,.35);
}
.btn-primary:hover { background: var(--gold-500); transform: translateY(-3px) scale(1.02); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-teal {
  background: var(--teal-600);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--teal-50); }

/* ---------- Section headings ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--teal-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--amber-600);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--neutral-500); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar.scrolled .container { padding-top: 8px; padding-bottom: 8px; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 74px; height: 74px; object-fit: contain; transition: transform .3s ease; }
.logo:hover img { transform: rotate(-3deg) scale(1.04); }
.logo--round {
  width: 76px;
  height: 76px;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--gold-400);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(3, 43, 84, .13);
}
.logo--round img { width: 100%; height: 100%; object-fit: cover; }
.logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--teal-600);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.logo .logo-text { line-height: 1.1; }
.logo .logo-text {
  line-height: 1.2;
  white-space: nowrap;
}

.logo .logo-text strong {
  color: var(--teal-900);
  font-size: 1.05rem;
  display: block;
}

.logo .logo-text span {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  color: var(--amber-600);
  font-weight: 600;
  letter-spacing: .4px;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 13px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover { color: var(--teal-600); background: var(--teal-50); }
.nav-links a.active { color: var(--teal-600); background: var(--teal-100); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.hamburger {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; color: var(--teal-900);
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(110deg, var(--navy-950), var(--navy-800));
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-copy { width: min(48%, 600px); text-align: left; }
.hero-slider { position: absolute; inset: 12% max(20px, calc((100% - var(--maxw)) / 2)) 7% 54%; overflow: hidden; border: 1px dashed rgba(255,255,255,.55); border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-slider::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(3,43,84,.18), rgba(3,43,84,.52)); z-index: 1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; background: linear-gradient(145deg, rgba(241,182,46,.22), rgba(7,61,112,.72)), var(--navy-800); transition: opacity 1s ease; display: grid; place-items: center; color: rgba(255,255,255,.78); font-weight: 600; letter-spacing: .05em; }
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #032b54;
  animation: kenburns 8s ease-out both;
}
.hero-slide span { position: absolute; z-index: 2; border: 1px dashed rgba(255,255,255,.55); border-radius: var(--radius); padding: 16px 20px; background: rgba(3,43,84,.45); }
.hero-dots { position: absolute; z-index: 3; bottom: 22px; right: 22px; display: flex; gap: 9px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); transition: transform .25s, background .25s; }
.hero-dots button.active { background: var(--gold-400); transform: scale(1.45); }
.hero h1, .hero .lead, .hero-cta { opacity: 0; transform: translateY(22px); animation: hero-enter .7s ease forwards; }
.hero .lead { animation-delay: .18s; }.hero-cta { animation-delay: .36s; }
@keyframes hero-enter { to { opacity: 1; transform: translateY(0); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 640px;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--amber-500); }
.hero p.lead {
  color: rgba(255,255,255,.9);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--teal-900);
  color: var(--white);
  padding: 34px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: 2.2rem; font-weight: 700; color: var(--amber-500); }
.stat .label { font-size: .9rem; color: rgba(255,255,255,.85); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: all .3s ease;
  border: 1px solid var(--neutral-100);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--neutral-500); }
.service-card { position: relative; overflow: hidden; padding: 0 0 24px; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 180px; background: linear-gradient(135deg, var(--navy-800), var(--gold-400)); }
.service-card .card-img { position: relative; z-index: 1; width: 100%; height: 180px; min-height: 180px; object-fit: cover; background: linear-gradient(135deg, var(--teal-700), var(--teal-500)) center/cover no-repeat; transition: transform .45s ease; }
/* Clean placeholder fallback when a service image is missing / hidden. */
.service-card .card-img[src=""],
.service-card .card-img.img-alt { background: linear-gradient(135deg, var(--navy-800), var(--gold-400)); }
.service-card .card-img::after { content: ""; position: absolute; inset: 0; }
.service-card .icon, .service-card h3, .service-card p, .service-card .learn-more { margin-left: 24px; margin-right: 24px; }
.service-card .icon { margin-top: -28px; position: relative; z-index: 1; background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.service-card .learn-more { margin-top: 14px; opacity: .7; transition: opacity .25s, transform .25s; }
.service-card:hover .card-img { transform: scale(1.07); }.service-card:hover .learn-more { opacity: 1; transform: translateX(4px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.about-content p { margin-bottom: 14px; }
.learn-more { color: var(--amber-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-600));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-banner p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonial-card { text-align: center; }
.stars { color: var(--amber-500); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-card blockquote { font-size: 1.05rem; font-style: italic; color: var(--neutral-700); margin-bottom: 18px; }
.testimonial-card .author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-card .author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author .name { font-weight: 600; color: var(--teal-900); }
.testimonial-card .author .cond { font-size: .8rem; color: var(--neutral-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--teal-900);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 { color: var(--teal-900); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(11,61,58,.85); margin-bottom: 24px; }
.cta-banner .btn-teal { box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: rgba(255,255,255,.85); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer .logo { margin-bottom: 14px; }
.footer .logo .logo-text strong { color: var(--white); }
.footer p { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,.75); font-size: .9rem; transition: all .2s; }
.footer ul a:hover { color: var(--amber-500); }
.footer .contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: .9rem; color: rgba(255,255,255,.8); }
.footer .socials { display: flex; gap: 10px; margin-top: 8px; }
.footer .socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all .2s;
}
.footer .socials a:hover { background: var(--amber-500); color: var(--teal-900); }
.newsletter input {
  width: 100%; padding: 12px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: var(--white);
  margin-bottom: 10px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--amber-500); }

/* ---------- Floating buttons ---------- */
.floating-book {
  border-radius: 50px;
  padding: 14px 22px;
  box-shadow: var(--shadow-lg);
}
.whatsapp-bubble {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-lg);
  transition: transform .25s, box-shadow .25s;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}
.floating-actions { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; gap: 12px; align-items: center; }
.floating-book, .whatsapp-bubble { position: static; }
.floating-book:hover, .whatsapp-bubble:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 28px rgba(3,43,84,.25); }
@keyframes whatsapp-pulse { 0%,100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 0 0 9px rgba(37,211,102,.16), var(--shadow-lg); } }

/* ---------- Accordion ---------- */
.accordion { border-radius: var(--radius); overflow: hidden; }
.accordion-item { border: 1px solid var(--neutral-100); margin-bottom: 12px; border-radius: var(--radius-sm); background: var(--white); }
.accordion-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  background: none; border: none;
  font-size: 1rem; font-weight: 600; color: var(--teal-900);
  text-align: left;
}
.accordion-head .icon { font-size: 1.4rem; color: var(--amber-500); transition: transform .3s; }
.accordion-item.open .accordion-head .icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-body-inner { padding: 0 20px 20px; color: var(--neutral-500); font-size: .95rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--neutral-300);
  background: var(--white);
  color: var(--neutral-700);
  font-weight: 500;
  transition: all .2s;
}
.tab-btn.active { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; color: var(--teal-900); margin-bottom: 6px; font-size: .92rem; }
.form-group label .req { color: #d64545; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--neutral-300);
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--neutral-900);
  background: var(--white);
  transition: border .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(42,138,131,.15); }
.form-error { color: #d64545; font-size: .82rem; margin-top: 4px; }
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: #d64545; }

/* ---------- Milestones / counters ---------- */
.milestone { text-align: center; padding: 24px; }
.milestone .num { font-size: 2.4rem; font-weight: 700; color: var(--teal-600); }
.milestone .label { color: var(--neutral-500); font-size: .9rem; }

/* ---------- Info cards ---------- */
.info-card { text-align: center; padding: 30px 20px; }
.info-card .icon { margin: 0 auto 14px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: .9rem; }

/* ---------- Lightbox ---------- */
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; flex: 0 0 33.3333%; padding: 0 10px; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(11,61,58,.55);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center;
  z-index: 2000; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; }
.lightbox .close { position: absolute; top: 20px; right: 30px; font-size: 2.4rem; color: var(--white); cursor: pointer; }

/* ---------- Gallery carousel ---------- */
.gallery-carousel { position: relative; }
.gallery-viewport { overflow: hidden; margin: 0 44px; }
.gallery-grid { display: flex; transition: transform .55s ease; will-change: transform; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--neutral-300); background: var(--white);
  color: var(--teal-700); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: all .2s;
}
.gallery-arrow:hover { background: var(--teal-600); color: var(--white); }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.gallery-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: var(--neutral-300); cursor: pointer; transition: all .25s;
}
.gallery-dots button.active { background: var(--teal-600); transform: scale(1.4); }
@media (max-width: 768px) {
  .gallery-item { flex: 0 0 100%; }
  .gallery-viewport { margin: 0 34px; }
}

/* ---------- FAQ ---------- */
.faq-category { margin-bottom: 30px; }

/* ---------- Steps / progress ---------- */
.steps { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 50px;
  background: var(--neutral-100); color: var(--neutral-500);
  font-size: .85rem; font-weight: 600;
}
.step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--neutral-300); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.step.active { background: var(--teal-50); color: var(--teal-700); }
.step.active .n { background: var(--teal-600); }
.step.done { background: var(--teal-50); color: var(--teal-600); }
.step.done .n { background: var(--teal-500); }

/* ---------- Sidebar / reassurance ---------- */
.reassure { background: var(--teal-50); border-radius: var(--radius); padding: 26px; }
.reassure h3 { margin-bottom: 16px; }
.reassure ul li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .92rem; color: var(--neutral-700); }
.reassure ul li .icon { color: var(--teal-600); }

/* ---------- Success message ---------- */
.success-msg {
  display: none; text-align: center; padding: 40px 20px;
  background: var(--teal-50); border-radius: var(--radius);
  border: 1px solid var(--teal-100);
}
.success-msg .big { font-size: 3rem; color: var(--teal-600); margin-bottom: 12px; }
.success-msg h3 { margin-bottom: 8px; }
.success-msg.show { display: block; }

/* ---------- Team / doctor ---------- */
.team-card { text-align: center; }
.team-card img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.team-card h3 { font-size: 1.1rem; }
.team-card .qual { color: var(--amber-600); font-size: .85rem; font-weight: 600; }
.team-card .spec { color: var(--neutral-500); font-size: .88rem; margin-bottom: 12px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
}
.modal.open { display: flex; }
.modal-content {
  background: var(--white); border-radius: var(--radius);
  max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 30px; position: relative;
}
.modal-content .close { position: absolute; top: 16px; right: 20px; font-size: 1.8rem; cursor: pointer; color: var(--neutral-500); }
.modal-content h3 { margin-bottom: 4px; }
.modal-content .qual { color: var(--amber-600); font-weight: 600; margin-bottom: 14px; }
.modal-content h4 { margin: 16px 0 8px; font-size: 1rem; }
.modal-content ul { margin-left: 18px; list-style: disc; }
.modal-content ul li { margin-bottom: 6px; font-size: .92rem; }
.modal-content .quote { font-style: italic; background: var(--teal-50); padding: 14px; border-radius: 8px; margin-top: 14px; color: var(--teal-700); }

/* ---------- Doctor profile inline ---------- */
.doctor-profile { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.doctor-profile img { border-radius: var(--radius); }
.doctor-profile h4 { margin: 14px 0 6px; font-size: 1rem; }
.doctor-profile ul { margin-left: 18px; list-style: disc; }
.doctor-profile ul li { font-size: .9rem; margin-bottom: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doctor-profile { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 260px; height: 100vh;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 80px 24px; gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right .3s ease;
    z-index: 1001;
  }
  .nav-links.open { right: 0; }
  .nav-links a { display: block; width: 100%; padding: 12px 14px; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; text-align: center; }
  .hamburger { display: block; z-index: 1002; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 80vh; }.hero-slider { inset: 0; opacity: .45; border: 0; border-radius: 0; }.hero-slider::after { background: rgba(3,43,84,.68); }.hero-copy { width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-actions { bottom: 16px; right: 16px; gap: 9px; }.floating-book { padding: 12px 16px; }.whatsapp-bubble { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Alternate photo slots are ready for future photo replacement. */
.img-alt { display: none; }

/* Home services */
.location-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.map-frame { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius-sm); margin: 8px 0 16px; }
.location-coordinates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .location-coordinates { grid-template-columns: 1fr; } }

/* ---------- Home services map (Leaflet) ---------- */
#patientMap { width: 100%; height: 360px; border-radius: var(--radius-sm); border: 1px solid var(--neutral-100); margin: 14px 0 10px; z-index: 1; }
.map-hint { font-size: .82rem; color: var(--neutral-500); }
.map-status { font-size: .85rem; color: var(--teal-700); font-weight: 600; margin-bottom: 8px; }
.leaflet-container { font-family: var(--font); }


/* ---------- About: Dr B S Rajput profile ---------- */
.doctor-hero-section {
  padding: 78px 0;
  background: linear-gradient(135deg, var(--teal-50), #ffffff);
}

.doctor-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(3, 43, 84, .08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(3, 43, 84, .12);
}

.doctor-photo-wrap {
  position: relative;
}

.doctor-photo-wrap img {
  display: block;
  width: 100%;
  min-height: 470px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 28px rgba(3, 43, 84, .18);
}

.doctor-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 2px solid var(--amber-500);
  border-radius: 18px;
}

.doctor-experience {
  position: absolute;
  right: -18px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--amber-500);
  color: var(--teal-900);
  box-shadow: 0 10px 22px rgba(3, 43, 84, .2);
}

.doctor-experience strong {
  font-size: 2.25rem;
  line-height: 1;
}

.doctor-experience span {
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.doctor-hero-content h2 {
  margin: 8px 0 5px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.doctor-role {
  margin-bottom: 18px;
  color: var(--amber-600);
  font-size: 1.03rem;
  font-weight: 700;
}

.doctor-intro {
  max-width: 720px;
  color: var(--neutral-500);
  line-height: 1.8;
}

.doctor-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.doctor-qualifications span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: .83rem;
  font-weight: 600;
}

.doctor-qualifications i {
  color: var(--amber-600);
}

.doctor-highlights {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.doctor-highlights > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.doctor-highlights > div > i {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-700);
  background: var(--teal-50);
}

.doctor-highlights span {
  color: var(--neutral-500);
  font-size: .91rem;
  line-height: 1.6;
}

.doctor-highlights strong {
  display: block;
  color: var(--teal-900);
}

.doctor-registration {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--neutral-100);
  color: var(--neutral-500);
  font-size: .84rem;
}

.doctor-registration i {
  margin-right: 7px;
  color: var(--amber-600);
}

@media (max-width: 768px) {
  .doctor-hero-section {
    padding: 55px 0;
  }

  .doctor-hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .doctor-photo-wrap {
    max-width: 390px;
    margin: 0 auto;
  }

  .doctor-photo-wrap img {
    min-height: 400px;
  }

  .doctor-experience {
    right: -8px;
    bottom: 18px;
  }
}



/* ---------- About: Clinic profile ---------- */
.clinic-story-section {
  padding: 78px 0;
  background: #ffffff;
}

.clinic-story-card {
  display: grid;
  grid-template-columns: minmax(300px, 410px) 1fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(3, 43, 84, .08);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, var(--teal-50));
  box-shadow: 0 18px 48px rgba(3, 43, 84, .1);
}

.clinic-photo-collage {
  position: relative;
  min-height: 465px;
}

.clinic-photo-main {
  width: 86%;
  height: 405px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(3, 43, 84, .18);
}

.clinic-photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 190px;
  padding: 7px;
  border: 7px solid #ffffff;
  border-radius: 16px;
  background: #ffffff;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(3, 43, 84, .18);
}

.clinic-care-badge {
  position: absolute;
  top: 26px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border-radius: 13px;
  background: var(--amber-500);
  color: var(--teal-900);
  box-shadow: 0 9px 20px rgba(3, 43, 84, .16);
}

.clinic-care-badge i {
  font-size: 1.25rem;
}

.clinic-care-badge span {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.clinic-story-content h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.clinic-story-content > p {
  margin-bottom: 14px;
  color: var(--neutral-500);
  line-height: 1.8;
}

.clinic-feature-list {
  display: grid;
  gap: 14px;
  margin: 25px 0;
}

.clinic-feature-list > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.clinic-feature-list > div > i {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-700);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(3, 43, 84, .08);
}

.clinic-feature-list span {
  color: var(--neutral-500);
  font-size: .91rem;
  line-height: 1.6;
}

.clinic-feature-list strong {
  display: block;
  color: var(--teal-900);
}

.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(3, 43, 84, .1);
}

.clinic-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--teal-800);
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(3, 43, 84, .06);
}

.clinic-tags i {
  margin-right: 4px;
  color: var(--amber-600);
}

@media (max-width: 768px) {
  .clinic-story-section {
    padding: 55px 0;
  }

  .clinic-story-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .clinic-photo-collage {
    width: 100%;
    max-width: 420px;
    min-height: 415px;
    margin: 0 auto;
  }

  .clinic-photo-main {
    height: 350px;
  }

  .clinic-photo-small {
    height: 155px;
  }
}


/* ---------- Enhanced homepage hero ---------- */
.hero--enhanced {
  min-height: 760px;
  background:
    radial-gradient(circle at 15% 15%, rgba(241, 182, 46, .15), transparent 28%),
    linear-gradient(135deg, var(--navy-900), var(--teal-800));
}

.hero--enhanced .hero-slider {
  inset: 8% max(28px, calc((100% - var(--maxw)) / 2)) 8% 52%;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

.hero--enhanced .hero-slider::after {
  background: linear-gradient(145deg, rgba(3, 43, 84, .05), rgba(3, 43, 84, .42));
}

.hero--enhanced .hero-slide img {
  animation: kenburns 10s ease-out both;
}

.hero-copy--enhanced {
  width: min(47%, 620px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.hero-eyebrow i {
  color: var(--amber-400);
}

.hero-copy--enhanced h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.08;
}

.hero-copy--enhanced h1 span {
  color: var(--amber-400);
}

.hero-copy--enhanced .lead {
  max-width: 590px;
  margin-bottom: 25px;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 580px;
  margin-bottom: 29px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.hero-doctor-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-900);
  background: var(--amber-500);
}

.hero-doctor-info > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.hero-doctor-info strong {
  color: #ffffff;
  font-size: .94rem;
}

.hero-doctor-info span {
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
}

.hero-experience {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.hero-experience strong {
  color: var(--amber-400);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-experience span {
  font-size: .63rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-copy--enhanced .hero-cta {
  gap: 14px;
}

.hero-copy--enhanced .hero-cta .btn i {
  margin-right: 6px;
}

.hero-copy--enhanced .btn-outline i {
  margin-left: 6px;
}

@media (max-width: 992px) {
  .hero--enhanced {
    min-height: 700px;
  }

  .hero--enhanced .hero-slider {
    inset: 7% 4% 7% 53%;
  }
}

@media (max-width: 768px) {
  .hero--enhanced {
    min-height: 760px;
  }

  .hero--enhanced .hero-slider {
    inset: 0;
    border-radius: 0;
    opacity: .32;
  }

  .hero-copy--enhanced {
    width: 100%;
  }

  .hero-doctor-info {
    max-width: 100%;
  }

  .hero-copy--enhanced .lead {
    font-size: .98rem;
  }

  .hero-copy--enhanced .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
}


/* ---------- Creative hero photo frame ---------- */
.hero-slider {
  position: absolute;
  overflow: hidden;
  border: 3px solid rgba(241, 182, 46, .85);
  border-radius: 28px 28px 70px 28px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .32);
}

.hero-slider::before {
  content: "MIRACLE ADVANCE PHYSIOTHERAPY";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(3, 43, 84, .76);
  color: #ffffff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(3, 43, 84, .04) 35%,
    rgba(3, 43, 84, .58) 100%
  );
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: width .25s ease, background .25s ease;
}

.hero-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold-400);
}


/* ---------- Floating Call, Book and WhatsApp buttons ---------- */
.floating-actions {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-call,
.floating-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-call {
  background: var(--teal-700);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(3, 94, 107, .3);
}

.floating-book {
  background: var(--gold-400);
  color: var(--teal-900);
  box-shadow: 0 8px 20px rgba(241, 182, 46, .35);
}

.floating-call:hover,
.floating-book:hover {
  transform: translateY(-3px);
}

.floating-call:hover {
  color: #ffffff;
}

.floating-book:hover {
  color: var(--teal-900);
}

.floating-whatsapp {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .38);
  transition: transform .25s ease, background .25s ease;
}

.floating-whatsapp:hover {
  color: #ffffff;
  background: #1da851;
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
  .floating-actions {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .floating-call,
  .floating-book {
    padding: 12px 14px;
    font-size: .88rem;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}

/* ---------- Contact page enhancement ---------- */
.contact-page-content {
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-50) 100%);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.contact-quick-card {
  position: relative;
  display: flex;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--neutral-100);
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(3, 43, 84, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-quick-card:hover {
  color: inherit;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(3, 43, 84, .12);
}

.contact-quick-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-700);
  background: var(--teal-50);
  font-size: 1.15rem;
}

.contact-quick-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--amber-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.contact-quick-card h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-quick-card p {
  color: var(--neutral-500);
  font-size: .81rem;
  line-height: 1.5;
}

.contact-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--neutral-300);
  font-size: .78rem;
}

.contact-connect-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 25px;
}

.contact-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
}

.contact-panel-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 10%, rgba(241, 182, 46, .18), transparent 28%),
    linear-gradient(135deg, var(--teal-900), var(--teal-700));
}

.contact-panel-dark h2 {
  max-width: 540px;
  margin: 10px 0 16px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-panel-dark > p {
  max-width: 570px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.contact-panel-label {
  color: var(--gold-400);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 28px 0 32px;
}

.contact-call-btn,
.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.contact-call-btn {
  background: var(--gold-400);
  color: var(--teal-900);
}

.contact-call-btn:hover {
  color: var(--teal-900);
}

.contact-whatsapp-btn {
  background: #25d366;
}

.contact-whatsapp-btn:hover {
  background: #1da851;
  color: #ffffff;
}

.contact-social-section {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.contact-social-section > span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

.contact-main-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-main-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  color: #ffffff;
  font-size: .84rem;
  text-decoration: none;
}

.contact-main-socials a:hover {
  color: var(--gold-400);
  border-color: var(--gold-400);
}

.contact-panel-light {
  border: 1px solid var(--neutral-100);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(3, 43, 84, .08);
}

.contact-panel-light h2 {
  margin: 8px 0 22px;
  font-size: 1.7rem;
}

.contact-location-box {
  display: flex;
  gap: 13px;
  padding: 17px;
  border-radius: 13px;
  background: var(--teal-50);
}

.contact-location-box > i {
  margin-top: 2px;
  color: var(--amber-600);
  font-size: 1.2rem;
}

.contact-location-box strong,
.contact-location-box span {
  display: block;
}

.contact-location-box span {
  margin-top: 5px;
  color: var(--neutral-500);
  font-size: .87rem;
  line-height: 1.55;
}

.contact-hours {
  margin: 18px 0;
}

.contact-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-500);
  font-size: .9rem;
}

.contact-hours strong {
  color: var(--teal-900);
}

.contact-hours i {
  margin-right: 6px;
  color: var(--amber-600);
}

.contact-panel-note {
  color: var(--neutral-500);
  font-size: .9rem;
  line-height: 1.7;
}

.contact-map-btn {
  width: 100%;
  margin-top: 21px;
  text-align: center;
}

.contact-email-link {
  display: block;
  margin-top: 19px;
  color: var(--teal-700);
  font-size: .87rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.contact-email-link i {
  margin-right: 6px;
}

@media (max-width: 900px) {
  .contact-quick-grid,
  .contact-connect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-main-actions .btn {
    width: 100%;
    text-align: center;
  }

  .contact-hours > div {
    flex-direction: column;
  }
}


/* ---------- Appointment page enhancement ---------- */
.appointment-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-50) 100%);
}

.appointment-intro {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}

.appointment-intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.appointment-intro p,
.appointment-panel-text {
  color: var(--neutral-500);
  line-height: 1.7;
}

.appointment-steps {
  max-width: 850px;
  margin: 0 auto 38px;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
  gap: 25px;
  align-items: start;
}

.appointment-form-wrap {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--neutral-100);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(3, 43, 84, .08);
}

.appointment-form-wrap .booking-panel h3 {
  margin: 7px 0 8px;
  font-size: 1.5rem;
}

.appointment-panel-label {
  color: var(--amber-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.appointment-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.appointment-form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.appointment-status {
  min-height: 20px;
  margin-top: 16px;
  color: var(--teal-700);
  font-weight: 600;
  text-align: center;
}

.appointment-status.error {
  color: #b42318;
}

.appointment-support-card {
  padding: clamp(26px, 4vw, 38px);
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 95% 5%, rgba(241, 182, 46, .2), transparent 25%),
    linear-gradient(135deg, var(--teal-900), var(--teal-700));
  box-shadow: 0 14px 34px rgba(3, 43, 84, .15);
}

.appointment-support-card h3 {
  margin: 8px 0 21px;
  color: #ffffff;
  font-size: 1.5rem;
}

.appointment-support-card ul {
  display: grid;
  gap: 18px;
}

.appointment-support-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.appointment-support-card li > i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-900);
  background: var(--gold-400);
}

.appointment-support-card li span {
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  line-height: 1.55;
}

.appointment-support-card li strong {
  display: block;
  color: #ffffff;
}

.appointment-support-actions {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.appointment-support-actions .btn {
  width: 100%;
  text-align: center;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #ffffff;
}

@media (max-width: 850px) {
  .appointment-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .appointment-date-grid {
    grid-template-columns: 1fr;
  }

  .appointment-form-nav {
    flex-direction: column;
  }

  .appointment-form-nav .btn {
    width: 100%;
    text-align: center;
  }
}

/* Keep header menu names on one line */
.nav-links {
  flex-wrap: nowrap;
  gap: 16px;
}

.nav-links a {
  white-space: nowrap;
  font-size: .88rem;
}

/* Give the navigation more space on desktop */
@media (min-width: 1000px) {
  .navbar .container {
    max-width: 1440px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo {
    margin-left: -18px;
  }

  .logo--round {
    flex: 0 0 76px;
  }

  .nav-links {
    margin-left: auto;
  }
}

@media (min-width: 1000px) {
  .nav-links {
    margin-left: 28px;
  }
}

/* ---------- Women's health therapy team ---------- */
.women-care-section {
  background: linear-gradient(180deg, var(--teal-50), #ffffff);
}

.women-care-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 20px 24px;
  border-left: 4px solid var(--gold-400);
  border-radius: 0 14px 14px 0;
  background: #ffffff;
  color: var(--neutral-500);
  line-height: 1.75;
  box-shadow: 0 8px 22px rgba(3, 43, 84, .06);
}

.women-care-intro i {
  color: var(--amber-600);
  font-size: 1.7rem;
}

.women-therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.women-therapist-card {
  overflow: hidden;
  border: 1px solid var(--neutral-100);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(3, 43, 84, .09);
}

.women-doctor-placeholder {
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 25% 20%, rgba(241, 182, 46, .2), transparent 30%),
    linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #ffffff;
}

.women-doctor-placeholder i {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, .7);
  border-radius: 50%;
  font-size: 2rem;
}

.women-doctor-placeholder span {
  font-size: .9rem;
  font-weight: 600;
}

.women-doctor-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  margin-top: -1px;
}

.women-therapist-content {
  padding: 30px;
}

.therapist-label {
  color: var(--amber-600);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.women-therapist-content h3 {
  margin: 8px 0 4px;
  font-size: 1.65rem;
}

.therapist-role {
  margin-bottom: 18px;
  color: var(--teal-700);
  font-weight: 600;
}

.women-therapist-content > p {
  color: var(--neutral-500);
  line-height: 1.75;
}

.women-therapist-content h4 {
  margin: 23px 0 12px;
}

.women-service-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.women-service-list li {
  display: flex;
  gap: 9px;
  color: var(--neutral-500);
  font-size: .9rem;
  line-height: 1.5;
}

.women-service-list i {
  margin-top: 3px;
  color: var(--teal-600);
}

.therapy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.therapy-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: .75rem;
  font-weight: 600;
}

.therapist-location {
  margin-bottom: 20px;
  color: var(--neutral-500);
  font-size: .87rem;
}

.therapist-location i {
  color: var(--amber-600);
}

.therapist-quote {
  margin: 20px 0;
  padding: 14px 17px;
  border-left: 3px solid var(--gold-400);
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: .9rem;
  font-style: italic;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .women-therapist-grid {
    grid-template-columns: 1fr;
  }

  .women-care-intro {
    align-items: flex-start;
  }
}

/* Professional doctor photo cards */
.women-doctor-photo {
  height: 440px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #ffffff;
}

.women-doctor-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 14%;
}

.google-reviews-section {
  background: linear-gradient(135deg, #f4f9fd, #ffffff);
}

.google-reviews-intro {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background: #ffffff;
  border: 1px solid #e3edf5;
  border-radius: 22px;
  box-shadow: 0 15px 36px rgba(3, 43, 84, .10);
}

.google-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  color: #4285f4;
  font-size: 2.25rem;
  box-shadow: 0 8px 20px rgba(3, 43, 84, .12);
}

.google-reviews-intro h2 {
  margin: 5px 0 10px;
  color: var(--navy-900);
}

.google-reviews-intro p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.75;
}

.google-review-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.google-review-note {
  max-width: 650px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--slate-600);
  text-align: center;
}

.google-review-note i {
  color: var(--amber-500);
  font-size: 1.25rem;
}

.google-review-note p {
  margin: 0;
}

@media (max-width: 600px) {
  .google-reviews-intro {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
  }

  .google-review-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== DESKTOP FIT FIX ===== */
@media (min-width: 769px) {
  .navbar .container {
    max-width: 100%;
    padding: 10px 24px;
    gap: 20px;
  }

  .logo {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo--round {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
  }

  .logo .logo-text strong {
    font-size: .95rem;
  }

  .logo .logo-text span {
    font-size: .82rem;
  }

  .nav-links {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    gap: 1px;
    margin-left: 12px;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: .80rem;
  }

  .nav-links .nav-cta {
    margin-left: 4px;
    padding: 10px 14px;
    font-size: .82rem;
  }

  .hero--enhanced {
    min-height: 650px;
  }

  .hero-copy--enhanced h1 {
    font-size: clamp(2.55rem, 3.75vw, 3.5rem);
  }
}


/* ===== PROFESSIONAL MOBILE LAYOUT ===== */
@media (max-width: 768px) {

  /* Compact header */
  .navbar .container {
    min-height: 76px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  /* Hamburger menu on left */
  .hamburger {
    display: flex;
    order: -1;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .logo {
    min-width: 0;
    gap: 8px;
  }

  .logo--round {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
  }

  .logo .logo-text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .logo .logo-text strong {
    overflow: hidden;
    max-width: 220px;
    font-size: .84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo .logo-text span {
    font-size: .72rem;
  }

  /* Professional left drawer */
  .nav-links {
    position: fixed;
    top: 0;
    left: -285px;
    right: auto;
    width: 275px;
    height: 100dvh;
    padding: 85px 18px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 12px 0 35px rgba(3, 43, 84, .20);
    transition: left .28s ease;
    z-index: 3000;
  }

  .nav-links.open {
    left: 0;
    right: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    font-size: .91rem;
    text-align: left;
    white-space: normal;
  }

  .nav-links .nav-cta {
    width: 100%;
    margin: 10px 0 0;
    padding: 13px 14px;
    text-align: center;
  }

  /* Clean hero text section */
  .hero--enhanced {
    display: block;
    min-height: auto;
    padding: 36px 0 0;
  }

  .hero--enhanced .container {
    padding: 0 22px;
  }

  .hero-copy--enhanced {
    width: 100%;
  }

  .hero-copy--enhanced h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1.1;
    margin-bottom: 15px;
  }

  .hero-copy--enhanced .lead {
    font-size: .96rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-copy--enhanced .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy--enhanced .hero-cta .btn {
    width: 100%;
    padding: 14px;
  }

  /* Photo below text: no overlap */
  .hero--enhanced .hero-slider {
    position: relative;
    inset: auto;
    width: calc(100% - 32px);
    height: 330px;
    margin: 28px 16px 0;
    opacity: 1;
    border-radius: 22px;
  }

  .hero--enhanced .hero-slider::after {
    background: linear-gradient(
      180deg,
      rgba(3, 43, 84, .03),
      rgba(3, 43, 84, .22)
    );
  }

  .hero--enhanced .hero-slide img {
    object-position: center 18%;
  }

  /* Mobile statistics */
  .stats-strip {
    padding: 28px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }

  .stat .num {
    font-size: 1.7rem;
  }

  .stat .label {
    font-size: .75rem;
  }

  /* Floating buttons */
  .floating-actions {
    right: 12px;
    bottom: 14px;
    gap: 7px;
  }

  .floating-call,
  .floating-book {
    padding: 11px 13px;
    font-size: .78rem;
  }

  .floating-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

/* ===== MOBILE: HERO PHOTO FIRST, TEXT BELOW ===== */
@media (max-width: 768px) {

  .hero--enhanced {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .hero--enhanced .hero-slider {
    position: relative;
    order: 1;
    inset: auto;
    width: 100%;
    height: 390px;
    margin: 0;
    opacity: 1;
    border-radius: 0 0 24px 24px;
  }

  .hero--enhanced .hero-slider::after {
    background: linear-gradient(
      180deg,
      rgba(3, 43, 84, .02),
      rgba(3, 43, 84, .18)
    );
  }

  .hero--enhanced .hero-slide img {
    object-position: center 16%;
  }

  .hero--enhanced .container {
    order: 2;
    width: 100%;
    padding: 32px 22px 36px;
    background: var(--navy-950);
  }

  .hero-copy--enhanced {
    width: 100%;
  }

  .hero-copy--enhanced h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    color: #ffffff;
  }

  .hero-copy--enhanced .lead {
    color: rgba(255, 255, 255, .88);
  }

  .hero-eyebrow,
  .hero-doctor-info {
    display: none;
  }

  .hero-copy--enhanced .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy--enhanced .hero-cta .btn {
    width: 100%;
  }
}

/* ===== HOME HERO: MOBILE PHOTO FIRST, TEXT BELOW ===== */
@media (max-width: 768px) {

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  /* Photo comes first */
  .hero .hero-slider {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: 360px;
    margin: 0;
    border-width: 2px;
    border-radius: 0 0 24px 24px;
    opacity: 1;
  }

  .hero .hero-slider::after {
    background: linear-gradient(
      180deg,
      rgba(3, 43, 84, .03),
      rgba(3, 43, 84, .20)
    );
  }

  .hero .hero-slide img {
    object-position: center 18%;
  }

  .hero .hero-dots {
    right: 18px;
    bottom: 18px;
  }

  /* Text comes below the photo */
  .hero .container {
    position: relative;
    order: 2;
    z-index: 2;
    width: 100%;
    padding: 32px 22px 38px;
    background: var(--navy-950);
  }

  .hero .hero-copy {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero p.lead {
    max-width: none;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, .88);
    font-size: .98rem;
    line-height: 1.7;
  }

  .hero .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero .hero-cta .btn {
    width: 100%;
    padding: 14px;
  }
}

/* Mobile: space above and around hero photo */
@media (max-width: 768px) {
  .hero .hero-slider {
    width: calc(100% - 28px);
    height: 360px;
    margin: 16px 14px 0;
    border-radius: 22px;
  }
}
