/* ==========================================================================
   El Paso Kung Fu — Base Styles
   Colors: Black / Red / Yellow (client preference)
   ========================================================================== */

:root {
  --color-black: #1a1a1a;
  --color-black-soft: #232323;
  --color-charcoal: #363636;
  --color-red: #c8102e;
  --color-red-dark: #9c0c23;
  --color-yellow: #ffb81c;
  --color-white: #ffffff;
  --color-gray: #666666;
  --color-gray-light: #f4f4f4;
  --color-border: #e5e5e5;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);
  --header-height: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-red);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.eyebrow-light { color: var(--color-yellow); }

.section-lead {
  max-width: 700px;
  color: var(--color-gray);
  font-size: 1.05rem;
}

.text-black { color: var(--color-black); }
.text-red { color: var(--color-red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-black);
}
.btn-primary:hover { background: #ffc94d; box-shadow: var(--shadow-sm); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  border-color: var(--color-black);
  color: var(--color-black);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--color-black); color: var(--color-white); }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Arrow text links (internal-page CTAs, no button chrome) ---------- */
.link-arrow, .link-arrow-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.link-arrow::after, .link-arrow-light::after { content: "\2192"; }
.link-arrow { color: var(--color-black); }
.link-arrow:hover { color: var(--color-red); text-decoration: underline; }
.link-arrow-light { color: var(--color-white); }
.link-arrow-light:hover { color: var(--color-yellow); text-decoration: underline; }
.link-arrow-lg { font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}
/* NOTE: header floats transparently over the hero image on load. Pages without
   a full-height hero (privacy, terms, programs, etc.) will need padding-top on
   <main> equal to the header's scrolled height so content isn't hidden under it. */

.topbar {
  background: var(--color-charcoal);
  color: var(--color-white);
  font-size: 0.85rem;
  transition: margin-top 0.3s ease, opacity 0.3s ease;
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-contact a {
  margin-right: 1.25rem;
  opacity: 0.9;
}
.topbar-contact a:hover { color: var(--color-yellow); opacity: 1; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.google-badge:hover { background: rgba(255, 255, 255, 0.16); }
.google-badge .stars { color: var(--color-yellow); letter-spacing: 1px; }

.topbar-social { display: flex; gap: 0.75rem; }
.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.topbar-social a:hover { background: var(--color-red); }

.main-nav {
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.main-nav.scrolled {
  background: var(--color-black);
  box-shadow: var(--shadow-sm);
}
.main-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding 0.3s ease;
}
.main-nav.scrolled .main-nav-inner { padding: 0.5rem 1.25rem; }

.logo { flex-shrink: 0; }
.logo-img { height: 126px; width: auto; transition: height 0.3s ease; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.main-nav.scrolled .logo-img { height: 64px; }

.desktop-nav { flex: 1; display: none; }
.desktop-nav > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.75rem;
}
.desktop-nav > ul > li { position: relative; }
.desktop-nav > ul > li > a {
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.6rem 0;
  display: inline-block;
  color: var(--color-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  transition: color 0.3s ease;
}
.desktop-nav > ul > li > a:hover { color: var(--color-yellow); }
.has-dropdown > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  vertical-align: middle;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-black-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  min-width: 220px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: rgba(255, 255, 255, 0.06); color: var(--color-yellow); }

.nav-cta { display: none; flex-shrink: 0; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--color-black);
  color: var(--color-white);
  z-index: 1001;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.mobile-menu nav ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.mobile-menu nav ul li a,
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 1rem; background: var(--color-yellow); color: var(--color-black); }

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.has-dropdown.open .mobile-dropdown { max-height: 500px; }
.mobile-dropdown li { border-bottom: none; padding-left: 1rem; }
.mobile-dropdown li a { font-weight: 500; font-size: 0.95rem; padding: 0.65rem 0.25rem; }
.mobile-dropdown-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.mobile-dropdown-toggle i { transition: transform 0.3s ease; }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--color-white);
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13rem 1.25rem 3rem;
}
.hero-content { max-width: 700px; text-align: center; }
.hero-content .eyebrow { color: var(--color-yellow); }
.hero h1 {
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
}
.hero h1 .line-white { color: var(--color-white); }
.hero h1 .line-red { color: var(--color-red); }
.hero-sub {
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
#home .hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.form-disclaimer { font-size: 0.75rem; color: var(--color-gray); margin: 0.75rem 0 0; }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features { padding: 3.5rem 0; background: var(--color-gray-light); }
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.1);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.feature-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; }
.feature-card p { color: var(--color-gray); font-size: 0.9rem; margin: 0; }
.feature-card p a { color: var(--color-red); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: 4rem 0; }
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-copy h2 { font-size: 2rem; }
.mission-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-yellow);
  background: var(--color-gray-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.mission-quote p { font-style: italic; margin-bottom: 0.5rem; }
.mission-quote cite { font-size: 0.85rem; color: var(--color-gray); font-style: normal; }

/* ==========================================================================
   Programs
   ========================================================================== */
.programs { padding: 4rem 0; }
.programs h2 { font-size: 2rem; }
#programs.programs {
  background:
    radial-gradient(circle at 12% 15%, rgba(200, 16, 46, 0.55) 0%, rgba(200, 16, 46, 0) 30%),
    radial-gradient(circle at 88% 10%, rgba(200, 16, 46, 0.4) 0%, rgba(200, 16, 46, 0) 22%),
    radial-gradient(circle at 78% 70%, rgba(200, 16, 46, 0.5) 0%, rgba(200, 16, 46, 0) 32%),
    radial-gradient(circle at 20% 85%, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 25%),
    radial-gradient(circle at 55% 45%, rgba(200, 16, 46, 0.2) 0%, rgba(200, 16, 46, 0) 38%),
    var(--color-black);
}
#programs.programs .eyebrow { color: var(--color-yellow); }
#programs.programs h2 .text-black { color: var(--color-white); }
#programs.programs .section-lead { color: rgba(255, 255, 255, 0.75); }
#programs.programs .corporate-strip { border: 1px solid rgba(255, 255, 255, 0.12); }

.programs-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-card-media { position: relative; }
.program-card-media img { height: 200px; width: 100%; object-fit: cover; }
.age-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.program-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.program-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.program-card-body > p { font-size: 0.92rem; color: var(--color-gray); }
.check-list { margin-bottom: 1rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.check-list i { color: var(--color-red); }
.program-schedule {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1rem;
}
.program-card-body .btn, .program-card-body .link-arrow { margin-top: auto; }

.corporate-strip {
  margin-top: 2rem;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.corporate-strip img { height: 220px; width: 100%; object-fit: cover; }
.corporate-strip-copy { padding: 2rem; }
.corporate-strip-copy h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 800; }
.corporate-strip-copy p { color: rgba(255, 255, 255, 0.8); }
.corporate-strip .btn-outline-dark { border-color: var(--color-white); color: var(--color-white); }
.corporate-strip .btn-outline-dark:hover { background: var(--color-white); color: var(--color-black); }

/* ==========================================================================
   Instructors
   ========================================================================== */
.instructors { padding: 4rem 0; background: var(--color-gray-light); }
.instructors h2 { font-size: 2rem; }
#instructors.instructors {
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 16, 46, 0.5) 0%, rgba(200, 16, 46, 0) 28%),
    radial-gradient(circle at 10% 30%, rgba(200, 16, 46, 0.4) 0%, rgba(200, 16, 46, 0) 24%),
    radial-gradient(circle at 30% 90%, rgba(200, 16, 46, 0.45) 0%, rgba(200, 16, 46, 0) 30%),
    radial-gradient(circle at 92% 80%, rgba(200, 16, 46, 0.3) 0%, rgba(200, 16, 46, 0) 22%),
    radial-gradient(circle at 55% 50%, rgba(200, 16, 46, 0.2) 0%, rgba(200, 16, 46, 0) 40%),
    var(--color-black);
}
#instructors.instructors .eyebrow { color: var(--color-yellow); }
#instructors.instructors h2 .text-black { color: var(--color-white); }
.instructors-cta { text-align: center; margin-top: 2.5rem; }
.instructor-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
.instructor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.instructor-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.instructor-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.15rem; }
.instructor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.instructor-title { color: var(--color-red); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; }
.instructor-card > p { color: var(--color-gray); font-size: 0.92rem; }
.tag-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.tag {
  background: var(--color-gray-light);
  border: 1px solid var(--color-border);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* ==========================================================================
   Schedule — weekly grid + filters (matches client's current site)
   ========================================================================== */
.schedule { padding: 4rem 0; background: var(--color-white); }
.schedule h2 { font-size: 2rem; }

.wsched-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.wsched-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray);
  margin-bottom: 0.5rem;
}
.wsched-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}
.wsched-filter-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--color-border);
  padding: 0.4rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-black);
  cursor: pointer;
  min-height: 36px;
}
.wsched-filters li:last-child .wsched-filter-btn { border-right: none; }
.wsched-filter-btn:hover { color: var(--color-red); }
.wsched-filter-btn.active { color: var(--color-red); text-decoration: underline; text-underline-offset: 4px; }
.wsched-filters { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }

.wsched-actions { display: flex; gap: 0.75rem; }
.wsched-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  min-height: 40px;
  transition: background 0.2s ease;
}
.wsched-action-btn:hover { background: var(--color-red); }

.wsched-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.wsched-day { display: flex; flex-direction: column; }
.wsched-day-header {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.wsched-day-list { flex: 1; }
.wsched-item {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.78rem;
}
.wsched-day-list li:last-child .wsched-item,
.wsched-item:last-child { border-bottom: none; }
.wsched-item:nth-child(even) { background: var(--color-gray-light); }
.wsched-time { display: block; font-weight: 700; color: var(--color-red); margin-bottom: 0.15rem; }
.wsched-class { display: block; font-weight: 600; color: var(--color-black); }
.wsched-item.wsched-hidden { display: none; }
.wsched-empty { padding: 0.75rem 0.6rem; font-size: 0.78rem; font-style: italic; color: var(--color-gray); background: var(--color-gray-light); }
.schedule-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-gray); }

@media (min-width: 1024px) {
  .wsched-bar { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .wsched-grid { grid-template-columns: repeat(7, 1fr); gap: 0; }
  .wsched-day + .wsched-day { border-left: 1px solid var(--color-border); }
}

/* Print — clean, single view of the full schedule regardless of active filter */
@media print {
  .topbar, .main-nav, .site-footer, .fab-stack, .special-offer-btn,
  .offer-modal-overlay, .cookie-consent, .mobile-menu, .mobile-menu-overlay,
  .wsched-bar, .skip-link {
    display: none !important;
  }
  main { padding-top: 0 !important; }
  .wsched-item.wsched-hidden { display: block !important; }
  .wsched-grid { grid-template-columns: repeat(7, 1fr) !important; border-color: #000; }
  .wsched-day + .wsched-day { border-left: 1px solid #000 !important; }
  .wsched-day-header { background: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wsched-item:nth-child(even) { background: #f0f0f0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
  padding: 4rem 0;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}
.reviews h2 { font-size: 2rem; }
.reviews-lead { margin: 0 auto 0; }
.swipe-hint { display: block; color: var(--color-yellow); font-size: 0.85rem; margin-top: 0.35rem; }

.reviews-scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  margin: 0 -1.25rem 5px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: left;
  scrollbar-width: thin;
}
.review-card {
  background: var(--color-black-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 0;
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.review-stars { color: var(--color-yellow); letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-card p { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }
.review-card cite { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-style: normal; font-size: 0.85rem; color: var(--color-yellow); }
.review-card cite span { color: rgba(255, 255, 255, 0.5); font-weight: 500; font-size: 0.75rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 4rem 0; background: var(--color-gray-light); }
.faq h2 { font-size: 2rem; }
.faq-list { max-width: 800px; margin-top: 2rem; }
.faq-page .faq-list { margin-left: auto; margin-right: auto; }
.faq-page { text-align: center; }
.faq-page .faq-item { text-align: left; }
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: inherit;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.faq-question i { color: var(--color-red); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--color-gray); font-size: 0.95rem; }
.faq-answer p { margin: 0; }

/* ==========================================================================
   Discovery CTA
   ========================================================================== */
.discovery {
  background: var(--color-red);
  color: var(--color-white);
  padding: 4rem 0;
}
.discovery-hero { padding-top: 13rem; }

.discovery-featured {
  position: relative;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.92) 0%, rgba(26, 26, 26, 0.88) 100%),
    url("../images/general/discovery-bg.jpg") center / cover no-repeat;
}
.discovery-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.discovery-copy { text-align: center; }
.discovery h2 { font-size: 2.25rem; }
.discovery-copy p { font-size: 1.1rem; }
.discovery-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.discovery-media { width: 100%; max-width: 500px; margin: 0 auto; }
.discovery-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-black-soft);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.footer-col { text-align: center; }
.footer-logo-img { height: 72px; width: auto; margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.footer-col address { font-style: normal; }
.footer-col a:hover { color: var(--color-yellow); }
.footer-hours { font-size: 0.9rem; }
.footer-social { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--color-red); }
.footer-links li { margin-bottom: 0.6rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 1.25rem 5.5rem;
  text-align: center;
  font-size: 0.8rem;
}
.health-disclaimer { max-width: 700px; margin: 0 auto 0.75rem; opacity: 0.7; }
.footer-legal a { text-decoration: underline; }

.footer-google-badge { margin-top: 1rem; }

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-hours-list li:last-child { border-bottom: none; }
.footer-hours-list li span:first-child { font-weight: 600; }
.footer-hours-list li span:last-child { color: rgba(255, 255, 255, 0.75); text-align: right; }

/* ==========================================================================
   Mobile FAB
   ========================================================================== */
.fab-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 998;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab-phone { background: var(--color-red); }
.fab-directions { background: var(--color-black); }
.fab-book { background: var(--color-yellow); color: var(--color-black); }

.fab-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease, margin-bottom 0.3s ease;
}
.fab-stack.open .fab-actions {
  max-height: 240px;
  margin-bottom: 1rem;
  opacity: 1;
  transform: translateY(0);
}
.fab-toggle {
  background: var(--color-red);
  border: none;
  cursor: pointer;
}
.fab-toggle i { transition: transform 0.3s ease; }
.fab-stack.open .fab-toggle i { transform: rotate(180deg); }

/* ==========================================================================
   Special Offer sticky button + modal
   ========================================================================== */
.special-offer-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 997;
  min-height: 44px;
  transition: transform 0.3s ease;
}
.special-offer-btn:hover { transform: translateX(-50%) translateY(-2px); }

.offer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.offer-modal-overlay[hidden] { display: none; }
.offer-modal {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.offer-modal h2 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 800; }
.offer-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-gray-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.offer-modal-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

/* ==========================================================================
   Cookie Consent
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: 360px;
  padding: 1rem 1.25rem;
  background: var(--color-black);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__text { margin: 0 0 0.75rem 0; }
.cookie-consent__actions { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.cookie-consent__btn {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 40px;
}
.cookie-consent__btn:hover { opacity: 0.9; }
.cookie-consent__btn--decline { background: #444; color: #fff; }
.cookie-consent__btn--accept { background: var(--color-yellow); color: var(--color-black); }
.cookie-consent__link { color: rgba(255, 255, 255, 0.8); font-size: 0.8125rem; text-decoration: underline; }
.cookie-consent__link:hover { color: #fff; }

/* ==========================================================================
   Responsive — Mobile first, overrides at 769px+ (desktop/tablet)
   ========================================================================== */

@media (min-width: 769px) {
  .hero h1 { font-size: 4rem; }
  .hero-sub { font-size: 1.15rem; }

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

  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-copy h2, .programs h2, .instructors h2, .schedule h2, .reviews h2, .faq h2 { font-size: 2.75rem; }

  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .corporate-strip { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .corporate-strip img { height: 100%; }

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

  .discovery-split { flex-direction: row; align-items: center; text-align: left; }
  .discovery-hero { padding-top: 17rem; }
  .discovery-split .discovery-copy { text-align: left; flex: 1; }
  .discovery-split .discovery-actions { justify-content: flex-start; }
  .discovery-media { flex: 1; margin: 0; }

  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; }
  .footer-col { text-align: left; }
  .footer-social { justify-content: flex-start; }

  .desktop-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }

  .fab-stack { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .desktop-nav > ul { gap: 0.65rem; }
  .desktop-nav > ul > li > a { font-size: 0.9rem; }
  .nav-cta { font-size: 0.8rem; padding: 0.6rem 0.9rem; }
  .logo-img { height: 96px; }
}

@media (max-width: 768px) {
  .topbar-contact, .topbar-social { display: none; }
  .topbar-inner { justify-content: center; padding: 0.35rem 1.25rem; }
  .topbar-right { width: 100%; justify-content: center; }
  .google-badge { font-size: 0.75rem; padding: 0.3rem 0.7rem; }
  .main-nav-inner { position: relative; justify-content: flex-end; }
  .logo { position: absolute; left: 50%; top: 0.75rem; transform: translateX(-50%); }
  .main-nav.scrolled .logo { top: 0.25rem; }
  .main-nav.scrolled .main-nav-inner { padding-bottom: 2.5rem; }
  .footer-logo-img { margin-left: auto; margin-right: auto; }
  .discovery-copy .check-list li { justify-content: center; }
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.mobile-menu-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-social a:hover { background: var(--color-red); }
.mobile-menu-google { display: flex; justify-content: center; margin-top: 1rem; }

/* ==========================================================================
   Page Hero (subpages: programs, blog, legal, 404)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding: 13rem 1.25rem 4rem;
  text-align: center;
}
.page-hero h1 { font-size: 2.25rem; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; }

@media (min-width: 769px) {
  .page-hero h1 { font-size: 3.5rem; }
}

/* ==========================================================================
   Program Detail sections (programs.html)
   ========================================================================== */
.program-detail { padding: 4rem 0; }
.program-detail:nth-of-type(even) { background: var(--color-gray-light); }
.program-detail-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.program-detail-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.program-detail-copy .age-badge { position: static; display: inline-block; }
.program-detail-copy h2 { font-size: 2rem; margin-top: 0.5rem; }
.program-detail-copy h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; margin-top: 1.5rem; }
.program-detail-copy .check-list { margin-top: 1rem; }
.program-detail-copy .schedule-list { margin: 1rem 0 1.5rem; }
.program-detail-copy .schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.program-detail-copy .schedule-list li:last-child { border-bottom: none; }
.program-detail-copy .schedule-list li span:first-child { font-weight: 700; }
.program-detail-copy .schedule-list li span:last-child { color: var(--color-red); font-weight: 600; }

@media (min-width: 769px) {
  .program-detail-grid { grid-template-columns: 1fr 1fr; }
  .program-detail-grid.reverse .program-detail-media { order: 2; }
  .program-detail-copy h2 { font-size: 2.5rem; }
}

/* ==========================================================================
   Legal pages (privacy, terms)
   ========================================================================== */
.legal-content { padding: 4rem 0; }
.legal-content-inner { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; font-family: var(--font-body); font-weight: 800; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-gray); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1em; }
.legal-content .updated-date { font-size: 0.85rem; color: var(--color-gray); margin-bottom: 2rem; }

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page { padding: 13rem 0 6rem; text-align: center; }
.error-page .error-code { font-family: var(--font-heading); font-size: 6rem; color: var(--color-red); line-height: 1; }
.error-page h1 { font-size: 2rem; }
.error-page p { color: var(--color-gray); max-width: 500px; margin: 0 auto 1.5rem; }

/* ==========================================================================
   Blog placeholder
   ========================================================================== */
.blog-placeholder { padding: 13rem 0 6rem; text-align: center; }
.blog-placeholder i { font-size: 3rem; color: var(--color-red); margin-bottom: 1.5rem; }
.blog-placeholder h1 { font-size: 2.25rem; }
.blog-placeholder p { color: var(--color-gray); max-width: 500px; margin: 0 auto 1.5rem; }
