/* ═══════════════════════════════════════════════
   مركز ضيّ — Premium Arabic RTL Stylesheet
   v2.0 — Mobile-First Audit & Fixes Applied
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --navy:        #1B3A5C;
  --navy-dark:   #122944;
  --navy-light:  #243f63;
  --gold:        #C9A24B;
  --gold-light:  #dbb96a;
  --gold-dark:   #a8852e;
  --beige:       #F9F6F0;
  --white:       #FFFFFF;
  --text-dark:   #1a2535;
  --text-mid:    #3d4f66;
  --text-muted:  #6b7c93;
  --border:      #e4ddd0;
  --shadow-sm:   0 2px 8px rgba(27,58,92,.07);
  --shadow-md:   0 6px 28px rgba(27,58,92,.10);
  --shadow-lg:   0 14px 44px rgba(27,58,92,.14);
  --shadow-gold: 0 8px 32px rgba(201,162,75,.25);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  all .28s cubic-bezier(.4,0,.2,1);
  --font-main:   'Cairo', 'Tajawal', sans-serif;
  --header-h:    64px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  /* FIX: prevent horizontal scroll at root level */
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  direction: rtl;
  /* FIX: both overflow-x declarations for full cross-browser coverage */
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ── */
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 1.75rem; }

/* ── Skip to Main — Keyboard A11y ── */
.skip-link {
  position: absolute;
  top: -100%;
  right: 0;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 20px;
  font-weight: 800;
  font-size: .9rem;
  z-index: 9000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s;
  white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════
   LOADER
══════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-logo {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  animation: loadBar 1.8s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes loadBar { from{width:0} to{width:100%} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ══════════════════════════════════
   WHATSAPP FLOAT
   FIX: Safe positioning from edge, proper touch target
══════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 16px;
  width: 46px;
  height: 46px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 3px 16px rgba(37,211,102,.45);
  z-index: 1000;
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
  touch-action: manipulation;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 22px rgba(37,211,102,.6);
  animation-play-state: paused;
}
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
/* FIX: tooltip only shows on hover (desktop), not on touch (mobile) */
@media (hover: hover) {
  .whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
}

@keyframes waFloat {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* ── Chatbot ── */
.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  touch-action: manipulation;
}
.chatbot-toggle:hover { transform: scale(1.08); }
.chatbot-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.chatbot-toggle.is-open { color: #fff; }
.chatbot-toggle-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy-dark);
}

.chatbot-panel {
  position: fixed;
  bottom: 84px;
  right: 16px;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 140px));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  animation: chatbotIn .25s cubic-bezier(.4,0,.2,1);
}
.chatbot-panel[hidden] { display: none; }
@keyframes chatbotIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 10px; }
.chatbot-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201,162,75,.18);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.chatbot-header-info strong { display: block; color: #fff; font-size: .92rem; font-weight: 800; }
.chatbot-header-info span { display: block; color: rgba(255,255,255,.65); font-size: .74rem; margin-top: 1px; }
.chatbot-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
}
.chatbot-close:hover { background: rgba(255,255,255,.12); color: #fff; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--beige);
}
.chatbot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: .87rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.chatbot-msg-bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chatbot-msg-user {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg-error {
  align-self: flex-start;
  background: #fee2e2;
  color: #991b1b;
  border-bottom-left-radius: 4px;
}
.chatbot-action-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: .82rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}
.chatbot-action-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,162,75,.35); }

.chatbot-quick-wrap { align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.chatbot-quick-hint { font-size: .76rem; color: var(--text-muted); font-weight: 600; }
.chatbot-quick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chatbot-quick-chip {
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .78rem;
  padding: 7px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-quick-chip:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.chatbot-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
}
.chatbot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatbotTyping 1.2s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: .2s; }
.chatbot-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatbotTyping {
  0%,60%,100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: .87rem;
  color: var(--text-dark);
  background: var(--beige);
  min-width: 0;
}
.chatbot-input:focus { outline: none; border-color: var(--navy); background: var(--white); }
.chatbot-send {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-send:hover { background: var(--navy-light); }
.chatbot-send:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 400px) {
  .chatbot-panel { right: 8px; bottom: 78px; width: calc(100vw - 16px); }
  .chatbot-toggle { right: 12px; }
}

/* ══════════════════════════════════
   HEADER
   FIX: inset-inline fallback + transparent state colors
══════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;          /* FIX: fallback for inset-inline */
  right: 0;         /* FIX: fallback for inset-inline */
  inset-inline: 0;
  height: var(--header-h);
  z-index: 500;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: grid;
  /* FIX: symmetry — space-between centered the nav only relative to the
     leftover space, so it drifted toward whichever side (logo vs actions)
     was narrower. Two equal 1fr columns keep the middle nav truly centered
     in the bar regardless of how wide the logo or the buttons are. */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.header-inner .logo            { justify-self: start; }
.header-inner .nav             { justify-self: center; min-width: 0; }
/* FIX: the logo column is wider than the actions column (equal 1fr width,
   unequal content), so pinning the button to its column's outer edge left
   a gap between it and the nav — "start" hugs it to the inner edge next to
   the nav instead, any leftover space lands on the far side, out of view. */
.header-inner .header-actions  { justify-self: start; }

/* ─── FIX: Transparent header — white text over dark hero ─── */
.header:not(.scrolled) .logo-name    { color: #fff; }
.header:not(.scrolled) .logo-tagline { color: rgba(201,162,75,.85); }
.header:not(.scrolled) .nav-link     { color: rgba(255,255,255,.82); }
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active { color: #fff; }
.header:not(.scrolled) .nav-link::after { background: var(--gold-light); }
/* FIX: hamburger bars visible on dark background */
.header:not(.scrolled) .nav-toggle span { background: #fff; }
/* Logo image: brighter gold ring on transparent header */
.header:not(.scrolled) .logo-img-wrap {
  border-color: rgba(201,162,75,.65);
  box-shadow: 0 0 0 2px rgba(201,162,75,.15), 0 2px 14px rgba(0,0,0,.25);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid rgba(201,162,75,.35);
  box-shadow: 0 2px 10px rgba(27,58,92,.12);
  transition: transform .3s, box-shadow .3s;
}
.logo:hover .logo-img-wrap {
  transform: rotate(8deg) scale(1.05);
  box-shadow: 0 4px 16px rgba(201,162,75,.28);
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  display: block;
}

.logo-text { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.logo-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: normal;
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo-tagline {
  font-size: .68rem;
  color: var(--gold-dark);
  font-weight: 600;
  line-height: 1.2;
  /* FIX: prevents overflow on mid-size screens */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav */
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  font-size: .86rem;
  font-weight: 600;
  /* FIX: with 9 items now in the nav, unconstrained items were shrinking
     below their text width and wrapping to two lines — nowrap forces each
     link to keep its text on one line (padding/gap trimmed above to help
     everything still fit in the row). */
  white-space: nowrap;
  /* FIX: body's line-height:1.7 (meant for paragraphs) was inherited here,
     giving nav links a taller line box than the button next to them — text
     sat centered in that extra height, reading as "lower" than the button's
     tighter text. A UI-appropriate line-height keeps both in step. */
  line-height: 1.2;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  /* FIX: better tap responsiveness */
  touch-action: manipulation;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
/* Tapered middle bar — elegant hamburger */
.nav-toggle span:nth-child(2) { width: 16px; }
.header:not(.scrolled) .nav-toggle span:nth-child(2) { background: #fff; }
.nav-toggle:hover { background: rgba(27,58,92,.06); }

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* FIX: use translateX for RTL — overlay comes from left (visually right) */
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  /* FIX: enable scroll inside overlay if content is tall */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-overlay.open { transform: translateX(0); }

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.4rem;
  color: var(--gold);
  /* FIX: 44px touch target */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  touch-action: manipulation;
  transition: background .2s;
}
.nav-close:hover { background: rgba(255,255,255,.1); }

.nav-overlay-list { text-align: center; padding: 20px 0; }
.nav-overlay-list li { opacity: 0; transform: translateY(20px); transition: all .3s; }
.nav-overlay.open .nav-overlay-list li { opacity: 1; transform: translateY(0); }
.nav-overlay.open .nav-overlay-list li:nth-child(1){transition-delay:.1s}
.nav-overlay.open .nav-overlay-list li:nth-child(2){transition-delay:.15s}
.nav-overlay.open .nav-overlay-list li:nth-child(3){transition-delay:.2s}
.nav-overlay.open .nav-overlay-list li:nth-child(4){transition-delay:.25s}
.nav-overlay.open .nav-overlay-list li:nth-child(5){transition-delay:.3s}
.nav-overlay.open .nav-overlay-list li:nth-child(6){transition-delay:.35s}

.nav-overlay-list a {
  display: block;
  /* FIX: minimum 44px height for touch */
  padding: 16px 40px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s;
  touch-action: manipulation;
}
.nav-overlay-list a:hover { color: var(--gold); }

/* ══════════════════════════════════
   BUTTONS
   FIX: touch-action on all buttons
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  /* FIX: remove 300ms tap delay on mobile */
  touch-action: manipulation;
  /* FIX: minimum touch target */
  min-height: 44px;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  box-shadow: 0 12px 40px rgba(27,58,92,.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,75,.4); }

/* Hero primary CTA — gold, high contrast on dark hero */
.btn-hero {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(201,162,75,.38), 0 1px 0 rgba(255,255,255,.25) inset;
  letter-spacing: .2px;
}
.btn-hero i { color: var(--navy-dark); }
.btn-hero:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(201,162,75,.55);
  color: var(--navy-dark);
}
.btn-hero:active { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(201,162,75,.4); }
.btn-hero:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-cta .btn-hero { animation: heroBtnPulse 4s ease-in-out infinite; }
  .hero-cta .btn-hero:hover,
  .hero-cta .btn-hero:focus { animation: none; }
}
@keyframes heroBtnPulse {
  0%, 55%, 100% { box-shadow: 0 4px 24px rgba(201,162,75,.38), 0 1px 0 rgba(255,255,255,.25) inset; }
  28%           { box-shadow: 0 4px 24px rgba(201,162,75,.38), 0 1px 0 rgba(255,255,255,.25) inset, 0 0 0 9px rgba(201,162,75,.11); }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,.4); }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius-lg); min-height: 52px; }
.btn-sm { padding: 8px 18px; font-size: .85rem; border-radius: var(--radius-sm); min-height: 36px; }

/* ══════════════════════════════════
   SECTIONS COMMON
══════════════════════════════════ */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,162,75,.15), rgba(201,162,75,.08));
  color: var(--gold-dark);
  border: 1px solid rgba(201,162,75,.3);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-title span { color: var(--gold-dark); }  /* --gold on white is 2.40:1 */

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.88;
}

/* ══════════════════════════════════
   HERO
   FIX: overflow containment, orb performance
══════════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 40%, #1f4575 70%, #163356 100%);
  position: relative;
  /* FIX: critical — clips all overflowing orb particles and shapes */
  overflow: hidden;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 20px;
}

/* Background Shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -200px; right: -150px;
  animation: shapeFloat 8s ease-in-out infinite;
}
.shape-2 {
  width: 400px; height: 400px;
  background: #5baad4;
  bottom: -100px; left: -100px;
  animation: shapeFloat 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--gold-light);
  top: 50%; left: 40%;
  animation: shapeFloat 12s ease-in-out infinite 2s;
}

@keyframes shapeFloat {
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(30px,-20px) scale(1.05)}
  66%{transform:translate(-20px,15px) scale(.95)}
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 16px 24px 20px 24px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,75,.15);
  border: 1px solid rgba(201,162,75,.35);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero-dots { color: var(--gold); }
.hero-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-desc {
  font-size: .97rem;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 460px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }

.btn-outline.hero-outline {
  color: rgba(255,255,255,.97);
  border-color: rgba(255,255,255,.62);
  border-width: 1.5px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 2px 8px rgba(0,0,0,.18);
}
.btn-outline.hero-outline:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(201,162,75,.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 16px rgba(0,0,0,.22);
}

/* Assessment shortcut button — dashed gold, inside hero */
.btn-assess {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px dashed var(--gold);
  flex-basis: 100%;        /* own row below the two hero buttons */
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: none;
  transition: var(--transition);
}
.btn-assess i { color: var(--gold-light); }
.btn-assess:hover {
  background: rgba(201,162,75,.1);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,162,75,.18);
}
.btn-assess:hover i { color: #fff; }

.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.trust-item i { color: var(--gold); }

/* Hero Visual / Orb */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  align-self: center;
  /* Explicit size: larger than orb so all orbiting particles stay visible */
  width: 280px;
  height: 280px;
  margin: 0 auto;
  flex-shrink: 0;
}

.hero-orb {
  position: relative;
  width: 168px;
  height: 168px;
  flex-shrink: 0;
}

/* Ambient pulsing glow — behind the core only */
.orb-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.28) 0%, rgba(201,162,75,.09) 52%, transparent 72%);
  animation: orbPulseGlow 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes orbPulseGlow {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .32; }
  50%      { transform: translate(-50%,-50%) scale(1.18); opacity: .65; }
}

/* Outer dashed ring — slow rotation only */
.orb-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.orb-ring-1 {
  width: 100%; height: 100%;
  border: 1.5px dashed rgba(201,162,75,.2);
  animation: orbSpin 55s linear infinite;
}
/* Inner rings: gentle pulse — no spinning */
.orb-ring-2 {
  width: 76%; height: 76%;
  border: 1px solid rgba(201,162,75,.13);
  animation: orbPulseRing 3.6s ease-in-out infinite;
}
.orb-ring-3 {
  width: 54%; height: 54%;
  border: 1px solid rgba(201,162,75,.2);
  animation: orbPulseRing 3.6s ease-in-out infinite .9s;
}

@keyframes orbSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

@keyframes orbPulseRing {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .5; }
  50%      { transform: translate(-50%,-50%) scale(1.06); opacity: 1;  }
}

.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  /* box-shadow animation moved to ::after so text compositing stays clean */
  box-shadow: 0 0 14px rgba(201,162,75,.2), 0 0 30px rgba(201,162,75,.1);
  z-index: 2;
  isolation: isolate;
  contain: layout paint;
}
/* Animated glow lives on a pseudo-element — text never re-composites */
.orb-core::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.45) 0%, transparent 70%);
  animation: coreGlowRing 3.5s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes coreGlowRing {
  0%,100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .75; transform: scale(1.12); }
}
.orb-text {
  font-size: 1.18rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  text-shadow: none !important;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 1;
}
.orb-subtext {
  font-size: .6rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-shadow: none !important;
  transform: translateZ(0);
  position: relative;
  z-index: 1;
}

.orb-particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  top: 50%; left: 50%;
}
/* --orbit-r drives the keyframes below — overridden per breakpoint so the
   orbit shrinks in step with the orb instead of being hidden on mobile. */
.p1 { animation: orbit1 12s linear infinite; width: 6px; height: 6px; opacity: 0.8; --orbit-r: 110px; }
.p2 { animation: orbit2 16s linear infinite reverse; width: 4px; height: 4px; opacity: 0.6; --orbit-r: 130px; }
.p3 { animation: orbit3 20s linear infinite; width: 8px; height: 8px; opacity: 0.9; --orbit-r: 85px; }
.p4 { animation: orbit4 14s linear infinite reverse; width: 5px; height: 5px; opacity: 0.5; --orbit-r: 120px; }

@keyframes orbit1 { from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); } }
@keyframes orbit2 { from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); } }
@keyframes orbit3 { from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); } }
@keyframes orbit4 { from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); } }

.orb-icon-bubble {
  position: absolute;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .98rem;
  top: 50%; left: 50%;
  animation: bubbleFloat 4s ease-in-out infinite;
}
/* Positions scaled to 168px orb (×0.8 of original 210px) */
.b1 { margin: -21px 0 0 -21px; --bx: -72px; --by: -18px; animation-delay: 0s; }
.b2 { margin: -21px 0 0 -21px; --bx:  66px; --by: -28px; animation-delay: 1s; }
.b3 { margin: -21px 0 0 -21px; --bx: -62px; --by:  34px; animation-delay: 2s; }
.b4 { margin: -21px 0 0 -21px; --bx:  60px; --by:  38px; animation-delay: .5s; }

@keyframes bubbleFloat {
  0%,100%{transform:translate(var(--bx,0),var(--by,0))}
  50%{transform:translate(var(--bx,0),calc(var(--by,0) - 10px))}
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  margin-top: 10px;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  z-index: 2;
  animation: hintFade 2s ease-in-out infinite;
  /* FIX: don't let hint intercept taps */
  pointer-events: none;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
@keyframes hintFade { 0%,100%{opacity:.5} 50%{opacity:1} }

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about { background: var(--beige); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.about-text { display: flex; flex-direction: column; gap: 20px; }

.about-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 40px -10px rgba(27,58,92,.08);
  border: 1px solid var(--border);
  transition: var(--transition);
  flex: 1;
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -10px rgba(27,58,92,.14);
}

.about-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  /* Circular icon wells, matching the services section */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.about-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.about-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

.about-scope {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  box-shadow: 0 14px 44px -10px rgba(27,58,92,.28);
}
.scope-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 24px; color: var(--gold-light); }

.scope-items { display: flex; flex-direction: column; gap: 20px; }
.scope-item { display: flex; align-items: flex-start; gap: 16px; }
.scope-icon {
  width: 42px; height: 42px;
  background: rgba(201,162,75,.2);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.scope-item strong { display: block; font-weight: 700; margin-bottom: 4px; color: #fff; font-size: .95rem; }
.scope-item p { font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* Stats */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 10px 40px -10px rgba(27,58,92,.08);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -10px rgba(27,58,92,.14);
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  background: rgba(27,58,92,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: .9rem;
  transition: var(--transition);
}
.stat-card:hover .stat-icon-wrap {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  display: inline-block;
}
.stat-plus { display: inline-block; font-size: 1.5rem; font-weight: 900; color: var(--gold); vertical-align: super; }
.stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 600; margin-top: 8px; }

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services { background: var(--white); }

/* Soft decorative shapes — warm, subtle, child-friendly */
.services, .faq { position: relative; overflow: hidden; }
.services > .container, .faq > .container { position: relative; z-index: 1; }
.services::before,
.faq::before {
  content: '';
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.08) 0%, transparent 68%);
  top: -140px; right: -140px;
  pointer-events: none;
}
.services::after,
.faq::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,92,.05) 0%, transparent 68%);
  bottom: -120px; left: -120px;
  pointer-events: none;
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border);
  /* Diffused navy-tinted elevation instead of a flat grey drop — keeps the
     palette warm even in the shadows. */
  box-shadow: 0 10px 40px -10px rgba(27,58,92,.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -10px rgba(27,58,92,.14);
  border-color: rgba(201,162,75,.32);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-color: var(--gold-dark);
  color: #fff;
}
.service-card.featured h3 { color: #fff; }
.service-card.featured p  { color: rgba(255,255,255,.75); }
.service-card.featured .service-link { color: var(--gold-light); }
.service-card.featured .service-icon { background: rgba(201,162,75,.15); color: var(--gold); }
.service-card.featured .service-icon i { color: var(--gold); }

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(27,58,92,.08), rgba(27,58,92,.04));
  /* Circular icon wells — the design system's "shapes are circular and
     organic; sharp corners are avoided" rule. */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--navy);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.service-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* 44px touch target without shifting the visual baseline */
  min-height: 44px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
  touch-action: manipulation;
}
.service-link:hover { color: var(--gold-dark); gap: 10px; }

.services-cta-card {
  background: linear-gradient(155deg, rgba(201,162,75,.08), rgba(201,162,75,.04));
  border: 1.5px dashed rgba(201,162,75,.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.services-cta-card .service-icon { background: rgba(201,162,75,.15); color: var(--gold-dark); }

/* ══════════════════════════════════
   TEAM
══════════════════════════════════ */
.team { background: var(--beige); }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.team-card {
  flex: 1 1 260px;
  max-width: 300px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(27,58,92,.08);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -10px rgba(27,58,92,.16);
}

.team-photo-wrap {
  position: relative;
  height: 200px;
  background: linear-gradient(155deg, var(--navy-dark), var(--navy-light));
  overflow: hidden;
}

.team-photo-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.3);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,58,92,.95) 0%, rgba(27,58,92,.4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
/* FIX: on touch devices, always show overlay since no hover */
@media (hover: none) {
  .team-overlay { opacity: 1; }
}
.team-card:hover .team-overlay { opacity: 1; }

.team-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: .82rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  touch-action: manipulation;
  min-height: 44px;
}
.team-book-btn:hover { background: var(--gold-light); transform: scale(1.03); }

.team-info { padding: 20px; }
.team-info h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }

.team-specialty {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.team-qual { font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }

.team-bio {
  font-size: .8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 12px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

.team-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.team-tags span {
  background: rgba(27,58,92,.06);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(27,58,92,.12);
}

/* ══════════════════════════════════
   BOOKING
══════════════════════════════════ */
.booking {
  background: linear-gradient(155deg, var(--navy-dark) 0%, #1f4070 100%);
}

.booking .section-header .section-title { color: #fff; }
.booking .section-desc { color: rgba(255,255,255,.65); }
.booking .section-tag { background: rgba(201,162,75,.2); border-color: rgba(201,162,75,.4); color: var(--gold-light); }

.booking-wrapper {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.08) inset;
}

/* Steps Progress */
.booking-steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  /* FIX: don't let steps overflow on narrow screens */
  overflow: hidden;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.step-line { flex: 1; height: 2px; background: rgba(255,255,255,.2); transition: background .4s; min-width: 8px; }
.step-line.completed { background: var(--gold); }

.step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}
.step.active .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,162,75,.4);
}
.step.completed .step-circle { background: var(--gold-dark); border-color: var(--gold-dark); }

.step-num { font-size: .85rem; font-weight: 800; color: rgba(255,255,255,.7); }
.step.active .step-num, .step.completed .step-num { color: var(--navy-dark); }
.step-check { position: absolute; font-size: .85rem; color: var(--navy-dark); display: none; }
.step.completed .step-num { display: none; }
.step.completed .step-check { display: block; }

.step-label { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.5); white-space: nowrap; }
.step.active .step-label { color: var(--gold-light); }

/* Form Steps */
.form-step { display: none; animation: stepIn .35s ease forwards; }
.form-step.active { display: block; }
@keyframes stepIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

.step-title { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 24px; }

/* Sub-choice revealed under a service (currently the adult consultation) */
.adult-topic-group { margin-top: 22px; animation: stepIn .3s ease forwards; }
.adult-topic-group[hidden] { display: none; }
.step-subtitle { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.step-subtitle span { color: var(--gold, #C9A24B); }

/* Service Options */
.service-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.service-option { display: block; cursor: pointer; touch-action: manipulation; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* FIX: minimum 44px height for touch targets */
  padding: 16px 10px;
  min-height: 88px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  transition: var(--transition);
  justify-content: center;
}
.option-card i { font-size: 1.4rem; color: rgba(255,255,255,.5); transition: var(--transition); }

.service-option input:checked + .option-card,
.option-card:hover {
  background: rgba(201,162,75,.15);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}
.service-option input:checked + .option-card i,
.option-card:hover i { color: var(--gold); }
.service-option input:focus-visible + .option-card {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Specialist Options */
.specialist-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.specialist-option { display: block; cursor: pointer; touch-action: manipulation; }
.specialist-option input { position: absolute; opacity: 0; pointer-events: none; }

.specialist-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  /* FIX: 44px min-height for touch */
  min-height: 72px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.specialist-option input:checked + .specialist-card,
.specialist-card:hover {
  background: rgba(201,162,75,.12);
  border-color: var(--gold);
}

.sp-avatar { font-size: 2.2rem; color: rgba(255,255,255,.4); flex-shrink: 0; }
.specialist-option input:checked + .specialist-card .sp-avatar { color: var(--gold); }

.sp-info { flex: 1; min-width: 0; }
.sp-info strong { display: block; font-weight: 800; color: #fff; font-size: .95rem; }
.sp-info span   { font-size: .8rem; color: rgba(255,255,255,.55); }

.sp-check { color: rgba(255,255,255,.2); font-size: 1.2rem; transition: var(--transition); flex-shrink: 0; }
.specialist-option input:checked + .specialist-card .sp-check { color: var(--gold); }
.specialist-option input:focus-visible + .specialist-card {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Form Controls */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }

.form-label { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.8); }
.form-label span { color: var(--gold); }

.form-input {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  /* FIX: min 44px height touch target + 16px font prevents iOS zoom */
  padding: 13px 16px;
  min-height: 48px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: #fff;
  width: 100%;
  transition: var(--transition);
  outline: none;
  direction: rtl;
  /* FIX: iOS-specific appearance */
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(201,162,75,.2);
}
select.form-input option { background: var(--navy-dark); color: #fff; }

.phone-input-wrapper { display: flex; gap: 8px; }
.phone-code-select { width: 112px; flex-shrink: 0; direction: ltr; text-align: left; padding-right: 8px; }

.field-error { font-size: .8rem; color: #fc8181; font-weight: 600; min-height: 1.2em; margin-top: 2px; }

/* Booking Summary */
.booking-summary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}
.booking-summary :is(h3, h4) { font-size: .9rem; font-weight: 800; color: var(--gold-light); margin-bottom: 14px; }
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  gap: 8px;
}
.summary-item:last-child { border-bottom: none; }
.summary-item span   { color: rgba(255,255,255,.55); flex-shrink: 0; }
.summary-item strong { color: #fff; font-weight: 700; text-align: left; word-break: break-word; }

.form-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  /* FIX: allow wrap on small screens */
  flex-wrap: wrap;
}

/* Success */
.success-state {
  text-align: center;
  padding: 40px 20px;
  animation: stepIn .4s ease forwards;
}
.success-icon {
  font-size: 4rem;
  color: #25D366;
  margin-bottom: 20px;
  animation: successPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes successPop { from{transform:scale(0)} to{transform:scale(1)} }
.success-state :is(h2, h3) { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.success-state p  { color: rgba(255,255,255,.7); margin-bottom: 4px; }

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.testimonials { background: var(--beige); }

.testimonials-slider { max-width: 800px; margin: 0 auto; }

.slider-track { position: relative; min-height: 240px; }

.testimonial-card {
  display: none;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 14px 44px -10px rgba(27,58,92,.12);
  border: 1px solid var(--border);
  animation: slideIn .4s ease forwards;
}
.testimonial-card.active { display: block; }
@keyframes slideIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }

.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 20px; display: flex; gap: 4px; }

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 24px;
  position: relative;
  padding-right: 20px;
}
.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  right: 0; top: -8px;
  font-size: 3rem;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  font-family: serif;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-weight: 800; color: var(--navy); font-size: .95rem; }
.testimonial-author span  { font-size: .8rem; color: var(--text-muted); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-btn {
  /* FIX: 44x44 minimum touch target */
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  touch-action: manipulation;
}
.slider-btn:hover { background: var(--navy); color: #fff; transform: scale(1.08); }

.slider-dots { display: flex; gap: 4px; align-items: center; }
.slider-dot {
  /* FIX: larger tap target with padding trick */
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  padding: 10px;
  background-clip: content-box;
  touch-action: manipulation;
}
.slider-dot.active {
  background: var(--navy);
  background-clip: content-box;
  width: 28px;
  border-radius: 4px;
}
.slider-dot:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq { background: var(--white); }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,162,75,.15); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* FIX: minimum 44px height */
  padding: 18px 24px;
  min-height: 56px;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  gap: 16px;
  transition: var(--transition);
  touch-action: manipulation;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.faq-icon { flex-shrink: 0; transition: transform .3s cubic-bezier(.4,0,.2,1); color: var(--gold-dark); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact { background: var(--beige); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 40px -10px rgba(27,58,92,.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h3 { font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.contact-item p, .contact-link { font-size: .95rem; color: var(--navy); font-weight: 600; }
.contact-link { transition: color .2s; touch-action: manipulation; }
.contact-link:hover { color: var(--gold-dark); }

.social-section { margin-top: 4px; }
.social-section h4 { font-size: .9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 14px; }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 700;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  /* FIX: min touch target */
  min-height: 44px;
  touch-action: manipulation;
}
.social-link:hover { transform: translateY(-2px); }
.social-link.instagram { color: #E1306C; }
.social-link.instagram:hover { background: #E1306C; color: #fff; border-color: #E1306C; }
.social-link.facebook  { color: #1877F2; }
.social-link.facebook:hover  { background: #1877F2; color: #fff; border-color: #1877F2; }
.social-link.whatsapp  { color: #25D366; }
.social-link.whatsapp:hover  { background: #25D366; color: #fff; border-color: #25D366; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-map iframe { display: block; }

/* ══════════════════════════════════
   FINAL CTA
══════════════════════════════════ */
.section-final-cta {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 45%, #1e4870 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.section-final-cta::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(201,162,75,.13) 0%, transparent 68%);
  pointer-events: none;
}
.section-final-cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201,162,75,.07) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,75,.16);
  border: 1px solid rgba(201,162,75,.32);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.final-cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.final-cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.final-cta-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}
.final-cta-features span i { color: var(--gold); font-size: .78rem; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.footer-logo .logo-img-wrap {
  width: 52px;
  height: 52px;
  border-color: rgba(201,162,75,.5);
  box-shadow: 0 0 0 1px rgba(201,162,75,.2), 0 4px 14px rgba(0,0,0,.28);
}
.footer-logo:hover .logo-img-wrap {
  transform: rotate(8deg) scale(1.05);
  box-shadow: 0 0 0 2px rgba(201,162,75,.4), 0 6px 18px rgba(0,0,0,.35);
}
.footer-logo-text { font-size: 1.4rem; font-weight: 900; color: var(--gold); }

.footer-desc { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.55); margin-bottom: 20px; max-width: 280px; }

.footer-social { display: flex; gap: 12px; }
.f-social-link {
  /* FIX: 44x44 min touch target */
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  touch-action: manipulation;
}
.f-social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.f-social-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.footer-links h3, .footer-contact h3 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* FIX: taller touch target */
  min-height: 36px;
  touch-action: manipulation;
}
.footer-links a::before { content: '›'; color: var(--gold); opacity: 0; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-right: 6px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item i { color: var(--gold); width: 16px; text-align: center; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-credit i { color: #e74c3c; }

/* ══════════════════════════════════
   REDUCED MOTION
══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — Mobile Audit v2.0
   Breakpoints: 1024 | 768 | 480 | 400 | 360
════════════════════════════════════════════ */

/* ── 1024px (Tablet Landscape) ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-desc { max-width: 100%; }
  .hero-orb { width: 192px; height: 192px; }
  .hero-visual { width: 258px; height: 258px; }
}

/* ── 768px (Tablet Portrait / Large Mobile) ── */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .container { padding: 0 16px; }

  /* ─ Header ─ */
  .nav { display: none; }
  .nav-toggle { display: flex; }
  /* The bar is a three-column grid (logo · nav · actions), and the nav is
     display:none here — which takes it out of the grid entirely, so the
     two remaining children auto-place into columns one and two and the
     buttons end up parked in the middle of the bar with the third column
     empty beside them. justify-self couldn't help: it was pinning them to
     the edge of the wrong column. Flex has no such column to land in, and
     space-between puts each end where it belongs whatever is hidden. */
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-inner .header-actions { justify-self: auto; }
  /* FIX: hide tagline on mobile to save space */
  .logo-tagline { display: none; }
  .logo-img-wrap { width: 42px; height: 42px; }

  /* The header sits on the navy hero, and a navy button on it reads as a
     shadow rather than the way to book. Gold here, the same gold as the
     hero's own call to action; once the page scrolls and the bar turns
     white the navy button is right again and comes back. */
  .header:not(.scrolled) .header-actions .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: 0 6px 18px rgba(201,162,75,.3);
  }
  .header-actions .btn-sm { min-height: 44px; padding: 8px 16px; }
  .header-actions { gap: 8px; }

  /* ─ Hero ─ */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px 40px;
    text-align: center;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; gap: 12px; }
  .hero-desc { max-width: 100%; margin: 0 auto 20px; }
  .hero-badge { align-self: center; }
  .hero-title { line-height: 1.45; }
  /* hero-visual stays bigger than hero-orb (same ratio as desktop) so the
     orbiting bubbles/particles have room and don't get clipped by the
     overflow:hidden circle around them. */
  .hero-visual { order: -1; width: 240px; height: 240px; }
  .hero-orb { width: 148px; height: 148px; }
  .orb-core { width: 70px; height: 70px; }
  .orb-text { font-size: 1.2rem; }
  /* Icon bubbles + particles scaled down (×0.88, matching the orb's own
     shrink from 168px→148px) instead of hidden, so mobile shows the same
     shape as desktop, just smaller. */
  .orb-icon-bubble { width: 37px; height: 37px; font-size: .86rem; }
  .b1 { margin: -18.5px 0 0 -18.5px; --bx: -63px; --by: -16px; }
  .b2 { margin: -18.5px 0 0 -18.5px; --bx:  58px; --by: -25px; }
  .b3 { margin: -18.5px 0 0 -18.5px; --bx: -55px; --by:  30px; }
  .b4 { margin: -18.5px 0 0 -18.5px; --bx:  53px; --by:  34px; }
  .p1 { --orbit-r: 97px; width: 5px; height: 5px; }
  .p2 { --orbit-r: 115px; width: 4px; height: 4px; }
  .p3 { --orbit-r: 75px; width: 7px; height: 7px; }
  .p4 { --orbit-r: 106px; width: 4px; height: 4px; }
  /* FIX: reduce ring animation complexity on mobile */
  .orb-ring-1 { animation-duration: 30s; }
  .orb-ring-2 { animation-duration: 24s; }
  .orb-ring-3 { animation-duration: 18s; }
  /* FIX: simplify background shapes on mobile */
  .shape-1 { width: 300px; height: 300px; filter: blur(50px); }
  .shape-2 { width: 200px; height: 200px; filter: blur(40px); }
  .shape-3 { display: none; }
  .hero-scroll-hint { display: none; }

  /* ─ About ─ */
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-stats { grid-column: auto; grid-template-columns: repeat(2, 1fr); }

  /* ─ Services ─ */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ─ Team ─ */
  .team-grid { gap: 16px; }
  .team-card { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); }

  /* ─ Booking ─ */
  .booking-wrapper {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    margin: 0 0;
  }
  /* FIX: 2 columns for service options on tablet/large mobile */
  .service-options { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .booking-steps { margin-bottom: 28px; }
  .step-label { display: none; }
  .step-circle { width: 38px; height: 38px; }
  .form-nav { justify-content: space-between; }
  .form-nav .btn { flex: 1; justify-content: center; }

  /* ─ Testimonials ─ */
  .testimonial-card { padding: 28px 20px; }
  .testimonial-card blockquote { font-size: .95rem; }

  /* ─ Contact ─ */
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }


  /* ─ Final CTA ─ */
  .section-final-cta { padding: 64px 0; }
  .final-cta-title { font-size: 1.8rem; }
  .final-cta-features { gap: 16px; }

  /* ─ Footer ─ */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { padding: 48px 0 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ── 480px (Small Mobile) ── */
@media (max-width: 480px) {
  /* ─ Hero ─ */
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: .9rem; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .hero-visual { width: 210px; height: 210px; }
  .hero-orb { width: 132px; height: 132px; }
  .orb-core { width: 62px; height: 62px; }
  .orb-text { font-size: 1rem; }
  .orb-icon-bubble { width: 33px; height: 33px; font-size: .78rem; }
  .b1 { margin: -16.5px 0 0 -16.5px; --bx: -57px; --by: -14px; }
  .b2 { margin: -16.5px 0 0 -16.5px; --bx:  52px; --by: -22px; }
  .b3 { margin: -16.5px 0 0 -16.5px; --bx: -49px; --by:  27px; }
  .b4 { margin: -16.5px 0 0 -16.5px; --bx:  47px; --by:  30px; }
  .p1 { --orbit-r: 86px; }
  .p2 { --orbit-r: 102px; }
  .p3 { --orbit-r: 67px; width: 6px; height: 6px; }
  .p4 { --orbit-r: 94px; }

  /* ─ Stats ─ */
  .stat-number { font-size: 2rem; }
  .stat-card { padding: 18px 12px; }

  /* ─ Services ─ */
  .service-card { padding: 24px 20px; }

  /* ─ Team ─
     Two to a row on a phone as well: one card each meant eight screens of
     scrolling to see who works here. Everything inside shrinks to match —
     a 200px photo over a 170px card is a tower, and the bio at full length
     in that width is a column of two-word lines. */
  .team-card { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); }
  .team-grid { gap: 12px; }
  .team-photo-wrap { height: 150px; }
  .team-info { padding: 14px 12px 16px; }
  .team-info h3 { font-size: .95rem; }
  .team-specialty { font-size: .76rem; }
  .team-qual { font-size: .7rem; line-height: 1.5; }
  .team-bio { font-size: .72rem; line-height: 1.55; margin-top: 8px; padding-top: 8px; }
  .team-tags span { font-size: .65rem; padding: 3px 8px; }

  /* ─ Booking ─ */
  .booking-wrapper { padding: 20px 14px; border-radius: var(--radius-md); }
  /* FIX: 2 columns still OK at 480px */
  .service-options { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .option-card { padding: 14px 8px; font-size: .76rem; min-height: 80px; }
  .option-card i { font-size: 1.2rem; }
  .step-circle { width: 34px; height: 34px; }
  .step-num { font-size: .78rem; }
  .booking-summary { padding: 16px; }

  /* ─ Testimonials ─ */
  .testimonial-card { padding: 20px 16px; }

  /* ─ Contact ─ */
  .contact-card { padding: 20px 16px; }
  .social-links { gap: 8px; }
  .social-link { padding: 10px 14px; font-size: .8rem; }


  /* ─ Final CTA ─ */
  .section-final-cta { padding: 52px 0; }
  .final-cta-title { font-size: 1.5rem; }
  .final-cta-desc { font-size: .92rem; }
  .final-cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .final-cta-actions .btn { width: 100%; justify-content: center; }
  .final-cta-features { flex-direction: column; gap: 10px; align-items: flex-start; padding: 0 8px; }

  /* ─ Footer ─ */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-desc { font-size: .85rem; }
}

/* ── 400px (Very Small Phones: iPhone SE, etc.) ── */
@media (max-width: 400px) {
  :root { --header-h: 58px; }
  .container { padding: 0 12px; }
  .hero-title { font-size: 1.5rem; }
  .hero-badge { font-size: .74rem; padding: 5px 12px; }
  .hero-desc { font-size: .88rem; }
  .btn-lg { padding: 13px 18px; font-size: .88rem; }
  .section-title { font-size: 1.45rem; }

  /* ─ Header ─
     The booking button used to collapse to a bare 38px circle here. With
     the tagline already hidden there is room for the words, and a calendar
     icon on its own told nobody what the button does — on the one screen
     where booking matters most. */
  .header-actions .btn-sm { padding: 8px 14px; font-size: .8rem; }
  .header-actions .btn-sm i { font-size: .9rem; }
  .logo-img-wrap { width: 34px; height: 34px; }

  /* ─ Booking ─ */
  .service-options { grid-template-columns: repeat(2, 1fr); }
  .specialist-card { padding: 12px 14px; gap: 10px; }
  .sp-avatar { font-size: 1.8rem; }
  .booking-wrapper { padding: 16px 12px; }

  /* ─ Footer ─ */
  .footer-contact-item { font-size: .82rem; }
}

/* ── 360px (Smallest Android phones) ── */
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .hero-title { font-size: 1.4rem; }
  .orb-ring-1, .orb-ring-2, .orb-ring-3 { animation: none; }
  .orb-glow { animation: none; opacity: .6; }
  .option-card { font-size: .72rem; }
  .step-circle { width: 30px; height: 30px; }
  .step-num { font-size: .72rem; }
}

/* ── 320px (iPhone SE 1st gen, very old devices) ── */
@media (max-width: 320px) {
  :root { --header-h: 54px; }
  .container { padding: 0 10px; }
  .logo-img-wrap { width: 30px; height: 30px; }
  .logo-name { font-size: 1.2rem; }
  .hero-title { font-size: 1.25rem; }
  .hero-badge { font-size: .7rem; padding: 4px 10px; display: none; }
  .hero-desc { font-size: .84rem; line-height: 1.75; }
  .hero-visual { width: 190px; height: 190px; }
  .hero-orb { width: 118px; height: 118px; }
  .orb-core { width: 54px; height: 54px; }
  .orb-text { font-size: .88rem; }
  .orb-subtext { display: none; }
  .orb-icon-bubble { width: 29px; height: 29px; font-size: .7rem; }
  .b1 { margin: -14.5px 0 0 -14.5px; --bx: -51px; --by: -13px; }
  .b2 { margin: -14.5px 0 0 -14.5px; --bx:  46px; --by: -20px; }
  .b3 { margin: -14.5px 0 0 -14.5px; --bx: -44px; --by:  24px; }
  .b4 { margin: -14.5px 0 0 -14.5px; --bx:  42px; --by:  27px; }
  .p1 { --orbit-r: 77px; width: 4px; height: 4px; }
  .p2 { --orbit-r: 91px; width: 3px; height: 3px; }
  .p3 { --orbit-r: 60px; width: 6px; height: 6px; }
  .p4 { --orbit-r: 84px; width: 4px; height: 4px; }
  .btn-lg { padding: 12px 14px; font-size: .85rem; }
  .section-title { font-size: 1.3rem; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .hero-trust { display: none; }
}

/* ══════════════════════════════════
   HERO DELIVERY LINE
══════════════════════════════════ */
.hero-delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 24px;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,162,75,.48);
  border-radius: 50px;
  padding: 6px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-delivery i { font-size: .8rem; color: var(--gold-light); }

/* ══════════════════════════════════
   SESSION TYPE STEP (booking form)
══════════════════════════════════ */
.session-type-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.session-type-options .option-card {
  min-height: 100px;
  font-size: .98rem;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.session-type-options .option-card i { font-size: 1.8rem; }

/* Location fields (home visit) */
.location-fields {
  margin-top: 4px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,75,.2);
  border-radius: var(--radius-md);
  animation: stepIn .3s ease forwards;
}
.location-select {
  min-height: 44px;
  font-size: .95rem;
}
.location-select:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.location-select optgroup { font-weight: 700; color: var(--gold); }
.location-select option { font-weight: 400; }

/* ══════════════════════════════════
   SERVICE AREA BLOCK (contact section)
══════════════════════════════════ */
.service-area-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-area-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--beige);
}
.service-area-title i { color: var(--gold); font-size: 1.15rem; }

.service-mode-cards { display: flex; flex-direction: column; gap: 16px; }

.service-mode-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--beige);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-mode-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(-2px);
}

.service-mode-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
}

.service-mode-info { flex: 1; }
.service-mode-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.service-mode-info p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 8px;
}

.cairo-areas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.cairo-areas li {
  font-size: .82rem;
  color: var(--text-muted);
  padding-right: 14px;
  position: relative;
}
.cairo-areas li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--gold);
}

.service-area-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(201,162,75,.08);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--gold-dark);
  font-weight: 600;
}
.service-area-note i { flex-shrink: 0; }

@media (max-width: 768px) {
  .service-area-block { padding: 24px 20px; }
  .session-type-options .option-card { min-height: 88px; font-size: .9rem; }
}
@media (max-width: 480px) {
  .service-mode-card { flex-direction: column; }
  .service-mode-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.1rem; }
}

/* ── Honeypot field (spam trap) — off-screen, never display:none so bots still fill it ── */
.hp-field {
  position: absolute !important;
  inset-inline-start: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── Feedback Section ── */
.feedback {
  background: var(--beige);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.feedback-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(27, 58, 92, 0.06);
  border: 1px solid var(--border);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  direction: rtl;
}
.feedback-grid-v {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-input-fb {
  width: 100%;
  padding: 16px 20px;
  background: #fcfcfc;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--navy);
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
  text-align: right;
}
.form-input-fb::placeholder {
  color: #adb5bd;
}
.form-input-fb:focus {
  border-color: var(--gold);
  background-color: #fff;  /* the shorthand cleared the select arrow on focus */
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.12);
}
select.form-input-fb {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: 16px;
  padding-left: 45px;
}
textarea.form-input-fb {
  min-height: 120px;
}

/* File Upload Zone */
.file-upload-zone {
  border: 1.5px dashed #ced4da;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.25s ease;
}
.file-upload-zone:hover,
.file-upload-zone.dragover {
  background: #fdfaf3;
  border-color: var(--gold);
}
.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.upload-content strong {
  font-size: 0.95rem;
  color: #495057;
  font-weight: 600;
}
.upload-content span {
  font-size: 0.8rem;
  color: #868e96;
}

/* Submit Button */
.btn-fb-submit {
  width: 100%;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-fb-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-fb-submit:active {
  transform: translateY(0);
}
.btn-fb-submit:disabled {
  background: #adb5bd;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 768px) {
  .feedback {
    padding: 60px 0;
  }
  .feedback-card {
    padding: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE-FIRST REFINEMENTS
   Every rule below lives inside a max-width media query, so the desktop
   and tablet-landscape layouts render byte-for-byte as they did before.
   Ordering matters: this block comes last, so it wins over the earlier
   responsive block at equal specificity.
══════════════════════════════════════════════════════════════════════ */

/* The quick-action bar is a phone affordance; desktop keeps its floats. */
.mobile-bar { display: none; }

@media (max-width: 768px) {

  /* ── 1. ONE QUICK-ACTION BAR INSTEAD OF TWO FLOATS ────────────── */
  /* Only on the home page, which is the one carrying the bar — the other
     pages share this stylesheet and would otherwise lose their WhatsApp
     button on a phone with nothing put in its place. */
  body.home-page .whatsapp-float,
  body.home-page .chatbot-toggle { display: none !important; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 6px;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    /* Under the header (500) and under the full-screen nav overlay (600):
       the old floats sat at 1000 and hovered on top of the open menu. */
    z-index: 480;
    padding: 7px 10px;
    padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(27,58,92,.12);
    transition: transform .28s ease;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }

  .mobile-bar-btn {
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    background: rgba(27,58,92,.05);
    border-radius: 14px;
    font-family: inherit;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .12s ease;
  }
  .mobile-bar-btn i { font-size: 1.12rem; line-height: 1; }
  .mobile-bar-btn span { font-size: .78rem; line-height: 1; }
  .mobile-bar-btn:active { transform: scale(.96); }
  .mobile-bar-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

  .mobile-bar-wa { background: rgba(37,211,102,.12); color: #0f7a54; }
  .mobile-bar-wa i { color: #25D366; }
  /* Booking is the page's job, so it gets the brand gold and the wide column. */
  .mobile-bar-book {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: 0 4px 14px rgba(201,162,75,.36);
  }
  .mobile-bar-bot.is-open { background: var(--navy); color: #fff; }
  .mobile-bar-bot.is-open i { color: var(--gold-light); }

  /* Nothing at the end of the page may hide beneath the bar. */
  body.home-page { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .chatbot-panel {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    inset-inline: 10px;
    width: auto;
    height: min(74vh, calc(100vh - 150px));
  }

  /* ── 2. TYPE SCALE ──
     The audit found an H1 of 24px and an H2 of 23px on a phone — a heading
     the same size as a paragraph is not a heading. */
  .hero-title { line-height: 1.32; }
  .section-title { line-height: 1.28; }

  /* Text floors. Ten-point type is unreadable at arm's length in sunlight;
     nothing on a phone drops below ~12px now. */
  .section-tag { font-size: .84rem; }
  .orb-subtext { font-size: .72rem; }
  .stat-label { font-size: .84rem; }
  .featured-badge { font-size: .76rem; }
  .step-num { font-size: .88rem; }
  .option-card span { font-size: .82rem; }
  .testimonial-author span { font-size: .84rem; }
  .upload-content span { font-size: .85rem; }
  .social-link span { font-size: .85rem; }

  /* iOS zooms the whole page in when a focused field is under 16px. */
  .form-input, .form-select, .form-textarea,
  .form-input-fb, select.form-input-fb, textarea.form-input-fb,
  .as-input, .as-select, .chatbot-input,
  input[type=text], input[type=tel], input[type=email],
  input[type=number], input[type=date], input[type=time],
  select, textarea { font-size: 16px; }

  /* ── 3. TOUCH TARGETS ──
     Thirty-seven controls came in under 44px. */
  .btn-sm { min-height: 44px; }
  .logo { min-height: 44px; }
  .contact-link,
  .footer-contact-item a,
  .footer-links a,
  .footer-bottom-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-contact-item { min-height: 44px; }
  /* The visible dot stays small; the finger gets 44px of it. The dots are
     laid out in a row, so only the inline padding needs widening. */
  .slider-controls { gap: 8px; }
  .slider-btn { flex: 0 0 44px; }
  .slider-dots { gap: 0; flex-wrap: nowrap; }
  .slider-dot {
    width: 26px; height: 44px;
    padding: 18px 9px;
    background-clip: content-box;
  }
  .slider-dot.active { width: 34px; padding: 18px 13px; border-radius: 4px; }
  .faq-question { min-height: 56px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }

  /* ── 4. SERVICES: FIVE SCREENS DOWN TO TWO ──
     Thirteen cards stacked one to a row ran 4,326px — a quarter of the whole
     page — because each card was a 60px icon on its own line, then a title,
     then a paragraph, then a link, all at desktop spacing. Laid out as a
     list row (icon beside the title, description across the full width) the
     same content, unchanged and uncut, takes about half the height. */
  .services-grid { gap: 12px; }
  .service-card {
    display: grid;
    grid-template-columns: 46px 1fr 44px;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }
  .service-card .service-icon-wrap { margin-bottom: 0; }
  .service-card .service-icon {
    width: 46px; height: 46px;
    font-size: 1.15rem;
  }
  .service-card .service-icon svg { width: 22px; height: 22px; }
  .service-card h3 {
    font-size: .98rem;
    margin-bottom: 0;
    line-height: 1.35;
  }
  .service-card p {
    grid-column: 1 / -1;
    font-size: .86rem;
    line-height: 1.65;
    margin: 8px 0 0;
  }
  /* The arrow is the visible affordance; the stretched pseudo-element makes
     the whole row the tap target, which is how a phone list is expected to
     behave. The link keeps its text ("احجز جلسة") for assistive tech —
     font-size:0 hides it from the eye, not from the accessibility tree. */
  .service-card .service-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 44px; height: 44px;
    font-size: 0;
    gap: 0;
    justify-content: center;
  }
  /* The arrow is drawn in CSS rather than left to Font Awesome. Everywhere
     else on the page a missing icon costs a decoration next to a label that
     still reads; here the label is hidden, so a CDN that fails to answer
     would leave the card with no visible affordance at all.

     It is drawn from two borders rather than typed as a character. A chevron
     glyph fails twice here: U+2039 carries Unicode's Bidi_Mirrored property,
     so in this RTL page the browser flips it and the arrow ends up pointing
     back the way the reader came; and Cairo has no such glyph, so it fell
     through to whatever serif the device happened to have. Two borders on a
     rotated box have neither problem — the direction is geometry, and the
     stroke weight is ours. */
  .service-card .service-link i { display: none; }
  .service-card .service-link::before {
    content: '';
    width: 9px;
    height: 9px;
    /* box-sizing is border-box globally, so the 9px is the whole arm. */
    border-left: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: rotate(45deg);
    /* The rotated square's ink sits right of its box centre; nudge it back
       so the chevron is optically centred in the 44px column. */
    margin-inline-start: 4px;
  }
  .service-card .service-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
  }
  .service-card:active { background: #fbf9f4; }
  /* The badge used to sit top-left, which is now the end of the title line. */
  .service-card .featured-badge {
    top: auto;
    bottom: 12px;
    left: 14px;
    padding: 3px 10px;
  }
  .service-card.featured { padding-bottom: 42px; }

  /* The "not sure which service?" card keeps its real WhatsApp button, so it
     stays a normal stacked card rather than a list row. */
  .service-card.services-cta-card {
    display: block;
    padding: 20px 18px;
    text-align: center;
  }
  .service-card.services-cta-card .service-icon-wrap {
    margin: 0 auto 12px;
    width: 46px;
  }
  .service-card.services-cta-card .btn { width: 100%; justify-content: center; }

  /* ── 5. TEAM: BIOS THAT DON'T BURY THE TEAM ──
     See js/mobile-ux.js — the clamp is what the "المزيد" button undoes. */
  .team-bio {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .team-bio.is-open {
    display: block;
    -webkit-line-clamp: none;
    overflow: visible;
  }
  .team-bio-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    min-height: 44px;
    min-width: 56px;
    padding: 6px 8px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 800;
    color: var(--gold-dark);
    cursor: pointer;
    touch-action: manipulation;
  }
  .team-bio-more i { font-size: .65rem; transition: transform .2s ease; }
  .team-bio-more.is-open i { transform: rotate(180deg); }
  .team-bio-more:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }

  /* ── 6. HERO ABOVE THE FOLD ──
     937px on a 390×844 screen meant the first call to action was always just
     off the bottom edge. Trimmed to fit without dropping anything. */
  .hero-inner { padding: 12px 16px 24px; gap: 14px; }
  .hero-title { margin-bottom: 10px; }
  .hero-delivery { margin-top: 6px; margin-bottom: 16px; }
  .hero-desc { margin-bottom: 16px; }
  /* Three trust items as three stacked rows was 100px of vertical space for
     twelve words; as a wrapping row it is one or two. */
  .hero-trust { flex-direction: row; flex-wrap: wrap; row-gap: 8px; column-gap: 14px; }
  .hero-badge { margin-bottom: 4px; }
  .hero-subtitle { margin-bottom: 8px; }
  .hero-cta { gap: 10px; }

}

/* ── Small phones ── */
@media (max-width: 480px) {
  .hero-title { font-size: 1.95rem; }

  /* ── RHYTHM ──
     Desktop's 96px between sections scaled to 56px on a phone; the eye only
     needs enough to tell two sections apart, and the page was 22 screens. */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 28px; }
  .feedback { padding: 48px 0; }

  /* Two cards to a row leaves ~165px of text column, so the floors that
     matter most are the ones inside a team card. */
  /* The gold core had been squeezed to 56px while its caption was raised to
     11.5px for the readability floor — the two words ran straight out of the
     circle. The core grows into the empty ring the orbiting bubbles leave
     around it, so hero-visual keeps its size and the hero keeps its height;
     only the group inside it is redrawn. */
  .hero-visual { width: 186px; height: 186px; }
  .hero-orb { width: 134px; height: 134px; }
  .orb-core { width: 78px; height: 78px; }
  .orb-text { font-size: 1.08rem; }
  .orb-subtext { font-size: .62rem; }
  .orb-icon-bubble { width: 34px; height: 34px; font-size: .8rem; }
  /* Pushed out to clear the wider core: the nearest bubble's inner edge now
     sits ~7px off it, the same breathing room the desktop layout has. */
  .b1 { margin: -17px 0 0 -17px; --bx: -62px; --by: -15px; }
  .b2 { margin: -17px 0 0 -17px; --bx:  57px; --by: -24px; }
  .b3 { margin: -17px 0 0 -17px; --bx: -57px; --by:  32px; }
  .b4 { margin: -17px 0 0 -17px; --bx:  56px; --by:  36px; }
  .p1 { --orbit-r: 78px; }
  .p2 { --orbit-r: 88px; }
  .p3 { --orbit-r: 70px; }
  .p4 { --orbit-r: 84px; }

  .team-info { padding: 13px 11px 15px; }
  .team-info h3 { font-size: .98rem; line-height: 1.35; }
  .team-specialty { font-size: .8rem; line-height: 1.4; margin-bottom: 6px; }
  .team-qual { font-size: .78rem; line-height: 1.5; margin-bottom: 8px; }
  .team-bio { font-size: .78rem; line-height: 1.6; margin-top: 8px; padding-top: 8px; }
  .team-tags span { font-size: .75rem; padding: 3px 7px; }
  .team-tags { gap: 4px; }

  .service-card { grid-template-columns: 42px 1fr 44px; column-gap: 8px; }
  .service-card .service-icon { width: 42px; height: 42px; }
  .service-card h3 { font-size: .94rem; }
  .service-card p { font-size: .84rem; }
}

/* ── Very small phones ── */
@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: .95rem; line-height: 1.78; }
  .btn-lg { padding: 14px 18px; font-size: .9rem; min-height: 48px; }
  .mobile-bar { gap: 5px; padding-inline: 8px; }
  .mobile-bar-btn span { font-size: .75rem; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.78rem; }
  .section-title { font-size: 1.5rem; }
  .service-card { padding: 13px 13px; }
}

/* ── Phone held sideways ──
   63px of a 360px-tall viewport is a sixth of the screen. Same three
   actions, laid out on one line and trimmed to the 44px floor. */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .mobile-bar { padding: 5px 10px; }
  .mobile-bar-btn { flex-direction: row; gap: 7px; min-height: 44px; }
  body.home-page { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .chatbot-panel { height: calc(100vh - 116px); }
}

@media (max-width: 320px) {
  .hero-title { font-size: 1.62rem; }
  .section-title { font-size: 1.35rem; }
  .mobile-bar-btn span { font-size: .68rem; }
  .mobile-bar-btn i { font-size: 1rem; }
}

/* ── The home-visit note is information, not an action ──
   On desktop this sits inline, hugging its text, well clear of the buttons.
   On a phone the column stacks it directly on top of three pill-shaped CTAs
   while it carries the same gold border, the same 50px radius, the same 700
   weight and its own shadow — so it reads as a fourth button, and tapping it
   does nothing. The sentence is worth keeping; the chrome that promises a
   tap is not. Stripped to a line of text with the gold icon, it still reads
   as a distinct claim without competing with the thing we want tapped. */
@media (max-width: 768px) {
  .hero-delivery {
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    font-weight: 500;
    font-size: .84rem;
    line-height: 1.6;
    color: rgba(255,255,255,.76);
    margin-top: 4px;
    margin-bottom: 22px;
    max-width: 30ch;
  }
}

/* ── A bio being read gets the full width ──
   The two-up grid is right for scanning eight faces, but it leaves the bio
   153px wide — about 25 Arabic characters a line, a third of a comfortable
   measure. Rather than trade the scan for the read by going one-column (and
   adding some 1800px of scrolling), the card takes the whole row only while
   its bio is open, which is exactly when the text is being read. The photo
   is a fixed 150px tall here, so it widens without growing the card.
   Browsers without :has() simply keep the compact card — the old behaviour,
   not a broken one. */
@media (max-width: 768px) {
  .team-grid .team-card:has(.team-bio.is-open) {
    flex-basis: 100%;
    max-width: 100%;
  }
  /* The photo frame is 150px tall, which is right beside a 175px-wide card.
     Widening the card to 364px without touching that height turned the frame
     into a 2.4:1 letterbox, and object-fit: cover answered by throwing away
     more than half the picture from the top and bottom — which is exactly
     where a face is. Measured: 97% of the photo visible collapsed, 47% open.
     Growing the frame with the card keeps the crop it was framed for. */
  .team-grid .team-card:has(.team-bio.is-open) .team-photo-wrap {
    height: 300px;
  }
}

/* ── Showing six services, not eleven ──
   The grid holds every service and ships fully expanded, so a crawler and a
   reader without JavaScript see all of them — the same mistake the stat
   counter made is not worth repeating for the service list. mobile-ux.js
   collapses it on load and the button opens it again. */
.services-more-wrap { display: none; }
.services-grid.is-collapsed .service-card.is-extra { display: none; }
.services-more-wrap.is-ready { display: flex; justify-content: center; margin-top: 26px; }
.services-more { gap: 10px; }
.services-more::after {
  content: '';
  width: 8px; height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: -4px;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.services-more[aria-expanded="true"]::after { transform: rotate(135deg); margin-top: 3px; }

/* ── One booking button on a phone, not two ──
   The header and the bottom bar both said "احجز الآن" and both pointed at
   #booking, sitting on screen together — the same offer competing with
   itself, and the header's copy is the one out of reach of a thumb. The bar
   carries it on the home page; everywhere else there is no bar, so the
   header button stays. */
@media (max-width: 768px) {
  body.home-page .header-actions .btn-primary { display: none; }
}

/* ── Three testimonials at a time on a desktop ──
   The slider showed one card in an 800px column on a 1440px screen, which
   reads as an empty section rather than a wall of praise. The carousel is
   unchanged — the JS still moves one card at a time and the dots still map
   one to one — this only lets the active card bring its next two siblings
   along for the ride. A flex row rather than three fixed columns, so the
   last slides, where only one or two siblings remain, still fill the row
   instead of leaving a gap. Phones keep one card: nothing below 1024px
   changes. */
@media (min-width: 1024px) {
  .testimonials-slider { max-width: 1140px; }
  .slider-track { display: flex; gap: 20px; align-items: stretch; }
  .testimonial-card.active,
  .testimonial-card.active + .testimonial-card,
  .testimonial-card.active + .testimonial-card + .testimonial-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    padding: 30px;
  }
  .testimonial-card.active blockquote,
  .testimonial-card.active + .testimonial-card blockquote,
  .testimonial-card.active + .testimonial-card + .testimonial-card blockquote {
    flex: 1;                 /* keeps every author block on the same baseline */
    font-size: .98rem;
  }
}
