/* FirstSteps — global styles
   Brand: navy #0A1F44 dominant, yellow #FFC700 accent, white.
   Type: Bebas Neue (headlines), Montserrat (body), Comfortaa (supporting).
*/

:root {
  /* Brand colors */
  --navy-900: #060f24;
  --navy-800: #0a1f44;     /* primary */
  --navy-700: #122a55;
  --navy-600: #1c386b;
  --navy-500: #2a4a85;
  --navy-100: #e5e9f1;

  --yellow:      #FFC700;
  --yellow-soft: #FFD63D;
  --yellow-deep: #E0AE00;

  --white: #ffffff;
  --ink:   #0a1124;
  --muted: #6c7891;
  --line:  rgba(10, 31, 68, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Surfaces */
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f5f7fb;        /* subtle blue-tinted band */

  /* Type */
  --font-display: "Bebas Neue", "Oswald", "Impact", sans-serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-soft:    "Comfortaa", "Montserrat", sans-serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Prevent stray horizontal scroll from any oversized element (e.g. the
     mobile header right cluster, where the Talk-to-us button used to push
     the page wider than the viewport). */
  overflow-x: hidden;
}

#root { min-height: 100vh; display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  font-weight: 400;
}
.h1 { font-family: var(--font-display); font-size: clamp(56px, 8vw, 120px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; margin: 0; padding-bottom: 0.08em; }
.h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 1.0;  text-transform: uppercase; letter-spacing: 0.005em; margin: 0; padding-bottom: 0.08em; }
.h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em;  margin: 0; padding-bottom: 0.06em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow.dark { color: var(--navy-800); }
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy-800);
}
.btn-primary:hover { background: var(--yellow-soft); }
.btn-primary:active { transform: translateY(1px); background: var(--yellow-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.btn-large { padding: 20px 36px; font-size: 15px; }

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-link:hover { color: var(--yellow-deep); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 32px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-dark {
  background: rgba(10, 31, 68, 0.6);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 80px;
}
@media (max-width: 980px) {
  .site-header .row { grid-template-columns: auto auto; }
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.site-header .brand img { height: 36px; width: auto; }
.site-header.on-dark .brand-text { color: #fff; }
.brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
  line-height: 1;
}
.brand-text small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: var(--yellow-deep);
}
.site-header.on-dark .brand-text small { color: var(--yellow); }

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
@media (max-width: 980px) { .header-nav { display: none; } }
.nav-lk {
  background: transparent;
  border: none;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
  cursor: pointer;
  transition: color 0.15s ease;
}
.nav-lk::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-lk:hover::after { transform: scaleX(1); }
.site-header.on-dark .nav-lk { color: rgba(255,255,255,0.9); }

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

.btn-sm { padding: 11px 18px; font-size: 12px; letter-spacing: 0.1em; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}
.site-header.on-dark .lang-switch {
  border-color: var(--line-dark);
  background: rgba(255,255,255,0.04);
}
.lang-switch button {
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header.on-dark .lang-switch button { color: rgba(255,255,255,0.7); }
.lang-switch button.active { background: var(--navy-800); color: #fff; }
.site-header.on-dark .lang-switch button.active { background: var(--yellow); color: var(--navy-800); }

/* Mobile language dropdown — hidden on desktop, swapped in via @media below.
   Single button showing current code + chevron; clicking opens a small panel
   listing the other two languages. */
.lang-dropdown {
  position: relative;
  display: none;
}
.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  cursor: pointer;
  line-height: 1;
}
.site-header.on-dark .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  color: #fff;
}
.lang-dropdown .lang-chev {
  transition: transform 0.18s ease;
}
.lang-dropdown.is-open .lang-chev {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(10, 31, 68, 0.12);
  z-index: 60;
  min-width: 64px;
}
.site-header.on-dark .lang-dropdown-menu {
  background: var(--navy-800);
  border-color: var(--line-dark);
}
.lang-dropdown-menu li { list-style: none; }
.lang-dropdown-menu button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  cursor: pointer;
  text-align: left;
}
.site-header.on-dark .lang-dropdown-menu button { color: #fff; }
.lang-dropdown-menu button:hover { background: var(--bg-page); color: var(--navy-800); }
.site-header.on-dark .lang-dropdown-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
}

/* Mobile header layout — fit brand + lang + CTA inside the viewport so the
   page can't scroll horizontally. Replace the 3-pill switcher with the
   compact dropdown, shrink chrome, and let the row flex instead of grid so
   the right cluster never grows past available space. */
@media (max-width: 980px) {
  .site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
  }
  .site-header .brand { gap: 10px; min-width: 0; }
  .site-header .brand img { height: 30px; }
  .brand-text { font-size: 18px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.18em; }
  .header-right { gap: 8px; flex-shrink: 0; }
  .lang-switch { display: none; }
  .lang-dropdown { display: inline-flex; }
  .header-cta {
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    gap: 6px;
  }
  .header-cta svg { width: 10px; height: 10px; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .header-cta { padding: 8px 10px; }
}

/* ---------- Hero (slogan only, centered) ---------- */
.hero {
  background: #fff;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -25%;
  width: 65vw;
  height: 65vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(closest-side, rgba(255,199,0,0.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -30%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(closest-side, rgba(10,31,68,0.05), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 32px;
  text-align: center;
}
@media (max-width: 700px) {
  .hero .container { padding-top: 48px; padding-bottom: 24px; }
}
.hero .eyebrow { color: var(--navy-800); }
.slogan {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin: 28px auto 0;
  max-width: 1100px;
  padding-bottom: 0.08em;
}
.slogan .accent { color: var(--yellow-deep); }
.slogan .row2 { display: block; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.section-head .desc { margin-top: 28px; color: var(--muted); max-width: 560px; }

/* ---------- Program cards ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1000px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  background: var(--bg-card);
  padding: 32px 28px 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  position: relative;
  transition: background 0.18s ease;
  min-height: 340px;
}
.program-card:hover { background: var(--navy-800); color: #fff; }
.program-card:hover .program-num { color: var(--yellow); }
.program-card:hover .program-meta { color: rgba(255,255,255,0.7); }
.program-card:hover .program-arrow { background: var(--yellow); color: var(--navy-800); border-color: var(--yellow); }
.program-card:hover .program-desc { color: rgba(255,255,255,0.78); }

.program-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.18s ease;
}
.program-title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0;
}
.program-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
  transition: color 0.18s ease;
}
.program-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s ease;
  padding-right: 56px;
}
.program-meta .dot { color: var(--yellow-deep); }

/* Price strip — sits below meta, accent colour. */
.program-price {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.program-price-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.program-price-val {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  text-align: right;
  max-width: 60%;
  line-height: 1.15;
}
.program-card:hover .program-price { border-top-color: rgba(255,255,255,0.18); }
.program-card:hover .program-price-label { color: rgba(255,255,255,0.65); }
.program-card:hover .program-price-val { color: var(--yellow); }
.program-arrow {
  width: 40px; height: 40px;
  border: 1.5px solid var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 28px; right: 28px;
  transition: all 0.18s ease;
}

/* ---------- Program carousel ---------- */
.carousel-section {
  background: #fff;
  padding: 32px 0 96px;
  position: relative;
  overflow: hidden;
}
.carousel-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, var(--bg-soft));
  pointer-events: none;
}
.carousel-frame {
  position: relative;
  padding: 24px 0;
}
.carousel-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 48px;
  perspective: 1400px;
}
@media (max-width: 900px) { .carousel-track { gap: 28px; } }
@media (max-width: 700px) { .carousel-track { gap: 16px; } }

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(280px, 56vw, 720px);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.55s ease;
  cursor: pointer;
}
.carousel-slide.is-side {
  width: clamp(170px, 17vw, 260px);
  opacity: 0.5;
}
.carousel-slide.is-active {
  z-index: 2;
  animation: slideInRight 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes slideInRight {
  from { transform: translateX(48px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@media (max-width: 700px) {
  .carousel-slide.is-side { display: none; }
  .carousel-slide { width: 88vw; }
}

.slide-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 440px;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.slide-card.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: transparent;
}
.slide-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 31, 68, 0.30) 0%,
    rgba(10, 31, 68, 0.72) 60%,
    rgba(10, 31, 68, 0.92) 100%);
  pointer-events: none;
}
.slide-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
/* On image backgrounds, text/headlines flip to light */
.slide-card.has-image .slide-title { color: #fff; }
.slide-card.has-image .slide-desc  { color: rgba(255,255,255,0.92); }
.slide-card.has-image .slide-meta { border-top-color: rgba(255,255,255,0.18); }
.slide-card.has-image .slide-meta .k { color: rgba(255,255,255,0.65); }
.slide-card.has-image .slide-meta .v { color: #fff; }
.is-active .slide-card {
  border-color: var(--navy-800);
  box-shadow: 0 30px 60px -20px rgba(10, 31, 68, 0.30);
}
.is-active .slide-card.has-image { border-color: rgba(255,199,0,0.45); }
.is-side .slide-card {
  min-height: 380px;
  padding: 28px 22px;
  background: var(--bg-soft);
  border-color: var(--line);
}
.is-side .slide-card.has-image { background-color: transparent; }
.is-side .slide-card.has-image .slide-card-overlay {
  background: linear-gradient(180deg,
    rgba(10, 31, 68, 0.55) 0%,
    rgba(10, 31, 68, 0.85) 100%);
}
.slide-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--yellow-deep);
}
.slide-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.0;
  color: var(--navy-800);
  margin: 0;
  padding-bottom: 0.08em;
}
.is-active .slide-title {
  font-size: clamp(32px, 4.2vw, 52px);
}
.is-side .slide-title {
  font-size: clamp(18px, 2vw, 26px);
}
.slide-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.is-side .slide-desc { display: none; }

.slide-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.is-side .slide-meta {
  display: flex;
  gap: 12px;
  flex-direction: column;
  border-top: none;
  padding-top: 8px;
}
.slide-meta .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slide-meta .k {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.slide-meta .v {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.is-side .slide-meta .v { font-size: 13px; }

.slide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.is-side .slide-cta { display: none; }

/* Carousel arrows */
.car-nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.18s ease;
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.2);
}
.car-nav:hover { background: var(--yellow); color: var(--navy-800); transform: translateY(-50%) scale(1.06); }
.car-nav.prev { left: 16px; }
.car-nav.next { right: 16px; }
@media (max-width: 700px) {
  .car-nav { width: 44px; height: 44px; }
  .car-nav.prev { left: 8px; }
  .car-nav.next { right: 8px; }
}

.car-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.car-dot {
  width: 28px;
  height: 3px;
  background: rgba(10, 31, 68, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.car-dot.active { background: var(--yellow); width: 48px; }

/* ---------- Partner clubs ---------- */
.partners {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.partners-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.partners-head .title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.partners-head .meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.partner-card:hover {
  border-color: var(--navy-800);
  transform: translateY(-2px);
}
.partner-logo {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 4px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
  line-height: 1.1;
}
.partner-loc {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- How it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }
.step {
  padding: 32px 28px;
  border-top: 2px solid var(--navy-800);
  background: #fff;
}
.step .num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--yellow);
}
.step .title {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 16px;
}
.step .body {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* ---------- Program detail ---------- */
.detail-hero {
  background: var(--navy-800);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
}
.detail-hero .crumb {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  cursor: pointer;
}
.detail-hero .crumb:hover { color: var(--yellow); }
.detail-hero .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.detail-hero h1 { font-size: clamp(48px, 7vw, 96px); max-width: 1000px; }
.detail-hero .sub { margin-top: 36px; max-width: 720px; color: rgba(255,255,255,0.8); font-size: 18px; }

.detail-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding: 64px 0 96px;
}
@media (max-width: 900px) {
  .detail-body { grid-template-columns: 1fr; gap: 40px; }
}
.detail-section { margin-bottom: 48px; }
.detail-section h3 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-800);
}
.detail-section p { margin: 0 0 14px; font-size: 16px; color: var(--ink); }
.detail-section ul { margin: 0; padding: 0; list-style: none; }
.detail-section li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.detail-section li:last-child { border-bottom: none; }
.detail-section li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 14px; height: 2px;
  background: var(--yellow);
}

/* Apply panel (sticky) */
.apply-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  position: sticky;
  top: 96px;
}
.apply-panel .label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.apply-panel .price {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  margin-top: 4px;
}
.apply-panel .facts {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.apply-panel .fact {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.apply-panel .fact .k { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.apply-panel .fact .v { color: var(--ink); font-weight: 600; text-align: right; }
.apply-panel .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* ---------- Form ---------- */
.form-wrap {
  background: var(--bg-page);
  padding: 64px 0 96px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 48px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 700px) { .form-card { padding: 28px; } }

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--navy-800);
  flex-wrap: wrap;
}
.form-head .for {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: #d23b3b; margin-left: 4px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.15s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
}
.field.error input,
.field.error select,
.field.error textarea {
  border-color: #d23b3b;
}
.field .err {
  font-size: 12px;
  color: #d23b3b;
  font-weight: 600;
}
.field .hint {
  font-size: 12px;
  color: var(--muted);
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: var(--bg-page, #f5f3ee);
  color: var(--muted);
  cursor: not-allowed;
  border-color: var(--line);
}
.field .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}
.field .check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--navy-800);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.field .check-row input[type="checkbox"]:hover {
  border-color: var(--yellow, #ffc700);
}
.field .check-row input[type="checkbox"]:checked {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.field .check-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
.field .check-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--yellow, #ffc700);
  outline-offset: 2px;
}

.file-drop {
  border: 1.5px dashed var(--line);
  background: var(--bg-page);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.file-drop:hover { border-color: var(--navy-800); }
.file-drop.has-file { border-color: var(--yellow); background: rgba(255, 199, 0, 0.08); border-style: solid; }
.file-drop .icon {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  border: 1.5px solid var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
}
.file-drop .ttl { font-weight: 700; font-size: 14px; }
.file-drop .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.file-drop input { display: none; }

.form-actions {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-actions .legal {
  font-size: 12px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.5;
}

/* Submit button — loading state */
.btn[aria-busy="true"],
.btn:disabled {
  opacity: 0.78;
  cursor: progress;
}
.btn .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  margin-right: 4px;
  vertical-align: -2px;
  animation: fs-spin 0.75s linear infinite;
}
@keyframes fs-spin { to { transform: rotate(360deg); } }

/* Submit error banner — appears below form-actions on failure */
.form-error-banner {
  margin-top: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff4f2;
  border: 1px solid #f1c8c0;
  border-left: 4px solid #c0392b;
  border-radius: 10px;
  color: #6b1f14;
}
.form-error-banner__msg {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  flex: 1 1 280px;
}
.form-error-banner .btn {
  background: #25D366;
  color: #fff;
}
.form-error-banner .btn:hover { background: #1ebe5c; }

/* ---------- Thank you ---------- */
.thanks {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.thanks::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 50% 0%, rgba(255,199,0,0.12), transparent 60%);
  pointer-events: none;
}
.thanks-inner { position: relative; text-align: center; max-width: 720px; padding: 0 24px; }
.thanks .mark {
  width: 88px; height: 88px;
  border: 2px solid var(--yellow);
  background: rgba(255,199,0,0.08);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.thanks .mark svg { width: 40px; height: 40px; }
.thanks h1 { color: var(--yellow); }
.thanks p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 540px; margin: 24px auto 0; line-height: 1.6; }
.thanks .cta-row { margin-top: 40px; display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.thanks .ref {
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer .lk {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  cursor: pointer;
}
.footer .lk:hover { color: var(--yellow); }
.footer .lk-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer .lk-ig svg { flex-shrink: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 320px; line-height: 1.6; margin: 0; }

/* ---------- Intro splash ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.55s ease;
  overflow: hidden;
}
.intro::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(255,199,0,0.10), transparent 65%);
  pointer-events: none;
}
.intro.leaving { opacity: 0; pointer-events: none; }

.intro-inner {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.intro-logo {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.intro-first {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  color: #fff;
  letter-spacing: 0.005em;
  display: inline-block;
  opacity: 0;
  animation: introFirst 0.7s ease 0.15s forwards;
}
.intro-first .one {
  color: var(--yellow);
}
.intro-steps {
  position: absolute;
  top: -52%;
  right: -10%;
  font-family: var(--font-display);
  font-size: 0.62em;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-58vw, 36vh) scale(1.05);
  animation: stepsArc 1.55s cubic-bezier(0.42, 0, 0.32, 1) 0.95s forwards;
  white-space: nowrap;
  transform-origin: center center;
}
@keyframes introFirst {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* "steps" travels from bottom-left, arcs up like a rainbow, lands at top-right */
@keyframes stepsArc {
  0%   { opacity: 0;    transform: translate(-58vw,  36vh) scale(1.05) rotate(-14deg); }
  10%  { opacity: 0.6; }
  30%  {                 transform: translate(-38vw, -10vh) scale(1.02) rotate(-9deg); }
  55%  {                 transform: translate(-18vw, -32vh) scale(1.00) rotate(-4deg); }
  78%  {                 transform: translate(-4vw,  -18vh) scale(1.00) rotate(-1deg); }
  100% { opacity: 1;    transform: translate(0, 0)           scale(1.00) rotate(0deg); }
}

.intro-tagline {
  margin-top: 56px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: tagIn 0.7s ease 2.05s forwards;
}
.intro-tagline .bar {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
  vertical-align: middle;
  margin: 0 14px;
  transform: translateY(-1px);
}

@keyframes tagIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: tagIn 0.5s ease 1.6s forwards;
}
.intro-skip:hover { color: #fff; border-color: #fff; }

/* ---------- Trial age picker ---------- */
.picker {
  background: var(--bg-soft);
  padding: 64px 0 96px;
}
.picker-head {
  text-align: center;
  margin-bottom: 48px;
}
.picker-head .eyebrow { display: block; margin-bottom: 14px; }
.picker-head .picker-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 800px) { .picker-grid { grid-template-columns: 1fr; gap: 20px; } }
.picker-card {
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 48px 40px 40px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.picker-card:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-4px);
}
.picker-card:hover .picker-club { color: rgba(255,255,255,0.7); }
.picker-card:hover .picker-arrow { background: var(--yellow); border-color: var(--yellow); color: var(--navy-800); }

.picker-age {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--yellow-deep);
}
.picker-card:hover .picker-age { color: var(--yellow); }
.picker-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 8px;
  color: inherit;
}
.picker-club {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.picker-arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  color: var(--navy-800);
  background: transparent;
  transition: all 0.18s ease;
}

/* ---------- Track cards (sub-options within a program) ---------- */
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 800px) { .tracks-grid { grid-template-columns: 1fr; } }
.track-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
}
.track-age {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow-deep);
}
.track-club {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.track-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--navy-800);
  margin: 4px 0 0;
  padding-bottom: 0.06em;
}
.track-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 4px 0 4px;
}
.track-points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.track-points li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.track-points li:last-child { border-bottom: none; }
.track-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 2px;
  background: var(--yellow);
}
.track-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.track-facts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.track-fact { display: flex; flex-direction: column; gap: 2px; }
.track-fact .k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.track-fact .v {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.track-pricing {
  margin: 0;
  padding: 0;
  list-style: none;
}
.track-pricing li {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  padding: 4px 0;
}

/* ---------- About / Collab / History ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-pillars {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy-800);
}
.pillar {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.pillar:last-child { border-bottom: none; }
.pillar-k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.pillar-v {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  text-transform: uppercase;
  text-align: right;
}

.collab-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.collab-row .btn { align-self: flex-end; }
@media (max-width: 700px) { .collab-row { align-items: flex-start; } }

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .history-grid { grid-template-columns: 1fr; } }
.hist {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}
.hist-year {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--yellow-deep);
}
.hist-title {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 12px;
  color: var(--navy-800);
}
.hist-body {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* =============================================================
   ABOUT US, PARTNER CLUBS, COLLABORATION — standalone pages
   ============================================================= */

/* ----- About ----- */
.about-page .about-hero {
  background: var(--navy-800);
  color: #fff;
  padding: 120px 0 96px;
  text-align: center;
  position: relative;
}
.about-page .about-hero.has-bg {
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}
.about-page .about-hero.has-bg .container { position: relative; z-index: 1; }
.about-page .about-hero .eyebrow {
  color: var(--yellow);
  display: inline-block;
}
.about-hero-mark {
  margin: 28px auto 32px;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-hero-headline {
  max-width: 900px;
  margin: 0 auto;
}
.about-hero-headline .kicker {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--yellow);
  font-size: 18px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.about-hero-headline .lead {
  font-size: 24px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  text-wrap: pretty;
  margin: 0 auto;
}
.about-hero-headline .founder-tag {
  margin-top: 36px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  border-top: 1px solid rgba(255,199,0,0.4);
  padding-top: 12px;
}
.about-hero-headline .founder-name {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}

.about-body { background: #fff; padding: 80px 0; }

/* Founder portrait band — sits at the top of the body section. */
.founder-portrait-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.founder-portrait {
  width: 260px;
  height: 320px;
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: 0 24px 48px -16px rgba(10, 31, 68, 0.25);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-portrait-meta .kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  font-weight: 600;
}
.founder-portrait-name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy-800);
  line-height: 1.05;
}
.founder-portrait-loc {
  margin-top: 14px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
@media (max-width: 900px) {
  .founder-portrait-row { grid-template-columns: 1fr; gap: 24px; }
  .founder-portrait { width: 100%; height: 360px; }
}

.story-chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.story-chapter:first-of-type { border-top: none; padding-top: 24px; }
.story-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--yellow-deep, #c79b00);
  line-height: 1;
}
.story-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 720px;
  text-wrap: pretty;
}
.story-title { margin-bottom: 22px; }
.about-cta { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ----- Partner clubs page ----- */
.partners-page .partners-hero {
  background: var(--bg-soft);
  padding: 140px 0 80px;
  position: relative;
}
.partners-page .partners-hero.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.partners-page .partners-hero.has-bg .h1 { color: #fff; }
.partners-page .partners-hero.has-bg .lead { color: rgba(255,255,255,0.86); }
.partners-page .partners-hero .h1 {
  margin-top: 14px;
  max-width: 800px;
  text-wrap: balance;
}
.partners-page .partners-hero .lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
  text-wrap: pretty;
}

.partners-list-section { padding: 80px 0 96px; }
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.club-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.2s ease;
}
.club-card:hover { background: var(--bg-soft); }
.club-logo {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
}
.club-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.club-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--navy-800);
}
.club-tagline {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-deep, #c79b00);
}
.club-text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.partners-cta {
  margin-top: 64px;
  background: var(--navy-800);
  color: #fff;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.partners-cta h3 { color: #fff; }
.partners-cta p {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
}

/* ----- Collaboration page ----- */
.collab-page .collab-hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  min-height: 780px;
  overflow: hidden;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}
.collab-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 460px;
  /* Pull the headline a bit inward from the container edge, but keep it
     anchored to the left half. */
  margin-left: clamp(16px, 6vw, 96px);
}
.collab-hero .h1 {
  margin-top: 14px;
  color: #fff;
  text-wrap: balance;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  /* Force narrow column so headline breaks into 2–3 words per line. */
  max-width: 11ch;
}
.collab-hero .lead {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.84);
  max-width: 440px;
  text-wrap: pretty;
}
.collab-cta-btn { margin-top: 36px; }

/* Globe SVG — sits in the right half of the hero, fully visible as a complete circle. */
.globe-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  /* Pull the globe slightly inboard from the right edge so we can grow it
     without it clipping. */
  justify-content: center;
  padding-left: clamp(440px, 44vw, 720px); /* leaves room for the left headline */
  padding-right: clamp(8px, 1.5vw, 32px);
  opacity: 1;
}
.globe-backdrop svg {
  height: auto;
  width: auto;
  aspect-ratio: 1 / 1;
  max-width: min(56vw, 640px);
  max-height: 96%;
}
@media (max-width: 1200px) {
  .globe-backdrop { padding-left: clamp(380px, 40vw, 600px); }
  .globe-backdrop svg { max-width: min(54vw, 540px); }
}
@media (max-width: 900px) {
  .globe-backdrop {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
  }
  .globe-backdrop svg { opacity: 0.30; max-width: 80vw; max-height: 70%; }
  .collab-hero { min-height: 560px; }
  .collab-hero-inner { max-width: 100%; margin-left: 0; }
  .collab-hero .h1 { max-width: 100%; }
  .collab-hero .lead { max-width: 100%; }
}

.globe-arc {
  stroke-dasharray: 6 8;
  animation: arc-flow 6s linear infinite;
}
@keyframes arc-flow {
  to { stroke-dashoffset: -28; }
}
.globe-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: globe-pulse 2.6s ease-out infinite;
}
@keyframes globe-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(3.6); opacity: 0; }
}

.collab-body { padding: 80px 0; }
.collab-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.collab-bullet {
  padding: 36px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.collab-bullet-num {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--yellow-deep, #c79b00);
  margin-bottom: 14px;
}
.collab-bullet h3 { margin-bottom: 12px; }
.collab-bullet p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.collab-bottom-cta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px;
  background: var(--navy-800);
  color: #fff;
}
.collab-bottom-cta p {
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
}
.collab-bottom-cta .h2 { color: #fff; }

/* ----- Collaboration form modal ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.66);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
.modal-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 48px 48px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  animation: modalUp 0.25s ease;
}
@keyframes modalUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
}
.modal-close:hover { color: var(--navy-800); }
.modal-head .for {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow-deep, #c79b00);
}
.collab-form { margin-top: 32px; }
.collab-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}
.collab-thanks {
  text-align: center;
  padding: 32px 8px 16px;
}
.collab-thanks .mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.collab-thanks .h2 { color: var(--navy-800); }
.collab-thanks p { color: var(--muted); font-size: 16px; }

/* ----- Detail-hero with photo backdrop ----- */
.detail-hero.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.detail-hero.has-image .tag { color: var(--yellow); }
.detail-hero.has-image .sub { color: rgba(255,255,255,0.86); }

/* ----- Header nav active state ----- */
.nav-lk.is-active {
  color: var(--navy-800);
  position: relative;
}
.nav-lk.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--yellow);
}
.site-header.on-dark .nav-lk.is-active { color: #fff; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .about-hero-mark { width: 120px; height: 120px; }
  .about-hero-headline .lead { font-size: 18px; }

  .story-chapter { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .story-num { font-size: 40px; }

  .club-grid { grid-template-columns: 1fr; }
  .club-card { grid-template-columns: 96px 1fr; padding: 24px; gap: 20px; }
  .club-logo { width: 96px; height: 96px; padding: 10px; }

  .collab-bullets { grid-template-columns: 1fr; }
  .partners-cta, .collab-bottom-cta { padding: 32px; }
  .modal-card { padding: 32px 24px; }
  .collab-form .form-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   PARTNER CLUB DETAIL PAGE (own URL: #/partners/{slug})
   ============================================================= */

/* Clickable club card affordance (on the partners index) */
.club-card.is-clickable {
  cursor: pointer;
}
.club-card.is-clickable:hover {
  background: var(--bg-soft);
  border-color: var(--navy-800);
}
.club-card.is-clickable:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.club-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
  transition: gap 0.18s ease;
}
.club-card.is-clickable:hover .club-more-link { gap: 10px; }

/* ----- Club detail page: hero ----- */
.club-page-hero {
  padding: 120px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.club-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
}
.club-back:hover { color: var(--navy-800); }

.club-page-head {
  display: grid;
  grid-template-columns: 144px 1fr;
  gap: 36px;
  align-items: center;
}
.club-page-logo {
  width: 144px;
  height: 144px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.club-page-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.club-page-league {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.club-page-title .h1 {
  margin: 0;
  line-height: 1.0;
}

/* Three-column meta strip (founded / city / stadium) */
.club-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.club-meta {
  padding: 0 32px;
  border-left: 1px solid var(--line);
}
.club-meta:first-child { padding-left: 0; border-left: 0; }
.club-meta dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.club-meta dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  line-height: 1.15;
}

/* ----- Club detail page: body ----- */
.club-page-body { padding: 72px 0 96px; }
.club-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px 56px;
  grid-template-areas:
    "history  trophies"
    "stars    stars";
}
.club-history          { grid-area: history;  }
.club-trophies-section { grid-area: trophies; }
.club-stars-section    { grid-area: stars;    }

.club-section {
  padding: 0;
  border: 0;
}
.club-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.club-section-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

/* Trophies list */
.club-trophies {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.club-trophies li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.club-trophies li:first-child { border-top: 0; padding-top: 0; }
.club-trophy-name {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.club-trophy-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

/* Stars / footballers list */
.club-stars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.club-stars li {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.club-stars li:hover {
  border-color: var(--navy-800);
  transform: translateY(-2px);
}
.club-star-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  line-height: 1.1;
}
.club-star-role {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Bottom CTA */
.club-page-cta { margin-top: 64px; }

/* Outline button (kept from the previous modal version) */
.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy-800);
}
.btn-outline:hover {
  border-color: var(--navy-800);
  background: var(--bg-soft);
}

/* Responsive */
@media (max-width: 960px) {
  .club-stars { grid-template-columns: repeat(2, 1fr); }
  .club-page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    grid-template-areas:
      "history"
      "trophies"
      "stars";
  }
}
@media (max-width: 720px) {
  .club-page-hero { padding: 96px 0 32px; }
  .club-page-head { grid-template-columns: 96px 1fr; gap: 20px; }
  .club-page-logo { width: 96px; height: 96px; padding: 12px; }
  .club-meta-grid { grid-template-columns: 1fr; gap: 16px; padding: 20px 0 0; margin-top: 32px; }
  .club-meta { padding: 0; border-left: 0; }
  .club-stars { grid-template-columns: 1fr; }
  .club-page-body { padding: 48px 0 64px; }
}

/* ---------- intl-tel-input integration ---------- */
.field .iti { display: block; width: 100%; }
.field .iti__flag-container { z-index: 2; }
.field .iti input.iti__tel-input,
.field .iti input[type="tel"] {
  width: 100%;
}
/* iti adds padding-left inline; ensure dropdown bg matches our card */
.iti__country-list {
  font-family: var(--font-body);
  font-size: 14px;
}
.iti__country.iti__highlight { background: #f4f4f4; }

/* ====================================================================
   Background imagery — hero, how-it-works, collaboration
   ==================================================================== */

/* Home hero: stadium photo blended behind the slogan. The image is portrait,
   so we position it so the tribune ("CIUDAD DEPORTIVA DE TENERIFE" sign +
   seating bowl) sits behind the slogan rather than the sky. */
.hero.hero-with-bg { position: relative; isolation: isolate; }
.hero.hero-with-bg .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/bg/hero-stadium.jpg");
  background-size: cover;
  background-position: center 68%;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
  /* Soft fade at the bottom so the photo can extend visually toward the
     Programs section without a hard edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}
.hero.hero-with-bg::after {
  /* Subtle warm wash to keep the slogan readable. */
  background: radial-gradient(closest-side, rgba(255,255,255,0.55), transparent 75%);
  width: 90vw; height: 90vw; max-width: 1200px; max-height: 1200px;
  left: 5%; right: auto; top: 5%; bottom: auto;
  z-index: 0;
}
.hero.hero-with-bg .container { z-index: 1; }
.hero.hero-with-bg .slogan { text-shadow: 0 1px 0 rgba(255,255,255,0.6); }

/* "How it works" section — training photo as a muted backdrop. */
.how-section.how-with-bg { position: relative; isolation: isolate; overflow: hidden; }
.how-section .how-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/bg/how-training.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
  filter: saturate(0.85);
}
.how-section.how-with-bg::before {
  /* Soft white wash so the steps' text stays legible at body weights. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.92) 100%);
  z-index: 0;
}
.how-section.how-with-bg > .container { position: relative; z-index: 1; }

/* Collaboration hero — pitch photo behind the headline, layered under the globe. */
.collab-page .collab-hero.collab-hero-with-bg { isolation: isolate; }
.collab-page .collab-hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/bg/collab-pitch.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.32;
  z-index: 0;
}
.collab-page .collab-hero.collab-hero-with-bg::after {
  /* Darken the photo so the globe + yellow accents read clearly. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0.55) 0%, rgba(10,31,68,0.82) 100%);
  z-index: 1;
}
.collab-page .collab-hero.collab-hero-with-bg .globe-backdrop { z-index: 2; }
.collab-page .collab-hero.collab-hero-with-bg .collab-hero-inner { z-index: 3; }

/* ====================================================================
   Video carousel (home "Our cases" + full-year "Program overview")
   ==================================================================== */
.video-carousel {
  margin-top: 56px;
  margin-bottom: 24px;
  position: relative;
  /* Side breathing room so peeks never crowd the section text/title above. */
  padding: 24px 0 8px;
}
.vc-stage {
  position: relative;
}
.vc-track {
  position: relative;
  /* Height is the controlling dimension — slides derive width from 9:16. */
  height: 460px;
  overflow: hidden;
}
@media (max-width: 980px) { .vc-track { height: 400px; } }
@media (max-width: 720px) { .vc-track { height: 340px; } }
@media (max-width: 480px) { .vc-track { height: 64vw; min-height: 240px; } }

.vc-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  cursor: pointer;
}
/* 5 visible positions:
   [far-left][left][< CENTER >][right][far-right]
   Arrows live BETWEEN the centre and its immediate neighbours. */
.vc-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 4;
  cursor: default;
}
.vc-left {
  transform: translate(calc(-50% - 320px), -50%) scale(0.65);
  opacity: 0.55;
  z-index: 3;
  filter: saturate(0.65);
}
.vc-right {
  transform: translate(calc(-50% + 320px), -50%) scale(0.65);
  opacity: 0.55;
  z-index: 3;
  filter: saturate(0.65);
}
.vc-far-left {
  transform: translate(calc(-50% - 540px), -50%) scale(0.45);
  opacity: 0.28;
  z-index: 2;
  filter: saturate(0.5);
}
.vc-far-right {
  transform: translate(calc(-50% + 540px), -50%) scale(0.45);
  opacity: 0.28;
  z-index: 2;
  filter: saturate(0.5);
}
.vc-hidden {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1180px) {
  .vc-left      { transform: translate(calc(-50% - 280px), -50%) scale(0.62); }
  .vc-right     { transform: translate(calc(-50% + 280px), -50%) scale(0.62); }
  .vc-far-left  { transform: translate(calc(-50% - 470px), -50%) scale(0.4); opacity: 0.22; }
  .vc-far-right { transform: translate(calc(-50% + 470px), -50%) scale(0.4); opacity: 0.22; }
}
@media (max-width: 980px) {
  .vc-left      { transform: translate(calc(-50% - 230px), -50%) scale(0.6); }
  .vc-right     { transform: translate(calc(-50% + 230px), -50%) scale(0.6); }
  .vc-far-left, .vc-far-right { display: none; }
}
@media (max-width: 720px) {
  .vc-left, .vc-right { display: none; }
}

.vc-frame {
  position: relative;
  height: 460px;
  aspect-ratio: 9 / 16;
  background: #0a1f44;
  overflow: hidden;
  box-shadow: 0 24px 60px -22px rgba(10, 31, 68, 0.45);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .vc-frame { height: 400px; } }
@media (max-width: 720px) { .vc-frame { height: 340px; } }
@media (max-width: 480px) { .vc-frame { height: 64vw; min-height: 240px; } }

.vc-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.vc-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.vc-left .vc-caption, .vc-right .vc-caption { opacity: 0; }

/* Unified control bar — single horizontal strip at the bottom of the active
   video carrying play/pause, time, scrubber, time, sound, expand. */
.vc-controlbar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(10, 31, 68, 0.78);
  backdrop-filter: blur(8px);
  z-index: 4;
}
.vc-cb-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.vc-cb-btn:hover { color: var(--yellow); }
.vc-cb-time {
  font-family: var(--font-body);
  font-size: 10px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 28px;
  flex-shrink: 0;
}
.vc-cb-time:nth-of-type(2) { text-align: right; }

/* Mobile: collapse the control bar to match a native iOS/Android video
   player — play, scrubber, mute, fullscreen. Drop the timecode chips
   (they're redundant with the scrub thumb position on a touch UI) and
   shrink the bar so it sits tight to the frame. Applies to every
   VideoCarousel instance: home "Our cases" and program-overview alike. */
@media (max-width: 720px) {
  .vc-cb-time { display: none; }
  .vc-controlbar {
    left: 6px;
    right: 6px;
    bottom: 6px;
    gap: 6px;
    padding: 5px 8px;
  }
  .vc-cb-btn { width: 30px; height: 30px; }
  .vc-cb-btn svg { width: 16px; height: 16px; }
}

.vc-scrub-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.vc-scrub-bar::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
}
.vc-scrub-fill {
  position: absolute;
  left: 0;
  height: 3px;
  background: var(--yellow);
  pointer-events: none;
}
.vc-scrub-thumb {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--navy-800);
  transform: translateX(-50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  pointer-events: none;
}

/* Big play button overlay — appears only while paused. Above the bar. */
.vc-big-play {
  position: absolute;
  top: calc(50% - 18px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 31, 68, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.vc-big-play:hover {
  background: var(--yellow);
  color: var(--navy-800);
  transform: translate(-50%, -50%) scale(1.05);
}
.vc-big-play svg { margin-left: 3px; }

/* Prev/next sit INSIDE the track, halfway between the centre slide and
   its immediate neighbours so the click target is right next to what it
   controls. Hidden on mobile where the carousel is single-slide. */
.vc-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.vc-prev { left: calc(50% - 200px); transform: translate(-50%, -50%); }
.vc-next { left: calc(50% + 200px); transform: translate(-50%, -50%); }
.vc-nav:hover {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}
@media (max-width: 980px) {
  .vc-prev { left: calc(50% - 150px); }
  .vc-next { left: calc(50% + 150px); }
}
@media (max-width: 720px) {
  .vc-nav { width: 36px; height: 36px; }
  .vc-prev { left: 8px;  transform: translateY(-50%); }
  .vc-next { left: auto; right: 8px; transform: translateY(-50%); }
}

.vc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.vc-dot {
  width: 24px;
  height: 3px;
  border: none;
  background: rgba(10, 31, 68, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, width 0.15s ease;
}
.vc-dot.is-active {
  background: var(--navy-800);
  width: 38px;
}

/* Expanded view — desktop modal (mobile uses native fullscreen via JS). */
.vc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 36, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
  animation: vc-fade 0.2s ease;
}
@keyframes vc-fade { from { opacity: 0; } to { opacity: 1; } }
.vc-overlay-frame {
  position: relative;
  width: min(70vw, 720px);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-overlay-frame video {
  width: 100%;
  max-height: 86vh;
  background: #000;
  display: block;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.vc-overlay-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.vc-overlay-close:hover { color: var(--yellow); }
@media (max-width: 720px) {
  .vc-overlay { padding: 16px; }
  .vc-overlay-frame { width: 100%; }
  .vc-overlay-close { top: -36px; }
}
