/* ============================================================
   PROVING GROUND MMA — Main Stylesheet
   ============================================================
   Table of Contents:
   1. CSS Variables & Reset
   2. Base & Typography
   3. Utility Classes & Animations
   4. Navigation
   5. Footer
   6. Mobile CTA Bar
   7. Hero Sections
   8. Social Proof Bar
   9. Programs Section
   10. USP / Why Choose Us
   11. Testimonials
   12. CTA Banners
   13. About Page
   14. Schedule Page
   15. Events Page
   16. FAQ Page
   17. Contact Page
   18. Store Page
   19. Breadcrumbs
   20. Responsive Breakpoints
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* ── Nike: Black / White / Red only ── */
  --black:         #0A0A0A;    /* dark section backgrounds */
  --charcoal:      #111111;    /* card/component backgrounds (dark) */
  --charcoal-mid:  #1A1A1A;    /* slightly lighter dark surfaces */
  --section-light: #FFFFFF;    /* white alternating sections */
  --red:           #E8002D;    /* ONLY accent color — no blue, no gold */
  --red-dark:      #C8001F;
  --red-glow:      rgba(232, 0, 45, 0.14);
  --white:         #FFFFFF;
  --gray:          #888888;    /* secondary text on dark sections */
  --gray-dim:      rgba(255, 255, 255, 0.07);
  --border:        rgba(255, 255, 255, 0.1);    /* dark section borders */
  --border-light:  rgba(255, 255, 255, 0.15);

  /* Light-section palette (white sections) */
  --light-text:      #0A0A0A;
  --light-text-sec:  #555555;
  --light-card:      #F4F4F4;   /* card bg on white sections */
  --light-border:    rgba(0, 0, 0, 0.1);
  --light-border-md: rgba(0, 0, 0, 0.2);

  /* Tags — monochrome B&W/Red only, no blue or purple */
  --tag-bjj:          #FFFFFF;
  --tag-bjj-bg:       rgba(255, 255, 255, 0.1);
  --tag-nogi:         #CCCCCC;
  --tag-nogi-bg:      rgba(255, 255, 255, 0.07);
  --tag-striking:     #E8002D;
  --tag-striking-bg:  rgba(232, 0, 45, 0.14);
  --tag-kids:         #BBBBBB;
  --tag-kids-bg:      rgba(255, 255, 255, 0.06);
  --tag-openmat:      #888888;
  --tag-openmat-bg:   rgba(255, 255, 255, 0.05);

  /* Typography */
  --font:          'Inter', 'Helvetica Neue', Arial, sans-serif;
  --fw-normal:     400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-black:      800;

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;
  --sp-3xl: 128px;

  /* Layout */
  --max-w:     1280px;
  --nav-h:     72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    0.2s var(--ease);
  --t-base:    0.4s var(--ease);
  --t-slow:    0.6s var(--ease);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: var(--fw-normal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-bold);
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Grain texture overlay */
.grain-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* ============================================================
   2. BASE & TYPOGRAPHY
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.section {
  padding: var(--sp-2xl) 0;
}

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

/* ── White-section overrides: dark text, light-toned cards ──
   Cards normally use var(--charcoal) bg with white text.
   On white sections we flip them to light bg with dark text. */

.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3,
.section--charcoal h4 { color: var(--light-text); }

.section--charcoal p  { color: var(--light-text-sec); }
.section--charcoal .label { color: var(--red); }
.section--charcoal .section-heading::after { background: var(--red); }

/* Program & feature cards */
.section--charcoal .program-card {
  background: var(--light-card);
  border-color: var(--light-border);
}
.section--charcoal .program-card__title { color: var(--light-text); }
.section--charcoal .program-card__desc  { color: var(--light-text-sec); }
.section--charcoal .program-card:hover  {
  border-color: var(--red);
  box-shadow: 0 20px 40px var(--red-glow);
}

/* Value cards — dark cards intentionally contrast the light section */
.section--charcoal .value-card {
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--charcoal .value-card__title { color: var(--white); }
.section--charcoal .value-card__desc  { color: var(--gray); }
.section--charcoal .value-card:hover  { border-color: rgba(255, 255, 255, 0.12); }

.section--charcoal .coach-card__photo {
  background: var(--light-card);
  border-color: var(--light-border);
}
.section--charcoal .coach-card__name       { color: var(--light-text); }
.section--charcoal .coach-card__title-role { color: var(--red); }
.section--charcoal .coach-card__bio        { color: var(--light-text-sec); }

/* USP rows */
.section--charcoal .usp-row               { border-color: var(--light-border); }
.section--charcoal .usp-content__heading  { color: var(--light-text); }
.section--charcoal .usp-content__text     { color: var(--light-text-sec); }
.section--charcoal .usp-content__list-item{ color: var(--light-text-sec); }
.section--charcoal .usp-image-placeholder {
  background: var(--light-card);
  border-color: var(--light-border);
}

/* Schedule items & tabs (schedule page uses section--black, but just in case) */
.section--charcoal .schedule-item {
  background: var(--light-card);
  border-color: var(--light-border);
}
.section--charcoal .schedule-item__time { color: var(--light-text); }
.section--charcoal .schedule-item__name { color: var(--light-text); }
.section--charcoal .schedule-tab        { color: var(--light-text-sec); border-color: var(--light-border); }
.section--charcoal .schedule-tab:hover  { color: var(--light-text); background: rgba(0,0,0,0.04); }
.section--charcoal .schedule-tab.active { color: var(--light-text); border-bottom-color: var(--red); }

/* Tags on white sections — dark text so they're visible */
.section--charcoal .tag--bjj    { color: #0A0A0A; background: rgba(0,0,0,0.07); }
.section--charcoal .tag--nogi   { color: #444444; background: rgba(0,0,0,0.05); }
.section--charcoal .tag--kids   { color: #444444; background: rgba(0,0,0,0.05); }
.section--charcoal .tag--striking { color: var(--red); background: rgba(232,0,45,0.08); }
.section--charcoal .tag--openmat  { color: #666666; background: rgba(0,0,0,0.05); }

/* Filter buttons */
.section--charcoal .filter-btn {
  background: var(--light-card);
  border-color: var(--light-border);
  color: var(--light-text-sec);
}
.section--charcoal .filter-btn:hover  { border-color: var(--light-border-md); color: var(--light-text); }
.section--charcoal .filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* FAQ */
.section--charcoal .faq-item           { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .faq-question       { color: var(--light-text); }
.section--charcoal .faq-question__icon { border-color: var(--light-border-md); color: var(--light-text-sec); }
.section--charcoal .faq-answer__inner  { color: var(--light-text-sec); }
.section--charcoal .faq-category__heading { color: var(--red); border-color: var(--light-border); }

/* Testimonials */
.section--charcoal .testimonial-card         { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .testimonial-card__text   { color: var(--light-text-sec); }
.section--charcoal .testimonial-card__author { color: var(--light-text); }
.section--charcoal .testimonial-card__quote-mark { color: rgba(0,0,0,0.04); }

/* Contact form & info */
.section--charcoal .contact-form,
.section--charcoal .contact-info-card { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .form-label        { color: var(--light-text-sec); }
.section--charcoal .form-input,
.section--charcoal .form-select,
.section--charcoal .form-textarea {
  background: #FFFFFF;
  border-color: var(--light-border);
  color: var(--light-text);
}
.section--charcoal .form-input::placeholder,
.section--charcoal .form-textarea::placeholder { color: #AAAAAA; }
.section--charcoal .hours-row       { border-color: var(--light-border); }
.section--charcoal .hours-row__day  { color: var(--light-text-sec); }
.section--charcoal .hours-row__time { color: var(--light-text); }
.section--charcoal .contact-info__content strong { color: var(--light-text); }
.section--charcoal .contact-info__content a,
.section--charcoal .contact-info__content p      { color: var(--light-text-sec); }

/* Class type cards */
.section--charcoal .class-type-card       { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .class-type-card__title{ color: var(--light-text); }
.section--charcoal .class-type-card__desc { color: var(--light-text-sec); }

/* Notice */
.section--charcoal .notice { background: rgba(232,0,45,0.06); border-color: rgba(232,0,45,0.15); color: var(--red); }

/* Event & product cards */
.section--charcoal .event-card   { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .event-card__title { color: var(--light-text); }
.section--charcoal .event-card__desc  { color: var(--light-text-sec); }
.section--charcoal .event-card__meta  { color: var(--light-text-sec); }
.section--charcoal .product-card      { background: var(--light-card); border-color: var(--light-border); }
.section--charcoal .product-card__name{ color: var(--light-text); }

/* Section heading in white section */
.section--charcoal .section-intro { color: var(--light-text-sec); }

.section--black {
  background-color: var(--black);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: var(--fw-black); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: var(--fw-black); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: var(--fw-bold); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: var(--fw-bold); }
p { font-size: 1rem; line-height: 1.7; color: var(--gray); }

.text-red    { color: var(--red); }
.text-gold   { color: var(--red); }
.text-white  { color: var(--white); }
.text-gray   { color: var(--gray); }
.text-center { text-align: center; }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.section-heading {
  position: relative;
  display: inline-block;
  margin-bottom: var(--sp-xl);
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.8s var(--ease);
}

.section-heading.is-visible::after {
  width: 60px;
}

.section-heading--center {
  display: block;
  text-align: center;
}

.section-heading--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   3. UTILITY CLASSES & ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.anim-fade-up    { transform: translateY(40px); }
.anim-fade-left  { transform: translateX(-60px); }
.anim-fade-right { transform: translateX(60px); }
.anim-scale-in   { transform: scale(0.95); }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.5s; }
.stagger-7 { transition-delay: 0.6s; }
.stagger-8 { transition-delay: 0.7s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  cursor: pointer;
  min-height: 48px;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
}

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

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

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Ghost button on white/light sections — invert to dark border */
.section--charcoal .btn--ghost {
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.35);
}
.section--charcoal .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--black);
  color: var(--black);
}

.btn--gold {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn--gold:hover {
  background: var(--red);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 14px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}

/* Pulse animation for nav CTA */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(230,57,70,0); }
}

.btn--pulse {
  animation: pulse-red 2.5s ease-in-out infinite;
}

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-base), backdrop-filter var(--t-base), box-shadow var(--t-base);
}

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

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-emblem {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-black);
  color: var(--red);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  background: rgba(230,57,70,0.06);
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-main {
  font-size: 14px;
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.nav__logo-sub {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

.nav__link:hover, .nav__link:focus {
  color: var(--white);
  background: var(--gray-dim);
}

.nav__link.active {
  color: var(--white);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}

.nav__dropdown-toggle:hover {
  color: var(--white);
  background: var(--gray-dim);
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* Bridge the 8px gap so hover isn't lost when moving cursor to the menu */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.nav__dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__dropdown-item:hover {
  color: var(--white);
  background: var(--gray-dim);
}

/* Nav phone (mobile visible) */
.nav__phone {
  display: none;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.nav__phone:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Nav right */
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), width var(--t-fast);
  transform-origin: center;
}

.nav__hamburger.is-active .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-active .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-active .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay menu */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  width: 100%;
  padding: 0 var(--sp-lg);
}

.nav__mobile-link {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: var(--fw-black);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-base), transform var(--t-base), color 0.2s;
}

.nav__mobile-link:hover {
  color: var(--red);
}

.nav__mobile-menu.is-open .nav__mobile-link {
  opacity: 1;
  transform: none;
}

.nav__mobile-menu.is-open .nav__mobile-link:nth-child(1) { transition-delay: 0.05s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(2) { transition-delay: 0.10s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(3) { transition-delay: 0.15s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(4) { transition-delay: 0.20s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(5) { transition-delay: 0.25s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(6) { transition-delay: 0.30s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(7) { transition-delay: 0.35s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(8) { transition-delay: 0.40s; }
.nav__mobile-menu.is-open .nav__mobile-link:nth-child(9) { transition-delay: 0.45s; }

.nav__mobile-cta {
  margin-top: var(--sp-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.nav__mobile-menu.is-open .nav__mobile-cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
  background: none;
  border: none;
}

.nav__mobile-close:hover {
  color: var(--white);
  background: var(--gray-dim);
}

/* ============================================================
   5. FOOTER
   ============================================================ */
.footer {
  background: #0D0D0D;
  padding-top: var(--sp-xl);
}

.footer__top-border {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin-bottom: var(--sp-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--sp-md);
  text-decoration: none;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer__logo-main {
  font-size: 16px;
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__logo-sub {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  font-style: italic;
  margin-bottom: var(--sp-md);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--t-fast);
  font-size: 15px;
}

.footer__social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col-heading {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--t-fast);
  padding: 2px 0;
}

.footer__link:hover {
  color: var(--white);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__contact-icon {
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--red);
  opacity: 0.8;
}

.footer__contact-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

.footer__contact-link {
  color: var(--gray);
  transition: color var(--t-fast);
}

.footer__contact-link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: var(--sp-md) 0;
  text-align: center;
}

.footer__copyright {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================================
   6. MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 12px var(--sp-sm);
  transform: translateY(100%);
  transition: transform var(--t-slow);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}

.mobile-cta-bar.is-visible {
  transform: none;
}

.mobile-cta-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-cta-bar__btn {
  flex: 1;
  text-align: center;
}

.mobile-cta-bar__dismiss {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--t-fast);
  background: none;
  border: none;
  flex-shrink: 0;
}

.mobile-cta-bar__dismiss:hover {
  color: var(--white);
}

/* ============================================================
   7. HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) 0 64px;
}

.hero--short {
  min-height: 60vh;
  padding: calc(var(--nav-h) + 32px) 0 48px;
}

/* page-hero — used by events/store pages (same as hero--short) */
.page-hero {
  position: relative;
  min-height: 40vh;
  padding: calc(var(--nav-h) + 48px) 0 56px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 50%, #0A0A0A 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(232,0,45,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  width: 100%;
}

.page-hero__heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.page-hero__heading span { color: var(--red); }

.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray);
  max-width: 560px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 40%, #0A0A0A 70%, #0A0A0A 100%);
  z-index: 0;
}

.hero__bg-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(230,57,70,0.06) 0%, transparent 70%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--sp-lg);
}

.hero__label {
  margin-bottom: var(--sp-sm);
  display: block;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease) 0.2s forwards;
}

.hero__heading {
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease) 0.4s forwards;
}

.hero__heading span {
  color: var(--red);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto var(--sp-lg);
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease) 0.6s forwards;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease) 0.8s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease) 1.0s forwards;
}

.hero__scroll-text {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero__scroll-chevron {
  animation: bounce-down 1.6s ease-in-out infinite;
  color: var(--gray);
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(6px); opacity: 1; }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

/* Animated grain in hero */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px;
  animation: grain-shift 8s steps(10) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -1%); }
  50%  { transform: translate(-3%, 2%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(-4%, 3%); }
  80%  { transform: translate(2%, -2%); }
  90%  { transform: translate(3%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   8. SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background: var(--white);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  padding: var(--sp-lg) 0;
}

.proof-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}

.proof-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-sm) var(--sp-sm);
  position: relative;
}

.proof-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--red);
  opacity: 0.25;
}

.proof-bar__number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.proof-bar__number .suffix {
  color: var(--red);
}

.proof-bar__label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text-sec);
}

/* ============================================================
   9. PROGRAMS SECTION
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.program-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--red-glow);
  border-color: rgba(230, 57, 70, 0.2);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-sm);
  display: block;
}

.program-card__title {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.program-card__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

.program-card__link {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}

.program-card__link:hover {
  gap: 10px;
}

/* Stretch the link to cover the entire card — makes full card clickable */
.program-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Large program cards on programs.html */
.program-card--large {
  padding: var(--sp-xl);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-xl);
  align-items: start;
  background: var(--charcoal-mid);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Numbered section label above each large program card title */
.program-card__number {
  display: block;
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
  opacity: 0.85;
}

.program-card--large .program-card__icon {
  font-size: 3.5rem;
  margin-bottom: 0;
}

/* Stretch the primary btn to cover full card area; secondary btn floats above */
.program-card--large .btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
}
.program-card--large .btn--ghost {
  position: relative;
  z-index: 1;
}

/* ============================================================
   10. USP / WHY CHOOSE US
   ============================================================ */
.usp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--border);
}

.usp-row:last-child {
  border-bottom: none;
}

.usp-row--reverse {
  direction: rtl;
}

.usp-row--reverse > * {
  direction: ltr;
}

.usp-image-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.usp-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,57,70,0.05), transparent 60%);
}

.usp-content__label {
  margin-bottom: 12px;
}

.usp-content__heading {
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.usp-content__text {
  font-size: 15px;
  margin-bottom: var(--sp-md);
}

.usp-content__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usp-content__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}

.usp-content__list-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonials-carousel {
  position: relative;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.testimonial-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.testimonial-card__quote-mark {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  font-family: Georgia, serif;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-sm);
}

.testimonial-card__star {
  color: var(--red);
  font-size: 14px;
}

.testimonial-card__text {
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-md);
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
}

.testimonials-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

/* ============================================================
   12. CTA BANNERS
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: var(--sp-2xl) 0;
  text-align: center;
  background: var(--black);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(230,57,70,0.08) 0%, transparent 70%);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.cta-banner__heading {
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: var(--sp-lg);
}

.cta-banner__trust {
  margin-top: var(--sp-md);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.cta-banner__trust span {
  color: var(--red);
}

.cta-banner__urgency {
  display: inline-block;
  background: rgba(232, 0, 45, 0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(232, 0, 45, 0.25);
  margin-bottom: var(--sp-md);
}

/* ============================================================
   13. ABOUT PAGE
   ============================================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.value-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-md);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--red-glow);
  border-color: rgba(255, 255, 255, 0.12);
}

.value-card__icon {
  width: 68px;
  height: 68px;
  background: var(--charcoal-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 13px;
  object-fit: contain;
  display: block;
  margin: 0 auto var(--sp-md);
}

.value-card__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-card__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.coach-card {
  text-align: center;
}

.coach-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 3px solid var(--border-light);
  margin: 0 auto var(--sp-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.coach-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230,57,70,0.1), transparent);
}

.coach-card__name {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 4px;
}

.coach-card__title-role {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.coach-card__bio {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   14. SCHEDULE PAGE
   ============================================================ */
.schedule-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.schedule-tab {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: color var(--t-fast), background var(--t-fast);
  border: none;
  background: none;
  position: relative;
  bottom: -1px;
  border-bottom: 2px solid transparent;
  min-height: 44px;
}

.schedule-tab:hover {
  color: var(--white);
  background: var(--gray-dim);
}

.schedule-tab.active {
  color: var(--white);
  border-bottom-color: var(--red);
}

.schedule-tab.today::after {
  content: '●';
  font-size: 6px;
  color: var(--red);
  position: absolute;
  top: 8px;
  right: 8px;
}

.schedule-filters {
  display: flex;
  gap: 8px;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 36px;
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.schedule-day {
  display: none;
}

.schedule-day.active {
  display: block;
  animation: fade-in 0.3s var(--ease);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), opacity var(--t-fast);
}

.schedule-item.dimmed {
  opacity: 0.35;
}

.schedule-item__time {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: 0.01em;
  grid-column: 2;
}

.schedule-item__name {
  font-size: 14px;
  color: var(--white);
  font-weight: var(--fw-medium);
  grid-column: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tags — B&W/Red only. Default for dark backgrounds. */
.tag--bjj      { color: #FFFFFF; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); }
.tag--nogi     { color: #CCCCCC; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.tag--striking { color: #E8002D; background: rgba(232,0,45,0.15);   border: 1px solid rgba(232,0,45,0.3); }
.tag--kids     { color: #BBBBBB; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.tag--openmat  { color: #888888; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }

/* ============================================================
   15. EVENTS PAGE
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.event-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  display: flex;
  gap: var(--sp-md);
  transition: transform var(--t-base), border-color var(--t-fast);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.2);
}

.event-card__date {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
  align-self: flex-start;
}

.event-card__month {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.event-card__day {
  font-size: 1.8rem;
  font-weight: var(--fw-black);
  line-height: 1;
}

.event-card__body {
  flex: 1;
}

.event-card__title {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 8px;
}

.event-card__desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.6;
}

.event-card__meta {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-sm);
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.past-event-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.past-event-placeholder {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.past-event-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
}

.past-event-caption {
  padding: 10px 0 0;
  font-size: 13px;
  color: var(--gray);
}

/* ============================================================
   16. FAQ PAGE
   ============================================================ */
.faq-category {
  margin-bottom: var(--sp-xl);
}

.faq-category__heading {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-md);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.is-open {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-md);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.5;
  min-height: 56px;
  transition: color var(--t-fast);
}

.faq-question:hover {
  color: var(--white);
}

.faq-question__icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-fast), border-color var(--t-fast);
  color: var(--gray);
  font-size: 14px;
}

.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding: 0 var(--sp-md) var(--sp-md);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}

/* ============================================================
   17. CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact-form {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  min-height: 48px;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red);
  animation: shake 0.5s ease;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--charcoal);
}

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

@keyframes shake {
  0%, 100% { transform: none; }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

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

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  font-size: 3rem;
  margin-bottom: var(--sp-sm);
  animation: pop-in 0.5s var(--ease);
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-info-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
}

.contact-info__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info__icon {
  font-size: 1.2rem;
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
  width: 24px;
}

.contact-info__content strong {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3px;
}

.contact-info__content a, .contact-info__content p {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--t-fast);
  line-height: 1.5;
}

.contact-info__content a:hover {
  color: var(--white);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child { border-bottom: none; }

.hours-row__day { color: var(--gray); }
.hours-row__time { color: var(--white); font-weight: var(--fw-medium); font-size: 12px; text-align: right; }

/* ============================================================
   18. STORE PAGE
   ============================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.product-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
}

.product-card__image {
  aspect-ratio: 1;
  background: var(--charcoal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
}

.product-card__body {
  padding: var(--sp-md);
}

.product-card__name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 4px;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: var(--fw-black);
  color: var(--red);
  margin-bottom: var(--sp-sm);
}

.store-coming-soon {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   19. BREADCRUMBS
   ============================================================ */
.breadcrumb {
  padding: calc(var(--nav-h) + 12px) 0 0;
  background: var(--black);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}

.breadcrumb__item a {
  color: var(--gray);
  transition: color var(--t-fast);
}

.breadcrumb__item a:hover {
  color: var(--white);
}

.breadcrumb__item.current {
  color: var(--white);
}

.breadcrumb__sep {
  color: var(--border-light);
  font-size: 10px;
}

/* ============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* 1280px — large desktop */
@media (max-width: 1280px) {
  .container { padding: 0 var(--sp-md); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: var(--sp-lg); }
}

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  :root { --sp-2xl: 72px; --sp-3xl: 96px; }

  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav__phone { display: flex; }

  .programs-grid { grid-template-columns: 1fr; }
  .program-card--large { grid-template-columns: 1fr; }
  .usp-row { grid-template-columns: 1fr; }
  .usp-row--reverse { direction: ltr; }
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .coaches-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .past-events-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .testimonials-track { grid-template-columns: 1fr; }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
  :root { --sp-xl: 48px; --sp-2xl: 56px; }

  .section { padding: var(--sp-xl) 0; }
  .proof-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .proof-bar__item:nth-child(2)::after { display: none; }

  .schedule-item { grid-template-columns: 1fr auto; gap: 8px; }
  .schedule-item__name { grid-column: 1 / -1; }
  .schedule-item__time { font-size: 12px; grid-column: auto; }

  .mobile-cta-bar { display: flex; }

  h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* 480px — mobile */
@media (max-width: 480px) {
  :root { --sp-lg: 28px; --sp-xl: 40px; }

  .container { padding: 0 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .proof-bar__inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proof-bar__item:nth-child(1)::after { display: block; }
  .proof-bar__item:nth-child(3)::after { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .schedule-tabs { gap: 2px; }
  .schedule-tab { padding: 10px 12px; font-size: 11px; }
  .store-grid { grid-template-columns: 1fr; }
  .past-events-grid { grid-template-columns: 1fr 1fr; }
}

/* Page padding for fixed nav */
.page-content {
  padding-top: var(--nav-h);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-xl) 0;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* Icon SVG helpers */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

/* List style for program pages */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--sp-md) 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.feature-list__icon {
  color: var(--red);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Class types grid */
.class-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin: var(--sp-lg) 0;
}

.class-type-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
}

.class-type-card__title {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 6px;
}

.class-type-card__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* Inline notice */
.notice {
  background: rgba(232, 0, 45, 0.08);
  border: 1px solid rgba(232, 0, 45, 0.18);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 13px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--sp-md);
}

/* Section intro text */
.section-intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: var(--sp-xl);
}

/* Grid 2-col text layout */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}

@media (max-width: 768px) {
  .two-col-text { grid-template-columns: 1fr; }
  .class-types-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGO IMAGE STYLES
   ============================================================ */

/* Logo in nav bar */
.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Logo in footer */
.footer__logo-img {
  height: 58px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Hero logo watermark — right-side, behind all content */
.hero::after {
  content: '';
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 30vw);
  aspect-ratio: 1;
  background: url('../images/logo.webp') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* CTA banner logo watermark — centered, very subtle */
.cta-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 32vw);
  aspect-ratio: 1;
  background: url('../images/logo.webp') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1024px) {
  .hero::after { width: min(280px, 32vw); opacity: 0.08; }
}
@media (max-width: 768px) {
  .hero::after { display: none; }
  .cta-banner::after { display: none; }
  .nav__logo-img { height: 36px; }
  .footer__logo-img { height: 48px; }
}

/* ============================================================
   PROGRAM SUB-PAGE STYLES
   ============================================================ */

/* Two-column content + image layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
.two-col--text-only { align-items: start; }
.two-col--image-right .two-col__image { order: 1; }
.two-col__content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}
.two-col__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.two-col__image img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  max-height: 540px;
}

/* Alternating section background for program pages */
.section--alt {
  background: var(--charcoal);
  padding: var(--sp-2xl) 0;
}

/* Section headings for program pages */
.section__heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
}
.section__heading--center { text-align: center; }
.section--alt .section__heading { color: var(--white); }

.section__sub {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: var(--sp-lg);
}
.section__sub--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section--alt .section__sub { color: var(--gray); }

/* Feature list variants */
.feature-list--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm) var(--sp-lg);
}
.feature-list--three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.feature-list__item--card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  flex-direction: column;
  gap: 8px;
}
.section--alt .feature-list__item--card {
  background: var(--charcoal-mid);
  border-color: var(--border);
}
.feature-list__icon--lg { font-size: 1.6rem; flex-shrink: 0; }
.feature-list__heading {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 4px;
}
.section--alt .feature-list__heading { color: var(--white); }
.section--alt .feature-list__item { color: var(--gray); }
.section--alt .feature-list__icon { color: var(--red); }

/* Age groups grid */
.age-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}
.age-group-card {
  background: var(--charcoal-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
}
.age-group-card__badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-bold);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.age-group-card__heading {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 8px;
}
.age-group-card p { font-size: 13px; color: var(--gray); line-height: 1.65; }
.section--alt .age-group-card { background: var(--light-card); border-color: var(--light-border); }
.section--alt .age-group-card__heading { color: var(--light-text); }
.section--alt .age-group-card p { color: var(--light-text-sec); }

/* FAQ list for program pages (details/summary style) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.faq-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item__question {
  padding: var(--sp-sm) var(--sp-md);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item__question::after {
  content: '+';
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-left: 12px;
  font-weight: 300;
}
details[open] .faq-item__question::after { content: '−'; }
.faq-item__answer {
  padding: 0 var(--sp-md) var(--sp-sm);
}
.faq-item__answer p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}
.section--alt .faq-item { background: var(--light-card); border-color: var(--light-border); }
.section--alt .faq-item__question { color: var(--light-text); }
.section--alt .faq-item__answer p { color: var(--light-text-sec); }

/* Notice / info box */
.notice--info {
  background: rgba(232,0,45,0.07);
  border: 1px solid rgba(232,0,45,0.2);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
}
.notice__icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.notice__heading { font-size: 14px; font-weight: var(--fw-bold); color: var(--white); margin-bottom: 6px; }
.notice__text { font-size: 13px; color: var(--gray); line-height: 1.65; }
.section--alt .notice__heading { color: var(--light-text); }
.section--alt .notice__text { color: var(--light-text-sec); }

/* CTA banner inner layout (two-column) */
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}
.cta-banner__text { flex: 1; min-width: 260px; }
.cta-banner__eyebrow { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.cta-banner__action { flex-shrink: 0; }

/* Container narrow variant */
.container--narrow { max-width: 740px; }

/* Class types grid two-up (two columns) */
.class-types-grid--two-up { grid-template-columns: 1fr 1fr; }
.class-type-card__name {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 8px;
}
.section--alt .class-type-card__name { color: var(--light-text); }

/* Photo strip / gallery for program pages */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.photo-strip--two { grid-template-columns: 1fr 1fr; }
.photo-strip--two img { aspect-ratio: 3/2; }

/* Full-width community photo */
.community-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
  max-height: 420px;
  margin-top: var(--sp-lg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .feature-list--three-col { grid-template-columns: 1fr 1fr; }
  .age-groups-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--image-right .two-col__image { order: -1; }
  .feature-list--two-col { grid-template-columns: 1fr; }
  .feature-list--three-col { grid-template-columns: 1fr; }
  .age-groups-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .class-types-grid--two-up { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   FREE CLASS MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

/* Header */
.modal__header {
  padding: 18px var(--sp-lg) 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
}

.modal__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 0, 45, 0.12);
  border: 1px solid rgba(232, 0, 45, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: modal-pulse 2s ease-in-out infinite;
}

@keyframes modal-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.modal__close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--border-light);
}

/* Body */
.modal__body {
  padding: var(--sp-lg);
}

.modal__title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal__title span {
  color: var(--red);
}

.modal__sub {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}

/* Form layout */
.modal-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.modal-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal-form__label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--gray);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.modal-form__input {
  background: var(--charcoal-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.modal-form__input:focus {
  border-color: var(--red);
  background: rgba(26, 26, 26, 0.9);
  box-shadow: 0 0 0 3px rgba(232, 0, 45, 0.1);
}

.modal-form__input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.modal-form__input.error {
  border-color: var(--red);
}

.modal-form__error {
  font-size: 11px;
  color: var(--red);
  display: none;
  font-weight: var(--fw-medium);
}

.modal-form__error.visible {
  display: block;
}

/* Class selection */
.modal-form__class-section {
  margin-top: 20px;
  margin-bottom: var(--sp-md);
}

.modal-form__class-label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--gray);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.class-select__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.class-option {
  position: relative;
}

.class-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.class-option__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--charcoal-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.class-option__card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(30, 30, 30, 0.9);
}

.class-option input:checked + .class-option__card {
  border-color: var(--red);
  background: rgba(232, 0, 45, 0.07);
  box-shadow: 0 0 0 3px rgba(232, 0, 45, 0.08), inset 0 0 0 1px rgba(232, 0, 45, 0.15);
}

.class-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.class-option input:checked + .class-option__card .class-option__radio {
  border-color: var(--red);
  background: var(--red);
}

.class-option__radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-option input:checked + .class-option__card .class-option__radio::after {
  transform: translate(-50%, -50%) scale(1);
}

.class-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.class-option__cat {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.class-option__cat--adult { color: var(--red); }
.class-option__cat--kids  { color: #888; }

.class-option input:checked + .class-option__card .class-option__cat--kids {
  color: rgba(232, 0, 45, 0.7);
}

.class-option__name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

/* Submit */
.modal-form__submit {
  width: 100%;
  margin-top: var(--sp-md);
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0.03em;
  height: 52px;
}

.modal-form__submit svg {
  margin-left: 8px;
  transition: transform 0.2s var(--ease);
}

.modal-form__submit:hover svg {
  transform: translateX(4px);
}

/* Class error */
.modal-form__class-error {
  display: none;
  font-size: 11px;
  color: var(--red);
  font-weight: var(--fw-medium);
  margin-top: 8px;
}

.modal-form__class-error.visible {
  display: block;
}

/* Success state */
.modal-success {
  display: none;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
}

.modal-success.is-visible {
  display: block;
}

.modal-success__check {
  width: 64px;
  height: 64px;
  background: rgba(232, 0, 45, 0.1);
  border: 2px solid rgba(232, 0, 45, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  font-size: 28px;
}

.modal-success__heading {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: var(--fw-black);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.modal-success__text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto var(--sp-lg);
}

.modal-success__actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 560px) {
  .modal { border-radius: var(--radius-md); max-height: 96vh; }
  .modal__body { padding: var(--sp-md); }
  .modal__header { padding: 14px var(--sp-md); }
  .modal-form__row { grid-template-columns: 1fr; gap: var(--sp-xs); }
  .class-select__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .class-option__name { font-size: 13px; }
  .modal__title { font-size: 1.4rem; }
}

/* ============================================================
   PROSE BENEFITS — plain bold heading + paragraph, no cards
   ============================================================ */
.prose-benefits {
  display: grid;
  gap: var(--sp-xl) var(--sp-2xl);
}
.prose-benefits--two-col   { grid-template-columns: repeat(2, 1fr); }
.prose-benefits--three-col { grid-template-columns: repeat(3, 1fr); }

.prose-benefits__heading {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--white);
}
.section--alt .prose-benefits__heading { color: var(--white); }

.prose-benefits p {
  line-height: 1.75;
  color: var(--gray);
  font-size: 15px;
}
.section--alt .prose-benefits p { color: var(--gray); }

@media (max-width: 768px) {
  .prose-benefits--two-col,
  .prose-benefits--three-col { grid-template-columns: 1fr; }
}
