/* ============================================================
   MOUSA DENTAL CLINICS — Professional Website Stylesheet
   Brand Colors extracted from logo:
   ─ Gold/Champagne  #C9A96E  (موسى text + tooth icon top)
   ─ Navy/Steel      #1E2B40  (tooth icon bottom — replaces black)
   ─ White           #FFFFFF  (عيادات text + circle)
   ============================================================ */

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  /* ── Logo-extracted palette ── */
  --gold:        #C9A96E;
  --gold-light:  #E2C99A;
  --gold-dark:   #A07840;
  --gold-muted:  #B09060;

  /* Navy replaces every pure black */
  --black:       #0E1824;   /* deepest navy */
  --black-2:     #121F2E;
  --dark:        #162538;
  --dark-2:      #1C2D40;
  --navy:        #1E3050;   /* logo tooth-bottom color */
  --navy-2:      #243558;
  --steel:       #283048;   /* exact logo bottom tooth color */

  --white:       #FFFFFF;
  --off-white:   #F5F0E8;   /* warm cream */
  --gray:        #8a8a9a;
  --gray-light:  #dde0e8;

  --font-ar:      'Cairo', sans-serif;
  --font-en:      'Montserrat', sans-serif;
  --font-display: 'Cormorant Garamond', serif;

  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:      0 20px 60px rgba(14, 24, 36, 0.25);
  --shadow-gold: 0 10px 40px rgba(201, 169, 110, 0.3);
  --radius:    16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-ar);
  background: var(--white);
  color: var(--black);
  direction: rtl;
  overflow-x: hidden;
}

html.cursor-on,
html.cursor-on * { cursor: none !important; }
html.cursor-on input,
html.cursor-on textarea,
html.cursor-on select { cursor: text !important; }

[lang="en"] body { font-family: var(--font-en); direction: ltr; }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-pad { padding: 100px 0; }

/* ─── SECTION WAVE DIVIDER ─── */
.section-wave {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  max-width: none;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.section-wave__base {
  fill: none;
  stroke: #c9a96e;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(201,169,110,0.48));
}
.section-wave__glint {
  fill: none;
  stroke: #fff4d5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 42 1400;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(255,239,194,0.95));
  animation: sectionWaveGlint 4.2s linear infinite;
}
@keyframes sectionWaveGlint {
  from { stroke-dashoffset: 0; opacity: 0.45; }
  45% { opacity: 1; }
  to { stroke-dashoffset: -1442; opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .section-wave__glint { animation: none; opacity: 0.7; }
}
body > section:not(.hero),
main.page-body section,
main.page-body > .cta-banner,
.english-page-version > section,
.footer {
  position: relative;
  overflow: visible;
}
.video-section,
.page-hero,
.cta-banner {
  overflow: hidden;
}
.video-section > .section-wave,
.page-hero > .section-wave,
.cta-banner > .section-wave {
  transform: translate(-50%, -50%);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── CUSTOM CURSOR ─── */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 18px;
  height: 26px;
  background: none;
  border-radius: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -12%);
  transition: width 0.22s ease, height 0.22s ease, transform 0.22s ease;
  box-shadow: none;
  opacity: 0;
}
.custom-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(201,169,110,0.55)) drop-shadow(0 1px 2px rgba(14,24,36,0.45));
}
.custom-cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 30px;
  height: 42px;
  border: none;
  background: none;
  border-radius: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -12%);
  transition: width 0.22s ease, height 0.22s ease, opacity 0.22s ease;
  opacity: 0;
}
.custom-cursor-follower svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
html.cursor-on .custom-cursor,
html.cursor-on .custom-cursor-follower { opacity: 1; }
.custom-cursor.hovered {
  width: 24px;
  height: 34px;
  transform: translate(-50%, -12%) rotate(-10deg);
}
.custom-cursor-follower.hovered {
  width: 40px;
  height: 56px;
  opacity: 0.5;
}

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-logo {
  width: 200px;
  animation: pulseLogo 1.5s ease-in-out infinite;
}
@keyframes pulseLogo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.97); }
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 24px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  animation: loadBar 2s ease-in-out forwards;
}
@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ─── HEADER ─── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  /* dark gradient so navbar is readable over any hero image */
  background: linear-gradient(
    to bottom,
    rgba(14,24,36,0.85) 0%,
    rgba(14,24,36,0.5)  60%,
    rgba(14,24,36,0.0)  100%
  );
}
#header.scrolled { background: rgba(14, 24, 36, 0.96); }
#header.scrolled .top-bar { display: none; }
#header.scrolled .navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ─── TOP BAR ─── */
.top-bar {
  background: rgba(14, 24, 36, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  padding: 7px 0;
  transition: var(--transition);
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.top-contacts { display: flex; align-items: center; gap: 20px; }
.top-contacts a {
  color: rgba(255,255,255,0.65);
  font-size: 0.76rem;
  display: flex; align-items: center; gap: 5px;
  transition: color 0.3s;
}
.top-contacts a:hover { color: var(--gold); }
.top-contacts a i { color: var(--gold); font-size: 0.7rem; }
.top-social { display: flex; align-items: center; gap: 14px; }
.top-social a {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
.top-social a:hover { color: var(--gold); }

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-ar);
}

.nav-logo {
  display: block;
  flex: 0 0 135px;
  width: 135px;
}

.nav-logo img {
  height: 64px;
  width: 135px;
  max-width: none;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  font-family: var(--font-ar);
}
.nav-item-icon,
.mobile-nav-actions,
.nav-overlay { display: none; }

.nav-link,
.nav-link span[data-ar],
.nav-link span[data-en],
.dropdown a,
.lang-toggle {
  font-family: var(--font-ar);
}

.nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(14,24,36,0.6);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
}
.nav-link.active {
  background: rgba(201,169,110,0.1);
}
.nav-link:hover::after, .nav-link.active::after {
  left: 14px; right: 14px;
}
[lang="en"] .navbar,
[lang="en"] .nav-links,
[lang="en"] .nav-link,
[lang="en"] .nav-link span[data-ar],
[lang="en"] .nav-link span[data-en],
[lang="en"] .dropdown a,
[lang="en"] .top-bar,
[lang="en"] .lang-toggle {
  font-family: var(--font-en);
}

/* Use one balanced desktop-header geometry in both languages. The compact
   spacing also leaves enough room for the longer English labels. */
@media (min-width: 1101px) and (max-width: 1450px) {
  .navbar {
    max-width: 1280px;
    padding-inline: 24px;
    gap: 14px;
  }
  .nav-logo {
    flex-basis: 128px;
    width: 128px;
  }
  .nav-logo img {
    width: 128px;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-link {
    padding-inline: 8px;
    font-size: 0.81rem;
  }
  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .lang-toggle {
    padding-inline: 11px;
  }
  .btn-book-nav {
    padding-inline: 15px;
  }
  [lang="ar"] .nav-link {
    font-size: 0.92rem;
  }
  [lang="ar"] .has-dropdown .dropdown li a {
    font-size: 0.92rem;
  }
}

@media (min-width: 1451px) {
  [lang="ar"] .nav-link {
    font-size: 0.95rem;
  }
  [lang="ar"] .has-dropdown .dropdown li a {
    font-size: 0.92rem;
  }
}

/* ─── NAV DROPDOWN ─── */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(14,24,36,0.4);
  z-index: 9999;
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown .dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.has-dropdown .dropdown li a .drop-icon {
  width: 18px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gold);
  opacity: 0.75;
  transition: var(--transition);
  flex-shrink: 0;
}
.has-dropdown .dropdown li a:hover {
  color: var(--white);
  background: rgba(201,169,110,0.1);
  padding-right: 22px;
}
.has-dropdown .dropdown li a.active {
  color: var(--gold-light) !important;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(201,169,110,0.2), rgba(201,169,110,0.08));
  border-inline-start: 3px solid var(--gold);
  box-shadow: inset 0 0 18px rgba(201,169,110,0.06);
}
.has-dropdown .dropdown li a.active .drop-icon {
  color: var(--gold-light);
  opacity: 1;
  transform: scale(1.08);
}
.has-dropdown .dropdown li a:hover .drop-icon {
  opacity: 1;
  transform: scale(1.15);
}
/* separator between dropdown groups */
.has-dropdown .dropdown li + li {
  border-top: 1px solid rgba(201,169,110,0.06);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-toggle .lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-toggle .lang-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; }
.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.08);
}

.btn-book-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-book-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-book-nav i { font-size: 0.75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 15px 32px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 15px 32px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.btn-outline[href^="tel:"] > span,
.top-contacts a[href^="tel:"] > bdi {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.btn-book-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  transition: var(--transition);
  margin-top: 20px;
}
.btn-book-service:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 12px;
  transition: var(--transition);
  border: none;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ─── SECTION HEADERS ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 20px;
  margin-bottom: 20px;
}
.section-label.light { color: var(--gold-light); border-color: rgba(201, 169, 110, 0.4); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
  margin-inline: auto;
  text-align: center;
}

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

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Video Background ── */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black-2) url('../assets/hero-poster.jpg') center / cover no-repeat;
}
.hero-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 92% 72% at 50% 46%, rgba(14, 24, 36, 0.70) 0%, rgba(14, 24, 36, 0.40) 52%, rgba(14, 24, 36, 0.16) 100%),
    linear-gradient(
      to bottom,
      rgba(14, 24, 36, 0.50) 0%,
      rgba(14, 24, 36, 0.42) 40%,
      rgba(14, 24, 36, 0.62) 72%,
      rgba(14, 24, 36, 0.88) 100%
    );
}

/* ── Hero body (flex:1 — fills space above stats bar) ── */
.hero-body {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 110px; /* clears fixed header + top-bar */
  padding-bottom: 214px;
}

.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.4);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f0dcb4;
  margin-bottom: 24px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.5s forwards;
}

.hero-title {
  font-family: var(--font-ar);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.55);
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.7s forwards;
}
.hero-title span {
  font-family: inherit;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 40px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.72);
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.9s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 1s ease 1.1s forwards;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeSlideUp 1s ease 1.4s forwards;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(90deg, rgba(14,24,36,0.95), rgba(30,48,80,0.95));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-left: 1px solid rgba(201, 169, 110, 0.15);
  max-width: 240px;
}
.stat-item:first-child { border-left: none; }
.stat-item:last-child { border-left: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-item span:not(.stat-num) {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ─── MARQUEE ─── */
/* Isolate from page RTL: a max-content track in RTL aligns to the right,
   so translateX(-width) walks the copy off-screen and leaves a long gold gap. */
.marquee-strip {
  background: var(--gold);
  overflow: hidden;
  position: relative;
  width: 100%;
  direction: ltr;
}
.marquee-track {
  display: flex;
  width: max-content;
  max-width: none;
  gap: 0;
  white-space: nowrap;
  animation: marquee var(--marquee-duration, 25s) linear infinite;
  will-change: transform;
}
.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  gap: 40px;
  padding: 14px 20px;
}
.marquee-track span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
  text-transform: uppercase;
}
.marquee-track .dot { color: var(--black-2); font-size: 0.6rem; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--marquee-distance, -50%), 0, 0); }
}

/* ─── ABOUT ─── */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-stack {
  position: relative;
  height: 580px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 78%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; animation: kenBurnsZoom 8s ease-in-out infinite; }

.about-img-second {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.about-img-second img { width: 100%; height: 100%; object-fit: cover; animation: kenBurnsZoom 9s ease-in-out infinite 0.6s; }

@keyframes kenBurnsZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.about-badge {
  position: absolute;
  bottom: 60px; left: 0;
  background: var(--gold);
  color: var(--black);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  z-index: 10;
}
.about-badge i { font-size: 1.2rem; }

.about-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 36px;
}
.about-lead {
  margin: -18px 0 18px;
  color: var(--gold-dark);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  flex-shrink: 0;
}
.feature-item h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ─── VIDEO SECTION ─── */
.video-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-bg-wrap {
  position: absolute;
  inset: 0;
  background: var(--black-2) url('../assets/experience-poster-02.webp') center / cover no-repeat;
}
.bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-dark-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,24,36,0.88), rgba(30,48,80,0.82));
}
.video-content {
  position: relative; z-index: 1;
  text-align: center;
  color: var(--white);
}
.video-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.video-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.experience-lines {
  position: relative;
  width: min(680px, calc(100vw - 40px));
  height: 64px;
  margin: 0 auto 24px;
  overflow: hidden;
}
.experience-lines span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  opacity: 0;
  transform: translateY(16px);
  animation: experienceLineCycle 12s ease-in-out infinite;
  animation-delay: calc(var(--line-index) * 3s);
}
@keyframes experienceLineCycle {
  0%, 4% { opacity: 0; transform: translateY(16px); }
  10%, 22% { opacity: 1; transform: translateY(0); }
  26%, 100% { opacity: 0; transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .experience-lines span { animation: none; opacity: 0; transform: none; }
  .experience-lines span:first-child { opacity: 1; }
}
.btn-play {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.4rem;
  margin: 0 auto;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5);
  animation: ripple 2s infinite;
}
.btn-play:hover { transform: scale(1.1); }
.btn-play:focus-visible { outline: 3px solid var(--white); outline-offset: 5px; }
@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4); }
  100% { box-shadow: 0 0 0 30px rgba(201, 169, 110, 0); }
}

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

.services-carousel {
  overflow: hidden;
  margin: -16px -8px 0;
  padding: 16px 8px 6px;
}
.services-grid {
  display: flex;
  align-items: stretch;
  gap: 28px;
  overflow-x: auto;
  padding: 0 0 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.services-grid::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14,24,36,0.06);
  border: 1px solid rgba(14,24,36,0.06);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s ease,
              border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(14,24,36,0.12);
  border-color: rgba(201, 169, 110, 0.3);
}
.service-card--clickable { cursor: pointer; }
.service-card--clickable:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.service-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  animation: kenBurnsZoom 8s ease-in-out infinite;
  transition: filter 0.6s ease;
}
.service-card:nth-child(3n+2) .service-img img { animation-delay: 0.5s; }
.service-card:nth-child(3n+3) .service-img img { animation-delay: 1s; }
.service-card:hover .service-img img {
  animation-play-state: paused;
  filter: saturate(1.08);
}
.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.2) 45%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.service-card:hover .service-img::after { transform: translateX(120%); }
.service-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(14,24,36,0.62) 100%);
}

.service-body { padding: 28px 24px; display: flex; flex: 1; flex-direction: column; }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.2rem;
  margin-bottom: 18px;
  margin-top: -50px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-gold);
}

.service-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.service-body p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #444;
}
.service-features li i {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.services-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}
.services-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(14,24,36,0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(14,24,36,0.08);
  transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease, opacity 0.35s ease;
}
.services-arrow:hover:not(:disabled) {
  transform: translateY(-3px);
  color: var(--black);
  background: var(--gold);
}
.services-arrow:disabled { opacity: 0.35; cursor: default; }
.services-counter {
  min-width: 62px;
  color: var(--gray);
  font-size: 0.82rem;
  text-align: center;
}
.services-counter strong { color: var(--gold-dark); font-size: 1.05rem; }
html[dir="ltr"] .services-arrow i { transform: rotate(180deg); }

/* ─── PROCESS ─── */
.dark-bg { background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%); }

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(32px);
}
.process.in-view .process-step {
  animation: process-step-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.process.in-view .process-step:nth-child(1) { animation-delay: 0.08s; }
.process.in-view .process-step:nth-child(3) { animation-delay: 0.32s; }
.process.in-view .process-step:nth-child(5) { animation-delay: 0.56s; }
.process.in-view .process-step:nth-child(7) { animation-delay: 0.8s; }
@keyframes process-step-in {
  to { opacity: 1; transform: translateY(0); }
}
.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.15);
  line-height: 1;
  margin-bottom: -10px;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}
.step-icon {
  position: relative;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.05));
  border: 1.5px solid rgba(201, 169, 110, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin: 0 auto 16px;
  transition: transform 0.45s ease, box-shadow 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}
.step-icon::before,
.step-icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.45);
  opacity: 0;
  pointer-events: none;
}
.process.in-view .step-icon::before {
  animation: process-ring 2.6s ease-out infinite;
}
.process.in-view .process-step:nth-child(3) .step-icon::before { animation-delay: 0.45s; }
.process.in-view .process-step:nth-child(5) .step-icon::before { animation-delay: 0.9s; }
.process.in-view .process-step:nth-child(7) .step-icon::before { animation-delay: 1.35s; }
.process-step.is-current .step-icon::after {
  animation: process-ring 1.8s ease-out infinite;
}
@keyframes process-ring {
  0% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}
.process-step.is-current .step-num {
  color: rgba(201, 169, 110, 0.55);
  text-shadow: 0 0 24px rgba(201, 169, 110, 0.35);
}
.process-step.is-current .step-icon {
  transform: scale(1.12);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.45), rgba(201, 169, 110, 0.12));
  border-color: var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.12), 0 12px 28px rgba(201, 169, 110, 0.28);
}
.process-step.is-current h4 { color: var(--gold); }
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  transition: color 0.4s ease;
}
.process-step p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  align-self: center;
  flex-shrink: 0;
  margin-top: -20px;
  transform: scaleX(0);
  transform-origin: right;
}
html[dir="ltr"] .process-connector { transform-origin: left; }
.process.in-view .process-connector {
  animation: process-line 0.55s ease forwards;
}
.process.in-view .process-connector:nth-child(2) { animation-delay: 0.38s; }
.process.in-view .process-connector:nth-child(4) { animation-delay: 0.62s; }
.process.in-view .process-connector:nth-child(6) { animation-delay: 0.86s; }
@keyframes process-line {
  to { transform: scaleX(1); }
}
@keyframes process-line-v {
  to { transform: scaleY(1); }
}

/* ─── TEAM ─── */
.team { background: var(--off-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}

.team-card {
  min-width: 0;
  width: auto;
  max-width: none;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14,24,36,0.06);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.team-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.team-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}
.team-img--logo {
  background: linear-gradient(145deg, #f8f5ef, #ffffff);
}
.team-img .team-logo-image {
  object-fit: contain;
  padding: 52px;
  filter: none;
}
.team-card:hover .team-img img { transform: scale(1.05); filter: grayscale(0%); }

.team-social {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(14,24,36,0.82));
  display: flex;
  gap: 10px;
  justify-content: center;
  transform: translateY(100%);
  transition: var(--transition);
}
.team-card:hover .team-social { transform: translateY(0); }
.team-social a {
  width: 34px; height: 34px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--white); }

.team-info { padding: 20px; text-align: center; }
.team-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.team-title { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }

.btn-book-team {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  transition: var(--transition);
}
.btn-book-team:hover {
  background: var(--gold);
  color: var(--black);
}

/* ─── GALLERY ─── */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.gallery-tab {
  padding: 10px 24px;
  border: 1.5px solid rgba(201, 169, 110, 0.3);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
}
.gallery-tab.active, .gallery-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenBurnsZoom 8s ease-in-out infinite;
  will-change: transform;
}
.gallery-item:nth-child(3n+2) img { animation-delay: 0.5s; }
.gallery-item:nth-child(3n+3) img { animation-delay: 1s; }
.gallery-item:hover img { animation-play-state: paused; }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 36, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover i { font-size: 2rem; color: var(--gold); }
.gallery-hover span { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }

.gallery-instruction {
  color: rgba(255,255,255,0.68);
  margin-top: 14px;
  margin-inline: auto;
  text-align: center;
}
.gallery-disclaimer {
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  margin-inline: auto;
  font-size: 0.78rem;
  text-align: center;
}
.home-video-gallery {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(201, 169, 110, 0.22);
}
.home-video-gallery__heading {
  margin-bottom: 28px;
  text-align: center;
}
.home-video-gallery__heading .section-label { margin-bottom: 8px; }
.home-video-gallery__heading h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}
.home-video-gallery__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.home-video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 18px;
  background: #090f18;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}
.home-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090f18;
}
.patient-story-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 22px;
  margin: 0 auto 38px;
}
.patient-story-video {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(201,169,110,0.32);
  border-radius: 19px;
  background: #0e1824;
  box-shadow: 0 18px 42px rgba(14,24,36,0.2);
}
.patient-story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #090f18;
}
.patient-story-video figcaption {
  padding: 13px 16px 15px;
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.65;
}
html[data-theme="dark"] .patient-story-video {
  border-color: rgba(201,169,110,0.42);
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}
.gallery-item:has(.before-after) { cursor: ew-resize; }
.before-after {
  --compare-position: 50%;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.gallery-item .before-after__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
  transform: none;
  will-change: auto;
}
.gallery-item .before-after__before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}
.before-after__label {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(14,24,36,0.76);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  pointer-events: none;
}
.before-after__label--before { left: 14px; }
.before-after__label--after { right: 14px; }
.before-after__divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 16px rgba(14,24,36,0.5);
  transform: translateX(-50%);
  pointer-events: none;
}
.before-after__divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.9rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 18px rgba(0,0,0,0.32);
}
.before-after__range {
  position: absolute;
  z-index: 6;
  inset: 0;
  direction: ltr;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.before-after:focus-within .before-after__divider i {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}
.before-after__caption {
  position: absolute;
  z-index: 5;
  bottom: 14px;
  left: 50%;
  min-width: max-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14,24,36,0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Before/after showcase shared by every service detail page. */
.service-results-gallery {
  position: relative !important;
  z-index: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%) !important;
  color: #fff;
  isolation: isolate;
}
.service-results-gallery::before {
  content: '';
  position: absolute;
  z-index: 0 !important;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%) !important;
  pointer-events: none;
}
.service-results-gallery > * {
  position: relative;
  z-index: 1;
}
.service-results-gallery .service-results-gallery__header {
  margin-bottom: 34px;
  text-align: center;
}
.service-results-gallery :is(.section-title, .section-label) { color: #fff !important; }
.service-results-gallery .section-label { color: var(--gold-light) !important; }
.service-results-gallery .section-desc {
  max-width: 780px;
  margin-inline: auto;
  color: rgba(255,255,255,.68) !important;
}
.service-results-gallery .gallery-disclaimer {
  margin-top: 10px;
  font-size: .86rem;
}
.service-results-gallery .gallery-item[hidden] { display: none; }
.service-results-gallery .gallery-tab:not(.active) {
  color: rgba(255,255,255,.72) !important;
}

/* Keep the before/after gallery light and readable in light mode. */
html[data-theme="light"] .service-results-gallery,
html:not([data-theme]) .service-results-gallery {
  background: var(--off-white) !important;
  color: var(--black) !important;
}
html[data-theme="light"] .service-results-gallery::before,
html:not([data-theme]) .service-results-gallery::before {
  background: var(--off-white) !important;
}
html[data-theme="light"] .service-results-gallery :is(.section-title, .section-label),
html:not([data-theme]) .service-results-gallery :is(.section-title, .section-label) {
  color: var(--black) !important;
}
html[data-theme="light"] .service-results-gallery .section-label,
html:not([data-theme]) .service-results-gallery .section-label {
  color: var(--gold-dark) !important;
}
html[data-theme="light"] .service-results-gallery .section-desc,
html:not([data-theme]) .service-results-gallery .section-desc {
  color: #4f5968 !important;
}
html[data-theme="light"] .service-results-gallery .gallery-tab:not(.active),
html:not([data-theme]) .service-results-gallery .gallery-tab:not(.active) {
  color: var(--black) !important;
  border-color: rgba(160,120,64,.48);
}

html[data-theme="light"] .gallery.dark-bg,
html:not([data-theme]) .gallery.dark-bg {
  background: var(--off-white) !important;
  color: var(--black) !important;
}
html[data-theme="light"] .gallery.dark-bg :is(.section-title, .section-label, .home-video-gallery__heading h3),
html:not([data-theme]) .gallery.dark-bg :is(.section-title, .section-label, .home-video-gallery__heading h3) {
  color: var(--black) !important;
}
html[data-theme="light"] .gallery.dark-bg .section-label,
html:not([data-theme]) .gallery.dark-bg .section-label {
  color: var(--gold-dark) !important;
}
html[data-theme="light"] .gallery.dark-bg .section-desc,
html:not([data-theme]) .gallery.dark-bg .section-desc {
  color: #4f5968 !important;
}
html[data-theme="light"] .gallery.dark-bg .gallery-tab:not(.active),
html:not([data-theme]) .gallery.dark-bg .gallery-tab:not(.active) {
  color: var(--black) !important;
  border-color: rgba(160,120,64,.48);
}

@media (max-width: 640px) {
  .service-results-gallery { padding-top: 64px; padding-bottom: 64px; }
  .service-results-gallery .gallery-tabs { margin-bottom: 28px; }
}

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--white); }
.testimonials-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.testimonials-viewport {
  overflow: hidden;
  min-width: 0;
}
.testimonials-track {
  --t-gap: 16px;
  --t-show: 4;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--t-gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonials-arrow {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid rgba(14,24,36,0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(14,24,36,0.08);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.testimonials-arrow:hover {
  transform: translateY(-3px);
  background: var(--gold);
}
html[dir="ltr"] .testimonials-arrow i { transform: rotate(180deg); }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.testimonials-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.testimonials-dots button::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(14,24,36,0.28);
  transition: inset 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}
.testimonials-dots button.is-active {
  width: 28px;
}
.testimonials-dots button.is-active::after {
  inset-inline: 3px;
  border-radius: 4px;
  background: var(--gold);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (var(--t-show) - 1) * var(--t-gap)) / var(--t-show));
  min-width: 0;
  min-height: 280px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: start;
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.15);
}
.testimonials-track > .testimonial-card:not(.testimonial-card--image) {
  display: none;
}
.testimonial-card--image {
  min-height: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  background: #e8e4df;
}
.testimonial-card--image::before { content: none; }
.testimonial-card--image > a {
  display: block;
  width: 100%;
  height: 100%;
}
.testimonial-card--image .testimonial-review-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  inset-inline-start: 14px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(201, 169, 110, 0.12);
  font-weight: 700;
  pointer-events: none;
}

.stars { font-size: 0.95rem; color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.testimonial-author img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.testimonial-author h3 { font-size: 0.82rem; font-weight: 700; }
.testimonial-author span { font-size: 0.7rem; color: var(--gold); font-weight: 600; }

@media (max-width: 1200px) {
  .testimonials-track { --t-show: 3; }
}
@media (max-width: 900px) {
  .testimonials-track { --t-show: 2; }
}
@media (max-width: 640px) {
  .testimonials-track { --t-show: 1; }
  .testimonials-slider {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
  }
  .testimonials-viewport { grid-column: 1 / -1; }
  .testimonials-arrow { justify-self: center; }
}

/* ─── BOOKING SECTION ─── */
.booking-section { background: var(--dark); }

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.booking-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}
.booking-info > p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.booking-contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-sm);
}
.contact-item i {
  font-size: 1.2rem;
  color: var(--gold);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.contact-item span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.booking-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(10px);
}

/* ─── FORM STYLES ─── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}
.booking-section .form-group label { color: rgba(255,255,255,0.7); }
.services .form-group label, .contact .form-group label { color: var(--black); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(201, 169, 110, 0.2);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}
.form-group select option { background: var(--dark); color: var(--white); }
.form-group textarea { resize: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── CONTACT ─── */
.contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(14,24,36,0.06);
  border: 1px solid transparent;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.contact-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.contact-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}
.footer-wave {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  line-height: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  overflow: hidden;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-top {
  position: relative;
  z-index: 6;
  padding: 80px 0 50px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand img {
  width: min(280px, 100%);
  height: auto;
  margin: 0;
  display: block;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin: 0 0 8px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.footer-links h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a::before { content: none; }
.footer-links li a i {
  color: var(--gold);
  font-size: 0.72rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.footer-links li a:hover { color: var(--gold); padding-right: 4px; }

.footer-newsletter h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}
.footer-newsletter p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 30px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.whatsapp-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 15px 40px rgba(201,169,110,0.4);
}
.whatsapp-btn i { font-size: 1.1rem; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom p {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-credit a {
  color: var(--gold);
  background: var(--black);
  border-radius: 4px;
  padding: 2px 5px;
  font-weight: 700;
  margin-inline-start: 4px;
}
.footer-credit a:hover { color: var(--gold-light); }

/* ─── BOOKING MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,24,36,0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 110, 0.12);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-header img { height: 48px; margin: 0 auto 16px; }
.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.modal-header p {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.modal-form .form-group input,
.modal-form .form-group select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(201, 169, 110, 0.2);
  color: var(--white);
}
.modal-form .form-group input::placeholder { color: rgba(255,255,255,0.35); }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 16px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 99999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── FLOATING ELEMENTS ─── */
.whatsapp-float,
.call-float {
  position: fixed;
  bottom: 90px;
  left: 28px;
  width: 56px;
  height: 56px;
  padding: 0;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: width 0.35s ease, padding 0.35s ease, border-radius 0.35s ease;
  overflow: hidden;
  gap: 0;
}
.whatsapp-float:hover,
.call-float:hover {
  width: auto;
  padding: 0 18px;
  gap: 10px;
}
.whatsapp-float i,
.call-float i {
  font-size: 1.55rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 0;
}
.whatsapp-float span,
.call-float span {
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.35s ease;
}
.whatsapp-float:hover span,
.call-float:hover span { opacity: 1; max-width: 200px; }
.call-float {
  bottom: 158px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 4px 20px rgba(201,169,110,0.45);
}

.back-to-top {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* Keep sections visible immediately; don't wait for AOS CSS/JS. */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  will-change: auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1100px) {
  .navbar { padding: 12px 20px; }
  /* A backdrop filter creates a containing block for fixed children in mobile
     browsers. It used to trap the slide-out menu inside the short header. */
  #header.scrolled .navbar,
  body.nav-open #header .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-actions { position: relative; z-index: 3; }
  .btn-book-nav { display: none; }
  .hamburger { display: flex; position: relative; z-index: 3; }

  body.nav-open {
    overflow: hidden;
  }
  body.nav-open #header {
    background: #102536;
    z-index: 10000;
  }
  body.nav-open .navbar,
  body.nav-open .top-bar {
    position: relative;
    z-index: 3;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    top: var(--header-h, 80px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(14, 24, 36, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h, 80px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(400px, 100vw);
    max-width: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 16px 16px 32px;
    list-style: none;
    background: linear-gradient(180deg, #132b42 0%, #0d1c2d 100%);
    border-left: 1px solid rgba(201, 169, 110, 0.15);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
  }
  .nav-links.open,
  html[dir="rtl"] .nav-links.open,
  html[dir="ltr"] .nav-links.open { transform: translate3d(0, 0, 0); }
  html[dir="ltr"] .nav-links {
    right: auto;
    left: 0;
    border-left: 0;
    border-right: 1px solid rgba(201, 169, 110, 0.15);
    transform: translate3d(-100%, 0, 0);
  }

  .nav-links > li,
  .has-dropdown { width: 100%; }
  .nav-links > li:not(.mobile-nav-actions) {
    overflow: visible;
    background: rgba(42, 76, 106, 0.38);
    border: 1px solid rgba(130, 163, 192, 0.18);
    border-radius: 18px;
  }
  .nav-links > li:has(> .nav-link.active) {
    border-color: rgba(201,169,110,0.85);
    background: linear-gradient(120deg, rgba(47,82,112,0.55), rgba(201,169,110,0.13));
  }

  .nav-links > li:not(.mobile-nav-actions) > .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 10px 14px;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 18px;
    text-shadow: none;
    white-space: normal;
  }
  .nav-link::after,
  .nav-links > li:not(.mobile-nav-actions) > .nav-link::before {
    content: none !important;
    display: none !important;
  }
  .nav-item-icon {
    display: grid !important;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--gold-light);
    background: rgba(91,126,156,0.28);
    font-size: 1rem;
  }
  .nav-link.active .nav-item-icon {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold), #f6bd38);
  }
  .nav-links > li:not(.mobile-nav-actions) > .nav-link > span[data-ar] {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    color: #fff !important;
    font-size: 1rem !important;
    white-space: normal !important;
    text-align: start;
  }
  .has-dropdown > .nav-link > .chev {
    margin-inline-start: auto;
    color: rgba(255,255,255,0.55);
    font-size: 0.7rem;
    transition: transform 0.25s;
  }
  .has-dropdown.open > .nav-link > .chev { transform: rotate(180deg); }

  .has-dropdown:hover:not(.open) > .dropdown {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding: 0;
    transform: none;
  }
  .has-dropdown .dropdown {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    background: rgba(4,15,26,0.28);
    pointer-events: none;
  }
  .has-dropdown.open > .dropdown {
    max-height: 80vh !important;
    padding: 4px 0 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible;
    pointer-events: auto;
  }
  .has-dropdown .dropdown li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px 8px 18px;
    color: rgba(255,255,255,0.88) !important;
    white-space: normal;
  }
  .has-dropdown .dropdown li a .drop-icon {
    display: inline-flex !important;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }
  .has-dropdown .dropdown li a > span[data-ar] {
    display: block !important;
    color: inherit !important;
  }
  .has-dropdown .dropdown li a.active {
    margin: 3px 8px;
    width: calc(100% - 16px);
    border: 1px solid rgba(201,169,110,0.42);
    border-inline-start: 4px solid var(--gold);
    border-radius: 12px;
    color: #f4d89f !important;
    background: linear-gradient(105deg, rgba(201,169,110,0.24), rgba(201,169,110,0.08));
  }
  .has-dropdown .dropdown li a.active .drop-icon {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 9px;
  }

  .mobile-nav-actions {
    display: block !important;
    padding-top: 18px;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .mobile-book-btn {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    color: var(--black);
    background: linear-gradient(100deg, #efa91c, #ffd269);
    font-size: 1.02rem;
    font-weight: 800;
  }
  .mobile-nav-actions > p {
    margin: 20px 2px 10px;
    color: rgba(255,255,255,0.48);
    font-size: 0.82rem;
    font-weight: 700;
  }
  .mobile-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mobile-contact-actions a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.035);
    font-weight: 600;
  }
  .mobile-contact-actions a:last-child {
    border-color: rgba(37,211,102,0.5);
    color: #7ee6a5;
  }

  /* Keep homepage statistics in a strict 2 × 2 mobile/tablet grid. */
  .hero-stats {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-auto-flow: row;
    width: 100%;
    min-width: 0;
  }
  .hero-stats > .stat-item {
    grid-column: auto !important;
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 24px 8px;
    border: 0;
  }
  .hero-stats > .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  }
  .hero-stats > .stat-item:nth-child(odd) {
    border-inline-end: 1px solid rgba(201, 169, 110, 0.15);
  }
  .hero-stats .stat-num { font-size: clamp(2rem, 7vw, 2.6rem); }
  .hero-stats .stat-item span:not(.stat-num) { font-size: 1.45rem; }
}

@media (max-width: 1024px) {
  .service-card { flex-basis: calc((100% - 28px) / 2); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .about-img-stack { height: 400px; }
  .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .process-steps { gap: 30px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
  .container { padding: 0 20px; }

  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .service-card { flex-basis: 100%; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .home-video-gallery { margin-top: 48px; padding-top: 38px; }
  .home-video-gallery__track {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255,255,255,0.08);
  }
  .home-video-card {
    flex: 0 0 min(72vw, 300px);
    scroll-snap-align: center;
  }
  .patient-story-videos {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .patient-story-video {
    flex: 0 0 min(74vw, 280px);
    scroll-snap-align: center;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .footer-bottom p { text-align: center; }
  .about-img-stack { height: 300px; }
  .about-features { grid-template-columns: 1fr; }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 38px 12px;
  }
  .process-step {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0 6px;
  }
  .process-connector { display: none; }
  .process .section-title {
    max-width: 100%;
    font-size: clamp(1.65rem, 7.2vw, 2rem);
  }
  .process .step-num { font-size: 3rem; }
  .process .step-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    font-size: 1.1rem;
  }
  .process-step h3 { font-size: 0.92rem; }
  .process-step p { font-size: 0.74rem; line-height: 1.65; }
  .form-row { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 24px; }
  .testimonial-card { padding: 28px 24px; }
  .modal-box { padding: 32px 24px; }
  .whatsapp-float { bottom: 80px; }
  .call-float { bottom: 148px; }
  .custom-cursor, .custom-cursor-follower { display: none; }
  html.cursor-on,
  html.cursor-on * { cursor: auto !important; }
  body { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid { scroll-behavior: auto; }
  .process-step,
  .process-connector,
  .step-icon::before,
  .step-icon::after { animation: none !important; }
  .process-step { opacity: 1; transform: none; }
  .process-connector { transform: none; }
  .testimonials-track { animation: none !important; }
  .service-card,
  .service-img img,
  .service-img::after,
  .about-img-main img,
  .about-img-second img,
  .intro-img img,
  .doctor-img-wrap img,
  .page-hero-kenburns::before,
  .gallery-item img { animation: none; transition-duration: 0.01ms; }
}

@media (max-width: 480px) {
  .nav-logo { flex-basis: 104px; width: 104px; }
  .nav-logo img { width: 104px; height: auto; }
  .navbar { padding-inline: 16px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .lang-toggle { padding: 6px 10px; }
  .nav-links {
    width: min(360px, 92vw);
    padding: 12px 12px 24px;
    gap: 8px;
  }
  .nav-links > li:not(.mobile-nav-actions) > .nav-link {
    min-height: 52px;
    font-size: 0.95rem;
  }
  .mobile-book-btn { min-height: 52px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tabs { flex-wrap: wrap; gap: 8px; }
}

/* ─── LANGUAGE RTL/LTR ─── */
html[dir="rtl"] {
  --font-display: 'Cairo', sans-serif;
}

/* Arabic headings — Cairo looks best at 700-800 */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-title span,
html[dir="rtl"] .section-title,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .modal-book-title,
html[dir="rtl"] .cta-banner h3,
html[dir="rtl"] .intro-text h2,
html[dir="rtl"] .doctor-info h2,
html[dir="rtl"] .booking-info h2 {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: -0.5px;
}

html[dir="ltr"] .nav-link::after { left: 50%; right: 50%; }
html[dir="ltr"] .nav-link:hover::after,
html[dir="ltr"] .nav-link.active::after { left: 14px; right: 14px; }

html[dir="ltr"] .footer-links li a::before { content: none; }
html[dir="ltr"] .footer-links li a:hover { padding-left: 4px; padding-right: 0; }

html[dir="ltr"] .btn-book-nav i { transform: rotate(180deg); }
html[dir="ltr"] .btn-primary i { transform: rotate(180deg); }

/* ============================================================
   NEW BOOKING FORM — Matching Screenshot Design
   ============================================================ */

/* ── Booking Card (dark section container) ── */
.booking-card {
  background: var(--white);
  border-radius: 20px;
  padding: 52px 56px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(14,24,36,0.35);
}

/* ── New Form Grid ── */
.booking-form-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bform-group { display: flex; flex-direction: column; gap: 7px; }
.bform-full  { grid-column: 1 / -1; }

.bform-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

/* inputs */
.bform-group input,
.bform-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #222;
  background: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: var(--font-ar);
}
.bform-group input::placeholder,
.bform-group textarea::placeholder { color: #bbb; }
.bform-group input:focus,
.bform-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.bform-group textarea { resize: vertical; min-height: 110px; }

/* select wrapper */
.bform-select-wrap {
  position: relative;
}
.bform-select-wrap select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #222;
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
  font-family: var(--font-ar);
}
html[dir="rtl"] .bform-select-wrap select { padding: 13px 16px 13px 40px; }
.bform-select-wrap select:focus { border-color: var(--gold); }
.bselect-arrow {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.7rem;
  pointer-events: none;
}
html[dir="rtl"] .bselect-arrow { left: auto; right: 14px; }

/* ── Phone input with flag ── */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.phone-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.phone-flag-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: none;
  background: #f5f5f5;
  border-left: 1.5px solid #e0e0e0;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  white-space: nowrap;
  transition: background 0.2s;
  border-radius: 0 0 0 0;
  flex-shrink: 0;
}
html[dir="rtl"] .phone-flag-btn {
  border-left: none;
  border-right: 1.5px solid #e0e0e0;
  border-radius: 0;
}
.phone-flag-btn:hover { background: #ececec; }
.flag-emoji { font-size: 1.2rem; line-height: 1; }
.phone-code { font-size: 0.8rem; font-weight: 600; color: #444; }

.phone-input-wrap input[type="tel"] {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 13px 14px;
  outline: none;
  font-size: 0.9rem;
  background: transparent;
  min-width: 0;
}

.phone-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  background: var(--white);
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  z-index: 500;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 8px 30px rgba(14,24,36,0.12);
}
.phone-dropdown.open { display: block; }
.phone-option {
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-option:hover { background: rgba(201,169,110,0.08); color: var(--gold-dark); }

/* dark variant for booking section */
.phone-input-wrap.dark {
  border-color: rgba(201,169,110,0.25);
  background: rgba(255,255,255,0.06);
}
.phone-input-wrap.dark input[type="tel"] { color: var(--white); }
.phone-input-wrap.dark input[type="tel"]::placeholder { color: rgba(255,255,255,0.35); }
.phone-input-wrap.dark .phone-flag-btn { background: rgba(255,255,255,0.08); border-color: rgba(201,169,110,0.25); color: var(--white); }
.phone-input-wrap.dark .phone-code { color: rgba(255,255,255,0.7); }

/* ── New Submit Button ── */
.btn-submit-new {
  width: 100%;
  padding: 17px 32px;
  background: linear-gradient(135deg, var(--gold-dark), #7a5a20);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.btn-submit-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(120, 80, 20, 0.35);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* ── Modal redesign ── */
.modal-book {
  background: var(--white) !important;
  border: none !important;
  max-width: 700px !important;
  padding: 48px 52px !important;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-book-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.2;
}
.modal-form-new .bform-group label { color: #444; }
.modal-form-new .bform-group input,
.modal-form-new .bform-group textarea,
.modal-form-new .bform-select-wrap select { background: var(--white); color: #222; }
.modal-form-new .phone-input-wrap { border-color: #e0e0e0; background: var(--white); }

/* modal close on white bg */
.modal-book .modal-close {
  background: rgba(14,24,36,0.07);
  color: #555;
}
.modal-book .modal-close:hover { background: rgba(14,24,36,0.15); color: #222; }

/* ── Scrollbar inside modal ── */
.modal-book::-webkit-scrollbar { width: 4px; }
.modal-book::-webkit-scrollbar-track { background: #f0f0f0; }
.modal-book::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .booking-card { padding: 28px 20px; }
  .bform-row { grid-template-columns: 1fr; }
  .modal-book { padding: 28px 20px !important; }
}

/* ============================================================
   PUBLIC SITE LIGHT / DARK THEME
   ============================================================ */
.site-theme-toggle {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.site-theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,169,110,0.12);
  transform: translateY(-1px);
}
.site-theme-toggle .theme-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
[data-theme="light"] .site-theme-toggle .theme-icon--sun,
html:not([data-theme]) .site-theme-toggle .theme-icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="light"] .site-theme-toggle .theme-icon--moon,
html:not([data-theme]) .site-theme-toggle .theme-icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
[data-theme="dark"] .site-theme-toggle .theme-icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
[data-theme="dark"] .site-theme-toggle .theme-icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Switch used by the PHP-native navigation. */
.theme-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 50px;
  width: 50px;
  height: 28px;
  cursor: pointer;
}
.theme-toggle__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.theme-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(14,24,36,0.15);
  border: 1px solid rgba(201,169,110,0.45);
  border-radius: 30px;
  transition: background 0.3s ease;
}
.theme-toggle__track::before,
.theme-toggle__track::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
}
.theme-toggle__track::before { content: '☀'; inset-inline-start: 7px; color: #b47d25; }
.theme-toggle__track::after { content: '☾'; inset-inline-end: 7px; color: #fff; }
.theme-toggle__thumb {
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14,24,36,0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}
.theme-toggle__input:checked ~ .theme-toggle__track { background: var(--navy); }
.theme-toggle__input:checked ~ .theme-toggle__thumb { transform: translateX(22px); background: var(--gold-light); }
html[dir="rtl"] .theme-toggle__input:checked ~ .theme-toggle__thumb { transform: translateX(-22px); }
.theme-toggle__input:focus-visible ~ .theme-toggle__track { outline: 2px solid var(--gold); outline-offset: 2px; }

body,
.about, .services, .team, .testimonials, .contact, .page-body,
.service-card, .team-card, .testimonial-card, .contact-card,
.benefit-card, .step-row, .stat-row, .blog-card, .clinic-info-box,
.tech-card, .tourism-feature, .booking-card, .modal-book {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --shadow: 0 20px 60px rgba(0,0,0,0.42);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 15% 15%, rgba(216,195,159,0.16), transparent 32%),
    linear-gradient(135deg, #11111b 0%, #292a3d 58%, #8a6d49 100%);
  background-attachment: fixed;
  color: #f5f0e8;
}
html[data-theme="dark"] :is(
  .about, .services, .team, .testimonials, .contact, .page-body,
  .booking-section, .dark-bg, .process, .gallery, .video-section
) {
  background:
    radial-gradient(circle at 15% 15%, rgba(216,195,159,0.16), transparent 32%),
    linear-gradient(135deg, #11111b 0%, #292a3d 58%, #8a6d49 100%);
  background-attachment: fixed;
  box-shadow:
    inset 0 70px 64px -42px rgba(201,169,110,0.2),
    inset 0 -56px 52px -40px rgba(201,169,110,0.1);
}
html[data-theme="dark"] .footer {
  background:
    radial-gradient(circle at 15% 15%, rgba(216,195,159,0.14), transparent 32%),
    linear-gradient(135deg, #11111b 0%, #292a3d 58%, #8a6d49 100%);
  background-attachment: fixed;
  box-shadow: inset 0 80px 70px -46px rgba(201,169,110,0.22);
}
html[data-theme="dark"] :is(.section-wave, .footer-wave) {
  display: none;
}
html[data-theme="dark"] .footer-wave {
  display: block;
  opacity: 0.55;
  filter: blur(0.4px) drop-shadow(0 0 12px rgba(201,169,110,0.35));
}
html[data-theme="dark"] :is(
  #about > .section-wave,
  .page-hero + section.page-body > .section-wave,
  .page-hero + main.page-body > .container > section:first-of-type > .section-wave
) {
  display: block;
  opacity: 0.55;
  filter: blur(0.4px) drop-shadow(0 0 12px rgba(201,169,110,0.35));
}
html[data-theme="dark"] .page-hero + main.page-body > .container > section:first-of-type > .section-wave {
  top: -80px;
}
html[data-theme="dark"] .footer-wave .section-wave__glint {
  display: block;
}
html[data-theme="dark"] .footer-brand img {
  filter: brightness(0) invert(1) drop-shadow(0 5px 16px rgba(255,255,255,0.08));
}
html[data-theme="dark"] .section-pad[style*="--off-white"] {
  background:
    radial-gradient(circle at 15% 15%, rgba(216,195,159,0.16), transparent 32%),
    linear-gradient(135deg, #11111b 0%, #292a3d 58%, #8a6d49 100%) !important;
  background-attachment: fixed !important;
}
html[data-theme="dark"] .page-hero {
  box-shadow: 0 48px 80px -20px rgba(201,169,110,0.18);
}
html[data-theme="dark"] .page-hero::after {
  background: linear-gradient(
    to top,
    rgba(17,17,27,0.96) 0%,
    rgba(17,17,27,0.55) 42%,
    rgba(201,169,110,0.12) 100%
  );
}
html[data-theme="dark"] .cta-banner {
  background: linear-gradient(145deg, rgba(27,28,42,0.92), rgba(88,70,48,0.88));
  border: 1px solid rgba(201,169,110,0.28);
  box-shadow:
    0 -36px 70px rgba(201,169,110,0.16),
    0 18px 40px rgba(0,0,0,0.28);
}
html[data-theme="dark"] :is(
  .service-card, .team-card, .contact-card, .benefit-card, .step-row,
  .stat-row, .blog-card, .clinic-info-box, .tech-card, .tourism-feature,
  .booking-card, .phone-dropdown
) {
  color: #f5f0e8;
  background:
    radial-gradient(circle at 12% 8%, rgba(216,195,159,0.08), transparent 34%),
    linear-gradient(145deg, #1b1c2a 0%, #242538 72%, #3a3027 100%);
  border-color: rgba(184,154,112,0.32);
  box-shadow: 0 12px 34px rgba(0,0,0,0.3), inset 0 1px rgba(216,195,159,0.05);
}
html[data-theme="dark"] .testimonial-card {
  color: #f5f0e8;
  background:
    radial-gradient(circle at 10% 10%, rgba(216,195,159,0.08), transparent 34%),
    linear-gradient(145deg, #1b1c2a 0%, #242538 72%, #3a3027 100%);
  border-color: rgba(184,154,112,0.32);
  box-shadow: 0 12px 34px rgba(0,0,0,0.3), inset 0 1px rgba(216,195,159,0.05);
}
html[data-theme="dark"] :is(
  .service-card, .team-card, .contact-card, .benefit-card, .step-row,
  .blog-card, .clinic-info-box, .tech-card, .tourism-feature, .testimonial-card
):hover {
  border-color: rgba(216,195,159,0.58);
  box-shadow: 0 18px 46px rgba(0,0,0,0.38), 0 0 28px rgba(184,154,112,0.09);
}
html[data-theme="dark"] :is(
  .section-title, .about-text h2, .service-body h3, .service-body li,
  .team-info h3, .contact-card h3, .testimonial-author h3,
  .intro-text h2, .benefit-card h4, .step-row h4, .faq-section h3,
  .faq-q, .blog-body h3, .clinic-info-box h3, .info-row strong,
  .tech-card h4, .tourism-feature h4, .doctor-info h2, .cred-item,
  .technology-page .tech-card-content h4, .local-copy h2, .seo-faq h2,
  .seo-faq summary
) {
  color: #f5f0e8;
}
html[data-theme="dark"] :is(
  .about-text > p, .service-body p, .testimonial-card p, .contact-card p,
  .intro-text p, .benefit-card p, .step-row p, .faq-a, .blog-body p,
  .info-row span, .tech-card p, .tourism-feature p, .doctor-info p,
  .local-copy, .local-copy p, .seo-faq p, .section-desc
) {
  color: var(--gold);
}
html[data-theme="dark"] .intro-text .btn-outline {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}
html[data-theme="dark"] .intro-text .btn-outline:hover {
  color: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
}
html[data-theme="dark"] :is(.faq-item, .info-row, .seo-faq details) {
  border-color: rgba(226,201,154,0.45);
}
html[data-theme="dark"] .blog-meta { color: #8794a6; }
html[data-theme="dark"] .blog-card .blog-body > p {
  color: #f1ece4 !important;
  opacity: 1;
}
html[data-theme="dark"] .blog-card .blog-body > div[style*="border-top"] {
  border-top-color: rgba(226,201,154,0.28) !important;
}
html[data-theme="dark"] .services-arrow,
html[data-theme="dark"] .testimonials-arrow {
  color: #f5f0e8;
  background: linear-gradient(145deg, #1b1c2a, #3a3027);
  border-color: rgba(184,154,112,0.38);
}
html[data-theme="dark"] .booking-card :is(.bform-group label, .phone-code),
html[data-theme="dark"] .modal-form-new .bform-group label { color: #d8e0e9; }
html[data-theme="dark"] :is(
  .booking-card .bform-group input, .booking-card .bform-group textarea,
  .booking-card .bform-select-wrap select, .booking-card .phone-input-wrap,
  .modal-form-new .bform-group input, .modal-form-new .bform-group textarea,
  .modal-form-new .bform-select-wrap select, .modal-form-new .phone-input-wrap
) {
  color: #f5f0e8;
  background: linear-gradient(145deg, #151620, #242538) !important;
  border-color: rgba(184,154,112,0.36);
}
html[data-theme="dark"] :is(.booking-card, .modal-book) input::placeholder,
html[data-theme="dark"] :is(.booking-card, .modal-book) textarea::placeholder { color: #718095; }
html[data-theme="dark"] :is(.booking-card, .modal-book) .phone-flag-btn {
  color: #f5f0e8;
  background: linear-gradient(145deg, #242538, #3a3027);
  border-color: rgba(184,154,112,0.36);
}
html[data-theme="dark"] .phone-option { color: #d8e0e9; }
html[data-theme="dark"] .phone-option:hover { background: rgba(201,169,110,0.12); }
html[data-theme="dark"] .modal-book {
  background:
    radial-gradient(circle at 15% 12%, rgba(216,195,159,0.12), transparent 34%),
    linear-gradient(145deg, #1b1c2a 0%, #292a3d 70%, #4a3b2d 100%) !important;
  border: 1px solid rgba(184,154,112,0.38) !important;
}
html[data-theme="dark"] .modal-book .modal-close {
  color: #edf1f6;
  background: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .modal-book::-webkit-scrollbar-track { background: #11111b; }
html[data-theme="dark"] #header.scrolled {
  background: linear-gradient(90deg, rgba(17,17,27,0.97), rgba(41,42,61,0.97), rgba(94,74,51,0.94));
  border-bottom: 1px solid rgba(184,154,112,0.28);
}

@media (max-width: 480px) {
  .site-theme-toggle { width: 36px; height: 36px; flex-basis: 36px; }
}
@media (max-width: 768px) {
  html[data-theme="dark"] body,
  html[data-theme="dark"] :is(
    .about, .services, .team, .testimonials, .contact, .page-body,
    .booking-section, .dark-bg, .process, .gallery, .video-section, .footer
  ) {
    background-attachment: scroll;
  }
  html[data-theme="dark"] .section-pad[style*="--off-white"] {
    background-attachment: scroll !important;
  }
  :is(.section-wave, .footer-wave) { height: 18px; }
}
