/* ============================================================
   BRAZILIAN TOP TEAM NORTH DALLAS
   Premium Dark Theme — Static Site Stylesheet
   ============================================================ */

/* ---------- 0. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Backgrounds */
  --bg:             #070707;
  --bg-secondary:   #0e0e0e;
  --bg-card:        #141414;
  --bg-card-hover:  #1a1a1a;
  --bg-elevated:    #1c1c1c;
  --bg-input:       #111111;

  /* Brand */
  --accent:         #f9e43c;
  --accent-dim:     #d4c92e;
  --accent-glow:    rgba(249, 228, 60, 0.22);
  --accent-text:    #0a0a0a;
  --gold:           #c9a84c;
  --gold-bright:    #dbb960;
  --gold-muted:     rgba(201, 168, 76, 0.15);

  /* Text */
  --text:           #f0f0f0;
  --text-secondary: #8a8a8a;
  --text-muted:     #555555;

  /* Borders */
  --border:         rgba(255, 255, 255, 0.06);
  --border-hover:   rgba(255, 255, 255, 0.12);
  --border-accent:  rgba(249, 228, 60, 0.3);

  /* Fonts */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --max-width:     1200px;
  --header-h:      72px;
  --section-pad:   120px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Transitions */
  --ease:      0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--text);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0;
}

.text-gold    { color: var(--gold); }
.text-red,
.text-accent  { color: var(--accent); }

/* ---------- 3. Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
}

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

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  transition: var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover {
  background: #ffe94a;
  box-shadow: 0 6px 32px var(--accent-glow);
  transform: translateY(-2px);
}

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

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

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

.btn--lg {
  padding: 20px 44px;
  font-size: 1.1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: var(--ease);
  background: transparent;
}
.site-header--scrolled {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.logo img {
  height: 36px;
  width: auto;
}
.logo-text span {
  color: var(--accent);
}

.footer-logo-badge {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--ease);
  letter-spacing: 0.02em;
}
.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--ease);
}
.header-phone:hover { color: var(--text); }
.header-phone svg { width: 16px; height: 16px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 7, 7, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: var(--ease);
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-close svg { width: 24px; height: 24px; color: var(--text); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/bjj image north dallas.jpeg') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,7,0.92) 0%, rgba(7,7,7,0.7) 50%, rgba(7,7,7,0.5) 100%);
}

/* Bottom fade to seamless section blend */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0.3) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-muted);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #ffe082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero Form */
.hero-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px 0;
  position: relative;
}
.hero-form-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--border-hover) 0%, transparent 50%, var(--border) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.hero-form-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ---------- 7. Form Styles ---------- */
.form-placeholder {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--ease);
  outline: none;
}
.form-group input::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 228, 60, 0.15);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* Embedded form container */
.embed-form-container {
  width: 100%;
  height: 740px;
  overflow: hidden;
  border-radius: var(--r-md);
}
.embed-form-container iframe {
  display: block;
  width: 100%;
  height: calc(100% + 50px);
  margin-top: -50px;
  border: none;
  border-radius: var(--r-md);
}

/* ---------- 8. Social Proof Bar ---------- */
.proof-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.proof-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.proof-number .accent { color: var(--gold); }
.proof-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- 9. Programs ---------- */
.programs { background: var(--bg); }

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.program-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-card-image img {
  transform: scale(1.05);
}
.program-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
}

.program-card-body {
  padding: 24px 28px 36px;
}

.program-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
}
.program-card:nth-child(1) .program-card-accent { background: linear-gradient(90deg, #4caf50, #66bb6a); }
.program-card:nth-child(2) .program-card-accent { background: linear-gradient(90deg, #2196f3, #42a5f5); }
.program-card:nth-child(3) .program-card-accent { background: linear-gradient(90deg, #d4c92e, #f9e43c); }

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.program-card:nth-child(1) .program-icon { background: rgba(76, 175, 80, 0.12); color: #66bb6a; }
.program-card:nth-child(2) .program-icon { background: rgba(33, 150, 243, 0.12); color: #42a5f5; }
.program-card:nth-child(3) .program-icon { background: rgba(249, 228, 60, 0.12); color: var(--accent); }
.program-icon svg { width: 28px; height: 28px; }

.program-age {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.program-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.program-feature svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

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

/* ---------- 10. Why BTT ---------- */
.why-btt {
  background: var(--bg-secondary);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--ease);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(249, 228, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.why-icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- 11. Instructors ---------- */
.instructors { background: var(--bg); }

.instructor-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.instructor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
}
.instructor-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.instructor-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.instructor-card:hover .instructor-photo img {
  transform: scale(1.05);
}
.instructor-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg-card));
  z-index: 1;
}

.instructor-info {
  padding: 20px 24px 24px;
}

.instructor-rank {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 8px;
}
.rank-black {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.rank-head {
  background: var(--gold-muted);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.instructor-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.instructor-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.instructor-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.instructor-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.instructor-title svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- 12. Schedule ---------- */
.schedule {
  background: var(--bg-secondary);
}

.schedule-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 4px;
  margin-top: 48px;
  margin-bottom: 32px;
  width: fit-content;
}
.schedule-tab {
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: var(--ease);
}
.schedule-tab:hover { color: var(--text-secondary); }
.schedule-tab.active {
  background: var(--accent);
  color: var(--accent-text);
}

.schedule-panel { display: none; }
.schedule-panel.active { display: block; }

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

.schedule-day-header {
  background: var(--bg-card);
  padding: 16px 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--text);
}

.schedule-day {
  background: var(--bg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}

.schedule-class {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  line-height: 1.4;
  border-left: 3px solid;
}
.schedule-class .class-time {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.schedule-class .class-name {
  color: var(--text-secondary);
}

.class-adults-gi     { background: rgba(249, 228, 60, 0.06); border-color: var(--accent-dim); }
.class-adults-nogi   { background: rgba(233, 30, 99, 0.08); border-color: #e91e63; }
.class-kids          { background: rgba(76, 175, 80, 0.08); border-color: #4caf50; }
.class-teens         { background: rgba(33, 150, 243, 0.08); border-color: #2196f3; }
.class-open          { background: rgba(201, 168, 76, 0.08); border-color: var(--gold); }

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ---------- 12b. Gallery ---------- */
.gallery {
  background: var(--bg);
  padding-bottom: calc(var(--section-pad) / 2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
  margin-top: 48px;
}
.gallery-grid .span-2 {
  grid-column: span 2;
}
.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: var(--ease);
}
.gallery-item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-grid .span-2 { grid-column: span 1; }
  .gallery-grid .tall { grid-row: span 1; }
}

/* ---------- 13. Testimonials ---------- */
.testimonials { background: var(--bg); }

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-source {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- 14. Locations ---------- */
.locations {
  background: var(--bg-secondary);
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
}
.location-card:hover {
  border-color: var(--border-hover);
}

.location-map {
  height: 220px;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.3s ease;
}
.location-card:hover .location-map iframe {
  filter: grayscale(0) brightness(1);
}

.location-details {
  padding: 28px;
}
.location-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(249, 228, 60, 0.12);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.location-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.location-info-row svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- 15. FAQ ---------- */
.faq { background: var(--bg); }

.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--ease);
}
.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--ease);
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- 16. Final CTA ---------- */
.final-cta {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 228, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.final-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.final-cta-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.final-cta-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.final-cta-feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--ease);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: var(--border-hover);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--ease);
}
.footer-col li a:hover {
  color: var(--text);
}

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

/* ---------- 17a. Subpage Hero ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 60px) !important;
  padding-bottom: 60px !important;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
}
.page-hero .section-label { justify-content: center; }
.page-hero .section-subtitle { margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-secondary);
  transition: var(--ease);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Instructor detail cards (2-col on subpage) */
.instructor-cards--detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.instructor-card--detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: var(--ease);
}
.instructor-card--detail:hover {
  border-color: var(--border-hover);
}
.instructor-card--detail .instructor-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}
.instructor-card--detail .instructor-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .instructor-cards--detail {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .instructor-card--detail {
    grid-template-columns: 1fr;
  }
  .instructor-card--detail .instructor-photo {
    min-height: 280px;
    max-height: 360px;
  }
}

/* Location detail cards (subpage, larger maps) */
.location-card--detail .location-map {
  height: 350px;
}

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* CTA Banner (reusable across subpages) */
.cta-banner {
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 228, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ---------- 17b. Subpage Section Variants ---------- */
.section--alt {
  background: var(--bg-secondary);
}
.section--dark {
  background: var(--bg-elevated);
}

/* CTA Section (reusable bottom CTA across subpages) */
.cta-section {
  padding: var(--section-pad) 0;
  text-align: center;
}
.cta-content {
  max-width: 600px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cta-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 0 !important;
}

/* ---------- 17c. Programs Page ---------- */
.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.page-hero-content > p:last-child {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Program detail cards (programs.html - scoped to avoid homepage conflict) */
.section > .container > .program-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.section > .container > .program-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}
.section--alt .program-card {
  direction: ltr;
}
.program-card--reverse {
  direction: rtl;
}
.program-card--reverse > * {
  direction: ltr;
}
.section > .container > .program-card > .program-card-image {
  height: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.section > .container > .program-card > .program-card-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  transition: none;
}
.section > .container > .program-card > .program-card-image::after {
  display: none;
}
.program-card-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.program-card-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.program-card-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.program-card-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.program-card-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.program-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.program-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}
.program-card-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .section > .container > .program-card,
  .section > .container > .program-card.program-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .section > .container > .program-card > .program-card-image img {
    height: 280px;
  }
}

/* ---------- 17d. Locations Page (scoped to avoid homepage conflict) ---------- */
.section > .container > .location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.section > .container > .location-card:hover {
  border-color: transparent;
}
.location-card--reverse {
  direction: rtl;
}
.location-card--reverse > * {
  direction: ltr;
}
.location-card-map {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.location-card-map iframe {
  display: block;
  border-radius: var(--r-lg);
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.3s ease;
}
.location-card:hover .location-card-map iframe {
  filter: grayscale(0) brightness(1);
}
.location-card-content .location-details {
  padding: 0;
}
.location-card-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.location-card-intro {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.location-detail:last-child {
  border-bottom: none;
}
.location-detail svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-detail strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.location-detail p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
.location-detail a {
  color: var(--text-secondary);
  transition: var(--ease);
}
.location-detail a:hover {
  color: var(--accent);
}
.location-features {
  margin-top: 24px;
}
.location-features h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.location-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.location-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}
.location-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.location-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .section > .container > .location-card,
  .section > .container > .location-card.location-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .location-features ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17e. Contact Page ---------- */
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.feature-list {
  margin-top: 24px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child {
  border-bottom: none;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(249, 228, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.feature-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.feature-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 780px;
}
.contact-form-container h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.contact-form-container > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact-form-container iframe {
  min-height: 680px;
}
.locations-quick {
  text-align: center;
}
.locations-quick h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.locations-quick > p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}
.locations-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.location-quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: left;
}
.location-quick-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.location-quick-address,
.location-quick-phone,
.location-quick-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.location-quick-address svg,
.location-quick-phone svg,
.location-quick-hours svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-quick-card a.btn {
  margin-top: 8px;
}
.contact-methods {
  margin-top: 40px;
}
.contact-methods h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-methods > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.contact-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: var(--ease);
}
.contact-method-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact-method-card svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-method-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.contact-method-card span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .locations-quick-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17f. Today's Schedule Widget ---------- */
.today-schedule {
  margin-top: 48px;
}
.today-locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.today-location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.today-location-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.today-location-header svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.today-location-header h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.today-location-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.today-classes {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.today-closed {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
  font-style: italic;
}

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

/* ---------- 18. Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- 19. Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-form-wrapper { max-width: 480px; margin: 0 auto; }

  .program-cards { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-cards { grid-template-columns: repeat(2, 1fr); }

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

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

  .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta-content p { margin-left: auto; margin-right: auto; }
  .final-cta-features { align-items: center; }
  .hero-form-wrapper:last-child { max-width: 480px; margin: 0 auto; }

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

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 64px; --header-h: 64px; }

  .nav-links { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
  .hero-inner { padding: 40px 24px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .program-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .why-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .instructor-cards { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .testimonial-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .location-cards { grid-template-columns: 1fr; }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .schedule-day-header + .schedule-day {
    min-height: auto;
  }

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

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

  .section-subtitle { font-size: 1rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }

  .container { padding: 0 16px; }
  .hero-inner { padding: 32px 16px; }
  .hero-form-wrapper { padding: 24px 20px; }
  .program-card { padding: 28px 20px; }

  .proof-bar-inner { gap: 24px; }
  .proof-item { min-width: 100px; }
  .proof-number { font-size: 2.2rem; }
}

/* Schedule responsive - stacked on mobile */
@media (max-width: 768px) {
  .schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: none;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .schedule-day-col {
    border-bottom: 1px solid var(--border);
  }
  .schedule-day-col:last-child { border-bottom: none; }
  .schedule-day-header {
    padding: 14px 16px;
    text-align: left;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .schedule-day {
    padding: 12px 16px 16px;
    min-height: auto;
  }
}
