/* ========================================
   LABYRINTH BJJ — Design Tokens & Styles
   ======================================== */

:root {
  /* Colors */
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-elevated: #1A1A1A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F0F0F0;
  --text-muted: #8A8A8A;
  --text-faint: #555555;
  --gold: #C8A24C;
  --gold-hover: #D4B465;
  --red: #E74C3C;
  --red-hover: #EF6B5B;
  --success: #27AE60;

  /* Typography */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'General Sans', sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* ===== GLOBAL ===== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ===== SECTION TITLES ===== */
.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.section-title--xl {
  font-size: clamp(36px, 5vw, 64px);
}

.section-title--lg {
  font-size: clamp(28px, 4vw, 48px);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo svg {
  width: 36px;
  height: 36px;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  filter: invert(1);
  object-fit: contain;
}

.footer__logo-img {
  width: 160px;
  height: auto;
  filter: invert(1);
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--gold);
  color: #0A0A0A;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.nav__cta:active {
  transform: translateY(0);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 300ms var(--ease-out), opacity 200ms;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: var(--space-10) var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.nav__mobile .nav__cta {
  display: inline-block;
  text-align: center;
  margin-top: var(--space-4);
  font-size: 16px;
  padding: 14px 28px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-16)) var(--space-6) var(--space-16);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.7) 0%,
    rgba(10,10,10,0.55) 40%,
    rgba(10,10,10,0.75) 70%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 162, 76, 0.1);
  border: 1px solid rgba(200, 162, 76, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--space-6);
  max-width: 900px;
}

.hero__title span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  min-height: 48px;
}

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  background: var(--gold);
  color: #0A0A0A;
}

.btn--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* Hero Stats Row */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  padding: clamp(48px, 8vw, 100px) 0;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.program-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.program-card--featured {
  grid-column: span 7;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.program-card--featured .program-card__image {
  flex: 1;
  min-height: 0;
}

.program-card--medium {
  grid-column: span 5;
}

.program-card--small {
  grid-column: span 4;
}

.program-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.program-card--featured .program-card__image {
  aspect-ratio: 16/12;
}

.program-card__body {
  padding: var(--space-5) var(--space-6);
}

.program-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.program-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.program-card--featured .program-card__title {
  font-size: 26px;
}

.program-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Icon cards (no image) */
.program-card--icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.program-card--icon .program-card__body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card__icon {
  font-size: 32px;
  margin-bottom: var(--space-4);
  line-height: 1;
}

/* Expandable program card */
.program-card__more {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: var(--space-3);
  transition: color var(--transition-fast);
}

.program-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.program-card--expanded .program-card__detail {
  max-height: 300px;
}

.program-card--expanded .program-card__more {
  color: var(--text-muted);
}

.program-card__detail-inner {
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.program-card__detail-inner a {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.program-card__detail-inner a:hover {
  text-decoration: underline;
}

/* Program card trial button (styled button instead of hyperlink) */
.program-card__trial-btn {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: 13px;
  font-weight: 700;
  color: #0A0A0A;
  background: var(--gold);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.program-card__trial-btn:hover {
  background: #D4AD5C;
  transform: translateY(-1px);
}

/* ===== COMPETITION / STATS SECTION ===== */
.competition {
  padding: clamp(48px, 8vw, 100px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.competition__header {
  margin-bottom: var(--space-12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.stat-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-6);
  text-align: left;
}

.stat-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Meters */
.meters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.meter {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.meter__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
}

.meter__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.meter__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
}

.meter__track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  transition: width 1.2s var(--ease-out);
  width: 0;
}

.meter__note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: var(--space-2);
}

/* Competition Layout with Image */
.competition__split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
}

.competition__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.competition__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top Athletes */
.athletes {
  margin-top: var(--space-12);
}

.athletes__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: var(--space-6);
}

.athletes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (min-width: 1025px) {
  .competition__split {
    grid-template-columns: 3fr 2fr;
  }
  .competition__image-wrap {
    max-width: 420px;
  }
}

.athlete-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.athlete-card__tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.athlete-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.athlete-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.athlete-card__stat {
  font-size: 13px;
  color: var(--text-muted);
}

.athlete-card__stat strong {
  color: var(--text);
  font-weight: 600;
}

/* Expandable athlete card */
.athlete-card {
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition-fast);
}

.athlete-card:hover {
  border-color: var(--border-strong);
}

.athlete-card__chevron {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.athlete-card--expanded .athlete-card__chevron {
  transform: rotate(180deg);
}

.athlete-card__expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.athlete-card--expanded .athlete-card__expand {
  max-height: 200px;
}

.athlete-card__expand p {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.athlete-card__link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.athlete-card__link:hover {
  text-decoration: underline;
}

.athlete-card__links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.athlete-card__links .athlete-card__link {
  margin-top: 0;
}

.athlete-card__ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(200, 162, 76, 0.12);
  color: var(--gold);
  transition: background 0.2s ease, transform 0.2s ease;
}

.athlete-card__ig:hover {
  background: rgba(200, 162, 76, 0.25);
  transform: scale(1.1);
}

.athlete-card__ig svg {
  flex-shrink: 0;
}

.competition__cta {
  margin-top: var(--space-10);
  text-align: center;
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
  padding: clamp(48px, 8vw, 100px) 0;
}

.schedule__header {
  margin-bottom: var(--space-10);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.schedule-table th {
  background: var(--surface-elevated);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.schedule-table th:first-child {
  text-align: left;
}

.schedule-table td {
  color: var(--text);
  vertical-align: top;
  text-align: center;
}

.schedule-table td:first-child {
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  width: 90px;
  text-align: left;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* Color-coded schedule cells */
.sched-gi {
  color: #4FC3F7 !important;
  font-weight: 500;
  background: rgba(79, 195, 247, 0.06);
}
.sched-nogi {
  color: #CE93D8 !important;
  font-weight: 500;
  background: rgba(206, 147, 216, 0.06);
}
.sched-kids {
  color: #81C784 !important;
  font-weight: 500;
}
.sched-comp {
  color: var(--red) !important;
  font-weight: 600;
}
.sched-wrestling {
  color: #FFB74D !important;
  font-weight: 500;
}
.sched-open {
  color: #4DD0E1 !important;
  font-weight: 500;
}

/* Structured cell layout for schedule */
.sched-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.sched-cell__top {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.sched-cell__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.sched-cell__ages {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted) !important;
  opacity: 0.7;
}
.sched-cell__bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-top: 1px;
}

/* Gi / No-Gi type tags in schedule */
.sched-type {
  display: inline-block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  vertical-align: middle;
  line-height: 1.6;
  flex-shrink: 0;
}
.sched-type--gi {
  background: rgba(79, 195, 247, 0.15);
  color: #4FC3F7 !important;
  border: 1px solid rgba(79, 195, 247, 0.3);
}
.sched-type--nogi {
  background: rgba(206, 147, 216, 0.15);
  color: #CE93D8 !important;
  border: 1px solid rgba(206, 147, 216, 0.3);
}

.sched-note {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: var(--text-muted) !important;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Schedule Key */
.schedule-key {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.schedule-key__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.schedule-key__items {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.schedule-key__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.schedule-key__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.schedule-key__swatch--gi { background: #4FC3F7; }
.schedule-key__swatch--nogi { background: #CE93D8; }
.schedule-key__swatch--adults { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.schedule-key__swatch--kids { background: rgba(129, 199, 132, 0.25); border: 1px solid rgba(129, 199, 132, 0.4); }
.schedule-key__swatch--comp { background: var(--red); }
.schedule-key__swatch--wrestling { background: #FFB74D; }
.schedule-key__swatch--open { background: #4DD0E1; }
.schedule-key__divider {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Section rows in desktop table */
.sched-section-row td {
  padding: 6px var(--space-4) 4px !important;
  border-bottom: 1px solid var(--border) !important;
  background: var(--bg) !important;
}
.sched-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sched-section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.sched-section-label--adults {
  color: var(--text-muted);
}
.sched-section-label--adults::before {
  background: rgba(255,255,255,0.2);
}
.sched-section-label--kids {
  color: #81C784;
}
.sched-section-label--kids::before {
  background: #81C784;
}
.sched-section-label--wrestling {
  color: #FFB74D;
}
.sched-section-label--wrestling::before {
  background: #FFB74D;
}

/* Row background tinting */
.sched-row--kids td {
  background: rgba(129, 199, 132, 0.04);
}
.sched-row--adults td {
  background: transparent;
}

/* Schedule full wrapper (desktop only) */
.schedule-full {
  overflow-x: auto;
}

/* Full day-by-day table */
.schedule-table--full {
  min-width: 700px;
}

.schedule-table--full td {
  min-width: 100px;
  font-size: 13px;
  line-height: 1.4;
}

/* Schedule Legend */
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.schedule-legend__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.schedule-legend__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-legend__dot.sched-gi { background: #4FC3F7; }
.schedule-legend__dot.sched-nogi { background: #CE93D8; }
.schedule-legend__dot.sched-kids { background: #81C784; }
.schedule-legend__dot.sched-comp { background: var(--red); }
.schedule-legend__dot.sched-wrestling { background: #FFB74D; }
.schedule-legend__dot.sched-open { background: #4DD0E1; }

.schedule__note {
  font-size: 14px;
  color: var(--text-faint);
  margin-top: var(--space-6);
  font-style: italic;
}

.schedule__note a {
  color: var(--gold);
  transition: color var(--transition-fast);
}

.schedule__note a:hover {
  color: var(--gold-hover);
}

/* Schedule Book Buttons */
.sched-book {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold) !important;
  font-family: var(--font-body);
  text-decoration: none;
  line-height: 1.6;
}

.sched-book:hover {
  background: var(--gold);
  color: #0A0A0A !important;
}

.sched-book--trial {
  border-color: var(--success);
  color: var(--success) !important;
}

.sched-book--trial:hover {
  background: var(--success);
  color: #fff !important;
}

.sched-trial-note {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint) !important;
  margin-left: 6px;
  vertical-align: middle;
  font-style: italic;
}

/* Kids Trial Banner */
.schedule-trial-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(200, 162, 76, 0.08);
  border: 1px solid rgba(200, 162, 76, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  margin-top: var(--space-5);
}

.schedule-trial-banner__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.schedule-trial-banner p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.schedule-trial-banner strong {
  color: var(--gold);
}

/* Mobile Book Buttons */
.sched-book-mobile {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  font-family: var(--font-body);
  text-decoration: none;
  flex-shrink: 0;
  margin-left: auto;
}

.sched-book-mobile:hover,
.sched-book-mobile:active {
  background: var(--gold);
  color: #0A0A0A;
}

.sched-book-mobile.sched-book--trial {
  border-color: var(--success);
  color: var(--success);
}

.sched-book-mobile.sched-book--trial:hover {
  background: var(--success);
  color: #fff;
}

.sched-trial-note-mobile {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  font-style: italic;
  flex-shrink: 0;
  margin-left: auto;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: modalIn 300ms var(--ease-out);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition-fast);
}

.modal__close:hover {
  color: var(--text);
}

.modal__icon {
  font-size: 36px;
  margin-bottom: var(--space-4);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.modal__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.modal__list {
  margin: var(--space-3) 0 var(--space-5);
  padding-left: var(--space-5);
}

.modal__list li {
  font-size: 15px;
  color: var(--text);
  padding: var(--space-1) 0;
  list-style: disc;
}

.modal__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.modal__actions .btn {
  flex: 1;
  text-align: center;
}

/* Mobile schedule cards */
.schedule-cards {
  display: none;
}

.schedule-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.schedule-day__header {
  background: var(--surface-elevated);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
}

.schedule-day__classes {
  padding: var(--space-3) var(--space-5);
}

.schedule-day__class {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  flex-wrap: nowrap;
}

.schedule-day__class--gi {
  border-left: 3px solid #4FC3F7;
  padding-left: var(--space-3);
  margin-left: calc(var(--space-3) * -1);
}

.schedule-day__class--nogi {
  border-left: 3px solid #CE93D8;
  padding-left: var(--space-3);
  margin-left: calc(var(--space-3) * -1);
}

.schedule-day__class--wrestling {
  border-left: 3px solid #FFB74D;
  padding-left: var(--space-3);
  margin-left: calc(var(--space-3) * -1);
}

.schedule-day__class--open {
  border-left: 3px solid #4DD0E1;
  padding-left: var(--space-3);
  margin-left: calc(var(--space-3) * -1);
}

.schedule-day__class .sched-type {
  font-size: 7px;
  padding: 1px 4px;
  flex-shrink: 0;
}

.schedule-day__class:last-child {
  border-bottom: none;
}

/* Mobile section labels inside day cards */
.schedule-day__section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px var(--space-4) 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.schedule-day__section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}
.schedule-day__section-label--adults {
  color: var(--text-muted);
}
.schedule-day__section-label--adults::before {
  background: rgba(255,255,255,0.25);
}
.schedule-day__section-label--kids {
  color: #81C784;
  background: rgba(129, 199, 132, 0.04);
}
.schedule-day__section-label--kids::before {
  background: #81C784;
}
.schedule-day__section-label--wrestling {
  color: #FFB74D;
}
.schedule-day__section-label--wrestling::before {
  background: #FFB74D;
}
.schedule-day__section-label--open {
  color: #4DD0E1;
}
.schedule-day__section-label--open::before {
  background: #4DD0E1;
}

/* Kids rows get subtle green tint on mobile too */
.schedule-day__section-label--kids ~ .schedule-day__class {
  background: rgba(129, 199, 132, 0.03);
}

.schedule-day__time {
  font-weight: 600;
  color: var(--text);
  min-width: 70px;
  flex-shrink: 0;
  font-size: 13px;
}

.schedule-day__name {
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: clamp(48px, 8vw, 100px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.pricing__header .section-subtitle {
  margin: var(--space-4) auto 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin: 0 auto;
}

.pricing__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}

.pricing__grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.pricing__category {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__category:first-of-type {
  margin-top: 0;
}

/* Punch Cards & Add-Ons */
.pricing__extras {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 1100px;
  margin: 0 auto;
}

.extra-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.extra-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.extra-card__info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.extra-card__info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.extra-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  white-space: nowrap;
  margin-left: var(--space-6);
}

.extra-card__price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--gold);
  position: relative;
  margin-top: 14px;
}

/* Family plan — premium elevated card */
.pricing-card--family {
  position: relative;
  margin-top: 14px;
  border: 2px solid var(--gold);
  background: linear-gradient(175deg, #1F1B14 0%, #141414 40%, #141414 100%);
  overflow: visible;
  box-shadow: 0 0 24px rgba(200, 162, 76, 0.12), 0 0 60px rgba(200, 162, 76, 0.06);
}

.pricing-card--family:hover {
  box-shadow: 0 0 32px rgba(200, 162, 76, 0.2), 0 0 80px rgba(200, 162, 76, 0.08);
  border-color: #E8C96B;
}

.pricing-card--family .pricing-card__name {
  color: var(--gold);
  font-size: 24px;
}

.pricing-card--family .pricing-card__price {
  color: #fff;
}

.pricing-card--family .pricing-card__desc,
.pricing-card--family .pricing-card__period {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-card--family .pricing-card__features li {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card--family .pricing-card__features li::before {
  color: var(--gold);
}

.pricing-card__badge--family {
  background: var(--gold);
  color: #0A0A0A;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  box-shadow: 0 2px 12px rgba(200, 162, 76, 0.4);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 1;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__period {
  font-size: 14px;
  color: var(--text-faint);
  margin-bottom: var(--space-6);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-6);
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing__note {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: var(--space-8);
}

/* ===== FREE TRIAL SECTION ===== */
.trial {
  padding: clamp(48px, 8vw, 100px) 0;
}

.trial__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.trial__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.trial__content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

.trial__content ul {
  margin-top: var(--space-4);
}

.trial__content li {
  font-size: 15px;
  color: var(--text-muted);
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trial__content li::before {
  content: '→';
  color: var(--gold);
  font-weight: 600;
}

.trial__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.trial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form */
.trial-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.trial-form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition-fast);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238A8A8A'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form-success.show {
  display: block;
}

.form-success__icon {
  font-size: 48px;
  margin-bottom: var(--space-4);
}

.form-success__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: var(--space-2);
}

.form-success__text {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== COACHES SECTION ===== */
.coaches {
  padding: clamp(48px, 8vw, 100px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.coaches__header {
  margin-bottom: var(--space-10);
}

.coaches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.coach-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.coach-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coach-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured coach card (Tony) */
.coach-card--featured {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: row;
  text-align: left;
  padding: var(--space-8);
  gap: var(--space-8);
}

.coach-card--featured .coach-card__avatar {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin: 0;
}

.coach-card--featured .coach-card__name {
  font-size: 28px;
}

.coach-card--featured .coach-card__rank {
  align-items: flex-start;
}

/* Belt rank bar */
.coach-card__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.belt-bar {
  position: relative;
  width: 80px;
  height: 10px;
  border-radius: 3px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.belt-bar__belt {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
}

/* Black belt tab on the right side */
.belt-bar__tab {
  position: absolute;
  right: 8px;
  top: 0;
  width: 16px;
  height: 100%;
  border-radius: 2px;
}

/* Stripes on belt (positioned on the black tab) */
.belt-bar__stripes {
  position: absolute;
  right: 10px;
  top: 1px;
  display: flex;
  gap: 2px;
  height: calc(100% - 2px);
}

.belt-bar__stripes span {
  display: block;
  width: 3px;
  height: 100%;
  background: #fff;
  border-radius: 1px;
}

/* Black Belt */
.belt-bar--black .belt-bar__belt {
  background: linear-gradient(90deg, #1a1a1a 0%, #333 100%);
  border: 1px solid rgba(255,255,255,0.15);
}
.belt-bar--black .belt-bar__tab {
  background: #E74C3C;
}

/* Brown Belt */
.belt-bar--brown .belt-bar__belt {
  background: linear-gradient(90deg, #5C3317 0%, #7B4B2A 100%);
  border: 1px solid rgba(255,255,255,0.1);
}
.belt-bar--brown .belt-bar__tab {
  background: #1a1a1a;
}
.belt-bar--4stripe .belt-bar__tab {
  width: 24px;
}

/* Wrestling (special - red/blue like singlet) */
.belt-bar--wrestling .belt-bar__belt {
  background: linear-gradient(90deg, #B71C1C 0%, #1565C0 100%);
  border: 1px solid rgba(255,255,255,0.15);
}
.belt-bar--wrestling .belt-bar__tab {
  background: var(--gold);
}

.coach-card__rank-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.coach-card__avatar svg {
  width: 48px;
  height: 48px;
  color: var(--text-faint);
}

.coach-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: var(--space-1);
}

.coach-card__role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.coach-card__bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  padding: clamp(64px, 8vw, 96px) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .nav__logo {
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.footer__social a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: var(--space-5);
  color: var(--text);
}

.footer__col p,
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  display: block;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--text);
}

/* Map */
.footer__map {
  grid-column: 1 / -1;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: var(--space-8);
}

#map {
  width: 100%;
  height: 100%;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom p,
.footer__bottom a {
  font-size: 13px;
  color: var(--text-faint);
}

.footer__bottom a {
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 60ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 120ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 180ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 300ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .programs__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .program-card--featured {
    grid-column: span 6;
    grid-row: span 1;
  }
  .program-card--medium {
    grid-column: span 3;
  }
  .program-card--small {
    grid-column: span 3;
  }
  .competition__split {
    grid-template-columns: 1fr;
  }
  .athletes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .coaches__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coach-card--featured {
    grid-column: 1 / -1;
  }
}


@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

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

  .program-card--featured,
  .program-card--medium,
  .program-card--small {
    grid-column: span 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .schedule-full {
    display: none;
  }

  .schedule-legend {
    display: none;
  }

  .schedule-cards {
    display: block;
  }

  .pricing__grid,
  .pricing__grid--4,
  .pricing__grid--2 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing__category {
    text-align: center;
  }

  .extra-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .extra-card__price {
    margin-left: 0;
  }

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

  .trial__image {
    order: -1;
    max-height: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .coaches__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  .coach-card--featured {
    grid-column: 1 / -1;
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
  .coach-card--featured .coach-card__avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
  .coach-card--featured .coach-card__name {
    font-size: 22px;
  }
  .coach-card--featured .coach-card__rank {
    align-items: center;
  }
  .coach-card {
    padding: var(--space-5);
  }
  .coach-card__avatar {
    width: 80px;
    height: 80px;
  }
  .coach-card__name {
    font-size: 16px;
  }
  .coach-card__role {
    font-size: 12px;
  }
  .coach-card__bio {
    font-size: 13px;
  }
  .coach-card__rank {
    gap: 6px;
    flex-wrap: wrap;
  }
  .belt-bar {
    width: 60px;
    height: 8px;
  }
  .coach-card__rank-label {
    font-size: 9px;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .stat-card {
    padding: var(--space-4);
  }

  .stat-card__value {
    font-size: 28px;
  }
}
