/* «نادي نموذج الرياضي» Namoothaj Gym: a SAMPLE design by Khalesni, for a made-up gym.
   It has its own palette (graphite and volt lime, with lilac for the ladies' hours) and its own fonts
   (Changa for headings, Tajawal for text) on purpose, to show a style that is different from Khalesni's
   own site and from the café sample. Khalesni's colours appear only in the sample banner and the demo
   note, because those are Khalesni speaking.
   The idea: the timetable on the gym wall. Big times, ruled rows, a thick volt bar over each day, numbered
   sections like a printed programme. Flat colour, no glow, nothing spinning.
   Type scale: 14 / 17 / 22 / 32–56 / 46–90 px. Spacing runs on a 4 px grid.
   Contrast (WCAG), checked 28 Oct 2026: snow on ink 18:1; mist on graphite 7.5:1; volt on ink 15.3:1;
   ink on volt 15.3:1; ink on heat 6.9:1; lilac on graphite 9.6:1; slate on chalk 6.7:1;
   volt-ink on chalk 7.3:1; violet on white 6.7:1; white on violet 6.7:1. */

:root {
  --ink: #0A0C0F;
  --night: #101419;
  --graphite: #171C22;
  --steel: #2A323B;
  --rule: rgba(244, 246, 241, 0.12);
  --rule-ink: rgba(10, 12, 15, 0.14);
  --mist: #A3ADB7;
  --snow: #F4F6F1;
  --chalk: #EEF1E9;
  --slate: #4B545E;
  --volt: #C6F432;
  --volt-hi: #D7FF5A;
  --volt-ink: #3A5600;
  --heat: #FF6B3D;
  --lilac: #C9B8FF;
  --violet: #5B3FD6;
  --violet-hi: #4A31B8;
  --k-ink: #06323A;   /* Khalesni: sample banner, demo note and demo window only */
  --k-teal: #0E6670;
  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", "Geeza Pro", Tahoma, Arial, sans-serif;
  --display: "Changa", "Tajawal", "Geeza Pro", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: var(--volt);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--snow);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--display); font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.25em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  padding: 0.75rem 1rem; border-radius: 4px; background: var(--volt); color: var(--ink);
  font-weight: 800; text-decoration: none; --focus: var(--snow);
}
.skip-link:focus { top: 1rem; }

/* ---------- Sample banner (Khalesni's note) ---------- */
.sample-banner { background: var(--k-ink); color: #fff; font-size: 0.875rem; --focus: #fff; }
.banner-inner { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.5rem; }
.banner-inner img { flex: none; width: 32px; height: 32px; padding: 4px; border-radius: 8px; background: #fff; }
.banner-inner p { flex: 1; margin: 0; line-height: 1.5; }
.banner-inner p span { display: block; font-size: 0.875em; opacity: 0.88; }
.banner-inner a {
  flex: none;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}
.banner-inner a:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header: solid ink, one hairline ---------- */
.gym-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.gym-logo { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; margin-inline-end: auto; color: var(--snow); text-decoration: none; }
.logo-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--volt); color: var(--ink); rotate: -6deg; }
.logo-mark svg { width: 26px; height: 26px; rotate: 6deg; }
.logo-text { min-width: 0; }
.logo-text b { display: block; font-family: var(--display); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.logo-text small { display: block; margin-top: 0.25rem; color: var(--mist); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; line-height: 1.2; }
@media (min-width: 480px) { .logo-text b { font-size: 1.125rem; } }
.gym-header nav ul { display: flex; gap: 0.25rem; }
.gym-header nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.75rem;
  color: #D5DBE0; font-weight: 700; font-size: 1rem; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; transition: text-decoration-color 0.25s var(--ease), color 0.25s var(--ease);
}
.gym-header nav a:hover { color: #fff; text-decoration-color: var(--volt); }
@media (max-width: 919px) { .gym-header nav { display: none; } }
@media (max-width: 419px) { .hide-xs { display: none; } }

/* ---------- Buttons: square-shouldered, like the plates on the rack ---------- */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.g-btn svg { flex: none; }
.g-btn-volt { background: var(--volt); color: var(--ink); }
.g-btn-volt:hover { background: var(--volt-hi); color: var(--ink); }
.g-btn-ghost { border-color: rgba(244, 246, 241, 0.3); color: var(--snow); }
.g-btn-ghost:hover { border-color: var(--snow); background: rgba(244, 246, 241, 0.08); color: var(--snow); }
.g-btn-ink { background: var(--ink); color: var(--volt); }
.g-btn-ink:hover { background: #1D232A; color: var(--volt); }
.g-btn-line { border-color: rgba(10, 12, 15, 0.55); color: var(--ink); }
.g-btn-line:hover { border-color: var(--ink); background: rgba(10, 12, 15, 0.07); color: var(--ink); }
.g-btn-violet { background: var(--violet); color: #fff; }
.g-btn-violet:hover { background: var(--violet-hi); color: #fff; }
.g-btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.g-btn-block { width: 100%; }
.g-btn:active { transform: translateY(1px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .g-btn:hover { transform: translateY(-1px); } }

/* ---------- Hero ---------- */
.gym-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem);
  background: var(--ink);
}
/* The one big word, set solid in a tone just above the ground */
.hero-word {
  position: absolute;
  z-index: -1;
  bottom: -0.2em;
  inset-inline-end: -0.04em;
  font-family: var(--display);
  font-size: clamp(9rem, 34vw, 24rem);
  font-weight: 800;
  line-height: 1;
  color: #12161B;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; } }
.kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; max-width: 34rem; margin-bottom: 1.5rem;
  color: var(--volt); font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.6;
}
.kicker::after { content: ""; flex: 1; min-width: 2rem; height: 2px; background: var(--volt); }
.kicker [lang="en"] { color: var(--mist); font-family: var(--font); font-weight: 500; }
.gym-hero h1 { margin-bottom: 0.25em; color: #fff; font-size: clamp(2.875rem, 1.5rem + 6.4vw, 5.75rem); font-weight: 800; line-height: 1.15; }
.hl { display: inline-block; padding: 0 0.2em 0.04em; background: var(--volt); color: var(--ink); rotate: -3deg; }
.en-line { margin-bottom: 1.5rem; color: var(--volt); font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.hero-lead { max-width: 33rem; color: rgba(244, 246, 241, 0.88); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 520px) { .hero-actions { display: grid; } }

.hero-art { width: min(100%, 440px); margin-inline: auto; }
@media (min-width: 960px) { .hero-art { width: 100%; max-width: 480px; margin-inline: 0; } }
.art-svg { width: 100%; height: auto; }
/* The three facts under the kettlebell, ruled like the foot of a timetable */
.art-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--volt); }
.art-chips li { display: grid; gap: 0.25rem; padding: 0.75rem 0.75rem 0; border-inline-start: 1px solid var(--rule); line-height: 1.3; }
.art-chips li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.art-chips .ic { color: var(--volt); }
.art-chips .chip-3 .ic { color: var(--lilac); }
.art-chips b { display: block; color: #fff; font-family: var(--display); font-size: 1.125rem; font-weight: 700; }
.art-chips small { display: block; color: var(--mist); font-size: 0.8125rem; font-weight: 500; }
@media (max-width: 379px) { .art-chips { grid-template-columns: 1fr; } .art-chips li { padding-inline: 0; border-inline-start: 0; border-bottom: 1px solid var(--rule); padding-bottom: 0.75rem; } }

/* ---------- Class strip: still, cut by the screen edge like tape ---------- */
.ticker { overflow: hidden; background: var(--volt); color: var(--ink); }
.ticker-track { display: flex; width: max-content; }
.ticker-group {
  display: flex; align-items: center; gap: 1.5rem; padding-block: 0.75rem; padding-inline: 1rem 1.5rem;
  font-family: var(--display); font-size: 1.125rem; font-weight: 800; line-height: 1.4; white-space: nowrap;
}
.ticker-group i { flex: none; width: 8px; height: 8px; background: var(--ink); rotate: 45deg; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
/* Numbered captions, like a printed programme */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
  color: var(--volt); font-family: var(--display); font-size: 1rem; font-weight: 700;
}
.eyebrow .num { min-width: 2.5rem; padding-bottom: 0.125rem; border-bottom: 2px solid currentColor; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.sec-head h2 { margin-bottom: 0.25em; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.2; }
h2 [lang="en"], h3 [lang="en"] { font-family: var(--font); font-weight: 700; color: var(--mist); }
h2 [lang="en"] { display: block; margin-top: 0.25em; font-size: 0.36em; }
h3 [lang="en"] { margin-inline-start: 0.5em; font-size: 0.55em; }
.sec-lead { color: rgba(244, 246, 241, 0.84); font-size: 1.125rem; }
.example-note {
  display: inline-flex; flex-direction: column; align-items: flex-start; margin: 0; padding-inline-start: 0.75rem;
  border-inline-start: 3px solid var(--volt); color: #DCE3D0; font-size: 0.875rem; line-height: 1.6;
}
.example-note strong { font-weight: 700; }
.example-note span { color: var(--mist); }

.light { background: var(--chalk); color: var(--ink); --focus: var(--ink); }
.light .eyebrow { color: var(--volt-ink); }
.light h2 [lang="en"], .light h3 [lang="en"] { color: var(--slate); }
.light .sec-lead { color: var(--slate); }
.light .example-note { border-color: var(--volt-ink); color: var(--ink); }
.light .example-note span { color: var(--slate); }

/* ---------- Schedule: the timetable ---------- */
.sched { background: var(--night); }
.sched-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .sched-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
  .trial { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
}
.filter { margin-bottom: 1.5rem; }
.filter-hint { margin-bottom: 0.75rem; color: var(--mist); font-size: 0.875rem; }
.day-btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 640px) { .day-btns { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.day-btns button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.5rem 0.25rem;
  border: 0;
  border-radius: 2px;
  background: var(--graphite);
  color: var(--snow);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.day-btns button small { margin-top: 0.125rem; color: var(--mist); font-family: var(--font); font-size: 0.75rem; font-weight: 500; }
.day-btns button:hover { background: var(--steel); }
.day-btns button[aria-pressed="true"] { background: var(--volt); color: var(--ink); }
.day-btns button[aria-pressed="true"] small { color: rgba(10, 12, 15, 0.78); }
.today-tag {
  position: absolute; top: -0.5rem; left: 50%; translate: -50% 0;
  padding: 0 0.5rem; background: var(--heat); color: var(--ink);
  font-family: var(--font); font-size: 0.6875rem; font-weight: 800; line-height: 1.55; white-space: nowrap;
}
.day-today {
  align-self: center; padding: 0 0.5rem; background: var(--heat); color: var(--ink);
  font-family: var(--font); font-size: 0.75rem; font-weight: 800; line-height: 1.7;
}

.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; color: var(--mist); font-size: 0.875rem; font-weight: 500; }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend .tag-ladies { margin: 0; }
.coach-note {
  width: fit-content; max-width: 100%; margin: 0 0 2rem; padding: 0.25rem 0.75rem;
  background: var(--snow); color: var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.5;
  rotate: -1.5deg; transform-origin: right;
}

.day + .day { margin-top: 2.5rem; }
.day-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0;
  padding-top: 0.75rem; border-top: 6px solid var(--volt); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 800;
}
.day-title [lang="en"] { margin: 0; }
.class-list { display: grid; }

.class-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.25s var(--ease);
}
@media (min-width: 480px) { .class-card { grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1.25rem; padding-block: 1.25rem; } }
.cc-time { margin: 0; line-height: 1; white-space: nowrap; }
.cc-time b { display: block; color: var(--volt); font-family: var(--display); font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (min-width: 480px) { .cc-time b { font-size: 2.25rem; } }
.cc-time small { display: block; margin-top: 0.375rem; color: var(--mist); font-size: 0.8125rem; font-weight: 700; }
.class-card[data-ladies] .cc-time b { color: var(--lilac); }
.cc-body { min-width: 0; }
.cc-body h4 { margin: 0; font-size: 1.25rem; line-height: 1.35; }
.cc-body h4 [lang="en"] { margin-inline-start: 0.5em; color: var(--mist); font-family: var(--font); font-size: 0.65em; font-weight: 700; }
.cc-meta { margin: 0.25rem 0 0; color: var(--mist); font-size: 0.875rem; line-height: 1.55; }
.cc-level { display: flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0; color: #C9D1D8; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
.bars { display: inline-flex; gap: 3px; }
.bars i { width: 12px; height: 6px; background: var(--steel); }
[data-level="1"] .bars i:nth-child(1),
[data-level="2"] .bars i:nth-child(-n+2) { background: var(--volt); }
[data-level="3"] .bars i { background: var(--heat); }
.tag-ladies {
  display: inline-block; margin-inline-end: 0.5rem; padding: 0 0.5rem;
  background: rgba(201, 184, 255, 0.16); color: var(--lilac); font-size: 0.75rem; font-weight: 800; line-height: 1.65;
}

/* «اختر» buttons (added by gym.js) */
.pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 60px;
  min-height: 44px;
  padding: 0.25rem 0.75rem;
  border: 1.5px solid rgba(198, 244, 50, 0.6);
  border-radius: 2px;
  background: transparent;
  color: var(--volt);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pick svg { flex: none; width: 16px; height: 16px; }
@media (min-width: 480px) { .pick svg { width: 18px; height: 18px; } }
.pick:hover { border-color: var(--volt); background: rgba(198, 244, 50, 0.08); }
.pick .i-check { display: none; }
.pick[aria-pressed="true"] { border-color: var(--volt); background: var(--volt); color: var(--ink); }
.pick[aria-pressed="true"] .i-plus { display: none; }
.pick[aria-pressed="true"] .i-check { display: block; }
.class-card.is-picked { background: rgba(198, 244, 50, 0.07); border-bottom-color: var(--volt); }

/* Free trial booking card */
.trial {
  position: relative;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-top: 6px solid var(--volt);
  background: var(--graphite);
}
.trial-badge {
  display: inline-flex; align-items: baseline; gap: 0.5rem; margin: 0 0 0.5rem;
  color: var(--volt); font-family: var(--display); font-size: 1.25rem; font-weight: 800; line-height: 1.4;
}
.trial-badge [lang="en"] { font-family: var(--font); font-size: 0.7em; font-weight: 700; color: var(--mist); }
.trial h3 { margin-bottom: 1rem; font-size: 1.5rem; font-weight: 800; }
.trial h3 [lang="en"] { display: block; margin: 0.25rem 0 0; font-size: 0.55em; }
.trial-text { color: rgba(244, 246, 241, 0.86); }
.field { min-width: 0; margin: 0 0 1rem; padding: 0; border: 0; }
.field > label, .field > legend { display: block; margin-bottom: 0.5rem; padding: 0; font-size: 0.9375rem; font-weight: 700; line-height: 1.5; }
.field > label span, .field > legend span { color: var(--mist); font-weight: 500; }
.field select, .field input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--steel);
  border-radius: 2px;
  background-color: var(--ink);
  color: var(--snow);
  font-size: 1rem;
  line-height: 1.4;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3ADB7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 16px;
  cursor: pointer;
}
.field input::placeholder { color: #8D97A1; opacity: 1; }
.field select:hover, .field input[type="text"]:hover { border-color: #46515D; }
.field select:focus-visible, .field input[type="text"]:focus-visible { border-color: var(--volt); outline-offset: 1px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  border: 1.5px solid var(--steel); border-radius: 2px; background: var(--ink);
  font-size: 0.9375rem; font-weight: 700; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.seg input:hover + span { border-color: #46515D; }
.seg input:checked + span { border-color: var(--volt); background: var(--volt); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.wa-preview { margin: 0.25rem 0 1rem; padding: 0.75rem; border-radius: 4px; background-color: #0B141A; }
.wa-preview-label { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; color: var(--mist); font-size: 0.8125rem; font-weight: 700; }
.bubble {
  width: fit-content;
  max-width: 94%;
  margin-inline-start: auto;
  padding: 0.5rem 0.75rem 0.25rem;
  border-radius: 12px;
  border-start-end-radius: 4px;
  background: #005C4B;
  color: #E9EDEF;
}
.bubble p { margin: 0; font-size: 0.9375rem; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.bubble-meta { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; margin-top: 0.125rem; color: #C5D3CF; font-size: 0.75rem; }
.bubble-meta svg { color: #53BDEB; }
.trial-note { margin: 0.75rem 0 0; color: var(--mist); font-size: 0.875rem; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; gap: 2rem; }
@media (min-width: 880px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.5rem; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 6px solid var(--ink);
  background: #fff;
}
.plan h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.125rem 0.5rem; margin-bottom: 0.25rem; font-size: 1.75rem; font-weight: 800; }
.plan h3 [lang="en"] { margin: 0; }
.plan-for { margin-bottom: 1rem; color: var(--slate); font-size: 0.9375rem; }
.plan-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem;
  margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule-ink);
}
.plan-price .amount { font-family: var(--display); font-size: 3.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-size: 1.125rem; font-weight: 800; }
.plan-price .per { color: var(--slate); font-size: 0.9375rem; }
.plan-price em { color: var(--slate); font-size: 0.75rem; font-style: normal; font-weight: 800; }
.plan-list { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.plan-list li, .ladies-list li { display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.55; }
.ck { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 0.125rem; color: var(--volt-ink); }
.ck svg { width: 18px; height: 18px; }
.plan .g-btn { margin-top: auto; }
.plan.is-featured { border-top-color: var(--volt); background: var(--ink); color: var(--snow); --focus: var(--volt); }
.plan.is-featured h3 [lang="en"], .plan.is-featured .plan-for, .plan.is-featured .per, .plan.is-featured .plan-price em { color: var(--mist); }
.plan.is-featured .plan-price { border-color: var(--rule); }
.plan.is-featured .ck { color: var(--volt); }
.plan-ribbon {
  position: absolute; top: -1.875rem; inset-inline-end: 0; margin: 0; padding: 0.125rem 0.75rem;
  background: var(--volt); color: var(--ink);
  font-family: var(--display); font-size: 0.875rem; font-weight: 800; line-height: 1.7;
}
.plan-ribbon [lang="en"] { font-family: var(--font); font-size: 0.85em; font-weight: 700; color: rgba(10, 12, 15, 0.75); }
@media (max-width: 879px) { .plan.is-featured { margin-top: 1.5rem; } }
.plans-foot { margin: 2rem 0 0; color: var(--slate); font-size: 0.9375rem; }
/* The English line starts on its own line, on the same side as the Arabic, instead of breaking across an RTL line */
p.small-note > [lang="en"], p.plans-foot > [lang="en"] { display: block; text-align: match-parent; }

/* ---------- Trainers ---------- */
.trainers { background: var(--ink); }
.trainer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 900px) { .trainer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
/* Each trainer: the first letter of the name in a circle, in the gym's colours (no photos in the sample) */
.avatar {
  display: grid; place-items: center; width: min(100%, 132px); aspect-ratio: 1; border: 2px solid var(--volt); border-radius: 50%;
  background: var(--graphite); color: var(--volt); font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1;
}
.trainer.is-ladies .avatar { border-color: var(--lilac); color: var(--lilac); }
.trainer h3 { margin: 1rem 0 0.125rem; padding-top: 0.75rem; border-top: 2px solid var(--volt); font-size: 1.125rem; }
.trainer.is-ladies h3 { border-top-color: var(--lilac); }
.trainer-role { margin: 0 0 0.25rem; color: var(--mist); font-size: 0.875rem; line-height: 1.45; }
.t-chips { display: flex; flex-wrap: wrap; color: var(--volt); font-size: 0.8125rem; font-weight: 700; line-height: 1.6; }
.t-chips li + li::before { content: "·"; margin-inline: 0.375rem; color: var(--mist); }
.trainer.is-ladies .t-chips { color: var(--lilac); }

/* ---------- Hours and location ---------- */
.visit-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "hours map" "ladies map"; align-items: start; gap: 1.5rem 3rem; }
  .v-hours { grid-area: hours; }
  .v-ladies { grid-area: ladies; }
  .v-map { grid-area: map; }
}
.v-card { padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); background: #fff; }
.v-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin-bottom: 0.75rem; font-size: 1.5rem; font-weight: 800; }
.v-card h3 [lang="en"] { margin: 0; }
.v-card h3 svg { flex: none; color: var(--volt-ink); }
.v-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.5rem; }
.v-head h3 { margin: 0; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.875rem; font-weight: 800; line-height: 1.7; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status[data-state="open"] { color: var(--volt-ink); }
.status[data-state="ladies"] { color: var(--violet); }
.status[data-state="closed"] { color: #A63A12; }
.hours { border-top: 2px solid var(--ink); }
.hours div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-ink); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-family: var(--display); font-weight: 700; text-align: end; }
.hours .is-today { background: rgba(198, 244, 50, 0.3); padding-inline: 0.5rem; }
.today-chip {
  display: inline-block; margin-inline-start: 0.5rem; padding: 0 0.5rem;
  background: var(--ink); color: var(--volt); font-size: 0.75rem; font-weight: 800; line-height: 1.7; vertical-align: 0.1em;
}
.hours-note { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.6; }
.hours-note svg { flex: none; margin-top: 0.125rem; color: var(--violet); }
.small-note { margin: 1rem 0 0; color: var(--slate); font-size: 0.875rem; }

.v-ladies { border-top: 6px solid var(--violet); background: #F5F1FF; }
.v-ladies h3 { color: var(--violet); }
.v-ladies h3 [lang="en"] { color: #6B5BA8; }
.ladies-time { display: grid; gap: 0.125rem; margin: 0 0 1rem; }
.ladies-time b { font-family: var(--display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1.25; }
.ladies-time span { color: var(--slate); font-weight: 700; }
.ladies-list { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.ladies-list .ck { color: var(--violet); }

.v-map { background: var(--ink); color: var(--snow); --focus: var(--volt); }
.v-map h3 svg { color: var(--volt); }
.v-map h3 [lang="en"] { color: var(--mist); }
.map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1rem; border-radius: 2px; background: #141920; }
.map svg { width: 100%; height: 100%; }
.map-tag { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; padding: 0.125rem 0.5rem; background: var(--ink); color: var(--snow); font-size: 0.75rem; font-weight: 700; }
.listing-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.listing-name { margin: 0; line-height: 1.5; }
.listing-name b { display: block; font-family: var(--display); font-size: 1.25rem; }
.listing-name span { color: var(--mist); font-size: 0.875rem; }
.v-map .status[data-state="open"] { color: var(--volt); }
.v-map .status[data-state="ladies"] { color: var(--lilac); }
.v-map .status[data-state="closed"] { color: #FF9A73; }
.address { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0.75rem 0; }
.v-map .small-note { margin: 0; color: var(--mist); }
.amenities { display: flex; flex-wrap: wrap; margin-bottom: 1.25rem; color: #D3D9DE; font-size: 0.875rem; font-weight: 700; }
.amenities li + li::before { content: "·"; margin-inline: 0.5rem; color: var(--mist); }
@media (max-width: 520px) { .v-map .g-btn, .v-ladies .g-btn { width: 100%; } }

/* ---------- Instagram ---------- */
.insta { background: var(--night); }
.ig-wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .ig-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; } }
.ig-copy h2 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); font-weight: 800; }
.ig-profile { display: flex; align-items: center; gap: 1rem; margin: 0.25rem 0 0.75rem; }
.ig-avatar { flex: none; display: grid; place-items: center; width: 68px; height: 68px; padding: 3px; border: 2px solid var(--volt); border-radius: 50%; }
.ig-avatar > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--volt); color: var(--ink); }
.ig-handle { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin: 0; font-size: 1.0625rem; font-weight: 800; line-height: 1.5; }
.ig-handle small { color: var(--mist); font-size: 0.75rem; font-weight: 700; line-height: 1.7; }
.ig-name { margin: 0; color: var(--mist); font-size: 0.9375rem; }
.ig-bio { margin-bottom: 1.5rem; color: rgba(244, 246, 241, 0.88); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ig-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1;
  padding: 0.5rem 0.75rem;
  color: #fff;
}
.ig-tile b { font-family: var(--display); font-size: clamp(0.875rem, 0.7rem + 1vw, 1.375rem); font-weight: 800; line-height: 1.2; }
.ig-tile .cap { margin-top: 0.25rem; font-size: clamp(0.6875rem, 0.62rem + 0.35vw, 0.875rem); font-weight: 700; line-height: 1.3; }
.ig-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
/* On small tiles (phones, small laptops) the titles wrap to two lines and ran into the bright kettlebell
   and bolt, so those two drawings shrink into the top of the tile there. The tile is the container
   (its content box: about 87px on a phone, 174px on a wide screen, where the full-size drawings fit). */
.ig-tile { container-type: inline-size; }
@container (max-width: 160px) {
  .t2 .ig-art, .t6 .ig-art { transform: scale(0.52); transform-origin: 50% 0; }
}
.ig-type { position: absolute; top: 0.5rem; inset-inline-end: 0.5rem; width: 18px; height: 18px; color: #fff; }
.t1 { background: var(--volt); color: var(--ink); }
.t2 { background: var(--graphite); }
.t3 { background: var(--lilac); color: #1B1340; }
.t4 { background: var(--snow); color: var(--ink); }
.t4 .ig-type { color: var(--ink); }
.t5 { background: var(--heat); color: var(--ink); }
.t5 .ig-type { color: var(--ink); }
.t6 { background: var(--ink); color: var(--volt); box-shadow: inset 0 0 0 1px var(--steel); }

/* ---------- Call to action band ---------- */
.cta-band { padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); background: var(--volt); color: var(--ink); --focus: var(--ink); }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.cta-band h2 { margin-bottom: 0.25em; font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); font-weight: 800; line-height: 1.2; }
.cta-band h2 [lang="en"] { color: rgba(10, 12, 15, 0.72); }
.cta-band p { margin: 0; color: rgba(10, 12, 15, 0.88); font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 520px) { .cta-actions { display: grid; } }

/* ---------- Demo note (Khalesni's note) ---------- */
.demo-note { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); background: var(--chalk); color: var(--k-ink); --focus: var(--k-ink); }
.demo-card {
  display: flex; align-items: flex-start; gap: 1rem; max-width: 54rem; margin-inline: auto;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 2px dashed rgba(6, 50, 58, 0.25); border-radius: 16px; background: #fff; color: var(--k-ink);
}
.demo-card img { flex: none; width: 44px; height: 44px; }
.demo-card h2 { font-family: var(--font); font-size: 1.25rem; font-weight: 800; color: var(--k-ink); }
.demo-card h2 [lang="en"] { display: block; margin-top: 0.25em; color: #46636A; font-size: 0.75em; font-weight: 600; }
.demo-card p { color: #46636A; }
.demo-en { font-size: 0.9375rem; }
.demo-card .demo-list-title { margin-bottom: 0.5rem; color: var(--k-ink); font-weight: 800; }
.demo-list { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.demo-list li { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--k-ink); font-weight: 500; line-height: 1.6; }
.demo-list svg { flex: none; margin-top: 0.125rem; color: var(--k-teal); }
.k-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--k-teal); border-radius: 999px; background: var(--k-teal); color: #fff;
  font-family: var(--font); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer;
}
.k-btn:hover { border-color: #0A4F57; background: #0A4F57; color: #fff; }
.k-btn .k-nw { white-space: nowrap; }
.k-btn-line { background: transparent; color: var(--k-teal); }
.k-btn-line:hover { border-color: var(--k-teal); background: rgba(14, 102, 112, 0.08); color: var(--k-ink); }
@media (max-width: 520px) { .demo-card { flex-direction: column; } }

/* ---------- Footer ---------- */
.gym-footer { padding-block: 2rem; border-top: 1px solid var(--rule); background: var(--ink); color: rgba(244, 246, 241, 0.84); font-size: 0.875rem; }
.footer-row { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 820px) { .footer-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }
.gym-footer p { margin: 0; }
.gym-footer p > span { display: block; margin-top: 0.25rem; opacity: 0.9; }
.gym-footer a { color: var(--volt); }
.credit a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.25rem 1rem;
  border: 1px solid rgba(198, 244, 50, 0.4); border-radius: 2px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.credit a:hover { background: rgba(198, 244, 50, 0.1); }
@media (max-width: 1023px) { .gym-footer { padding-bottom: 7rem; } }

/* ---------- Booking bar on phones (gym.js hides it while another booking button is on screen) ---------- */
.trial-bar {
  position: fixed;
  z-index: 50;
  inset-inline: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding: 0.5rem;
  padding-inline-end: 0.75rem;
  border-radius: 4px;
  background: var(--volt);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s;
}
.trial-bar:focus-visible { outline: 3px solid var(--ink); outline-offset: -7px; }
.tb-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; background: var(--ink); color: var(--volt); }
.tb-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.tb-text b { font-family: var(--display); font-size: 1rem; font-weight: 800; }
.tb-text small { overflow: hidden; color: rgba(10, 12, 15, 0.8); font-size: 0.8125rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tb-chev { flex: none; }
.trial-bar.is-hidden { transform: translateY(150%); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s 0.35s; }
@media (min-width: 1024px) { .trial-bar { display: none; } }


/* ---------- Motion (only when the visitor allows it): feedback, never decoration ---------- */
@media (prefers-reduced-motion: no-preference) {
  .day.is-entering .class-card { animation: rise 0.45s var(--ease) both; }
  .day.is-entering .class-card:nth-child(2) { animation-delay: 0.05s; }
  .day.is-entering .class-card:nth-child(3) { animation-delay: 0.1s; }
  .trial-bar.is-bumped { animation: bump 0.6s var(--ease); }
}
@keyframes rise { from { opacity: 0; translate: 0 8px; } }
@keyframes bump { 30% { transform: scale(1.03); } 60% { transform: scale(0.99); } }

/* Scroll reveal (only when ../script.js runs and motion is allowed): a short rise, once */
.reveal-ready [data-reveal] { transition: opacity 0.6s var(--ease) var(--rd, 0s), translate 0.6s var(--ease) var(--rd, 0s); }
.reveal-ready [data-reveal]:not(.is-in) { opacity: 0; translate: 0 16px; }
[data-reveal="1"] { --rd: 0.06s; }
[data-reveal="2"] { --rd: 0.12s; }
[data-reveal="3"] { --rd: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready [data-reveal] { opacity: 1 !important; translate: none !important; }
}
@media print {
  .reveal-ready [data-reveal] { opacity: 1 !important; translate: none !important; }
  .trial-bar, .ticker { display: none !important; }
  .gym-header { position: static; }
}
