/* ============================================================
   UFC GYM CLEARWATER - Main Stylesheet
   Brand: Black #000 | Red #C8102E | White #FFF | Gold #FFD700
   ============================================================ */

/* Fonts loaded via <link> in HTML - no duplicate @import needed */

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #C8102E;
  --red-dark:  #9e0c24;
  --black:     #000000;
  --dark:      #0d0d0d;
  --dark-card: #161616;
  --dark-mid:  #222222;
  --white:     #ffffff;
  --gray:      #888888;
  --light:     #f0f0f0;
  --gold:      #FFD700;
  --nav-h:     72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

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

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* ─── Utility ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

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

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.red-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 16px 0 32px;
}

.text-center { text-align: center; }
.text-center .red-line { margin-left: auto; margin-right: auto; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: #e6c200;
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,215,0,0.3);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }

/* ─── Navigation ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  white-space: nowrap;
}

.nav-cta {
  margin-left: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text span {
  color: var(--red);
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  padding: 8px 10px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile-only nav CTA */
.nav-mobile-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

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

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  border-bottom: 2px solid var(--red);
  padding: 16px 0;
  transform: translateY(-110%);
  transition: transform 0.35s ease;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100dvh - var(--nav-h));
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--red);
  background: rgba(200,16,46,0.08);
  padding-left: 32px;
}

.mobile-nav .btn { margin: 16px 24px 8px; display: block; text-align: center; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(200,16,46,0.15) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

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

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h1 .red { color: var(--red); }

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Page Hero (shorter) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
}

/* ─── Section Layouts ────────────────────────────────────── */
section { padding: 80px 0; }

.section-dark  { background: var(--dark); }
.section-darker { background: var(--black); }
.section-card  { background: var(--dark-card); }
.section-mid   { background: var(--dark-mid); }

/* ─── Cards ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--red);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(200,16,46,0.03);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-top-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Image Cards */
.img-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.img-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 32px 24px 20px;
}

.img-card-overlay h3 {
  font-size: 1.2rem;
  color: var(--white);
}

/* ─── Photo Grid (Conditioning) ─────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.photo-grid .ph { overflow: hidden; }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-grid .ph:hover img { transform: scale(1.08); }

.ph-lg { grid-column: span 7; grid-row: span 2; }
.ph-md { grid-column: span 5; }
.ph-sm { grid-column: span 4; }
.ph-full { grid-column: span 12; grid-row: span 1; }
.ph-6 { grid-column: span 6; }

/* ─── Hours Table ────────────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th, .hours-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hours-table thead th {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--black);
}

.hours-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.hours-table td { color: var(--gray); font-size: 0.95rem; }
.hours-table td:first-child { color: var(--white); font-weight: 600; }

/* ─── Class Schedule ─────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.schedule-day {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.schedule-day-header {
  background: var(--dark-mid);
  padding: 10px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background var(--transition), color var(--transition);
}

.schedule-day-header:hover { background: #2a2a2a; color: var(--white); }

.schedule-day.open .schedule-day-header { color: var(--red); background: var(--dark-mid); }
.schedule-day:not(.open) .schedule-day-header { color: var(--gray); }

.schedule-day-header .sched-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.schedule-day.open .schedule-day-header .sched-chevron {
  transform: rotate(180deg);
}

.schedule-day-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.schedule-day.open .schedule-day-body {
  max-height: 600px;
}

.schedule-class {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.schedule-time {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 2px;
}

.schedule-name {
  font-size: 0.85rem;
  color: var(--white);
}

.schedule-instructor {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--red);
  padding: 32px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ─── Social Links ───────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 20px;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}

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

.social-link svg { width: 20px; height: 20px; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-wrap {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 4px solid var(--red);
  padding: 48px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-mid);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(200,16,46,0.2);
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-note {
  background: rgba(255,215,0,0.08);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.form-success {
  display: none;
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.4);
  border-left: 4px solid #27ae60;
  padding: 20px 24px;
  margin-top: 20px;
  color: #7dcea0;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
}

.form-error-msg {
  display: none;
  background: rgba(200,16,46,0.12);
  border: 1px solid rgba(200,16,46,0.3);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin-top: 20px;
  color: #e88;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
}

.form-field-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

/* ─── Pricing Cards ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  min-width: 0;
}

.pricing-card.featured {
  border-color: var(--red);
  border-width: 2px;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.pricing-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.pricing-price sup {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--red);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--gray);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Bio / Person Card ──────────────────────────────────── */
.bio-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--red);
  padding: 40px;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  /* Placeholder styling */
  background: var(--dark-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.bio-photo-wrap {
  position: relative;
}

.bio-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60px;
  height: 60px;
  background: var(--red);
  z-index: -1;
}

.bio-name {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.bio-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.bio-text { color: var(--gray); line-height: 1.8; }

.bio-stats {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.bio-stat-item {
  text-align: center;
  padding: 12px 20px;
  background: var(--dark-mid);
  border-top: 2px solid var(--red);
}

.bio-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.bio-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── Section Dividers / Anchors ─────────────────────────── */
.anchor-marker {
  display: block;
  height: 0;
  margin-top: 0;
  pointer-events: none;
  visibility: hidden;
}

.section-divider-bar {
  background: var(--black);
  padding: 12px 0;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 40px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.section-divider span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'UFC';
  position: absolute;
  font-family: 'Oswald', sans-serif;
  font-size: 20rem;
  font-weight: 700;
  color: rgba(0,0,0,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn-outline {
  border-color: var(--white);
  position: relative;
}

/* ─── Info Bar (contact info strip) ─────────────────────── */
.info-bar {
  background: var(--black);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.info-bar-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray);
}

.info-item strong { color: var(--white); }
.info-item svg { color: var(--red); flex-shrink: 0; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 2px solid var(--red);
  padding: 60px 0 32px;
}

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

.footer-brand .nav-logo-text {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: block;
}

.footer-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,16,46,0.4);
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover { color: var(--red); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.8rem;
}

.footer-corp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-card);
  border: 1px solid rgba(200,16,46,0.3);
  padding: 8px 16px;
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.footer-corp-link:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(200,16,46,0.1);
}

/* ─── Program Feature List ────────────────────────────────── */
.feature-list {
  list-style: none;
  margin: 24px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ─── Split Layout ───────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.split.reverse .split-img { order: -1; }

.split-img {
  position: relative;
}

.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(315deg, rgba(220, 20, 30, 0.55) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.split-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.split-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: var(--red);
  z-index: -1;
}

/* ─── Tag Pills ──────────────────────────────────────────── */
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.tag {
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.35);
  color: var(--red);
  font-size: 0.75rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
}

/* ─── Image placeholder helper ───────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--dark-mid) 0%, #1e1e1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 10px;
  border: 2px dashed rgba(255,255,255,0.08);
}

.img-placeholder svg { opacity: 0.2; }

/* ─── Responsive grid utility classes ────────────────────── */

/* Replaces inline display:grid / grid-template-columns:1fr 1fr */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.two-col-center { align-items: center; }
.two-col-start  { align-items: start; }

/* 4-up photo strip */
.photo-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 200px;
}
.photo-strip-4 > div { height: 100%; }

/* Compact card grid (2 fixed cols for feature mini-cards) */
.card-grid-compact {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

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

/* Youth 4-up benefit cards - inline style replacement */
.card-grid-4up { grid-template-columns: repeat(4, 1fr); }

/* Homeschool 2-col layout */
.homeschool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

/* Summer camp 2-col layout */
.summer-camp-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
}

/* Compact 3-col pricing inside a split column */
.pricing-grid-camp {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Hide floating quick-nav on mobile */
.youth-quick-nav {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* PT "how it works" step row */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.06);
}
.steps-row .step {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.steps-row .step:last-child { border-right: none; }
.step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(200,16,46,0.15);
  position: absolute;
  top: 24px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-card { grid-template-columns: 220px 1fr; gap: 32px; }
  .two-col { gap: 40px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row .step:nth-child(2) { border-right: none; }
  .steps-row .step:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.06); }
  .steps-row .step:nth-child(4) {
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* ─── Contact Info Grid ──────────────────────────────────── */
.contact-info-grid {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr !important; gap: 24px; }
  #tab-summer-camp .container > div { grid-template-columns: 1fr !important; gap: 32px; }
  section { padding: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-mobile-cta { display: block; margin-left: auto; }
  .hamburger { display: flex; }

  .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Collapse all two-col grids */
  .two-col,
  .two-col-center,
  .two-col-start { grid-template-columns: 1fr; gap: 40px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-img { order: unset; }

  .bio-card { grid-template-columns: 1fr; }
  .bio-photo-wrap { max-width: 240px; }

  .form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

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

  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .ph-lg { grid-column: span 2; grid-row: span 1; }
  .ph-md, .ph-sm, .ph-6 { grid-column: span 1; }
  .ph-full { grid-column: span 2; }

  /* Photo strip: 2 cols on tablet */
  .photo-strip-4 { grid-template-columns: repeat(2, 1fr); height: auto; }
  .photo-strip-4 > div { min-height: 160px; }

  /* Schedule: 1 col on mobile */
  .schedule-grid,
  .schedule-grid-3 { grid-template-columns: 1fr; }

  /* Pricing: stack on mobile */
  .pricing-grid,
  .pricing-grid-camp { grid-template-columns: 1fr; }

  /* Steps: stack on mobile */
  .steps-row { grid-template-columns: 1fr; }
  .steps-row .step { border-right: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .steps-row .step:first-child { border-top: none; }

  /* Inline grid replacements: collapse on mobile */
  .card-grid-4up { grid-template-columns: 1fr 1fr; }
  .homeschool-grid { grid-template-columns: 1fr; }
  .summer-camp-grid { grid-template-columns: 1fr; }

  .info-bar-inner { gap: 16px; flex-direction: column; align-items: flex-start; }

  /* Hide youth floating quick-nav on mobile */
  .youth-quick-nav { display: none; }

  /* Solo / full-width buttons on mobile */
  .btn:not(.btn-sm) { display: block; width: 100%; text-align: center; }

  /* Social links fill available width */
  .social-link { flex: 1 1 0; justify-content: center; }

  /* CTA banner button row */
  .cta-banner .btn { width: 100%; max-width: 280px; }

  /* Stats bar: 2 cols on mobile */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .form-wrap { padding: 24px 16px; }

  section { padding: 48px 0; }

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

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

  .photo-grid { grid-template-columns: 1fr; }
  .ph-lg, .ph-md, .ph-sm, .ph-6, .ph-full { grid-column: span 1; }

  /* Inline grid replacements: 1 col on small phones */
  .card-grid-4up { grid-template-columns: 1fr; }

  /* Single col photo strip on small phones */
  .photo-strip-4 { grid-template-columns: 1fr; }
  .photo-strip-4 > div { min-height: 140px; }

  /* Compact card grid: collapse to 1 col on very small screens */
  .card-grid-compact { grid-template-columns: 1fr; }

  /* Pricing: always 1 col at small sizes */
  .pricing-grid,
  .pricing-grid-camp { grid-template-columns: 1fr; }

  /* Section titles scale down */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }

  /* Hours table scrollable on tiny screens */
  .hours-table { display: block; overflow-x: auto; }

  /* Tag pills wrap naturally */
  .tag-list { gap: 6px; }
  .tag { font-size: 0.7rem; padding: 3px 10px; }

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

  /* Back to top doesn't clash with anything */
  #back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }

  /* Form note smaller */
  .form-note { font-size: 0.82rem; }
}

/* ════════════════════════════════════════════════════════
   TABBED SECTIONS
════════════════════════════════════════════════════════ */
.tab-bar-wrap {
  background: var(--red);
  border-top: none;
  border-bottom: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 200;
}
.tab-bar {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--white); border-bottom-color: var(--white); }

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

/* ════════════════════════════════════════════════════════
   NAV DROPDOWNS
════════════════════════════════════════════════════════ */
.nav-links .nav-item { position: relative; }
.nav-links .nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links .nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-links .nav-item.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: #111;
  border-top: 2px solid var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 300;
  padding: 4px 0;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav-dropdown a:hover {
  color: var(--white);
  background: rgba(200,16,46,0.09);
  border-left-color: var(--red);
}

/* ════════════════════════════════════════════════════════
   MOBILE NAV GROUPS
════════════════════════════════════════════════════════ */
.mobile-nav-group { list-style: none; }
.mobile-nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}
.mob-chevron { transition: transform 0.25s ease; }
.mobile-nav-group.open .mob-chevron { transform: rotate(180deg); }
.mobile-nav-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.25);
}
.mobile-nav-group.open .mobile-nav-sub { max-height: 320px; }
.mobile-nav-sub a {
  display: block;
  padding: 10px 32px;
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.mobile-nav-sub a:hover { color: var(--white); border-left-color: var(--red); }

/* ════════════════════════════════════════════════════════
   DRAWERS
════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100dvh;
  background: #111;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}
.drawer-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.drawer-close {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.drawer-close:hover { color: var(--white); }
.drawer-body {
  padding: 28px 24px;
  flex: 1;
}
