/* =====================================================
   GENJITSU MARTIAL ARTS — MAIN STYLESHEET
   Mobile-First | SEO-Optimised | Accessible
   ===================================================== */


/* ─── CSS Custom Properties ─── */
:root {
  --red:         #c1121f;
  --red-dark:    #9b0e19;
  --red-light:   #e53935;
  --gold:        #f0a500;
  --gold-light:  #ffc107;

  --bg-dark:     #0a0a14;
  --bg-mid:      #141428;
  --bg-surface:  #1e1e3a;
  --bg-white:    #ffffff;
  --bg-off:      #f8f9fa;
  --bg-light:    #f1f1f7;

  --txt-white:   #ffffff;
  --txt-off:     #e0e0ee;
  --txt-muted:   #9ca3af;
  --txt-dark:    #111827;
  --txt-body:    #374151;
  --txt-light:   #6b7280;

  --border-dark: rgba(255,255,255,0.10);
  --border:      #e5e7eb;

  --font-h: 'Times New Roman', Times, Georgia, serif;
  --font-b: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 4px; --r: 8px; --r-lg: 14px; --r-xl: 24px; --round: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.20);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.28);

  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .25s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
  --max-w: 1200px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  color: var(--txt-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ─── Typography ─── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-h);
  line-height: 1.15;
  color: var(--txt-dark);
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { max-width: 65ch; }

.text-white  { color: var(--txt-white) !important; }
.text-red    { color: var(--red) !important; }
.text-gold   { color: var(--gold) !important; }
.text-muted  { color: var(--txt-muted) !important; }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: .08em; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-dark { background: var(--bg-dark); color: var(--txt-off); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--txt-white); }
.section-mid  { background: var(--bg-mid); color: var(--txt-off); }
.section-mid  h1, .section-mid  h2, .section-mid  h3 { color: var(--txt-white); }
.section-light { background: var(--bg-off); }
.section-alt   { background: var(--bg-light); }

.section-header { margin-bottom: 3rem; }
.section-header p { color: var(--txt-light); margin-top: .75rem; }
.section-dark .section-header p, .section-mid .section-header p { color: var(--txt-muted); }

.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--round);
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(193,18,31,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(193,18,31,.45); }
.btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: 0 4px 16px rgba(240,165,0,.3);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: #fff; color: var(--txt-dark); }
.btn-outline-red {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .875rem; }

/* ─── Badge / Tag ─── */
.badge {
  display: inline-block;
  padding: .25rem .9rem;
  border-radius: var(--round);
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-red  { background: rgba(193,18,31,.15); color: var(--red-light); }
.badge-gold { background: rgba(240,165,0,.15); color: var(--gold); }
.badge-white{ background: rgba(255,255,255,.15); color: #fff; }
.badge-dark { background: rgba(0,0,0,.1); color: var(--txt-body); }

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
  background: transparent;
}
.navbar.scrolled {
  background: var(--bg-darker, #060609);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.navbar.page-nav { background: var(--bg-dark); top: 0; }
.navbar.page-nav ~ .nav-drawer { top: var(--nav-h); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text strong {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.nav-logo-text span {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.nav-links {
  display: none;
  gap: .25rem;
}
.nav-links a {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-off);
  padding: .5rem .75rem;
  border-radius: var(--r);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--gold); background: transparent; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--r);
  transition: background var(--t);
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 1rem 1.25rem 2rem;
  transform: translateY(calc(-100% - var(--nav-h)));
  transition: transform .35s var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-xl);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.nav-drawer a {
  display: block;
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-off);
  padding: .75rem 1rem;
  border-radius: var(--r);
  transition: background var(--t), color var(--t);
}
.nav-drawer a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-drawer .btn { width: 100%; justify-content: center; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background:
    linear-gradient(170deg, rgba(10,10,20,.72) 0%, rgba(10,10,20,.86) 100%),
    url('../photography/IMG_5211.jpg') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,18,31,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 2rem; padding-bottom: 4rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--gold);
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; max-width: 14ch; }
.hero h1 span { color: var(--red-light); }
.hero-sub {
  color: var(--txt-off);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 56ch;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--txt-muted);
  font-size: .9rem;
}
.hero-trust-item strong { color: var(--txt-white); font-family: var(--font-h); font-size: 1.1rem; }

/* ─── Stats Bar ─── */
.stats-bar {
  background: var(--red);
  padding: 1.75rem 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: .25rem;
  display: block;
}


/* ─── Image Placeholder ─── */
.img-ph {
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: rgba(255,255,255,.25);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.img-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 11px
  );
}
.img-ph svg { width: 32px; height: 32px; opacity: .3; }

/* ─── Cards ─── */
.card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-dark {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--txt-off);
}
.card-dark h3, .card-dark h4 { color: var(--txt-white); }
.card-body { padding: 1.5rem; }

/* ─── Icon Boxes ─── */
.icon-box {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.icon-box-red  { background: rgba(193,18,31,.12); }
.icon-box-gold { background: rgba(240,165,0,.12); }
.icon-box-dark { background: rgba(255,255,255,.08); }

/* ─── Benefits Grid ─── */
.benefit-card {
  padding: 2rem;
  border-radius: var(--r-xl);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--t);
}
.benefit-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.benefit-card h4 { margin-bottom: .5rem; font-size: 1.1rem; }
.benefit-card p { font-size: .95rem; color: var(--txt-light); max-width: none; }

/* ─── Classes Cards ─── */
.class-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  transition: transform var(--t), box-shadow var(--t);
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.class-card-img {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.class-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.class-card-body { padding: 1.75rem; }
.class-card-body h3 { margin-bottom: .5rem; }
.class-card-body p  { color: var(--txt-light); margin-bottom: 1.25rem; font-size: .95rem; }
.class-features { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.class-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--txt-body);
}
.class-features li::before {
  content: '';
  width: 18px; height: 18px;
  background: rgba(193,18,31,.12);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c1121f'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── Instructor Card ─── */
.instructor-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  transition: transform var(--t), box-shadow var(--t);
}
.instructor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.instructor-img {
  height: 320px;
  position: relative;
}
.instructor-body { padding: 1.75rem; color: var(--txt-off); }
.instructor-body h3 { color: #fff; margin-bottom: .25rem; }
.instructor-rank {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.instructor-body p { font-size: .95rem; color: var(--txt-muted); line-height: 1.7; }
.dan-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.dan-badge {
  padding: .3rem .8rem;
  border-radius: var(--round);
  background: rgba(240,165,0,.12);
  color: var(--gold);
  font-size: .78rem;
  font-family: var(--font-h);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  opacity: .25;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--txt-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: none;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 700; color: #fff; font-size: 1rem;
}
.testimonial-info strong { display: block; color: var(--txt-dark); font-size: .95rem; }
.testimonial-info span  { display: block; color: var(--txt-light); font-size: .82rem; }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: .75rem; }

/* ─── Why Choose Grid ─── */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  max-width: 820px;
  margin: 0 auto;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color var(--t);
}
.why-item:hover { border-color: rgba(240,165,0,.35); }
.why-check {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-item div { display: flex; flex-direction: column; gap: .2rem; }
.why-item strong { color: #fff; font-size: .95rem; }
.why-item span { color: var(--txt-muted); font-size: .82rem; }

/* ─── Service Area Tags ─── */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.area-tag {
  padding: .45rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--txt-dark);
  font-weight: 600;
  font-size: .85rem;
  transition: border-color var(--t), background var(--t);
}
.area-tag:hover { border-color: var(--red); background: rgba(193,18,31,.05); }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item:hover { border-color: var(--red); }
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--txt-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.25rem 1.1rem;
  color: var(--txt-light);
  font-size: .95rem;
  max-width: none;
  margin: 0;
}
.faq-item a { color: var(--red); text-decoration: underline; }

/* ─── For Parents Section ─── */
.parent-section { background: var(--bg-mid); }
.parent-section h2, .parent-section h3 { color: var(--txt-white); }
.parent-section p { color: var(--txt-muted); }
.parent-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-dark);
  transition: border-color var(--t);
}
.parent-benefit:hover { border-color: rgba(240,165,0,.3); }
.parent-benefit-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,165,0,.1);
  border-radius: var(--r-lg);
  flex-shrink: 0;
}
.parent-benefit h4 { color: #fff; margin-bottom: .25rem; font-size: 1rem; }
.parent-benefit p  { color: var(--txt-muted); font-size: .9rem; max-width: none; }

/* ─── CTA Strip ─── */
/* ─── Sitemap Page ─── */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.sitemap-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--txt-dark);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.sitemap-links { display: flex; flex-direction: column; gap: .75rem; }
.sitemap-links li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.sitemap-links a {
  font-weight: 600;
  color: var(--red);
  font-size: .95rem;
  transition: opacity var(--t);
}
.sitemap-links a:hover { opacity: .75; }
.sitemap-links span { font-size: .82rem; color: var(--txt-light); }
.sitemap-areas li span { font-weight: 600; color: var(--txt-dark); font-size: .95rem; }
@media (max-width: 600px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}

.cta-strip {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #e53935 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,.03) 20px, rgba(255,255,255,.03) 21px
  );
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: .75rem; }
.cta-strip p  { color: rgba(255,255,255,.85); max-width: 50ch; margin: 0 auto 2rem; }

/* ─── Locations ─── */
.location-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--txt-off);
}
.location-card h4 { color: var(--txt-white); margin-bottom: .25rem; }
.location-body { padding: 1.5rem; }
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--txt-muted);
  margin-bottom: .6rem;
}
.location-detail svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .15rem; color: var(--red-light); }

/* ─── Map ─── */
.map-wrap {
  height: 400px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ─── Timetable ─── */
.tt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.tt-filter-btn {
  padding: .5rem 1.2rem;
  border-radius: var(--round);
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 2px solid var(--border);
  color: var(--txt-body);
  background: var(--bg-white);
  transition: var(--t);
  cursor: pointer;
}
.tt-filter-btn:hover { border-color: var(--red); color: var(--red); }
.tt-filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.tt-grid { display: grid; gap: 1.5rem; }
.tt-day-card {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tt-day-header {
  background: var(--bg-dark);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tt-day-header h4 {
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: .04em;
}
.tt-session {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.tt-session:last-child { border-bottom: none; }
.tt-session:hover { background: var(--bg-off); }
.tt-session[data-hidden="true"] { display: none; }
.tt-time {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt-dark);
  white-space: nowrap;
}
.tt-info h5 { font-size: 1rem; margin-bottom: .15rem; color: var(--txt-dark); }
.tt-info span { font-size: .85rem; color: var(--txt-light); }
.tt-location {
  font-size: .82rem;
  color: var(--txt-light);
  text-align: right;
  white-space: nowrap;
}
.tt-badge-adults { background: rgba(193,18,31,.1); color: var(--red); }
.tt-badge-juniors { background: rgba(240,165,0,.12); color: #b07a00; }

/* ─── Gallery ─── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.gal-filter-btn {
  padding: .5rem 1.2rem;
  border-radius: var(--round);
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 2px solid var(--border-dark);
  color: var(--txt-muted);
  background: transparent;
  transition: var(--t);
  cursor: pointer;
}
.gal-filter-btn:hover { border-color: var(--red); color: var(--red-light); }
.gal-filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  transition: transform var(--t);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-inner {
  width: 100%;
  height: 100%;
}
.gallery-item-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item-overlay svg { color: #fff; width: 36px; height: 36px; }
.gallery-item[data-type="video"] .gallery-item-overlay { opacity: 1; background: rgba(0,0,0,.45); }
.gallery-play {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.gallery-play svg { width: 22px; height: 22px; color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--r-lg); object-fit: contain; }
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t);
  backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-close svg { color: #fff; width: 20px; height: 20px; }
.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t);
  backdrop-filter: blur(4px);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-nav svg { color: #fff; width: 22px; height: 22px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .9rem; text-align: center; white-space: nowrap;
}
.video-modal { position: relative; }
.video-modal iframe { width: 80vw; max-width: 800px; height: 45vw; max-height: 450px; border-radius: var(--r-lg); }

/* ─── Contact Form ─── */
.contact-form { background: var(--bg-white); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--txt-dark); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 1rem;
  color: var(--txt-dark);
  background: var(--bg-white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(193,18,31,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-2col { display: grid; gap: 1rem; }
.form-submit { width: 100%; }
.form-note { font-size: .82rem; color: var(--txt-light); margin-top: .5rem; }

/* ─── About Page ─── */
.about-timeline { position: relative; padding-left: 2rem; }
.about-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--gold));
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem; top: .4rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-year {
  font-family: var(--font-h);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .25rem;
}
.timeline-item h4 { color: var(--txt-dark); margin-bottom: .35rem; }
.timeline-item p { color: var(--txt-light); font-size: .95rem; max-width: none; }

/* ─── Footer ─── */
.footer {
  background: var(--bg-darker, #06060a);
  border-top: 1px solid var(--border-dark);
  padding-top: 3.5rem;
  color: var(--txt-muted);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand p { font-size: .92rem; line-height: 1.75; margin-top: 1rem; margin-bottom: 1.5rem; max-width: 36ch; }
.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), transform var(--t);
  color: var(--txt-muted);
}
.social-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }
.footer-col h5 {
  font-family: var(--font-h);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .9rem;
  color: var(--txt-muted);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--txt-white); }
.footer-contact p { font-size: .9rem; line-height: 1.9; }
.footer-contact a { color: var(--red-light); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}
.footer-affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-affiliations span {
  padding: .25rem .9rem;
  border-radius: var(--round);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  background:
    linear-gradient(160deg, rgba(10,10,20,.9) 0%, rgba(10,10,20,.97) 100%),
    repeating-linear-gradient(-55deg, transparent 0, transparent 30px,
    rgba(255,255,255,.015) 30px, rgba(255,255,255,.015) 31px);
  color: var(--txt-white);
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p  { color: var(--txt-muted); font-size: 1.1rem; max-width: 55ch; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--txt-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--red-light); }
.breadcrumb span { opacity: .5; }

/* ─── Utilities ─── */
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-prose { max-width: 65ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider {
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: var(--round);
  margin: 1rem 0 1.5rem;
}
.divider-gold { background: var(--gold); }
.divider-center { margin-left: auto; margin-right: auto; }

/* ─── Responsive – Tablet ─── */
@media (min-width: 640px) {
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-2col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --container-px: 2rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-affiliations { justify-content: flex-end; }
  .tt-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  :root { --nav-h: 80px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .tt-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-form { padding: 2.5rem; }
}

@media (min-width: 1200px) {
  .hero h1 { max-width: 12ch; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
