/* ==========================================================================
   100 · EQUILIBRIUM (اتّزان للاستشفاء) — 1:1 Emerald-Obsidian Contrast Hydrotherapy Sanctuary
   Forest-Obsidian #0C1210 · Surface #161D1B · Crisp #F3F6F4 · Seafoam-Jade #4EBCA6 · Liquid-Glass SPA
   ========================================================================== */

:root {
  --bg: #0C1210;
  --surface: #161D1B;
  --fg: #F3F6F4;
  --muted: #96A59E;
  --accent: #4EBCA6;
  --accent-well: rgba(78, 188, 166, 0.16);
  --line: rgba(255, 255, 255, 0.09);
  --sans: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--mono); }

/* Signature .liquid-glass with 1.4px specular mask-composite border */
.liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.48) 0%,
    rgba(255, 255, 255, 0.12) 26%,
    transparent 50%,
    rgba(255, 255, 255, 0.12) 74%,
    rgba(255, 255, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.eq-btn-jade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: var(--accent);
  color: #0C1210;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.eq-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ======================== FIXED HEADER + WELLNESS DROPDOWN ======================== */
.eq-header {
  position: fixed;
  top: 16px;
  inset-inline: 20px;
  z-index: 80;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eq-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.eq-ring-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--accent);
}

.eq-dock {
  border-radius: 9999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.eq-dock-item {
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.eq-dock-item:hover, .eq-dock-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}

.eq-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 60px;
  width: 190px;
  border-radius: 18px;
  padding: 8px;
  background: rgba(12, 18, 16, 0.94);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.eq-dropdown.open { display: flex; }
.eq-dropdown a {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13.5px;
}
.eq-dropdown a:hover { background: rgba(78, 188, 166, 0.18); color: var(--accent); }

/* ======================== 1. HERO (100vh GLASS ORB + BOTTOM-START STACK) ======================== */
.eq-hero {
  position: relative;
  min-height: 100dvh;
  padding: 110px 28px 64px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.eq-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eq-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,16,0.38) 0%, rgba(12,18,16,0.18) 42%, rgba(12,18,16,0.86) 86%, #0C1210 100%);
}

.eq-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.eq-h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.16;
  max-width: 680px;
  margin-bottom: 18px;
}

/* ======================== SECTIONS & ROUTES ======================== */
.eq-route { display: none; }
.eq-route.active { display: block; }

.eq-sec {
  padding: 86px 28px;
  border-top: 1px solid var(--line);
}

.eq-sec-surface { background: var(--surface); }
.eq-container { max-width: 1160px; margin: 0 auto; }

.eq-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}

.eq-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 10px;
}

/* 2. Wellness 3-Column Cards */
.eq-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.eq-card {
  border-radius: 18px;
  padding: 26px;
}

.eq-icon-well {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-well);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}

/* 3. Routine 2-Column Split + 4 Schedule Rows */
.eq-routine-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.eq-sched-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eq-sched-row {
  border-radius: 18px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 16px;
}

.eq-time {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 12px;
}

/* 4. Our Team 2x2 Practitioner Grid */
.eq-team-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.eq-member {
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.eq-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(78, 188, 166, 0.35), rgba(6, 78, 59, 0.55));
  color: var(--fg);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.eq-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--fg);
}

.eq-footer {
  border-top: 1px solid var(--line);
  padding: 36px 28px;
}

.eq-showcase-nav {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

@media (max-width: 720px) {
  .eq-dock { display: none; }
  .eq-cards-3,
  .eq-routine-split,
  .eq-team-2x2 {
    grid-template-columns: 1fr;
  }
}
