/* ============================================
   PACIFIC TOP TEAM KELOWNA
   The Okanagan's Premier Martial Arts Academy
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  --bg-deep: #00112a;
  --bg-primary: #001a36;
  --bg-elevated: #002444;
  --bg-card: #003159;
  --bg-card-hover: #003c6a;

  --accent: #027BB7;
  --accent-light: #1a90cc;
  --accent-dark: #0063A5;
  --accent-muted: rgba(2, 123, 183, 0.15);
  --accent-glow: rgba(2, 123, 183, 0.08);

  --text-primary: #EAEAEE;
  --text-secondary: #8a92a0;
  --text-muted: #4f5a6a;

  --red: #c44040;
  --red-muted: rgba(196, 64, 64, 0.15);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --max-width: 1200px;
  --header-height: 80px;

  --radius-sm: 6px;
  --radius-md: 8px;

  --border-subtle: 1px solid rgba(2, 123, 183, 0.12);
  --border-accent: 1px solid rgba(2, 123, 183, 0.28);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
  --transition-slow: 0.6s var(--ease);
}

/* Brand accent top bar */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  z-index: 10000;
}

/* --- BASE --- */
body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  animation: pageReveal 0.6s var(--ease) both;
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-light); }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.display--sm {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section { padding: var(--space-4xl) 0; position: relative; z-index: 2; }
.section--lg { padding: var(--space-5xl) 0; }
.bg-alt { background: var(--bg-primary); }

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

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

/* --- NAVIGATION --- */
.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background-color var(--transition), padding var(--transition), top var(--transition);
}

.site-header.scrolled {
  background-color: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  padding: var(--space-sm) 0;
  top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  transition: height var(--transition);
}

.site-header.scrolled .nav__logo-img {
  height: 36px;
}

.nav__links {
  display: flex;
  gap: var(--space-xl);
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--text-primary); }

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: var(--space-lg); font-size: 1rem; }

.mobile-menu__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease) 0.15s, transform 0.5s var(--ease) 0.15s;
  filter: drop-shadow(0 0 20px rgba(2, 123, 183, 0.2));
}

.mobile-menu.open .mobile-menu__logo {
  opacity: 1;
  transform: scale(1);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--accent-light);
  color: #ffffff;
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  background: var(--accent-muted);
  color: var(--accent-light);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 0.875rem;
}

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

.hero--sm {
  min-height: 50vh;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(2, 123, 183, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(2, 123, 183, 0.03) 0%, transparent 50%),
    var(--bg-deep);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-deep) 100%);
}

.hero__accent {
  position: absolute;
  top: 0;
  right: 15%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(2, 123, 183, 0.08) 30%, rgba(2, 123, 183, 0.08) 70%, transparent);
}

.hero__accent--2 {
  right: auto;
  left: 35%;
  opacity: 0.5;
}

/* Dark hero watermark (inner pages) */
.hero:not(.hero--light)::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: url('logo.png') center/contain no-repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero__label { margin-bottom: var(--space-lg); }

.hero__title {
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 80px rgba(2, 123, 183, 0.1);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--space-2xl);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* --- STATS BAR --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 49, 89, 0.06);
  border: 1px solid rgba(2, 123, 183, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  position: relative;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(2, 123, 183, 0.12);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
  display: block;
}

.stat__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-sm);
  display: block;
}

/* --- SECTION HEADER --- */
.section-header { margin-bottom: var(--space-3xl); }
.section-header .label { margin-bottom: var(--space-md); }
.section-header h2 { margin-bottom: var(--space-md); }

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-lg) 0;
}

.section-header--center .divider { margin: var(--space-lg) auto; }

/* --- PROGRAM CARDS --- */
.program-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: all var(--transition);
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height var(--transition-slow);
}

.program-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(2, 123, 183, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(2, 123, 183, 0.08);
}

.program-card:hover::before { height: 100%; }

.program-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(2, 123, 183, 0.12);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.program-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.program-card__ages {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.program-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- FEATURES --- */
.feature {
  padding: var(--space-2xl);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.feature:hover {
  border-color: rgba(2, 123, 183, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.feature__icon {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.testimonial {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 16px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(2, 123, 183, 0.06);
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonial__stars {
  color: #e8b931;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.testimonial__quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- INSTRUCTOR CARDS --- */
.instructor-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.instructor-card:hover {
  border-color: rgba(2, 123, 183, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.instructor-card__photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(2, 123, 183, 0.04) 0%, transparent 70%),
    var(--bg-elevated);
}

.instructor-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 40px,
      rgba(2, 123, 183, 0.02) 40px,
      rgba(2, 123, 183, 0.02) 41px
    );
  pointer-events: none;
}

.instructor-card__initials {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(2, 123, 183, 0.1);
  user-select: none;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 60px rgba(2, 123, 183, 0.15);
}

.instructor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 1;
}

.instructor-card__body { padding: var(--space-xl); }

.instructor-card__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.instructor-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.instructor-card__bio {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.instructor-card__credentials {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.credential-tag {
  font-size: 0.6875rem;
  padding: 0.25rem 0.625rem;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- SCHEDULE --- */
.schedule-table-wrapper {
  overflow-x: auto;
  border: var(--border-subtle);
  border-radius: var(--radius-md);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.schedule-table th,
.schedule-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: var(--border-subtle);
}

.schedule-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-card);
  white-space: nowrap;
}

.schedule-table td {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  vertical-align: top;
}

.schedule-table tbody tr:hover td { background: rgba(2, 123, 183, 0.03); }

.schedule-class {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-class__name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.schedule-class__time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.schedule-tag {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.schedule-tag--bjj { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.schedule-tag--muaythai { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.schedule-tag--kids { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.schedule-tag--open { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

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

.schedule-day { margin-bottom: var(--space-2xl); }

.schedule-day__header {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  padding-bottom: var(--space-sm);
  border-bottom: var(--border-accent);
  margin-bottom: var(--space-md);
}

.schedule-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: var(--border-subtle);
  gap: var(--space-md);
}

.schedule-slot__info { flex: 1; }

.schedule-slot__name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.schedule-slot__time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.schedule-note {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.schedule-note__icon {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.schedule-note p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.schedule-note a { font-weight: 600; }

/* --- FORMS --- */
.form-group { margin-bottom: var(--space-lg); }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 123, 183, 0.12), 0 0 20px rgba(2, 123, 183, 0.06);
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a958c' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- YOUTH PROGRAMS --- */
.youth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.youth-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.youth-card__header {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-bottom: var(--border-subtle);
}

.youth-card__body { padding: var(--space-2xl); }

.youth-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.youth-card__tag--limited {
  background: var(--red-muted);
  color: var(--red);
}

.youth-card__tag--seasonal {
  background: var(--accent-muted);
  color: var(--accent);
}

.youth-card__list { margin-top: var(--space-md); }

.youth-card__list li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.youth-card__list li::before {
  content: '\2014';
  color: var(--accent);
  flex-shrink: 0;
}

/* --- CTA SECTION --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: url('logo.png') center/contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.7;
}

.cta-section .btn {
  position: relative;
  z-index: 2;
}

[data-open-booking] {
  cursor: pointer;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-info__text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info__text p,
.contact-info__text address {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.6;
}

.map-container {
  width: 100%;
  height: 400px;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-3xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) contrast(0.85) brightness(0.5) sepia(0.15) hue-rotate(170deg);
}

/* --- ABOUT --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-content__text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
}

.about-visual {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(2, 123, 183, 0.06) 0%, transparent 60%);
}

.about-visual--photo {
  background:
    linear-gradient(135deg, rgba(0, 49, 89, 0.6) 0%, rgba(0, 17, 42, 0.4) 100%),
    url('hero-video-bg.jpg') center/cover no-repeat;
}

.about-visual__text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: rgba(2, 123, 183, 0.07);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  user-select: none;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.value-item {
  padding: var(--space-xl);
  border-left: 2px solid var(--accent);
}

.value-item h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.locations-callout {
  background: var(--bg-card);
  border: var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.locations-callout h3 { margin-bottom: var(--space-sm); }

.locations-callout p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-primary);
  border-top: var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: var(--space-md);
  line-height: 1.7;
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  border-radius: 50%;
}

.footer__logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.site-footer h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer__links li,
.footer__programs li { margin-bottom: var(--space-sm); }

.footer__links a,
.footer__programs a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__programs a:hover { color: var(--accent); }

.footer__contact p,
.footer__contact address {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.7;
}

.footer__contact a { color: var(--text-secondary); }
.footer__contact a:hover { color: var(--accent); }

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.footer__social a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color var(--transition);
}

.footer__social a:hover { color: var(--accent); }

/* --- HERO LIGHT VARIANT --- */
.hero--light {
  background: #EAEAEE;
  min-height: auto;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.hero--light .hero__bg {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(2, 123, 183, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(0, 49, 89, 0.04) 0%, transparent 50%),
    #EAEAEE;
}

.hero--light .hero__bg::after {
  background: none;
}

.hero--light .hero__accent {
  background: linear-gradient(180deg, transparent, rgba(2, 123, 183, 0.05) 30%, rgba(2, 123, 183, 0.05) 70%, transparent);
}

.hero--light .display {
  color: #003159;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero--light .hero__subtitle {
  color: #3d4f63;
}

.hero--light .label {
  color: #027BB7;
}

.hero--light .stats-bar {
  background: rgba(0, 49, 89, 0.04);
  border-color: rgba(0, 49, 89, 0.1);
}

.hero--light .stat:not(:last-child)::after {
  background: rgba(0, 49, 89, 0.1);
}

.hero--light .stat__number {
  color: #027BB7;
}

.hero--light .stat__label {
  color: #5a6878;
}

.hero--light .btn--outline {
  border-color: #003159;
  color: #003159;
}

.hero--light .btn--outline:hover {
  background: rgba(0, 49, 89, 0.08);
  border-color: #027BB7;
  color: #027BB7;
}

/* Light-to-dark angled divider */
.hero__divider {
  display: none;
}

.hero--light .hero__divider {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero--light .hero__divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero grid layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__visual {
  position: relative;
  padding-top: 54px;
}

/* Give the subtitle room to breathe beside the tighter headline */
.hero--light .hero__subtitle {
  max-width: 460px;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

/* --- NAV LIGHT VARIANT --- */
.site-header--light .nav__links a {
  color: #003159;
}

.site-header--light .nav__links a::after {
  background: #027BB7;
}

.site-header--light .nav__links a:hover,
.site-header--light .nav__links a.active {
  color: #027BB7;
}

.site-header--light .nav__toggle span {
  background: #003159;
}

/* Scrolled state overrides light */
.site-header.scrolled.site-header--light .nav__links a {
  color: var(--text-secondary);
}

.site-header.scrolled.site-header--light .nav__links a:hover,
.site-header.scrolled.site-header--light .nav__links a.active {
  color: var(--text-primary);
}

.site-header.scrolled.site-header--light .nav__toggle span {
  background: var(--text-primary);
}

/* --- VIDEO CTA --- */
.video-cta {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow:
    0 24px 64px rgba(0, 49, 89, 0.3),
    0 8px 20px rgba(0, 17, 42, 0.2);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.video-cta:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 32px 80px rgba(0, 49, 89, 0.35),
    0 12px 28px rgba(0, 17, 42, 0.25);
}

.video-cta__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 49, 89, 0.65) 0%, rgba(0, 17, 42, 0.5) 50%, rgba(2, 123, 183, 0.3) 100%),
    url('hero-video-bg.jpg') center/cover no-repeat;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-cta:hover .video-cta__bg {
  transform: scale(1.06);
}

.video-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  gap: 1.75rem;
}

/* Play button */
.video-cta__play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(2, 123, 183, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(4px);
}

.video-cta__play::before,
.video-cta__play::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(2, 123, 183, 0.5);
}

.video-cta__play::before {
  inset: -10px;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.video-cta__play::after {
  inset: -22px;
  border-width: 1px;
  border-color: rgba(2, 123, 183, 0.3);
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 0.6s;
}

.video-cta__play svg {
  width: 26px;
  height: 26px;
  fill: white;
  margin-left: 3px;
  position: relative;
  z-index: 1;
}

.video-cta:hover .video-cta__play {
  background: #027BB7;
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(2, 123, 183, 0.4);
}

/* --- VIDEO ANNOTATION (top-down arrow + bold label) --- */
.video-annotation {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-35%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  animation: annotationReveal 0.8s var(--ease) 1.2s forwards;
}

.video-annotation__text {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #027BB7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-shadow:
    0 2px 12px rgba(2, 123, 183, 0.25),
    0 0 30px rgba(2, 123, 183, 0.08);
  transform: rotate(-3deg);
}

.video-annotation__chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  transform: rotate(-3deg);
}

.video-annotation__chevron {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 3px solid #027BB7;
  border-bottom: 3px solid #027BB7;
  transform: rotate(45deg);
  opacity: 0;
}

.video-annotation__chevron:nth-child(1) {
  animation: chevronCascade 2s ease-in-out 1.8s infinite;
}
.video-annotation__chevron:nth-child(2) {
  animation: chevronCascade 2s ease-in-out 2.0s infinite;
}
.video-annotation__chevron:nth-child(3) {
  animation: chevronCascade 2s ease-in-out 2.2s infinite;
}

@keyframes annotationReveal {
  from { opacity: 0; transform: translateX(-35%) translateY(-14px); }
  to { opacity: 1; transform: translateX(-35%) translateY(0); }
}

@keyframes chevronCascade {
  0%   { opacity: 0; transform: rotate(45deg) translate(-3px, -3px); }
  20%  { opacity: 1; transform: rotate(45deg) translate(3px, 3px); }
  40%  { opacity: 0; transform: rotate(45deg) translate(3px, 3px); }
  100% { opacity: 0; transform: rotate(45deg) translate(-3px, -3px); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* --- VIDEO MODAL --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.open .video-modal__content {
  transform: scale(1) translateY(0);
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: rgba(234, 234, 238, 0.7);
  font-size: 1.75rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.video-modal__close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.video-modal__player {
  width: 100%;
  height: 100%;
  background: #000;
}

.video-modal__player iframe,
.video-modal__player mux-player {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  --controls: bottom;
}

/* --- SCHEDULE FILTER STATES --- */
.schedule-table td.dimmed {
  opacity: 0.15;
  transition: opacity var(--transition);
}

.schedule-table td.highlighted {
  opacity: 1;
}

.schedule-slot.dimmed {
  opacity: 0.15;
  transition: opacity var(--transition);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(2, 123, 183, 0.25);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- SCHEDULE FILTERS --- */
.schedule-filters {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.schedule-filter {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: transparent;
  border: var(--border-subtle);
  border-radius: 100px;
  color: var(--text-secondary);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 5;
  transition: all var(--transition);
}

.schedule-filter:hover {
  border-color: rgba(2, 123, 183, 0.3);
  color: var(--text-primary);
}

.schedule-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --- SOCIAL ICONS --- */
.footer__social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(2, 123, 183, 0.08);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__social-icon:hover {
  background: var(--accent);
  color: #fff;
}

.footer__social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--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; }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

/* --- LIGHT SECTION VARIANT --- */
/* Alternating light sections using the brand's light gray (#EAEAEE)
   to break up the dark navy and create visual rhythm across pages. */

.section--light {
  background: #EAEAEE;
}

/* Typography on light backgrounds */
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 {
  color: #003159;
}

.section--light p,
.section--light .text-secondary,
.section--light .section-header p {
  color: #3d4f63;
}

.section--light .text-muted {
  color: #5a6878;
}

.section--light .label {
  color: var(--accent);
}

.section--light .divider {
  background: var(--accent);
}

/* Links in light sections */
.section--light a:not(.btn):not(.footer__social-icon) {
  color: var(--accent);
}

.section--light a:not(.btn):not(.footer__social-icon):hover {
  color: var(--accent-light);
}

/* Outline buttons on light backgrounds */
.section--light .btn--outline {
  border-color: #003159;
  color: #003159;
}

.section--light .btn--outline:hover {
  background: rgba(0, 49, 89, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Program Cards (light) --- */
.section--light .program-card {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .program-card:hover {
  background: #ffffff;
  border-color: rgba(2, 123, 183, 0.2);
  box-shadow: 0 16px 48px rgba(0, 49, 89, 0.1), 0 0 0 1px rgba(2, 123, 183, 0.06);
}

.section--light .program-card__number {
  color: rgba(2, 123, 183, 0.18);
}

.section--light .program-card__title {
  color: #003159;
}

.section--light .program-card__desc {
  color: #3d4f63;
}

/* --- Feature Cards (light) --- */
.section--light .feature {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .feature:hover {
  border-color: rgba(2, 123, 183, 0.2);
  box-shadow: 0 8px 32px rgba(0, 49, 89, 0.06);
}

.section--light .feature__title {
  color: #003159;
}

.section--light .feature__desc {
  color: #3d4f63;
}

/* --- Testimonials (light) --- */
.section--light .testimonial {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .testimonial::before {
  color: rgba(2, 123, 183, 0.08);
}

.section--light .testimonial:hover {
  box-shadow: 0 12px 40px rgba(0, 49, 89, 0.08);
}

.section--light .testimonial__quote {
  color: #3d4f63;
}

.section--light .testimonial__author {
  color: #003159;
}

/* --- Instructor Cards (light) --- */
.section--light .instructor-card {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .instructor-card:hover {
  border-color: rgba(2, 123, 183, 0.2);
  box-shadow: 0 20px 60px rgba(0, 49, 89, 0.1);
}

.section--light .instructor-card__photo {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(2, 123, 183, 0.06) 0%, transparent 70%),
    #dde0e6;
}

.section--light .instructor-card__photo::after {
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 40px,
      rgba(2, 123, 183, 0.03) 40px,
      rgba(2, 123, 183, 0.03) 41px
    );
}

.section--light .instructor-card__initials {
  color: rgba(2, 123, 183, 0.15);
  text-shadow: 0 0 60px rgba(2, 123, 183, 0.2);
}

.section--light .instructor-card__name {
  color: #003159;
}

.section--light .instructor-card__bio {
  color: #3d4f63;
}

.section--light .instructor-card__credentials {
  border-top-color: rgba(0, 49, 89, 0.08);
}

.section--light .credential-tag {
  background: rgba(2, 123, 183, 0.1);
  color: #0063A5;
}

.section--light .btn--bio {
  border-color: #003159;
  color: #003159;
}

.section--light .btn--bio:hover {
  background: rgba(0, 49, 89, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Youth Cards (light) --- */
.section--light .youth-card {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .youth-card__header {
  background: linear-gradient(135deg, #f0f1f4 0%, #ffffff 100%);
  border-bottom-color: rgba(0, 49, 89, 0.06);
}

.section--light .youth-card h3 {
  color: #003159;
}

.section--light .youth-card .text-secondary {
  color: #3d4f63;
}

.section--light .youth-card__list li {
  color: #3d4f63;
}

/* --- Schedule (light) --- */
.section--light .schedule-note {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .schedule-note p {
  color: #3d4f63;
}

.section--light .schedule-filter {
  border-color: rgba(0, 49, 89, 0.12);
  color: #3d4f63;
  background: #ffffff;
}

.section--light .schedule-filter:hover {
  border-color: rgba(2, 123, 183, 0.3);
  color: #003159;
}

.section--light .schedule-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.section--light .schedule-table-wrapper {
  border-color: rgba(0, 49, 89, 0.1);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
  background: #ffffff;
}

.section--light .schedule-table th {
  background: #f0f1f4;
  color: var(--accent);
  border-bottom-color: rgba(0, 49, 89, 0.1);
}

.section--light .schedule-table td {
  color: #3d4f63;
  border-bottom-color: rgba(0, 49, 89, 0.06);
}

.section--light .schedule-table tbody tr:hover td {
  background: rgba(2, 123, 183, 0.04);
}

.section--light .schedule-class__name {
  color: #003159;
}

.section--light .schedule-class__time {
  color: #5a6878;
}

/* Schedule tags with better contrast on light backgrounds */
.section--light .schedule-tag--bjj {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.section--light .schedule-tag--muaythai {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.section--light .schedule-tag--kids {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.section--light .schedule-tag--open {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

/* Mobile schedule on light */
.section--light .schedule-day__header {
  color: var(--accent);
  border-bottom-color: rgba(2, 123, 183, 0.15);
}

.section--light .schedule-slot {
  border-bottom-color: rgba(0, 49, 89, 0.06);
}

.section--light .schedule-slot__name {
  color: #003159;
}

.section--light .schedule-slot__time {
  color: #5a6878;
}

/* --- About Section (light) --- */
.section--light .about-content__text p {
  color: #3d4f63;
}

.section--light .about-visual {
  background: #d8dce4;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .about-visual--photo {
  background:
    linear-gradient(135deg, rgba(0, 49, 89, 0.55) 0%, rgba(0, 17, 42, 0.35) 100%),
    url('hero-video-bg.jpg') center/cover no-repeat;
}

.section--light .about-visual__text {
  color: rgba(255, 255, 255, 0.25);
}

/* Values (light) */
.section--light .value-item h3 {
  color: #003159;
}

.section--light .value-item p {
  color: #3d4f63;
}

/* --- Locations Callout (light) --- */
.section--light .locations-callout {
  background: #ffffff;
  border-color: rgba(2, 123, 183, 0.18);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .locations-callout h3 {
  color: #003159;
}

.section--light .locations-callout p {
  color: #3d4f63;
}

/* --- Contact Section (light) --- */
.section--light .contact-info__icon {
  background: rgba(2, 123, 183, 0.1);
}

.section--light .contact-info__text h4 {
  color: #003159;
}

.section--light .contact-info__text p,
.section--light .contact-info__text address {
  color: #3d4f63;
}

/* Contact form card on light */
.section--light #contact-form {
  background: #ffffff !important;
  border: 1px solid rgba(0, 49, 89, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light #contact-form h3 {
  color: #003159;
}

.section--light .form-input,
.section--light .form-textarea,
.section--light .form-select {
  background: #f4f5f7;
  border-color: rgba(0, 49, 89, 0.1);
  color: #003159;
}

.section--light .form-input:focus,
.section--light .form-textarea:focus,
.section--light .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 123, 183, 0.12), 0 0 20px rgba(2, 123, 183, 0.06);
}

.section--light .form-input::placeholder,
.section--light .form-textarea::placeholder {
  color: #8a92a0;
}

.section--light .form-label {
  color: #5a6878;
}

/* Map on light - show natural map colors */
.section--light .map-container {
  background: #ffffff;
  border-color: rgba(0, 49, 89, 0.08);
  box-shadow: 0 1px 3px rgba(0, 49, 89, 0.04);
}

.section--light .map-container iframe {
  filter: grayscale(0.2) contrast(0.95);
}

/* --- BIO BUTTON --- */
.btn--bio {
  margin-top: var(--space-lg);
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  width: 100%;
}

/* --- BIO MODAL --- */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.bio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bio-modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.bio-modal.open .bio-modal__content {
  transform: scale(1) translateY(0);
}

.bio-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: #3d4f63;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.bio-modal__close:hover {
  background: rgba(255, 255, 255, 1);
  color: #003159;
}

.bio-modal__header {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-xl) 0;
  align-items: flex-start;
}

.bio-modal__photo-wrap {
  width: 140px;
  min-width: 140px;
  height: 175px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 49, 89, 0.15);
}

.bio-modal__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bio-modal__info {
  flex: 1;
  min-width: 0;
  padding-top: var(--space-sm);
}

.bio-modal__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.bio-modal__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003159;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.bio-modal__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.bio-modal__credentials .credential-tag {
  background: rgba(2, 123, 183, 0.08);
  color: var(--accent);
}

.bio-modal__body {
  padding: var(--space-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #3d4f63;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.bio-modal__body p {
  margin-bottom: 1rem;
}

.bio-modal__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .bio-modal { padding: 1rem; }

  .bio-modal__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) var(--space-lg) 0;
  }

  .bio-modal__photo-wrap {
    width: 120px;
    min-width: 120px;
    height: 150px;
  }

  .bio-modal__info {
    padding-top: 0;
  }

  .bio-modal__credentials {
    justify-content: center;
  }

  .bio-modal__body {
    padding: var(--space-lg);
  }

  .bio-modal__name {
    font-size: 1.25rem;
  }
}

/* --- BOOKING MODAL --- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.booking-modal.open .booking-modal__content {
  transform: scale(1) translateY(0);
}

.booking-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 17, 42, 0.06);
  border: none;
  color: #3d4f63;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.booking-modal__close:hover {
  background: rgba(0, 17, 42, 0.1);
  color: #003159;
}

.booking-modal__body {
  width: 100%;
  height: 709px;
  max-height: calc(90vh - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .youth-grid { grid-template-columns: 1fr; }
  .locations-callout { flex-direction: column; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .video-cta { max-width: 480px; margin: 0 auto; }
  .hero__visual { padding-top: 0; }
  .video-annotation { display: none; }
}

@media (max-width: 768px) {
  .booking-modal { padding: 1rem; }
  .booking-modal__content { max-width: 100%; }
  .booking-modal__body { max-height: calc(95vh - 24px); }

  .nav__links,
  .nav > .btn { display: none; }

  .nav__toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-2xl)); padding-bottom: var(--space-3xl); }
  .hero--light { padding-bottom: var(--space-3xl); }
  .video-cta { aspect-ratio: 16/10; }

  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .stat__number { font-size: 2.25rem; }
  .stat { padding: var(--space-md) var(--space-sm); }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section { padding: var(--space-3xl) 0; }
  .section--lg { padding: var(--space-4xl) 0; }

  .schedule-table-wrapper { display: none; }
  .schedule-mobile { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn { width: 100%; }

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

  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid rgba(0, 49, 89, 0.1); }

  .back-to-top { bottom: 1rem; right: 1rem; }

  .program-card { padding: var(--space-xl); }
}
