/* ============================================================
   HAVEN GRAPPLING ACADEMY — Design System
   Aesthetic: Refined Brutality — editorial luxury meets combat sport
   ============================================================ */

/* -------------------------
   1. VARIABLES & RESET
   ------------------------- */
:root {
  /* Color Palette */
  --color-bg: #0C0C0C;
  --color-bg-elevated: #131313;
  --color-bg-surface: #1a1a1a;
  --color-bg-card: #161616;
  --color-accent: #526957;
  --color-accent-light: #6b8a72;
  --color-accent-dark: #3d4f41;
  --color-accent-glow: rgba(82, 105, 87, 0.12);
  --color-text: #f5f0eb;
  --color-text-secondary: #a09a93;
  --color-text-muted: #6b6560;
  --color-border: rgba(245, 240, 235, 0.07);
  --color-border-accent: rgba(82, 105, 87, 0.25);
  --color-white: #f5f0eb;
  --color-nogi: #526957;
  --color-gi: #4a6670;
  --color-kids: #8a7545;
  --color-muaythai: #8a4545;
  --color-openmat: #666;

  /* Typography */
  --font-display: 'Urbanist', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py: clamp(5rem, 12vw, 9rem);
  --container-max: 1280px;
  --container-px: clamp(1.25rem, 4vw, 3rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Misc */
  --nav-height: 80px;
  --radius: 4px;
  --radius-lg: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection {
  background-color: var(--color-accent);
  color: var(--color-text);
}

/* Film Grain Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  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.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 10000;
}


/* -------------------------
   2. BASE TYPOGRAPHY
   ------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  color: var(--color-text-secondary);
  max-width: 65ch;
}

.text-accent { color: var(--color-accent-light); }
.text-muted { color: var(--color-text-muted); }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  max-width: 55ch;
}

.italic { font-style: italic; }

.display-light {
  font-weight: 300;
  font-style: italic;
}

/* Legacy class alias */
.display-serif {
  font-weight: 300;
  font-style: italic;
}


/* -------------------------
   3. LAYOUT & UTILITIES
   ------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1440px;
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-dark {
  background: var(--color-bg-elevated);
}

.section-accent {
  background: linear-gradient(135deg, rgba(82,105,87,0.08) 0%, rgba(12,12,12,1) 100%);
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; align-items: center; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 3rem 0;
}

.vine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--color-accent);
  opacity: 0.4;
}

.vine-divider::before,
.vine-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: currentColor;
}


/* -------------------------
   4. BUTTONS
   ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent-light);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

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

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 0.5rem 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.btn-ghost::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--color-accent);
  margin-left: 0.75rem;
  transition: width 0.3s var(--ease-out-expo);
  vertical-align: middle;
}

.btn-ghost:hover::after {
  width: 2.5rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
}

.btn-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-icon:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow);
}


/* -------------------------
   5. NAVIGATION
   ------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled::before {
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-logo:hover { transform: scale(1.02); }

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: all 0.3s var(--ease-out-expo);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: var(--color-accent-glow);
  color: var(--color-text);
}

.nav-dropdown-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  padding: 0.6rem 0;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-menu-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu-link:nth-child(8) { transition-delay: 0.45s; }
.mobile-menu.active .mobile-menu-link:nth-child(9) { transition-delay: 0.5s; }

.mobile-menu-link:hover {
  color: var(--color-text);
}

.mobile-menu-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.mobile-menu-cta {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}


/* -------------------------
   6. HERO SECTION
   ------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(12,12,12,0.95) 0%,
    rgba(12,12,12,0.88) 35%,
    rgba(12,12,12,0.55) 65%,
    rgba(12,12,12,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  padding-top: calc(var(--nav-height) + 2rem);
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 .accent {
  color: var(--color-accent-light);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Page Hero (for inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,12,12,1) 0%,
    rgba(12,12,12,0.85) 40%,
    rgba(12,12,12,0.5) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--color-accent-light); }
.breadcrumb .sep { opacity: 0.4; }


/* -------------------------
   7. PROGRAM CARDS
   ------------------------- */
.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.program-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out-expo);
}

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

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

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,12,12,0.95) 0%,
    rgba(12,12,12,0.3) 50%,
    rgba(12,12,12,0.1) 100%
  );
  transition: background 0.4s ease;
}

.program-card:hover .program-card-overlay {
  background: linear-gradient(
    to top,
    rgba(12,12,12,0.98) 0%,
    rgba(12,12,12,0.5) 50%,
    rgba(12,12,12,0.2) 100%
  );
}

.program-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
}

.program-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.program-card:hover h3 {
  color: var(--color-accent-light);
}

.program-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.program-card:hover .program-card-desc {
  max-height: 100px;
  opacity: 1;
}

.program-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
}

.program-card:hover .program-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.program-card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.program-card:hover .program-card-arrow svg {
  transform: translateX(4px);
}


/* -------------------------
   8. FEATURE BLOCKS
   ------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-row:nth-child(even) .feature-image {
  order: -1;
}

.feature-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.feature-text h3 {
  margin-bottom: 1rem;
}

.feature-text p {
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}


/* -------------------------
   9. STATS BAR
   ------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* -------------------------
   10. TESTIMONIALS
   ------------------------- */
.testimonial-section {
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--color-border-accent);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #d4a64a;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


/* -------------------------
   11. SCHEDULE
   ------------------------- */
.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-accent);
  background: var(--color-accent-glow);
  color: var(--color-text);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.schedule-day {
  background: var(--color-bg);
  min-height: 100px;
}

.schedule-day-header {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.schedule-day-header.today {
  color: var(--color-accent-light);
  background: rgba(82,105,87,0.1);
}

.schedule-classes {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-class {
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  line-height: 1.4;
  border-left: 3px solid;
  transition: all 0.3s ease;
  cursor: default;
}

.schedule-class:hover {
  transform: translateX(2px);
}

.schedule-class.nogi {
  border-color: var(--color-nogi);
  background: rgba(82,105,87,0.08);
}
.schedule-class.gi {
  border-color: var(--color-gi);
  background: rgba(74,102,112,0.08);
}
.schedule-class.kids {
  border-color: var(--color-kids);
  background: rgba(138,117,69,0.08);
}
.schedule-class.muaythai {
  border-color: var(--color-muaythai);
  background: rgba(138,69,69,0.08);
}
.schedule-class.openmat {
  border-color: var(--color-openmat);
  background: rgba(102,102,102,0.08);
}

.schedule-class-name {
  font-weight: 600;
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

.schedule-class-time {
  color: var(--color-text-muted);
  font-size: 0.68rem;
}

.schedule-class.hidden {
  display: none;
}

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

.schedule-mobile-day {
  margin-bottom: 1rem;
}

.schedule-mobile-header {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-mobile-header svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.schedule-mobile-header.active svg {
  transform: rotate(180deg);
}

.schedule-mobile-classes {
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out-expo);
}

.schedule-mobile-classes.active {
  max-height: 800px;
}

.schedule-mobile-class {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid;
}

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

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-dot.nogi { background: var(--color-nogi); }
.legend-dot.gi { background: var(--color-gi); }
.legend-dot.kids { background: var(--color-kids); }
.legend-dot.muaythai { background: var(--color-muaythai); }
.legend-dot.openmat { background: var(--color-openmat); }


/* -------------------------
   12. FORMS & INPUTS
   ------------------------- */
.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.form-select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-select option {
  background: var(--color-bg-surface);
  color: var(--color-text);
}

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

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

.form-error {
  font-size: 0.75rem;
  color: #c45;
  margin-top: 0.3rem;
  display: none;
}

.form-group.error .form-input {
  border-color: #c45;
}

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

/* Radio Card Selection */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.radio-card {
  position: relative;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all 0.35s var(--ease-out-expo);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  overflow: hidden;
}

.radio-card label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--color-accent));
  opacity: 0.4;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.radio-card label:hover {
  border-color: var(--card-accent, var(--color-accent));
  background: rgba(82,105,87,0.05);
}

.radio-card label:hover::before {
  opacity: 0.7;
}

.radio-card input:checked + label {
  border-color: var(--card-accent, var(--color-accent));
  background: rgba(82,105,87,0.1);
  color: var(--color-text);
  box-shadow: 0 0 20px rgba(82,105,87,0.1);
}

.radio-card input:checked + label::before {
  opacity: 1;
  height: 3px;
}

/* Program-specific accent colors */
.radio-card--adult { --card-accent: var(--color-nogi); }
.radio-card--kids { --card-accent: var(--color-kids); }
.radio-card--muaythai { --card-accent: var(--color-muaythai); }

.radio-card-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-accent, var(--color-accent));
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.radio-card input:checked + label .radio-card-icon {
  opacity: 1;
}

.radio-card-icon svg {
  width: 22px;
  height: 22px;
}


/* -------------------------
   13. MODAL
   ------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-header h3 {
  font-size: 1.5rem;
}

.modal-close {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.modal-success.active {
  display: block;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.modal-success h3 {
  margin-bottom: 0.75rem;
}


/* -------------------------
   14. CTA BANNER
   ------------------------- */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(82,105,87,0.15) 0%,
    rgba(12,12,12,0) 50%,
    rgba(82,105,87,0.1) 100%
  );
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  margin: 0 auto 2rem;
  color: var(--color-text-secondary);
  max-width: 50ch;
}

/* Decorative border pattern for CTA */
.cta-border-top {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin-bottom: 0;
}


/* -------------------------
   15. FOOTER
   ------------------------- */
.footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-areas {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


/* -------------------------
   16. BOOKING PAGE
   ------------------------- */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.booking-step.completed .booking-step-number {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.booking-step.active .booking-step-number {
  border-color: var(--color-accent-light);
  color: var(--color-accent-light);
  box-shadow: 0 0 0 4px var(--color-accent-glow);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--color-accent-glow); }
  50% { box-shadow: 0 0 0 8px rgba(82,105,87,0.05); }
}

.booking-step-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.booking-step.completed .booking-step-text {
  color: var(--color-text-muted);
}

.booking-step.active .booking-step-text {
  color: var(--color-text);
}

.booking-step-connector {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 1rem;
}

.booking-step.completed + .booking-step-connector {
  background: var(--color-accent);
}

.booking-alert {
  background: rgba(82,105,87,0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.booking-alert svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.booking-alert strong {
  color: var(--color-text);
}

.booking-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.booking-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-tab:hover {
  color: var(--color-text-secondary);
}

.booking-tab.active {
  color: var(--color-accent-light);
  border-bottom-color: var(--color-accent);
}

.booking-calendar {
  display: none;
  min-height: 400px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}

.booking-calendar.active {
  display: block;
}

.booking-calendar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 1rem;
}

.booking-calendar-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}


/* -------------------------
   17. ABOUT PAGE
   ------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
}

.value-card:hover {
  border-color: var(--color-border-accent);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent-light);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
}


/* About: Philosophy numbered cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.philosophy-card {
  position: relative;
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.philosophy-card:hover {
  border-color: var(--color-border-accent);
}

.philosophy-number {
  position: absolute;
  top: -0.25rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.06;
  pointer-events: none;
}

.philosophy-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.philosophy-card p {
  font-size: 0.9rem;
}

/* About: Expect items with accent border */
.expect-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expect-item {
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.expect-item:hover {
  border-left-color: var(--color-accent-light);
  background: var(--color-bg-surface);
}

.expect-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.expect-item p {
  font-size: 0.9rem;
}

/* About: Vision roadmap */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vision-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.vision-item:hover {
  border-color: var(--color-border-accent);
}

.vision-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* About: Coach stat */
.coach-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.coach-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
}

.coach-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
}


/* -------------------------
   18. CONTACT PAGE
   ------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--color-border-accent);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.85rem;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.6) brightness(0.8) contrast(1.1);
}

.contact-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-card h3 {
  margin-bottom: 0.5rem;
}


/* -------------------------
   19. PROGRAM PAGE DETAILS
   ------------------------- */
.program-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.program-detail-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}

.program-detail-card:hover {
  border-color: var(--color-border-accent);
}

.program-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.program-detail-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.program-detail-card p {
  font-size: 0.85rem;
}

.program-schedule-mini {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.program-schedule-mini-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-schedule-mini-row {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.program-schedule-mini-row:last-child {
  border-bottom: none;
}

.program-schedule-mini-row .day {
  font-weight: 500;
  color: var(--color-text);
}

.program-schedule-mini-row .time {
  color: var(--color-text-secondary);
}

.program-faq {
  margin-top: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* -------------------------
   20. FLOATING CTA (Mobile)
   ------------------------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(12,12,12,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  z-index: 990;
}

.floating-cta .btn {
  width: 100%;
}


/* -------------------------
   21. SCROLL ANIMATIONS
   ------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* Hero-specific animations */
.hero-loaded .hero-label {
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s both;
}
.hero-loaded .hero-h1-line-1 {
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.35s both;
}
.hero-loaded .hero-h1-line-2 {
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.5s both;
}
.hero-loaded .hero-subtitle {
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.65s both;
}
.hero-loaded .hero-ctas {
  animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.8s both;
}
.hero-loaded .hero-scroll {
  animation: fadeIn 1s ease 1.5s both;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* -------------------------
   22. RESPONSIVE
   ------------------------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .program-cards { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { gap: 2.5rem; }
  .about-intro { gap: 2.5rem; }
  .contact-grid { gap: 2.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-toggle { display: flex; }
  .floating-cta { display: block; }

  body {
    padding-bottom: 65px; /* space for floating CTA */
  }

  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }

  .program-cards { grid-template-columns: 1fr; }
  .program-card { aspect-ratio: 16/10; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .feature-row:nth-child(even) .feature-image {
    order: unset;
  }

  .feature-image { aspect-ratio: 16/10; }

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

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

  .about-intro { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }

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

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

  .schedule-grid { display: none; }
  .schedule-mobile { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .booking-steps { flex-direction: column; gap: 0.5rem; }
  .booking-step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
  }

  .radio-cards { grid-template-columns: 1fr; }

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

  .modal { width: 95vw; }
  .modal-header, .modal-body { padding-left: 1.5rem; padding-right: 1.5rem; }

  .page-hero { min-height: 300px; }

  .booking-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.25rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { padding: 1rem 1.5rem; }
}

/* Print */
@media print {
  .nav, .floating-cta, .modal, .modal-backdrop, .hero-scroll { display: none; }
  body::after { display: none; }
  body { background: white; color: black; }
  * { color: black !important; background: white !important; border-color: #ccc !important; }
}
