/* =====================================================
   IRON PROJECT — modeled 1:1 on triathlongold.com layout
   ===================================================== */

/* Screen-reader-only utility — visible to SEO/AT, hidden from users */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  /* === Brand: turquoise replaces the gold from reference === */
  --aqua:        #14B8B0;
  --aqua-bright: #2DD4BF;
  --aqua-deep:   #0F8F88;

  --navy:        #0A1F3C;     /* deep blue – darkest */
  --navy-2:      #122B52;     /* mid blue */
  --blue:        #1E63C9;     /* bright blue accent */

  --ink:         #0B1426;
  --ink-2:       #1F2A44;
  --gray:        #6B7484;
  --line:        #E5E8EE;
  --bg:          #FFFFFF;
  --bg-2:        #F5F7FA;

  --display: 'Oswald', 'Heebo', sans-serif;
  --body:    'Heebo', system-ui, -apple-system, sans-serif;

  --t: 0.35s cubic-bezier(.4,0,.2,1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

/* ============ TYPOGRAPHY (precision-tuned) ============ */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: 18px;
  display: inline-block;
}
.eyebrow.light { color: var(--aqua-bright); }

.big-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.big-title.light { color: #fff; }
.big-title em {
  font-style: normal;
  color: var(--aqua);
  font-weight: 700;
}
.big-title.light em { color: var(--aqua-bright); }

.lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 560px;
}
.lede.light { color: rgba(255,255,255,0.82); }

.body, p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

.section-head { margin-bottom: 70px; }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-head.center .eyebrow,
.section-head.center .big-title { display: inline-block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all var(--t);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 20px 40px; font-size: 14px; }
.btn-fill {
  background: var(--aqua);
  color: #fff;
}
.btn-fill:hover {
  background: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,184,176,0.4);
}
.btn-fill-light {
  background: #fff;
  color: var(--navy);
}
.btn-fill-light:hover {
  background: var(--aqua-bright);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ============ HEADER ============ */
.hdr {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  background: rgba(10, 31, 60, 0.92);     /* nearly opaque even at top */
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background var(--t), padding var(--t);
}
.hdr.scrolled {
  background: var(--navy);                 /* fully solid navy when scrolled */
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.hdr-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.hdr.scrolled .hdr-row { height: 70px; }

.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(20,184,176,0.45));
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1;
}
.brand-name em {
  font-style: normal;
  color: var(--aqua-bright);
  font-weight: 400;
}

.hdr-nav { display: flex; gap: 38px; }
.hdr-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}
.hdr-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 2px;
  background: var(--aqua-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t);
}
.hdr-nav a:hover { color: var(--aqua-bright); }
.hdr-nav a:hover::after { transform: scaleX(1); }

.hdr-right { display: flex; align-items: center; gap: 14px; }

/* Header social icons */
.hdr-social { display: flex; align-items: center; gap: 10px; }
.hdr-social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  transition: all var(--t);
}
.hdr-social-link svg { width: 18px; height: 18px; }
.hdr-social-link:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20,184,176,0.45);
}

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: all var(--t); }

@media (max-width: 1080px) {
  .hdr-nav {
    position: fixed;
    top: 84px; right: 0; left: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 30px 36px;
    gap: 22px;
    margin-top: -5px;
    transform: translateY(-130%);
    transition: transform var(--t);
  }
  .hdr-nav.open { transform: translateY(0); }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .hdr-row { padding: 0 20px; }
  .enquire { display: none; }
}

/* ============ HERO — 1:1 with triathlongold.com ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  overflow: hidden;
  background: #1a1a1a;
}

/* Three-column B&W photo grid with PERFECTLY MATCHING parallelogram dividers (no gaps) */
.hero-grid {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-col {
  position: absolute;
  top: 0; bottom: 0;
  background-color: #222;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.78) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}
/* Each column overlaps its neighbor by 45px and clips to a parallelogram.
   The slant line shared by adjacent columns is identical, so they tile with zero gaps. */
.hero-col-1 {
  left: 0;
  width: calc(33.3333% + 45px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%);
}
.hero-col-2 {
  left: calc(33.3333% - 45px);
  width: calc(33.3333% + 90px);
  clip-path: polygon(90px 0, 100% 0, calc(100% - 90px) 100%, 0 100%);
}
.hero-col-3 {
  left: calc(66.6667% - 45px);
  width: calc(33.3333% + 45px);
  clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%);
}

/* Hero photos — real IRON PROJECT team imagery in /assets/ */
.hero-col-1 { background-image: url('assets/swim.jpg'); }
.hero-col-2 { background-image: url('assets/cycle.jpg'); }
.hero-col-3 {
  background-image: url('assets/team-running.jpg');
  background-position: center 30%;
}

.hero:hover .hero-col { filter: grayscale(100%) brightness(0.85) contrast(1.05); }

/* === Slogan: handwritten "we are family" at top of hero === */
.hero-slogan {
  position: absolute;
  top: 102px;                          /* sits just below the 84px fixed header */
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: 'Dancing Script', cursive;
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 54px);
  color: rgba(45, 212, 191, 0.85);     /* turquoise-bright with slight transparency */
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* === STATS BAR — full-width horizontal overlay across photos === */
.counters {
  position: absolute;
  top: 62%;                              /* lowered to waist level of person in photo */
  left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(28, 32, 40, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}
.counters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 30px;
}
.counter {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  row-gap: 10px;
  text-align: center;
}
.counter-num { align-self: end; }        /* all numbers anchor to baseline */
.counter-label {
  align-self: start;
  min-height: 2.6em;                     /* reserve 2 lines so 1-line labels don't pull number down */
}
.counter-num {
  /* Oswald — exact match to triathlongold.com — medium weight, not heavy */
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;       /* + vertically centered with digits */
  justify-content: flex-start;
  direction: ltr;            /* preserve "50+" left-to-right order on RTL pages */
}
.counter-num i {
  font-style: normal;
  color: var(--aqua-bright);
  font-weight: 500;
  font-size: 0.7em;
  line-height: 1;
  margin-inline-start: 6px;
  transform: translateY(0.02em);
}
.counter-label {
  /* Montserrat — light/medium for elegance, larger size */
  font-family: 'Montserrat', 'Heebo', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aqua-bright);
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 860px) {
  .counters { padding: 28px 0; }
  .counters-row { grid-template-columns: 1fr; gap: 20px; }
  .counter { justify-content: flex-start; padding-inline: 30px; }
}

/* ===== AMIR PORTRAIT — 3D pop-out, breaks across hero/coach boundary ===== */
.hero-portrait {
  position: absolute;
  bottom: -180px;            /* extends INTO the section below for the 3D effect */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;                /* sits in front of counter strip + photos */
  width: clamp(360px, 38vw, 560px);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 50px 60px rgba(0, 0, 0, 0.55))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}
@media (max-width: 980px) {
  .hero-portrait { bottom: -90px; width: 280px; }
}
@media (max-width: 560px) {
  .hero-portrait { bottom: -60px; width: 220px; }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 3px; height: 8px;
  background: var(--aqua-bright);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ COACH SECTION — Triathlon-Gold-style 3-column composition ============ */
.coach {
  padding: 0;                          /* zero padding — bleeds into hero above */
  background: #FFFFFF;                 /* pure white — flag white now stands out against turquoise + dark hero */
  position: relative;
  overflow: visible;                   /* let Amir's head extend UP into hero */
  /* Account for fixed header (84px) + the 160px image overflow so anchor scroll shows Amir's head */
  scroll-margin-top: 250px;
}
.coach-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;   /* panel | body — portrait absolutely overlaid in center */
  align-items: stretch;
  min-height: 560px;                  /* shortened — was 700 */
}

/* ===== TURQUOISE TRAPEZOID PANEL (right side in RTL) ===== */
.coach-panel {
  position: relative;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 100%);
  /* Slanted right edge (top-right cut, bottom-right cut) — mirrors hero parallelograms */
  clip-path: polygon(0 0, 100% 0, calc(100% - 100px) 100%, 0 100%);
  padding: 70px 80px 60px 50px;       /* shorter top padding so name sits up */
  display: flex;
  align-items: flex-start;             /* anchor content to TOP of panel */
}
[dir="rtl"] .coach-panel {
  /* In RTL the panel is on the right and clips on its LEFT inner edge */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100px 100%);
  padding: 70px 220px 60px 50px;       /* big right padding pushes content LEFT (toward section center) */
}
.coach-panel-inner {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  flex: 1;                      /* fill the panel's full height */
  align-self: stretch;
}
/* Push the name to vertical center between eyebrow (top) and CTAs (bottom),
   nudged slightly to the left + up for visual balance */
.coach-name {
  margin-top: auto;
  margin-bottom: auto;
  transform: translate(-50px, -65px);   /* extra upward shift compensates for the lifted CTAs */
}
/* Lift the CTA buttons UP toward the name */
.coach-cta { transform: translateY(-60px); }
.coach-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 30px;
}
.coach-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 50px;
}
.coach-cta { display: flex; flex-direction: column; gap: 14px; max-width: 270px; }
.btn-coach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--t);
  border: 2px solid #fff;
  color: #fff;
}
.btn-coach-line:hover {
  background: #fff;
  color: var(--aqua-deep);
}

/* ===== AMIR PORTRAIT — narrow, ONLY head pokes UP into hero (1:1 with reference) ===== */
.coach-portrait {
  position: absolute;
  top: -160px;                      /* head extends a bit higher to balance new size */
  left: 50%;                        /* exact visual center of the section */
  transform: translateX(-50%);
  z-index: 6;
  width: 400px;                     /* enlarged from 340 → 400 */
  pointer-events: none;
}
.coach-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 24px 38px rgba(0, 0, 0, 0.30))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.20));
}

/* Make panel TEXT stay above the image (so image can't cover the name/buttons) */
.coach-panel-inner { position: relative; z-index: 7; }
@media (max-width: 980px) {
  .coach-portrait {
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    width: 240px;
    margin: -80px auto 0;
  }
}

/* ===== BODY TEXT (left side in RTL) ===== */
.coach-body {
  padding: 90px 70px 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 7;                       /* text sits ABOVE the portrait image */
}
[dir="rtl"] .coach-body { padding: 90px 220px 80px 50px; }   /* big right padding pushes text LEFT, past the flag */
.coach-body-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 22px;
  font-weight: 500;
}
.coach-body-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}
/* Amir bio title + bullet list */
.coach-bio-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.coach-bio-title em {
  font-style: normal;
  color: var(--aqua);
  font-weight: 700;
}
.coach-bio-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
}
.coach-bio-list li {
  position: relative;
  padding: 8px 26px 8px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.coach-bio-list li:last-child { border-bottom: none; }
.coach-bio-list li::before {
  content: '';
  position: absolute;
  right: 0; top: 17px;
  width: 8px; height: 8px;
  background: var(--aqua);
  border-radius: 50%;
}
[dir="rtl"] .coach-bio-list li { padding: 8px 26px 8px 0; }
.coach-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--aqua-deep);
  margin-top: 28px;
  line-height: 1.2;
}
.coach-script-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

/* ===== MOBILE: stack vertically ===== */
@media (max-width: 980px) {
  .coach-canvas {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .coach-panel,
  [dir="rtl"] .coach-panel {
    clip-path: none;
    padding: 70px 32px 60px;
    text-align: center;
  }
  .coach-panel-inner { margin: 0 auto; max-width: 100%; }
  .coach-cta { margin: 0 auto; align-items: stretch; }
  .coach-portrait { margin-top: -40px; padding: 0 24px; }
  .coach-portrait img { max-width: 320px; }
  .coach-body,
  [dir="rtl"] .coach-body { padding: 40px 28px 80px; text-align: center; }
}

/* ============ WHY ============ */
.why { padding: 130px 0; background: var(--bg-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  padding: 50px 36px;
  border: 1px solid var(--line);
  position: relative;
  transition: all var(--t);
  text-align: center;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(10,31,60,0.12);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); transform-origin: left; }

.why-num {
  display: block;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--aqua);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.why-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 14px;
}
.why-card p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ============ TRACKS SECTION + CAROUSEL ============ */
.tracks-section {
  padding: 46px 0 0;                 /* compact top padding */
  background: var(--bg);
  scroll-margin-top: 0;
}
.tracks-section .section-head { margin-bottom: 12px; }
/* Compact title for the tracks section so the whole section fits in one viewport */
.tracks-section .big-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 14px;
}
.tracks-section .eyebrow { margin-bottom: 10px; }
.tracks-tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 18px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--aqua);
  display: inline-block;
}

.carousel {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}
.carousel-viewport {
  overflow: hidden;
  /* inherits RTL from page — slides flow right-to-left naturally */
}
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 60px 0;
}
.carousel-slide.slide-dark {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.carousel-slide.slide-dark::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse, rgba(20,184,176,0.2), transparent 60%);
  pointer-events: none;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--aqua);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(10, 31, 60, 0.12);
  transition: all var(--t);
  padding-bottom: 4px;        /* optical centering of the chevron glyph */
}
.carousel-arrow:hover {
  background: var(--aqua);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.carousel-prev { right: 24px; }   /* RTL: back/previous sits on the RIGHT */
.carousel-next { left: 24px; }    /* RTL: forward/next sits on the LEFT */

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--t);
}
.carousel-dot:hover { background: var(--aqua-bright); }
.carousel-dot.is-active {
  background: var(--aqua);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 720px) {
  .carousel-arrow { width: 44px; height: 44px; font-size: 22px; }
  .carousel-prev { right: 10px; }
  .carousel-next { left: 10px; }
}
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
}
.track-grid.reverse { direction: ltr; }
[dir="rtl"] .track-grid.reverse { direction: rtl; }
[dir="rtl"] .track-grid.reverse .track-media { order: 2; }
[dir="rtl"] .track-grid.reverse .track-text  { order: 1; }
@media (max-width: 980px) {
  .track-grid { grid-template-columns: 1fr; gap: 50px; }
  .track-grid.reverse .track-media,
  .track-grid.reverse .track-text { order: 0; }
}

.track-media {
  position: relative;
  aspect-ratio: 5/4;
}
.track-shape {
  position: absolute;
  width: 70%; height: 70%;
}
.track-shape-1 { top: -22px; right: -22px; background: var(--aqua); }
.track-shape-2 { bottom: -22px; left:  -22px; background: var(--aqua-bright); opacity: 0.85; }
.track-shape-3 { top:  -22px; right: -22px; background: var(--aqua); }

.track-photo {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(10,31,60,0.5), rgba(10,31,60,0.85)),
    linear-gradient(135deg, #244c7d, #0a1f3c);
  background-size: cover;
  background-position: center;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  font-size: 13px;
  filter: grayscale(60%) contrast(1.05);
}
/* Cinematic treatment for low-res source photos — adds punch + hides JPG artefacts */
.track-photo--lowres {
  filter: grayscale(35%) contrast(1.15) saturate(1.1) brightness(1.02);
  image-rendering: auto;
}

/* Per-track background images (replaces former inline styles for SEO/perf) */
.track-photo-beginners {
  background-image:
    linear-gradient(135deg, rgba(10,31,60,0.25), rgba(10,31,60,0.45)),
    url('assets/track-beginners.jpg');
}
.track-photo-ironman {
  background-image:
    linear-gradient(135deg, rgba(10,31,60,0.25), rgba(10,31,60,0.45)),
    url('assets/track-ironman.jpg');
}
.track-photo-jerusalem {
  background-image:
    linear-gradient(135deg, rgba(10,31,60,0.25), rgba(10,31,60,0.45)),
    url('assets/track-jerusalem-marathon.jpg');
}

/* Honeypot field for Web3Forms spam protection */
.botcheck { display: none !important; }

.check-list { margin: 26px 0 32px; }
.check-list li {
  position: relative;
  padding: 12px 36px 12px 0;
  font-size: 16px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
[dir="rtl"] .check-list li { padding: 12px 36px 12px 0; }
.check-list li::before {
  content: '✓';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--aqua);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.check-list.light li { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.12); }

/* ============ PROCESS ============ */
.process { padding: 130px 0; background: var(--bg-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  right: 12%; left: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    to left,
    var(--aqua) 0, var(--aqua) 6px,
    transparent 6px, transparent 14px
  );
  z-index: 0;
}
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.steps li { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  background: var(--aqua);
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  border: 4px solid var(--bg-2);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(20,184,176,0.4);
}
.steps li h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 10px;
}
.steps li p { font-size: 14px; color: var(--gray); line-height: 1.65; padding: 0 8px; }

/* ============ REVIEWS ============ */
.reviews { padding: 130px 0; background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

.review {
  background: var(--bg-2);
  padding: 44px 34px 34px;
  border-top: 4px solid var(--aqua);
  position: relative;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.review:hover {
  background: #fff;
  box-shadow: 0 22px 50px rgba(10,31,60,0.1);
  transform: translateY(-6px);
}
.review::before {
  content: '"';
  position: absolute;
  top: 18px; right: 28px;
  font-family: var(--display);
  font-size: 92px;
  line-height: 1;
  color: var(--aqua);
  opacity: 0.18;
}
.quote {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 26px;
  font-style: italic;
}
.review figcaption { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.review figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review figcaption span {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============ CTA BAND ============ */
.cta-band {
  background:
    linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--aqua-deep));
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(45,212,191,0.3), transparent 55%);
}
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}

/* ============ CONTACT ============ */
.contact { padding: 130px 0 90px; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-areas:
    "head form"
    "list form";
  gap: 30px 80px;
  align-items: start;
}
.contact-head { grid-area: head; }
.contact-form { grid-area: form; }
.contact-list { grid-area: list; }
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "form" "list";
    gap: 30px;
  }
}

.contact-list { margin-top: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.contact-list b {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}
.contact-list a { color: var(--navy); font-weight: 500; }
.contact-list a:hover { color: var(--aqua-deep); }

.contact-form {
  background: var(--bg-2);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(20,184,176,0.18);
}
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; padding: 28px; } }

/* ============ FOOTER ============ */
.ftr {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.ftr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.ftr-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(20px);     /* nudge brand block slightly right */
}
.ftr-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.08em;
}
.ftr-brand small { font-size: 13px; color: var(--aqua-bright); letter-spacing: 0.04em; }
.ftr-social { display: flex; gap: 18px; justify-content: center; }
.ftr-social-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  transition: all var(--t);
}
.ftr-social-link svg { width: 20px; height: 20px; }
.ftr-social-link:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20,184,176,0.4);
}
.ftr-copy { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.15em; }

/* ============ SCROLL-IN ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.36s; }

/* Helpers */
[hidden] { display: none !important; }

/* =====================================================
   LEGAL / STATEMENT PAGE
   ===================================================== */
.legal {
  padding: 170px 0 110px;
  background: var(--bg);
}
.legal-wrap { max-width: 840px; margin: 0 auto; }
.legal h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.legal .legal-sub {
  color: var(--aqua-deep);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 36px;
  display: block;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  margin: 38px 0 14px;
}
.legal p { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-inline-start: 0; }
.legal li {
  position: relative;
  padding: 7px 28px 7px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal li::before {
  content: '';
  position: absolute;
  right: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--aqua);
  border-radius: 50%;
}
.legal-contact {
  background: var(--bg-2);
  border-right: 4px solid var(--aqua);
  padding: 24px 28px;
  margin: 20px 0;
}
.legal-contact p { margin-bottom: 6px; }
.legal-contact a { color: var(--aqua-deep); font-weight: 600; }
.legal-contact a:hover { color: var(--aqua); }
.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--aqua-deep);
}
.legal-back:hover { color: var(--aqua); }

/* =====================================================
   ACCESSIBILITY WIDGET
   ===================================================== */
.a11y { position: fixed; bottom: 22px; left: 22px; z-index: 9999; }

.a11y-toggle {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--aqua);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10, 31, 60, 0.35);
  transition: transform var(--t), background var(--t);
}
.a11y-toggle:hover { background: var(--aqua-deep); transform: scale(1.06); }
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.a11y-panel {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 31, 60, 0.28);
  padding: 18px;
  direction: rtl;
}
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--aqua);
}
.a11y-panel-head strong {
  font-family: var(--display);
  font-size: 19px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.a11y-x {
  width: 30px; height: 30px;
  font-size: 24px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  border-radius: 6px;
}
.a11y-x:hover { background: var(--bg-2); color: var(--navy); }

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a11y-opt {
  padding: 12px 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  transition: all var(--t);
}
.a11y-opt:hover { border-color: var(--aqua); background: var(--cyan-light); }
.a11y-opt.is-active {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #fff;
}
.a11y-opt:focus-visible,
.a11y-reset:focus-visible,
.a11y-statement-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.a11y-reset {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 9px;
  cursor: pointer;
  transition: background var(--t);
}
.a11y-reset:hover { background: var(--navy-2); }

.a11y-statement-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--aqua-deep);
  text-decoration: underline;
}
.a11y-statement-link:hover { color: var(--aqua); }

@media (max-width: 560px) {
  .a11y { bottom: 16px; left: 16px; }
  .a11y-panel { width: min(290px, calc(100vw - 32px)); }
}

/* ===== Accessibility STATE classes (applied to <html>) ===== */

/* Visual filter (grayscale / contrast) — applied per-section to keep fixed header working */
html.a11y-fx .hdr,
html.a11y-fx .hero,
html.a11y-fx .coach,
html.a11y-fx .why,
html.a11y-fx .tracks-section,
html.a11y-fx .process,
html.a11y-fx .reviews,
html.a11y-fx .cta-band,
html.a11y-fx .contact,
html.a11y-fx .ftr {
  filter: var(--a11y-filter, none);
}

/* Highlight links */
html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Readable font */
html.a11y-readable,
html.a11y-readable * {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  letter-spacing: 0.02em !important;
}

/* Stop animations */
html.a11y-no-anim,
html.a11y-no-anim *,
html.a11y-no-anim *::before,
html.a11y-no-anim *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Big cursor */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M8 4l30 18-13 3-3 13z" fill="black" stroke="white" stroke-width="2"/></svg>') 4 4, auto !important;
}

/* =====================================================
   MOBILE / TABLET OVERRIDES  (≤ 900px)
   Comprehensive responsive layer for phones + tablets
   ===================================================== */
@media (max-width: 900px) {

  html, body { overflow-x: hidden; }

  .wrap { padding: 0 18px; }

  /* ---------- HEADER ---------- */
  .hdr-row {
    height: 60px;
    padding: 0 10px;
    gap: 8px;
  }
  .hdr.scrolled .hdr-row { height: 56px; }
  .brand { gap: 7px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
  .hdr-nav {
    position: fixed;
    top: 60px;
    right: 0; left: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.3s;
  }
  .hdr-nav.open { transform: translateY(0); }
  .hdr-nav a { font-size: 15px; }
  .hdr-right { gap: 8px; }
  .hdr-social { gap: 6px; }
  .hdr-social-link { width: 34px; height: 34px; }
  .hdr-social-link svg { width: 15px; height: 15px; }
  .burger { display: flex; padding: 6px; }
  .burger span { width: 22px; }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 0;
  }
  /* Mobile: show ONLY the team-running photo, hide swim + cycle */
  .hero-grid { display: block; }
  .hero-col-1, .hero-col-2 { display: none !important; }
  .hero-col-3 {
    position: absolute !important;
    top: 0 !important; bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    clip-path: none !important;
  }

  /* Slogan */
  .hero-slogan {
    font-size: 28px;
    top: 80px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  }

  /* Counters bar — horizontal (3 side-by-side), number ABOVE, label BELOW.
     Positioned at waist-level of the person in the hero photo. */
  .counters {
    position: absolute;
    top: 62%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 22px 0;
    background: rgba(0, 0, 0, 0.4);
  }
  .counters-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 12px;
  }
  .counter {
    display: grid;
    grid-template-rows: auto auto;
    row-gap: 4px;
    padding: 6px 4px;
    justify-items: center;
  }
  .counter-num { font-size: 44px; line-height: 1; }
  .counter-num i { font-size: 0.7em; }
  .counter-label {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.04em;
  }

  /* ---------- COACH SECTION ---------- */
  .coach { padding: 50px 0 30px; overflow: visible; scroll-margin-top: 70px; }
  .coach-canvas {
    grid-template-columns: 1fr !important;
    min-height: auto;
    gap: 0;
  }
  .coach-panel,
  [dir="rtl"] .coach-panel {
    clip-path: none !important;
    padding: 38px 24px 30px !important;
    text-align: center;
    order: 2;
  }
  .coach-panel-inner {
    max-width: 100% !important;
    flex: none !important;
    align-self: auto !important;
    text-align: center;
  }
  .coach-eyebrow { margin-bottom: 16px; }
  .coach-name {
    margin: 0 0 24px !important;
    transform: none !important;
    text-align: center;
    font-size: 48px !important;
  }
  .coach-cta {
    transform: none !important;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn-coach { width: 100%; }

  /* Portrait — relative, sized to fit */
  .coach-portrait {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 240px !important;
    margin: -30px auto 0 !important;
    order: 1;
    z-index: 6;
  }
  .coach-portrait img {
    filter: drop-shadow(0 12px 22px rgba(0,0,0,0.30));
  }

  /* Body text */
  .coach-body,
  [dir="rtl"] .coach-body {
    padding: 28px 22px 36px !important;
    order: 3;
    text-align: center;
    z-index: 1;
  }
  .coach-body-lede { font-size: 16px; }
  .coach-body-text { font-size: 15px; }
  .coach-script { font-size: 28px; margin-top: 22px; }
  .coach-script-sub { font-size: 11px; }

  /* ---------- WHY ---------- */
  .why { padding: 50px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 18px; }
  .why-card { padding: 32px 22px; }
  .why-num { font-size: 44px; margin-bottom: 12px; }
  .why-card h3 { font-size: 20px; }

  /* ---------- TRACKS SECTION ---------- */
  .tracks-section { padding: 40px 0 0; scroll-margin-top: 70px; }
  .tracks-section .big-title { font-size: 28px !important; }
  .tracks-tagline { font-size: 12px; letter-spacing: 0.12em; }

  /* Carousel slide layout — stack image + text */
  .carousel-slide { padding: 38px 0; }
  .track-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .track-grid.reverse .track-media,
  .track-grid.reverse .track-text { order: 0; }
  .track-text { text-align: center; }
  .track-text .eyebrow { display: block; margin-bottom: 8px; }
  .track-card h3, .track-text .big-title { font-size: 30px !important; }
  .track-tag { font-size: 13px; }
  .check-list li { padding: 10px 24px 10px 0; font-size: 14px; }
  [dir="rtl"] .check-list li { padding: 10px 24px 10px 0; }
  .track-media { aspect-ratio: 4/3; max-width: 100%; }
  .track-shape { display: none; }            /* hide colored decorative shape on mobile */

  /* Carousel arrows + dots */
  .carousel-arrow { width: 40px; height: 40px; font-size: 22px; }
  .carousel-prev { right: 8px; }
  .carousel-next { left: 8px; }
  .carousel-dots { margin-top: 22px; }

  /* ---------- PROCESS ---------- */
  .process { padding: 50px 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .step-num { width: 60px; height: 60px; font-size: 22px; }

  /* ---------- REVIEWS ---------- */
  .reviews { padding: 50px 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
  .review { padding: 32px 22px 26px; }
  .quote { font-size: 15px; }

  /* ---------- CTA BAND ---------- */
  .cta-band { padding: 50px 0; }
  .cta-row {
    flex-direction: column;
    text-align: center;
    gap: 26px;
  }
  .cta-band .big-title { font-size: 26px !important; }

  /* ---------- CONTACT ---------- */
  .contact { padding: 50px 0 60px; }
  .contact-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: "head" "form" "list" !important;
    gap: 24px;
  }
  .contact-form { padding: 24px; grid-template-columns: 1fr !important; }
  .contact-list li {
    grid-template-columns: 70px 1fr;
    gap: 12px;
    font-size: 15px;
  }
  .big-title { font-size: clamp(28px, 8vw, 36px) !important; }
  .lede { font-size: 16px; }

  /* ---------- FOOTER ---------- */
  .ftr { padding: 40px 0 22px; }
  .ftr-brand { transform: none !important; gap: 12px; }
  .ftr-brand strong { font-size: 18px; }
  .ftr-brand small { font-size: 12px; }
  .ftr-copy { font-size: 11px; }

  /* ---------- A11Y WIDGET ---------- */
  .a11y { bottom: 16px; left: 16px; }
  .a11y-toggle { width: 48px; height: 48px; }
  .a11y-toggle svg { width: 26px; height: 26px; }
  .a11y-panel {
    width: calc(100vw - 32px);
    max-width: 300px;
    bottom: 62px;
  }
}

/* === Extra-small phones (≤ 380px) === */
@media (max-width: 380px) {
  .hero-slogan { font-size: 24px; }
  .counter-num { font-size: 34px; }
  .counter-label { font-size: 10px; }
  .coach-name { font-size: 40px !important; }
  .track-text .big-title { font-size: 26px !important; }
}

/* =====================================================
   NEW COACH SECTION — multi-tier (Tier 1-4)
   ===================================================== */
.coach-section { scroll-margin-top: 100px; }

/* ---------- Tier 1: Hero intro (light bg) ---------- */
.coach-section { overflow: visible; }
.coach-hero {
  background: var(--bg);
  padding: 0;
  overflow: visible;
  position: relative;
}
.coach-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;  /* RTL: body | photo | white text */
  align-items: stretch;
  min-height: 560px;                     /* keep row height fixed so photo stays put after text changes */
  position: relative;
}

/* RIGHT in RTL: body text + community headline */
.coach-hero-body {
  padding: 60px 56px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coach-hero-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 18px;
}
.coach-body-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--aqua);
  margin: 28px 0 14px;
  letter-spacing: -0.005em;
}
.coach-body-tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--gray);
  margin: 0;
}

/* MIDDLE: photo cell — image is absolutely positioned, overflows UP into hero */
.coach-hero-photo {
  position: relative;
  min-height: 560px;                     /* match grid min-height to keep photo position stable */
  pointer-events: none;
}
.coach-hero-photo img {
  position: absolute;
  bottom: 0;                     /* desktop: photo anchored at section bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 26px 50px rgba(10,31,60,0.30));
}

/* LEFT in RTL: white coach text block (replaces teal panel) */
.coach-hero-text {
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Eyebrow with side dashes */
.coach-hr-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: 18px;
}
.coach-hr-eyebrow span {
  flex: 0 0 40px;
  height: 1px;
  background: var(--aqua);
}

.coach-hr-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.coach-hr-tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.coach-hr-tagline em {
  font-style: normal;
  color: var(--aqua);
  font-weight: 700;
}

.coach-hr-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 26px;
  max-width: 380px;
}

.coach-hr-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1.5px solid var(--aqua);
  color: var(--aqua-deep);
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: all var(--t);
}
.coach-hr-cta:hover {
  background: var(--aqua);
  color: #fff;
}
.coach-hr-cta .chev { font-size: 16px; }

/* LEFT in RTL: teal coach panel — full-bleed height */
.coach-hero-panel {
  background: var(--aqua);
  color: #fff;
  padding: 60px 52px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coach-panel-eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 26px;
}
.coach-panel-eyebrow span {
  letter-spacing: 0.32em;
}
.coach-panel-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(60px, 6.5vw, 96px);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 44px;
  letter-spacing: -0.01em;
}
.coach-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}
.panel-btn {
  display: block;
  text-align: center;
  padding: 16px 24px;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all var(--t);
}
.panel-btn:hover {
  background: #fff;
  color: var(--aqua-deep);
}

/* ---------- Tier 2: Stats (dark bg) ---------- */
.coach-stats {
  background: linear-gradient(180deg, #0A1A30 0%, #0F2647 100%);
  padding: 40px 0 80px;
  color: #fff;
}
.coach-stats-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 56px;
}
.coach-stats-title span {
  flex: 0 0 60px;
  height: 1px;
  background: rgba(255,255,255,0.35);
}

.coach-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cstat {
  text-align: center;
  display: grid;
  grid-template-rows: 36px 56px auto;   /* quantity-row | icon-row | label-row — all 3 rows align across cells */
  justify-items: center;
  align-items: center;
  row-gap: 6px;
}
.cstat > .cstat-quantity { grid-row: 1; }
.cstat > .cstat-icon     { grid-row: 2; }
.cstat > span:not(.cstat-icon)            { grid-row: 3; }
.cstat-icon {
  width: 48px; height: 48px;
  color: var(--aqua-bright);
  font-size: 40px;                 /* for Font Awesome <i> icons */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cstat-icon-wide {
  width: auto !important;
  min-width: 130px;
  height: 48px;
  gap: 10px;
}
.cstat-icon-wide i {
  color: var(--aqua-bright);
  font-size: 36px;
}
/* Featured stat (>10) — quantity sits ABOVE the icon */
.cstat-featured .cstat-quantity {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--aqua-bright);
  letter-spacing: 0.02em;
  margin-bottom: -2px;
}
.cstat span:not(.cstat-icon) {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Championship badges */
.coach-champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.champ {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
}
.champ-icon {
  width: 90px; height: 72px;       /* laurel wreath with center symbol */
  color: var(--aqua-bright);
  flex: 0 0 90px;
}
.champ small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.champ strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ---------- Tier 3: Approach (light bg) ---------- */
.coach-approach {
  background: var(--bg);
  padding: 90px 0;
}
.coach-approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.coach-approach-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.coach-approach-title span {
  flex: 0 0 40px;
  height: 2px;
  background: var(--aqua);
}

.approach-list { display: flex; flex-direction: column; gap: 26px; }
.approach-item { display: flex; gap: 18px; align-items: flex-start; }
.approach-icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--aqua-bright);
  filter: grayscale(0.2);
}
.approach-item strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.approach-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

/* Photos collage */
.coach-approach-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  height: 460px;
}
.ap-photo {
  border-radius: 14px;
  background-image: url('assets/team-group.jpg');
  background-size: 300% 100%;     /* image is 3x column width — spans all 3 columns visually */
  background-repeat: no-repeat;
  filter: grayscale(0.2) contrast(1.05);
}
/* RTL display order: HTML first = visual RIGHT, HTML last = visual LEFT */
.ap-photo-1 { background-position: 100% center; }   /* rightmost column shows RIGHT third */
.ap-photo-2 { background-position: 50% center; }    /* middle shows middle third */
.ap-photo-3 { background-position: 0% center; }     /* leftmost column shows LEFT third */

/* ---------- Tier 4: CTA band (dark) ---------- */
.coach-cta-band {
  background:
    linear-gradient(135deg, rgba(10,26,48,0.95), rgba(15,38,71,0.85)),
    url('assets/cycle.jpg') center/cover;
  background-blend-mode: multiply;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.coach-cta-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.5;
  margin-bottom: 26px;
  color: rgba(255,255,255,0.92);
}
.coach-cta-quote strong {
  color: var(--aqua-bright);
  font-weight: 700;
}
.coach-cta-btn {
  display: inline-flex;
  padding: 16px 38px;
  background: var(--aqua);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--t);
  box-shadow: 0 10px 26px rgba(20,184,176,0.4);
}
.coach-cta-btn:hover {
  background: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20,184,176,0.55);
}

/* ---------- Mobile (≤ 900) ---------- */
@media (max-width: 900px) {
  .coach-hero { padding: 0; }
  .coach-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .coach-hero-photo {
    order: 1;
    min-height: 320px;
    margin-top: -180px;          /* mobile: cell starts above section to overflow into hero */
  }
  .coach-hero-photo img {
    max-width: 300px;
    bottom: -100px;              /* mobile only: photo nudged 100px below its cell */
  }
  .coach-hero-panel {
    order: 2;
    padding: 36px 26px;
    text-align: center;
  }
  .coach-panel-actions { margin-inline: auto; }
  .coach-panel-name { font-size: 56px; margin-bottom: 30px; }
  .coach-hero-body {
    order: 3;
    padding: 8px 24px 40px;
    margin-top: 70px;
  }
  .coach-body-headline { font-size: 26px; }

  /* Mobile-only overrides for the white "המאמן · אמיר שחר" text block */
  .coach-hero-text {
    padding: 30px 24px 60px;
    justify-content: flex-start;
  }
  .coach-hr-eyebrow { margin-bottom: 3px; }
  .coach-hr-name { margin-bottom: 2px; }
  .coach-hr-desc { display: none; }      /* hide description paragraph on mobile only */

  .coach-stats { padding: 56px 0; }
  .coach-stats-title { margin-bottom: 38px; }
  .coach-stats-title span { flex-basis: 28px; }
  .coach-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 16px;
    margin-bottom: 38px;
  }
  .cstat-featured .cstat-quantity { font-size: 22px; }
  .cstat span b { font-size: 14px; }
  .cstat span { font-size: 11px; }

  .coach-champs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .champ { padding: 16px 20px; gap: 14px; }

  .coach-approach { padding: 56px 0; }
  .coach-approach-grid { grid-template-columns: 1fr; gap: 38px; }
  .coach-approach-photos {
    height: 220px;
    gap: 8px;
  }
  .ap-photo-1, .ap-photo-3 { transform: none; }

  .coach-cta-band { padding: 48px 0; }
  .coach-cta-quote { font-size: 18px; }
}

/* =====================================================
   thanks.html — moved from inline <style> for SEO / perf
   ===================================================== */
body.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.thanks-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #f5fafa 100%);
}
.thanks-card {
  max-width: 600px;
  text-align: center;
  background: #fff;
  padding: 64px 48px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(10,31,60,0.08);
  border-top: 6px solid var(--aqua);
}
.thanks-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  background: var(--aqua);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
  box-shadow: 0 12px 30px rgba(20,184,176,0.4);
}
.thanks-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 54px);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.thanks-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 36px;
}
.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--aqua);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: all 0.25s;
  text-transform: uppercase;
}
.thanks-btn:hover {
  background: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20,184,176,0.4);
}
.thanks-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e6eef2;
  font-size: 14px;
  color: var(--gray);
}
.thanks-meta a {
  color: var(--aqua-deep);
  font-weight: 600;
}
@media (max-width: 600px) {
  .thanks-card { padding: 48px 24px; }
  .thanks-check { width: 72px; height: 72px; font-size: 36px; }
}
