/* ============================================================
   NDC — NUWEIBA DENTAL CLINIC
   Design System v2.0 — Editorial / Resort-SaaS / Organic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800&family=Reem+Kufi:wght@400;500;600;700&family=Alexandria:wght@100;300;400;700&family=Amiri:wght@400;700&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --sage: #C1E2C2;
  --coral: #F36F64;
  --turq: #2DBFC0;
  --charcoal: #1D2027;
  --slate: #5A6178;
  --fog: #F8F7F4;
  --white: #FFFFFF;
  --ink: rgba(29, 32, 39, 0.88);

  --coral-d: #D45A50;
  --turq-d: #229899;
  --sage-d: #8EC490;

  /* Elevation — almost invisible, not corporate */
  --shadow-xs: 0 1px 4px rgba(29, 32, 39, 0.06);
  --shadow-sm: 0 2px 12px rgba(29, 32, 39, 0.08);
  --shadow-md: 0 8px 32px rgba(29, 32, 39, 0.10);
  --shadow-lg: 0 20px 60px rgba(29, 32, 39, 0.12);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --font-en: 'Inter', sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
  --font-ar-elegant: 'Amiri', serif;
  --font-ar-urdu: 'Noto Nastaliq Urdu', serif;
  --font-ar-funky: 'Reem Kufi', sans-serif;
  --font-ar-thin: 'Alexandria', sans-serif;
  --font-display: 'DM Serif Display', serif;

  --max-w: 1160px;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(72px, 9vw, 120px);

  /* ─── Semantic surface tokens (light mode) ─── */
  --bg: #FFFFFF;
  --bg-subtle: #F8F7F4;
  --surface: #FFFFFF;
  --surface-2: #F3F2EE;
  --border: rgba(29, 32, 39, 0.10);
  --text-primary: #1D2027;
  --text-secondary: #5A6178;
  --text-muted: #8A93A8;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --hero-overlay-start: rgba(255, 255, 255, 0.92);
  --hero-overlay-mid: rgba(255, 255, 255, 0.75);
  --hero-overlay-end: rgba(255, 255, 255, 0.35);
}

/* ─── DARK MODE TOKENS ────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #0A0C10;
  /* Deeper black/navy */
  --bg-subtle: #10141A;
  --surface: #161D26;
  --surface-2: #1E2633;
  --border: rgba(255, 255, 255, 0.08);
  --white: #0A0C10;
  --fog: #10141A;
  --charcoal: #F0F0F0;
  /* Even brighter text */
  --ink: rgba(240, 240, 240, 0.95);
  --slate: #A5B4C9;
  --text-primary: #F0F0F0;
  --text-secondary: #A5B4C9;
  --text-muted: #717D91;
  --nav-bg: rgba(10, 12, 16, 0.96);
  --hero-overlay-start: rgba(10, 12, 16, 0.98);
  --hero-overlay-mid: rgba(10, 12, 16, 0.85);
  --hero-overlay-end: rgba(10, 12, 16, 0.45);

  /* Keep brand accents vivid but slightly brighter */
  --sage: #7DC07E;
  --coral: #F47C72;
  --turq: #35D4D5;
  --coral-d: #E06058;
  --turq-d: #29BCBD;
  --sage-d: #5FAF61;

  /* Softer shadows in dark */
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.40);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.50);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.60);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.70);
}

/* System-preference fallback (no JS) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #0A0C10;
    --bg-subtle: #10141A;
    --surface: #161D26;
    --surface-2: #1E2633;
    --border: rgba(255, 255, 255, 0.08);
    --white: #0A0C10;
    --fog: #10141A;
    --charcoal: #F0F0F0;
    --ink: rgba(240, 240, 240, 0.95);
    --slate: #A5B4C9;
    --text-primary: #F0F0F0;
    --text-secondary: #A5B4C9;
    --text-muted: #717D91;
    --nav-bg: rgba(10, 12, 16, 0.96);
    --hero-overlay-start: rgba(10, 12, 16, 0.98);
    --hero-overlay-mid: rgba(10, 12, 16, 0.85);
    --hero-overlay-end: rgba(10, 12, 16, 0.45);
    --sage: #7DC07E;
    --coral: #F47C72;
    --turq: #35D4D5;
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.60);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.70);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.80);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.90);
  }
}



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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

body[lang="ar"] {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: 600;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.ar-elegant {
  font-family: var(--font-ar-elegant);
  font-weight: 700;
  font-size: 1.15em;
  opacity: 1;
}

.ar-funky {
  font-family: var(--font-ar-funky);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.85em;
}

.ar-thin {
  font-family: var(--font-ar-thin);
  font-weight: 100;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-color: rgba(193, 226, 194, 0.35);
  box-shadow: var(--shadow-xs);
}

.nav__logo img {
  height: 126px;
  width: auto;
  display: block;
  max-width: 300px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* White logo in dark mode */
[data-theme="dark"] .nav__logo img,
[data-theme="dark"] .footer__logo img {
  filter: brightness(0) invert(1);
}


.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav__links a:hover {
  color: var(--charcoal);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__lang {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(90, 97, 120, 0.25);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  transition: all 0.2s;
  cursor: pointer;
}

.nav__lang:hover {
  border-color: var(--turq);
  color: var(--turq);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--coral);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  background: var(--coral-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(243, 111, 100, 0.35);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px var(--pad-x);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(193, 226, 194, 0.4);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid rgba(193, 226, 194, 0.3);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
}

.btn--coral:hover {
  background: var(--coral-d);
  box-shadow: 0 6px 24px rgba(243, 111, 100, 0.3);
}

.btn--turq {
  background: var(--turq);
  color: var(--white);
}

.btn--turq:hover {
  background: var(--turq-d);
  box-shadow: 0 6px 24px rgba(45, 191, 192, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid rgba(29, 32, 39, 0.18);
}

.btn--ghost:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

.btn--ghost-w {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost-w:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ─── PATTERN STRIPS ──────────────────────────────────────── */
.strip-zigzag {
  width: 100%;
  height: 36px;
  background: url('assets/pattern-zigzag.png') repeat-x center / auto 36px;
  opacity: 0.7;
  pointer-events: none;
}

.strip-bedouin {
  width: 100%;
  height: 80px;
  background: url('assets/pattern-bedouin.png') repeat-x center / auto 80px;
  opacity: 0.9;
  pointer-events: none;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  /* Hero background image — drop hero-bg.jpg in assets/images/ */
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Light overlay so text stays readable over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--hero-overlay-start) 0%,
      var(--hero-overlay-mid) 50%,
      var(--hero-overlay-end) 100%);
  z-index: 0;
}

/* RTL version — gradient flips */
[dir='rtl'] .hero::before {
  background: linear-gradient(to left,
      var(--hero-overlay-start) 0%,
      var(--hero-overlay-mid) 50%,
      var(--hero-overlay-end) 100%);
}

/* Fluid gradient orb — background atmosphere */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__orb--sage {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -180px;
  background: radial-gradient(circle, rgba(193, 226, 194, 0.55) 0%, transparent 70%);
}

.hero__orb--coral {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(243, 111, 100, 0.12) 0%, transparent 70%);
}

.hero__orb--turq {
  width: 300px;
  height: 300px;
  top: 40%;
  right: 30%;
  background: radial-gradient(circle, rgba(45, 191, 192, 0.10) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: 24px;
}

.hero__tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--turq);
}

body[lang="ar"] .hero__tag::before {
  display: none;
}

body[lang="ar"] .hero__tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--turq);
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.hero__title .display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
  letter-spacing: -0.01em;
}

body[lang="ar"] .hero__title .display {
  font-family: var(--font-ar-urdu);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1.8;
  display: inline-block;
  margin: 10px 0;
}

.hero__title .accent {
  color: var(--turq);
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--slate);
  max-width: 500px;
  margin-top: 22px;
  line-height: 1.75;
}

/* Right column — floated stat cards */
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__stat-card {
  background: var(--white);
  border: 1px solid rgba(193, 226, 194, 0.6);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero__stat-card:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-md);
}

body[lang="ar"] .hero__stat-card:hover {
  transform: translateX(6px);
}

.hero__stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero__stat-icon--sage {
  background: rgba(193, 226, 194, 0.45);
}

.hero__stat-icon--coral {
  background: rgba(243, 111, 100, 0.10);
}

.hero__stat-icon--turq {
  background: rgba(45, 191, 192, 0.10);
}

.hero__stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}

.hero__stat-num span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--slate);
  font-weight: 400;
  margin-top: 2px;
}

/* Hero bottom strip */
.hero__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(193, 226, 194, 0.35);
}

/* ─── MARQUEE STRIP ───────────────────────────────────────── */
.marquee-wrap {
  padding: 20px 0;
  overflow: hidden;
  background: var(--fog);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: var(--white);
  border: 1px solid rgba(193, 226, 194, 0.55);
  border-radius: var(--r-pill);
  margin: 0 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s;
}

.marquee-item:hover {
  border-color: var(--turq);
}

.marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-dot--coral {
  background: var(--coral);
}

.marquee-dot--turq {
  background: var(--turq);
}

.marquee-dot--sage {
  background: var(--sage-d);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

body[lang="ar"] .marquee-track {
  animation-direction: reverse;
}

/* ─── GARDEN SECTION ──────────────────────────────────────── */
.garden {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.garden__left {
  position: relative;
}

.garden__img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  /* Fallback gradient if no image — replaced by garden.jpg when available */
  background: linear-gradient(145deg, #cceacc 0%, #2dbfc0 50%, #1a2a3a 100%);
  background-image: url('assets/images/garden.jpg');
  background-size: cover;
  background-position: center;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* Dark scrim at bottom so the chip label stays readable */
.garden__img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
  border-radius: var(--r-xl);
  pointer-events: none;
}

.garden__seedlings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 32px;
}

.garden__seed {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 20px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s;
}

.garden__seed:hover {
  transform: translateY(-4px);
}

.garden__seed .e {
  font-size: 1.8rem;
}

.garden__seed p {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 8px;
  line-height: 1.4;
}

/* Floating accent chip */
.garden__chip {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}

body[lang="ar"] .garden__chip {
  right: auto;
  left: -18px;
}

.garden__right {}

.garden__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: 16px;
}

.garden__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.garden__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

body[lang="ar"] .garden__title em {
  font-family: var(--font-ar);
  font-style: normal;
  color: var(--coral);
}

.garden__quote {
  margin-top: 28px;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  font-weight: 300;
  color: var(--slate);
  border-right: none;
  border-left: 3px solid var(--turq);
  padding-left: 20px;
  line-height: 1.85;
}

body[lang="ar"] .garden__quote {
  border-left: none;
  border-right: 3px solid var(--turq);
  padding-left: 0;
  padding-right: 20px;
}

.garden__note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── SECTION WRAPPER ─────────────────────────────────────── */
.section-wrap {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-bg {
  background: var(--bg-subtle);
}

.section-bg--dark {
  background: var(--charcoal);
}

.section-bg--turq {
  background: var(--turq);
}

.section-full {
  padding: 0;
}

/* Section header */
.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: 14px;
}

.section-label--light {
  color: var(--sage);
}

.section-label--coral {
  color: var(--coral);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}

.section-title--white {
  color: var(--white);
}

.section-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

body[lang="ar"] .section-title em {
  font-family: var(--font-ar);
  font-style: normal;
}

.section-sub {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: var(--slate);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.8;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.72);
}

/* ─── TEAM ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(193, 226, 194, 0.45);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.doc-card__top {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.doc-card__top--coral {
  background: linear-gradient(135deg, #fde8e6 0%, #fac5c1 100%);
}

.doc-card__top--turq {
  background: linear-gradient(135deg, #d4f3f3 0%, #9ee4e4 100%);
}

.doc-card__top--sage {
  background: linear-gradient(135deg, #dff0df 0%, #b8ddb9 100%);
}

.doc-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

body[lang="ar"] .doc-card__badge {
  right: auto;
  left: 12px;
}

.doc-card__badge--coral {
  color: var(--coral);
}

.doc-card__badge--turq {
  color: var(--turq);
}

.doc-card__badge--sage {
  color: var(--sage-d);
}

.doc-card__body {
  padding: 22px 22px 24px;
}

.doc-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
}

.doc-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--turq);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.doc-card__desc {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 12px;
  font-weight: 300;
  line-height: 1.65;
}

.doc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid;
}

.tag--sage {
  color: var(--sage-d);
  border-color: rgba(142, 196, 144, 0.4);
  background: rgba(193, 226, 194, 0.15);
}

.tag--coral {
  color: var(--coral-d);
  border-color: rgba(243, 111, 100, 0.3);
  background: rgba(243, 111, 100, 0.08);
}

.tag--turq {
  color: var(--turq-d);
  border-color: rgba(45, 191, 192, 0.3);
  background: rgba(45, 191, 192, 0.08);
}

/* ─── TREATMENTS GRID ─────────────────────────────────────── */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tx-card {
  background: var(--surface);
  border: 1px solid rgba(193, 226, 194, 0.45);
  border-radius: var(--r-md);
  padding: 24px 20px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.tx-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 191, 192, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tx-card:hover {
  border-color: var(--turq);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tx-card:hover::after {
  opacity: 1;
}

.tx-card .icon {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.tx-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}

.tx-card p {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 8px;
  font-weight: 300;
  line-height: 1.65;
}

/* ─── AUDIENCE (Asymmetric editorial) ─────────────────────── */
.audience-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.audience-panel {
  padding: clamp(48px, 7vw, 88px) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.audience-panel::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
}

.audience-panel--bedouin {
  background: var(--charcoal);
}

.audience-panel--bedouin::before {
  top: -80px;
  left: -80px;
  background: var(--turq);
}

.audience-panel--tourist {
  background: linear-gradient(135deg, #e0fafa 0%, #b3e8e8 100%);
}

.audience-panel--tourist::before {
  bottom: -80px;
  right: -80px;
  background: var(--coral);
}

.audience-panel h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 14px 0;
}

.audience-panel--bedouin h2 {
  color: var(--white);
}

.audience-panel--tourist h2 {
  color: var(--charcoal);
}

.audience-panel p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 420px;
}

.audience-panel--bedouin p {
  color: rgba(255, 255, 255, 0.78);
}

.audience-panel--tourist p {
  color: var(--slate);
}

.audience-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 400;
}

body[lang="ar"] .audience-list li {
  flex-direction: row-reverse;
}

.audience-panel--bedouin .audience-list li {
  color: rgba(255, 255, 255, 0.85);
}

.audience-panel--tourist .audience-list li {
  color: var(--slate);
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-dot--light {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.check-dot--turq {
  background: rgba(45, 191, 192, 0.15);
  color: var(--turq-d);
}

/* ─── BOOKING ─────────────────────────────────────────────── */
.booking-wrap {
  background: var(--charcoal);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.booking-wrap::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 191, 192, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.booking-wrap::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 111, 100, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.booking-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.booking-info-card {
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(193, 226, 194, 0.09);
  border: 1px solid rgba(193, 226, 194, 0.16);
  border-radius: var(--r-md);
}

.booking-info-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  line-height: 1.9;
}

/* Form card */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(8px);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 12px 15px;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--turq);
  background: rgba(45, 191, 192, 0.07);
}

.form-group select option {
  background: #1D2027;
}

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

.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  background: var(--coral);
  color: var(--white);
  padding: 15px;
  font-size: 0.95rem;
}

.form-submit:hover {
  background: var(--coral-d);
  box-shadow: 0 6px 28px rgba(243, 111, 100, 0.35);
}

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 12px;
}

/* Booking steps */
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 28px 0;
}

.bstep {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bstep:last-child {
  flex: none;
}

.bstep__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: 0.3s;
}

.bstep__num.active {
  background: var(--coral);
  color: var(--white);
}

.bstep__num.done {
  background: var(--turq);
  color: var(--white);
}

.bstep__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  white-space: nowrap;
}

.bstep__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 6px;
}

/* ─── LOCATION ────────────────────────────────────────────── */
.location-wrap {
  background: var(--fog);
  padding: var(--pad-y) var(--pad-x);
}

.location-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.map-frame {
  margin-top: 40px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.loc-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(193, 226, 194, 0.35);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.loc-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--turq);
}

.loc-card__icon {
  width: 38px;
  height: 38px;
  background: rgba(193, 226, 194, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.loc-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--turq);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.loc-card p {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 300;
  margin-top: 3px;
  line-height: 1.6;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(28px, 4vw, 48px);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo img {
  height: 99px;
  width: auto;
}

.footer__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  max-width: 240px;
  line-height: 1.75;
}

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}

.footer__social a:hover {
  background: var(--turq);
  border-color: var(--turq);
  color: var(--white);
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  transition: color 0.2s;
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__emergency {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(45, 191, 192, 0.1);
  border: 1px solid rgba(45, 191, 192, 0.2);
  border-radius: var(--r-sm);
}

.footer__emergency .em-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turq);
}

.footer__emergency a {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
  margin-top: 4px;
  transition: color 0.2s;
}

.footer__emergency a:hover {
  color: var(--turq);
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

body[lang="ar"] .wa-float {
  right: auto;
  left: 28px;
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7);
  }
}

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal--left {
  transform: translateX(-24px);
}

.reveal--right {
  transform: translateX(24px);
}

.reveal--left.visible,
.reveal--right.visible {
  transform: none;
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__stat-card {
    flex: 1 1 calc(50% - 8px);
  }

  .garden {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tx-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-wrap {
    grid-template-columns: 1fr;
  }

  .booking-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .booking-steps {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero__stat-card {
    flex: 1 1 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .tx-grid {
    grid-template-columns: 1fr;
  }

  .location-cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ─── PHOTO STRIP ──────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 320px;
  overflow: hidden;
}

.photo-strip__item {
  position: relative;
  background-color: #cce8cc;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  cursor: pointer;
}

.photo-strip__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  transition: opacity 0.4s;
}

.photo-strip__item:hover {
  transform: scale(1.04);
  z-index: 1;
}

.photo-strip__item:hover::before {
  opacity: 0.7;
}

.photo-strip__label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  z-index: 2;
  transition: transform 0.3s;
}

[dir='rtl'] .photo-strip__label {
  text-align: right;
}

.photo-strip__item:hover .photo-strip__label {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr;
    height: 420px;
  }
}

@media (max-width: 480px) {
  .photo-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .photo-strip__item {
    height: 220px;
  }
}

/* ─── THEME TOGGLE BUTTON ───────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--charcoal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--turq);
  transform: scale(1.1) rotate(15deg);
}

.theme-toggle:active {
  transform: scale(0.95);
}

/* Smooth color transitions across the whole page on theme switch */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}