:root {
  --ink: #101010;
  --ink-soft: #383838;
  --paper: #f7f5f0;
  --paper-deep: #ebe6dc;
  --white: #ffffff;
  --line: rgba(16, 16, 16, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);
  --red: #b41221;
  --red-dark: #7d0b14;
  --blue: #1752a4;
  --gold: #c5a35a;
  --green: #667d5d;
  --shadow: 0 24px 60px rgba(16, 16, 16, 0.16);
  --radius: 8px;
  --max: 1180px;
  --header-height: 104px;
  --font-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-anchor-scrolling {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

html[lang^="ar"] body {
  font-family: var(--font-ar);
}

html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3 {
  line-height: 1.14;
}

body.menu-open {
  overflow: hidden;
}

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

svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: 0 0 auto;
}

.whatsapp-logo {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  flex: 0 0 auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(180, 18, 33, 0.22);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(13, 13, 13, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 10px 0 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.topbar a,
.nav-links a,
.link-muted,
.footer-links a {
  transition: color 160ms ease;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar a:hover,
.nav-links a:hover,
.link-muted:hover,
.footer-links a:hover {
  color: var(--gold);
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(100% - 32px, var(--max));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #000;
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  text-transform: uppercase;
  font-size: 0.98rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.mobile-language-link {
  display: none;
}

.link-muted {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
}

.language-link:hover {
  border-color: rgba(197, 163, 90, 0.55);
  background: rgba(197, 163, 90, 0.12);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(197, 163, 90, 0.55);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.button-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.button-primary:hover {
  background: #cf1729;
  border-color: #cf1729;
}

.button-whatsapp {
  background: #128c55;
  color: var(--white);
  border-color: #128c55;
}

.button-whatsapp:hover {
  background: #0f7a49;
  border-color: #0f7a49;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.62);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(660px, 86vh, 820px);
  padding: calc(var(--header-height) + 60px) 0 40px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 44%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 45%),
    url("assets/hero-training.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 44%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 45%),
    image-set(
      url("assets/hero-training-1600.webp") type("image/webp"),
      url("assets/hero-training.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

html[lang^="ar"] .hero {
  background-position: 43% center;
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding-bottom: 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.section-red .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin-top: 20px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-badges span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
}

[dir="rtl"] .hero-badges span::before {
  margin-right: 0;
  margin-left: 8px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel div {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.proof-band {
  background:
    linear-gradient(rgba(16, 16, 16, 0.96), rgba(16, 16, 16, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px),
    var(--ink);
  color: var(--white);
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.proof-grid article {
  min-height: 190px;
  padding: 34px 32px;
  border-right: 1px solid var(--line-dark);
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid h2 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.proof-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--gold);
  background: rgba(197, 163, 90, 0.12);
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, rgba(23, 82, 164, 0.16), rgba(180, 18, 33, 0.12)),
    #111111;
  color: var(--white);
}

.section-red {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, rgba(125, 11, 20, 0.94), rgba(16, 16, 16, 0.96)),
    var(--red-dark);
  color: var(--white);
}

.section-contact {
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.92), rgba(235, 230, 220, 0.96)),
    url("assets/gallery-01.jpg") center / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.92), rgba(235, 230, 220, 0.96)),
    image-set(
      url("assets/gallery-01-1439.webp") type("image/webp"),
      url("assets/gallery-01.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.section-seo {
  background: var(--paper-deep);
}

.section-divider {
  min-height: 300px;
  display: grid;
  align-items: end;
  padding: 42px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2)),
    url("assets/gallery-01.jpg") center 42% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2)),
    image-set(
      url("assets/gallery-01-1439.webp") type("image/webp"),
      url("assets/gallery-01.jpg") type("image/jpeg")
    ) center 42% / cover no-repeat;
}

.divider-content p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 950;
  line-height: 0.98;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p,
.section-copy > p,
.contact-copy > p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-dark .section-heading p,
.section-red .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.program-card {
  display: grid;
  grid-template-rows: minmax(320px, 420px) auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.program-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.program-card:nth-child(1) img {
  object-position: 54% 46%;
}

.program-card:nth-child(2) img {
  object-position: 50% 36%;
}

.program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 18, 33, 0.28);
  box-shadow: 0 26px 54px rgba(16, 16, 16, 0.12);
}

.program-card:hover img {
  transform: scale(1.025);
}

.program-card-body {
  padding: 28px;
}

.program-meta {
  margin-bottom: 10px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.program-card p:not(.program-meta),
.program-card li,
.value-list p,
.faq-list p,
.form-note,
.form-heading p {
  color: var(--ink-soft);
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 22px;
}

.program-card li::before {
  content: "";
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.section-kids {
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.92), rgba(235, 230, 220, 0.86)),
    var(--paper-deep);
}

.kids-parent-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.kids-parent-copy > p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.kids-parent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.kids-parent-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 38px rgba(16, 16, 16, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.kids-parent-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 18, 33, 0.24);
  background: rgba(255, 255, 255, 0.92);
}

.kids-parent-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(180, 18, 33, 0.2);
  border-radius: 8px;
  background: rgba(180, 18, 33, 0.08);
  color: var(--red);
}

.kids-parent-grid article:nth-child(2n) .kids-parent-icon {
  border-color: rgba(23, 82, 164, 0.2);
  background: rgba(23, 82, 164, 0.08);
  color: var(--blue);
}

.kids-parent-grid article:nth-child(3n) .kids-parent-icon {
  border-color: rgba(102, 125, 93, 0.24);
  background: rgba(102, 125, 93, 0.1);
  color: var(--green);
}

.kids-parent-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.kids-parent-grid h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.kids-parent-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.46;
}

.kids-parent-actions {
  margin-top: 24px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(560px, 1.36fr);
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.schedule-embed-card {
  min-width: 0;
  min-height: 620px;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.gymdesk-schedule {
  min-height: 580px;
}

.gymdesk-schedule iframe {
  display: block;
  width: 100%;
  min-height: 580px;
  border: 0;
}

.schedule-noscript {
  margin: 0;
  color: var(--ink-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 74px);
}

.image-stack {
  display: grid;
  gap: 12px;
}

.image-main,
.image-pair img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 220ms ease, filter 220ms ease;
}

.image-main {
  aspect-ratio: 16 / 10;
  object-position: 50% 48%;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.image-pair img {
  aspect-ratio: 1 / 0.82;
}

.image-pair img:first-child {
  object-position: 50% 42%;
}

.image-pair img:last-child {
  object-position: 55% 45%;
}

.image-stack {
  overflow: hidden;
}

.image-stack img:hover {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.012);
}

.value-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.value-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.value-list p {
  margin-bottom: 0;
}

.academy-section {
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 1), rgba(235, 230, 220, 0.74)),
    var(--paper);
}

.academy-showcase {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.academy-header {
  display: grid;
  gap: 0;
}

.academy-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding: 0 0 clamp(6px, 1vw, 12px);
}

.academy-copy h2 {
  max-width: 610px;
  grid-column: 1;
}

.academy-copy > p {
  max-width: 620px;
  grid-column: 1;
}

.academy-copy .eyebrow {
  grid-column: 1;
}

.academy-standards {
  display: grid;
  gap: 0;
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.academy-standards div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.academy-standards strong {
  color: var(--red);
  font-size: 0.82rem;
}

.academy-standards span {
  font-weight: 900;
}

.academy-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 134px;
  gap: 12px;
}

.academy-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 18px 38px rgba(16, 16, 16, 0.08);
  transition: transform 240ms ease, box-shadow 220ms ease;
}

.academy-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 220ms ease;
}

.academy-photo:nth-child(1) {
  grid-column: 1 / 9;
  grid-row: span 3;
}

.academy-photo:nth-child(1) img {
  object-position: 50% 48%;
}

.academy-photo:nth-child(2) {
  grid-column: 9 / 13;
  grid-row: span 2;
}

.academy-photo:nth-child(2) img {
  object-position: 45% 50%;
}

.academy-photo:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: span 1;
}

.academy-photo:nth-child(3) img {
  object-position: 42% 52%;
}

.academy-photo:nth-child(4) {
  grid-column: 1 / 7;
  grid-row: span 2;
}

.academy-photo:nth-child(4) img {
  object-position: 42% 48%;
}

.academy-photo:nth-child(5) {
  grid-column: 7 / 10;
  grid-row: span 1;
}

.academy-photo:nth-child(5) img {
  object-position: 50% 44%;
}

.academy-photo:nth-child(6) {
  grid-column: 10 / 13;
  grid-row: span 2;
}

.academy-photo:nth-child(6) img {
  object-position: 52% 48%;
}

.academy-photo:nth-child(7) {
  grid-column: 7 / 10;
  grid-row: span 1;
}

.academy-photo:nth-child(7) img {
  object-position: 54% 46%;
}

.academy-photo:nth-child(8) {
  grid-column: 1 / 13;
  grid-row: span 2;
}

.academy-photo:nth-child(8) img {
  object-position: 50% 54%;
}

.academy-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 54px rgba(16, 16, 16, 0.12);
}

.academy-photo:hover img {
  filter: saturate(1.07) contrast(1.03);
  transform: scale(1.025);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.seo-grid {
  display: grid;
  gap: 12px;
}

.seo-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.seo-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.reviews-layout {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.reviews-layout .section-heading {
  max-width: 860px;
  margin-bottom: 0;
}

.review-source {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 8px 0 0;
  padding: 7px 11px;
  border: 1px solid rgba(197, 163, 90, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(197, 163, 90, 0.1);
  font-size: 0.84rem;
  font-weight: 900;
}

.google-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.google-proof-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.google-proof-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 163, 90, 0.3);
  border-radius: 8px;
  background: rgba(197, 163, 90, 0.12);
  color: var(--gold);
  flex: 0 0 auto;
}

.google-proof-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.google-proof-label {
  margin: 0 0 4px;
  color: var(--white);
  font-weight: 900;
}

.google-proof-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
}

.google-proof .button {
  flex: 0 0 auto;
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(224px, auto);
  gap: 16px;
}

.testimonial {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  gap: 18px;
  min-height: 224px;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(197, 163, 90, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.16);
}

.testimonial-featured {
  grid-column: span 2;
  grid-row: span 2;
  gap: 28px;
  min-height: 464px;
  padding: clamp(30px, 4vw, 50px);
  background:
    radial-gradient(circle at top right, rgba(197, 163, 90, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.09);
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0));
}

.testimonial-meta {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.testimonial-featured .testimonial-meta {
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.reviewer-info {
  min-width: 0;
}

.reviewer-name {
  margin: 0 0 4px;
  color: var(--white);
  font-weight: 950;
  line-height: 1.1;
}

.rating {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(197, 163, 90, 0.32);
  border-radius: 999px;
  background: rgba(197, 163, 90, 0.1);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.82rem;
}

.reviewer-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid rgba(197, 163, 90, 0.42);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 950;
}

.testimonial-featured .reviewer-mark {
  width: 58px;
  height: 58px;
  font-size: 1.08rem;
}

.testimonial blockquote {
  align-self: start;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.02rem, 1.2vw, 1.24rem);
  line-height: 1.28;
}

.testimonial-featured blockquote {
  max-width: 780px;
  font-size: clamp(1.72rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.testimonial cite {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-style: normal;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
}

.review-toggle {
  display: none;
  justify-self: start;
  width: max-content;
}

.review-toggle-less,
.is-reviews-expanded .review-toggle-more {
  display: none;
}

.is-reviews-expanded .review-toggle-less {
  display: inline;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

details:hover {
  border-color: rgba(180, 18, 33, 0.24);
  background: rgba(255, 255, 255, 0.76);
  transform: translateY(-1px);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -4px 22px 22px;
}

.section-prep {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(235, 230, 220, 0.9)),
    repeating-linear-gradient(90deg, rgba(16, 16, 16, 0.045) 0 1px, transparent 1px 42px),
    var(--paper-deep);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.checklist-heading {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.checklist-heading .button {
  margin-top: 24px;
}

.first-class-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-class-checklist li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.first-class-checklist li:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 18, 33, 0.24);
  background: rgba(255, 255, 255, 0.92);
}

.checklist-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(180, 18, 33, 0.22);
  border-radius: 8px;
  background: rgba(180, 18, 33, 0.08);
  color: var(--red);
}

.first-class-checklist li:nth-child(2n) .checklist-icon {
  border-color: rgba(23, 82, 164, 0.22);
  background: rgba(23, 82, 164, 0.08);
  color: var(--blue);
}

.first-class-checklist li:nth-child(3n) .checklist-icon {
  border-color: rgba(102, 125, 93, 0.28);
  background: rgba(102, 125, 93, 0.1);
  color: var(--green);
}

.checklist-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.first-class-checklist strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.02rem;
  line-height: 1.15;
}

.first-class-checklist span span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.44;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.88fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-cards a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 160ms ease, background 160ms ease;
}

.contact-cards a.whatsapp-card {
  border-color: rgba(18, 140, 85, 0.28);
  background: rgba(18, 140, 85, 0.1);
}

.contact-cards a:hover {
  transform: translateY(-1px);
  background: var(--white);
}

.contact-cards svg {
  color: var(--red);
}

.contact-cards a.whatsapp-card svg {
  color: #128c55;
}

.contact-cards a.whatsapp-card .whatsapp-logo {
  width: 1.25em;
  height: 1.25em;
}

.contact-cards strong {
  display: block;
}

.trial-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.form-heading h3 {
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.form-heading p {
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 16, 16, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.not-found-page {
  min-height: 100vh;
  color: var(--white);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, rgba(125, 11, 20, 0.9), rgba(16, 16, 16, 0.98)),
    var(--ink);
}

.not-found {
  display: grid;
  align-content: center;
  gap: 34px;
  min-height: 100vh;
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 54px 0;
}

.not-found .brand {
  color: var(--white);
}

.not-found-panel {
  max-width: 760px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.18);
}

.not-found-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 42px),
    var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 34px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: #000;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: #128c55;
  color: var(--white);
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.26);
  font-weight: 950;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #0f7a49;
  box-shadow: 0 24px 54px rgba(16, 16, 16, 0.32);
}

.whatsapp-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.whatsapp-float .whatsapp-logo {
  width: 1.45em;
  height: 1.45em;
}

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .topbar {
  justify-content: flex-start;
}

[dir="rtl"] .brand,
[dir="rtl"] .topbar a,
[dir="rtl"] .contact-cards a,
[dir="rtl"] .footer-brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .program-card li {
  padding-right: 22px;
  padding-left: 0;
}

[dir="rtl"] .program-card li::before {
  right: 0;
  left: auto;
}

[dir="rtl"] summary::after {
  margin-right: auto;
}

[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 18px;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 82px;
  }

  .topbar,
  .nav-actions,
  .nav-links {
    display: none;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    justify-items: start;
    gap: 0;
    max-height: calc(100vh - 74px);
    padding: 14px 16px 26px;
    overflow: auto;
    background: rgba(13, 13, 13, 0.98);
  }

  .site-header.is-open .nav-links a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.12rem;
  }

  .mobile-language-link {
    display: block;
  }

  .hero {
    min-height: 760px;
    padding-top: 132px;
    background-position: 58% center;
  }

  .schedule-embed-card {
    min-height: 560px;
  }

  .gymdesk-schedule,
  .gymdesk-schedule iframe {
    min-height: 520px;
  }

  .proof-grid,
  .kids-parent-layout,
  .schedule-layout,
  .split-layout,
  .academy-header,
  .reviews-layout,
  .faq-layout,
  .checklist-layout,
  .seo-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .checklist-heading {
    position: static;
  }

  .proof-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

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

  .program-card {
    grid-template-rows: minmax(300px, 46vw) auto;
  }

  .review-strip {
    gap: 12px;
  }

  .academy-copy {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .academy-standards {
    grid-column: auto;
    grid-row: auto;
  }

  .academy-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 132px;
  }

  .academy-photo,
  .academy-photo:nth-child(1),
  .academy-photo:nth-child(2),
  .academy-photo:nth-child(3),
  .academy-photo:nth-child(4),
  .academy-photo:nth-child(5),
  .academy-photo:nth-child(6),
  .academy-photo:nth-child(7),
  .academy-photo:nth-child(8) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .academy-photo:nth-child(1),
  .academy-photo:nth-child(8) {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .google-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .kids-parent-grid {
    grid-template-columns: 1fr;
  }

  .review-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .testimonial:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 720px;
    background-position: 64% center;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  html[lang^="ar"] h1 {
    font-size: clamp(2.7rem, 12.5vw, 4rem);
    line-height: 1.05;
  }

  html[lang^="ar"] .hero-copy {
    font-size: 1.03rem;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel div {
    padding: 14px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }

  .hero-panel div:last-child {
    border-right: 0;
  }

  .hero-panel strong {
    font-size: 1.68rem;
  }

  .hero-panel span {
    font-size: 0.84rem;
  }

  .section {
    padding: 66px 0;
  }

  .proof-grid article,
  .program-card-body {
    padding: 24px;
  }

  .program-card {
    grid-template-rows: 320px auto;
  }

  .schedule-embed-card {
    width: calc(100vw - 32px);
    min-height: 520px;
    padding: 10px;
  }

  .gymdesk-schedule,
  .gymdesk-schedule iframe {
    min-height: 500px;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .academy-standards div {
    grid-template-columns: 38px 1fr;
    min-height: 58px;
  }

  .academy-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .academy-photo,
  .academy-photo:nth-child(1),
  .academy-photo:nth-child(2),
  .academy-photo:nth-child(3),
  .academy-photo:nth-child(4),
  .academy-photo:nth-child(5),
  .academy-photo:nth-child(6),
  .academy-photo:nth-child(7),
  .academy-photo:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .academy-photo:nth-child(5) {
    aspect-ratio: 3 / 4;
  }

  .review-strip {
    grid-template-columns: 1fr;
  }

  .review-strip:not(.is-expanded) .testimonial:nth-child(n+4) {
    display: none;
  }

  .testimonial blockquote {
    font-size: 1.3rem;
  }

  .testimonial-featured blockquote {
    font-size: 1.58rem;
  }

  .testimonial {
    min-height: 330px;
    gap: 18px;
    padding: 26px;
  }

  .testimonial-featured {
    min-height: 430px;
  }

  .testimonial:last-child {
    grid-column: auto;
  }

  .review-toggle {
    display: inline-flex;
    justify-self: stretch;
    margin-top: -2px;
  }

  .faq-layout,
  .checklist-layout,
  .contact-layout {
    gap: 26px;
  }

  .first-class-checklist {
    grid-template-columns: 1fr;
  }

  .first-class-checklist li {
    min-height: auto;
  }

  .kids-parent-grid article {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .whatsapp-float {
    justify-content: center;
    width: 50px;
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0;
    font-size: 0.9rem;
  }

  .whatsapp-float span {
    display: none;
  }

  [dir="rtl"] .whatsapp-float {
    right: auto;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
