/* ==========================================================================
   Maurya Ayurveda — Stroke Rehabilitation Landing Page
   Brand: orange #ff6700 · maroon #450c10 · grey #676767 · green #9ab35d
   Fonts: Jost (headings) + DM Sans (body) · Tajawal for Arabic
   ========================================================================== */

:root {
  --orange: #ff6700;
  --orange-600: #e35c00;
  --orange-50: #fff3ea;
  --orange-100: #ffe3cf;
  --maroon: #450c10;
  --maroon-800: #2f070a;
  --maroon-50: #f7eeee;
  --ink: #1f2224;
  --text: #323334;
  --muted: #676767;
  --green: #9ab35d;
  --wa: #25d366;
  --wa-600: #1eb957;
  --cream: #faf6f0;
  --cream-2: #f3ece2;
  --line: #e9e3da;
  --white: #ffffff;
  --danger: #c62828;
  --star: #f5b301;

  --font-head: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(69, 12, 16, 0.12);
  --shadow-sm: 0 6px 18px rgba(69, 12, 16, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html[lang="ar"] {
  --font-head: 'Tajawal', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.75; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--maroon); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.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; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
h2.title { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.lead { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 103, 0, 0.35); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 14px 30px rgba(255, 103, 0, 0.42); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.30); }
.btn-wa:hover { background: var(--wa-600); }
.btn-ghost { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.btn-outline { background: #fff; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-dark { background: var(--maroon); color: #fff; }
.btn-dark:hover { background: var(--maroon-800); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--maroon); font-size: 16px; }
.header-phone svg { width: 20px; height: 20px; color: var(--orange); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch a { padding: 7px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); line-height: 1; }
.lang-switch a.active { background: var(--maroon); color: #fff; }
.header-cta { display: none; }
@media (min-width: 720px) { .header-phone { display: inline-flex; } }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--maroon); color: #fff; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 72px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0.42; filter: saturate(0.9); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(69,12,16,0.96) 0%, rgba(69,12,16,0.82) 45%, rgba(69,12,16,0.45) 100%);
}
[dir="rtl"] .hero::before { background: linear-gradient(255deg, rgba(69,12,16,0.96) 0%, rgba(69,12,16,0.82) 45%, rgba(69,12,16,0.45) 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(154,179,93,0.25); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 600; margin-top: 22px; }
.hero h1 em { font-style: normal; color: #ffb37a; }
.hero .sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,0.86); max-width: 560px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.hero-chips svg { width: 16px; height: 16px; color: #ffb37a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.trust-strip .t { display: flex; align-items: flex-start; gap: 12px; }
.trust-strip .t svg { width: 24px; height: 24px; flex: 0 0 auto; color: #ffb37a; margin-top: 2px; }
.trust-strip strong { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.2; }
.trust-strip span { font-size: 13px; color: rgba(255,255,255,0.72); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }

/* ---------- Lead form card ---------- */
.lead-card {
  background: #fff; color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35); position: relative;
}
.lead-card .card-title { font-size: 24px; font-weight: 600; }
.lead-card .card-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.lead-card .badge-free { position: absolute; top: -14px; inset-inline-end: 22px; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
html[lang="ar"] .lead-card .badge-free { letter-spacing: 0; font-size: 13px; }
.lead-form { margin-top: 20px; display: grid; gap: 14px; }
.lead-form .row { display: grid; gap: 14px; }
@media (min-width: 480px) { .lead-form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--maroon); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s; outline: none; appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #a5a5a5; }
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,103,0,0.15); }
.field.invalid input { border-color: var(--danger); }
.field .err { display: none; font-size: 12.5px; color: var(--danger); }
.field.invalid .err { display: block; }
.field input[type="tel"], .field input[type="number"] { direction: ltr; text-align: start; }
[dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="number"] { text-align: right; }
.lead-form .consent { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.lead-form .btn-primary { margin-top: 4px; }
.lead-form .btn-primary[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-alt { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.form-alt::before, .form-alt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-success { display: none; text-align: center; padding: 28px 8px; }
.form-success.show { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .tick svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--muted); margin-top: 8px; }
.form-success .btn { margin-top: 18px; }
.lead-card.sent .lead-form, .lead-card.sent .form-alt, .lead-card.sent .alt-actions, .lead-card.sent .card-sub, .lead-card.sent .card-title, .lead-card.sent .badge-free { display: none; }
.alt-actions { margin-top: 12px; justify-content: center; }
@media (max-width: 640px) {
  .hero .hero-actions .btn-primary { width: 100%; }
  .hero .hero-actions .btn-ghost, .hero .hero-actions .btn-wa { flex: 1 1 0; }
  .hero-actions { gap: 10px; }
  .hero .hero-actions { margin-top: 24px; }
  .trust-strip { margin-top: 26px; padding-top: 20px; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}
@media (max-width: 899px) {
  .trust-strip { grid-template-columns: 1fr; gap: 12px; }
  .trust-strip .t { align-items: center; }
  .trust-strip strong { font-size: 16px; }
}

/* ---------- Why Maurya ---------- */
.why { background: var(--cream); }
.feature-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Approach ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { position: relative; }
.step .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-sm); }
.step .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.step:nth-of-type(3) .ph img { object-position: center top; }
.step:hover .ph img { transform: scale(1.04); }
.step .num {
  position: absolute; top: 14px; inset-inline-start: 14px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(255,103,0,0.4);
}
.step h3 { font-size: 21px; font-weight: 600; margin-top: 18px; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
/* ---------- Proof band (real session photos under the hero form) ---------- */
.proof-band { background: var(--cream); padding-block: clamp(44px, 6vw, 72px); }
.proof-band .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.proof-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .proof-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.proof { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream-2); }
/* height:auto so the width/height attributes don't override the aspect ratio */
.proof img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.proof:hover img { transform: scale(1.05); }
.proof figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 12px; color: #fff;
  font-family: var(--font-head); font-weight: 500; font-size: 13.5px; line-height: 1.3;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
}

/* Phones: a swipeable row of large photos instead of four small thumbnails.
   Cards are 84% wide so the next photo peeks in and signals the swipe. */
@media (max-width: 599px) {
  .proof-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; padding-bottom: 6px;
  }
  .proof-grid::-webkit-scrollbar { display: none; }
  .proof { scroll-snap-align: start; }
  .proof-grid .reveal { opacity: 1; transform: none; }
  .proof img { aspect-ratio: 4 / 3; }
  .proof figcaption { font-size: 15px; padding: 34px 16px 14px; }
}
@media (min-width: 600px) and (max-width: 899px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Treatment sessions ---------- */
.session-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .session-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .session-grid { grid-template-columns: repeat(3, 1fr); } }
.session {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.session:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.session .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.session .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.session:hover .ph img { transform: scale(1.04); }
.session.no-photo .ph { display: grid; place-items: center; background: linear-gradient(150deg, var(--orange-50), var(--cream-2)); }
.session.no-photo .ico { width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.session.no-photo .ico svg { width: 30px; height: 30px; }
.session .info { padding: 20px 22px 24px; }
.session h3 { font-size: 19px; font-weight: 600; }
.session p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Team ---------- */
.team { background: var(--cream); }
.team-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1.15fr 1fr; } }
.doc-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); display: grid; }
@media (min-width: 640px) { .doc-card { grid-template-columns: 0.85fr 1.15fr; } }
.doc-card .ph { background: linear-gradient(160deg, var(--orange-50), var(--orange-100)); display: grid; place-items: end center; min-height: 300px; }
.doc-card .ph img { width: 100%; max-width: 380px; height: 100%; object-fit: cover; object-position: top; }
.doc-card .info { padding: clamp(22px, 3vw, 32px); }
.doc-card .role { display: inline-block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
html[lang="ar"] .doc-card .role { letter-spacing: 0; font-size: 14px; }
.doc-card h3 { font-size: 26px; font-weight: 600; }
.doc-card .qual { font-family: var(--font-head); font-weight: 500; color: var(--maroon); margin-top: 6px; font-size: 15.5px; }
.doc-card .bio { color: var(--muted); font-size: 15px; margin-top: 12px; }
.doc-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.doc-card .tags li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-family: var(--font-head); font-weight: 500; color: var(--maroon); }
.doc-card .tags li.hl { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-600); }
.team-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.team-card .ph { aspect-ratio: 16 / 8; overflow: hidden; }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: clamp(22px, 3vw, 30px); flex: 1; display: flex; flex-direction: column; }
.team-card h3 { font-size: 22px; font-weight: 600; }
.team-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 16px; }
.team-list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-family: var(--font-head); font-weight: 500; color: var(--maroon); }
.team-list svg { width: 16px; height: 16px; color: var(--green); flex: 0 0 auto; }
.team-card .btn { margin-top: auto; align-self: flex-start; margin-top: 20px; }

/* Featured founder card sits full width above the specialist grid */
.doc-card.lead-doc { max-width: 900px; margin-inline: auto; }

.doctors-title { text-align: center; font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; margin-top: clamp(40px, 6vw, 64px); }
.doctor-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 520px) { .doctor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .doctor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1120px) { .doctor-grid { grid-template-columns: repeat(4, 1fr); } }
.doctor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.doctor:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.doctor .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.doctor .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.doctor:hover .ph img { transform: scale(1.04); }
.doctor .info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doctor h3 { font-size: 18px; font-weight: 600; line-height: 1.25; }
.doctor .qual { font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: var(--orange-600); }
.doctor .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.doctor .meta .role { font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: var(--maroon); }
.doctor .meta .yrs {
  font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); white-space: nowrap;
}
.doctor .bio { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 2px; }
/* Phones: horizontal card so seven doctors stay scannable instead of seven full-height portraits */
@media (max-width: 519px) {
  .doctor { flex-direction: row; }
  .doctor .ph { flex: 0 0 118px; aspect-ratio: auto; align-self: stretch; }
  .doctor .ph img { height: 100%; }
  .doctor .info { padding: 14px 16px; gap: 4px; }
  .doctor h3 { font-size: 16px; }
  .doctor .qual, .doctor .meta .role { font-size: 12.5px; }
  .doctor .meta .yrs { font-size: 11.5px; padding: 2px 8px; }
  .doctor .bio { font-size: 13px; line-height: 1.5; }
}

.team-strip {
  margin-top: clamp(32px, 5vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; align-items: center;
}
@media (min-width: 900px) { .team-strip { grid-template-columns: 1fr auto; gap: 32px; } }
.team-strip h3 { font-size: 20px; font-weight: 600; }
.team-strip p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.team-strip .team-list { margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.team-strip .btn { justify-self: start; }

/* ---------- Testimonials ---------- */
.testimonials .rating-pill { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 10px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.rating-pill .g { width: 30px; height: 30px; }
.rating-pill strong { font-family: var(--font-head); font-size: 18px; color: var(--maroon); }
.rating-pill span { font-size: 13.5px; color: var(--muted); }
.video-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow-sm); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.04); }
.video .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.video .play .btn-play { width: 66px; height: 66px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255,103,0,0.5); transition: transform .2s var(--ease); }
.video:hover .btn-play { transform: scale(1.08); }
.video .btn-play svg { width: 26px; height: 26px; color: #fff; margin-inline-start: 3px; }
.video .cap { position: absolute; bottom: 0; inset-inline: 0; padding: 14px 16px; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.review-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 22px; }
.review { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review .stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 15.5px; color: var(--text); }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; }
.review .who strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--maroon); }
.review .who span { font-size: 13px; color: var(--muted); }
.consent-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Facilities (one tab per centre) ----------
   Each centre gets its own panel so visitors never assume a facility shown
   for one centre exists at another. Without JS the panels simply stack. */
.facilities { background: var(--cream); }
.fac-tablist {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  width: max-content; max-width: 100%; margin: 0 auto clamp(20px, 3vw, 30px);
  padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.fac-tablist::-webkit-scrollbar { display: none; }
.fac-tab {
  flex: 0 0 auto; border: 0; background: transparent; color: var(--maroon);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 11px 18px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s;
}
.fac-tab:hover { background: var(--orange-50); }
.fac-tab[aria-selected="true"] { background: var(--maroon); color: #fff; }
.fac-tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[role="tabpanel"][hidden] { display: none !important; }
.fac-panel + .fac-panel { margin-top: 40px; }
.tabs-ready .fac-panel + .fac-panel { margin-top: 0; }
/* Centre card: address + directions on the left, the centre's own Google rating and two review
   snippets on the right, so a family can check the exact site they would stay at. Stacks below 820px. */
.fac-centre {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--shadow-sm);
}
.fac-centre.no-listing { grid-template-columns: 1fr; }
.fac-info h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; }
.fac-info .city { font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--orange-600); margin-top: 2px; }
.fac-info .loc { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 10px; max-width: 460px; }
.fac-info .loc svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--orange); margin-top: 3px; }
.fac-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.fac-rating { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.fac-score { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.fac-score .g { width: 26px; height: 26px; }
.fac-score strong { font-family: var(--font-head); font-size: 26px; line-height: 1; color: var(--maroon); }
.fac-score .stars svg { width: 16px; height: 16px; }
.fac-score a { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.fac-score a:hover { color: var(--maroon); }
.fac-quotes-label { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-600); }
.fac-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fac-quotes li { position: relative; padding-inline-start: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.fac-quotes li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 3px; background: var(--orange); }
.fac-all { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--maroon); }
.fac-all svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .2s var(--ease); }
[dir="rtl"] .fac-all svg { transform: rotate(90deg); }
.fac-all:hover svg { transform: rotate(-90deg) translateY(2px); }
[dir="rtl"] .fac-all:hover svg { transform: rotate(90deg) translateY(2px); }
@media (max-width: 819px) { .fac-centre { grid-template-columns: 1fr; } }
.fac-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
@media (min-width: 720px) { .fac-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; } }
.fac-grid figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.fac-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.fac-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fac-grid figure:hover img { transform: scale(1.05); }
.fac-grid figcaption {
  position: absolute; bottom: 0; inset-inline: 0; padding: 26px 14px 12px;
  font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}
.fac-panel:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 14px; }
/* Centres with only one or two photos get a conversion card instead of an empty half-row */
.fac-more {
  grid-column: span 2; grid-row: span 2; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
}
.fac-more h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.fac-more p { color: var(--muted); font-size: 15px; }
.fac-more .btn { margin-top: 6px; }
/* A centre with no verified photo yet shows only the enquiry card, centred and full width */
.fac-panel > .fac-more { align-items: center; text-align: center; padding: clamp(28px, 5vw, 56px); }
.fac-panel > .fac-more p { max-width: 460px; }
.fac-note { text-align: center; color: var(--muted); font-size: 14.5px; max-width: 640px; margin: 20px auto 0; }
@media (max-width: 519px) {
  .fac-tablist { border-radius: 16px; }
  .fac-tab { padding: 10px 14px; font-size: 14px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: var(--orange-100); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--maroon); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex: 0 0 auto; transition: transform .25s var(--ease), background .2s, color .2s; }
.faq-list summary .chev svg { width: 16px; height: 16px; }
.faq-list details[open] summary .chev { transform: rotate(180deg); background: var(--orange); color: #fff; }
.faq-list .ans { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq-list .ans p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.final { position: relative; background: var(--maroon); color: #fff; overflow: hidden; isolation: isolate; }
.final .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.22; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 20% 50%, rgba(255,103,0,0.28), transparent 70%); }
.final-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1fr 0.9fr; gap: 56px; } }
.final h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.final .lead { color: rgba(255,255,255,0.82); }
.final .contact-lines { display: grid; gap: 12px; margin-top: 26px; }
.final .contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 17px; }
.final .contact-lines svg { width: 22px; height: 22px; color: #ffb37a; }
.final .lead-card .badge-free { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 48px 0 110px; font-size: 14.5px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand img { height: 44px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; }
.site-footer li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.site-footer li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--orange); margin-top: 3px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); }
.disclaimer { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,0.45); max-width: 900px; }

/* ---------- Sticky mobile CTA + floating WhatsApp ---------- */
.mobile-cta {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}
.mobile-cta .btn { padding: 13px 10px; font-size: 14px; border-radius: 12px; }
.mobile-cta .btn svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
.wa-float {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.call-float {
  position: fixed; bottom: 28px; inset-inline-start: 28px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); color: #fff; display: none; place-items: center; box-shadow: 0 12px 30px rgba(255,103,0,0.45);
  transition: transform .2s var(--ease);
}
.call-float:hover { transform: scale(1.08); }
.call-float svg { width: 28px; height: 28px; }
.call-float::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0;
  animation: call-pulse 2.4s ease-out infinite;
}
@keyframes call-pulse { 0% { transform: scale(0.85); opacity: 0.6; } 100% { transform: scale(1.35); opacity: 0; } }
@media (min-width: 900px) { .wa-float, .call-float { display: grid; } }
@media (prefers-reduced-motion: reduce) { .call-float::after { animation: none; } }

/* ---------- Honeypot (bots fill it, humans never see it) ---------- */
.hp { position: absolute !important; inset-inline-start: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- Thank-you page ---------- */
.thanks { min-height: calc(100vh - 74px); display: grid; place-items: center; background: var(--cream); padding-block: clamp(32px, 6vw, 72px); }
.thanks-card { background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); max-width: 760px; margin-inline: auto; text-align: center; box-shadow: var(--shadow); }
.thanks .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 12px 30px rgba(154,179,93,0.4); }
.thanks .tick svg { width: 42px; height: 42px; }
.thanks h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.thanks .sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 560px; margin-inline: auto; }
.thanks .hero-actions { justify-content: center; margin-top: 26px; }
.thanks .hint { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 520px; margin-inline: auto; }
.thanks .next-title { font-size: 20px; font-weight: 600; margin-top: 36px; }
.next-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 16px; text-align: start; list-style: none; padding: 0; }
.next-steps li { background: var(--cream); border-radius: 14px; padding: 16px; }
.next-steps .n { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 10px; font-size: 14px; }
.next-steps h3 { font-size: 16px; font-weight: 600; }
.next-steps p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.thanks .back { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 14px; text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature, .step .ph img, .video img, .fac-grid img, .fac-tab { transition: none; }
}

/* ---------- RTL tweaks ---------- */
[dir="rtl"] .flip { transform: scaleX(-1); }
[dir="rtl"] .video .btn-play svg { margin-inline-start: 0; margin-inline-end: 3px; transform: scaleX(-1); }
