/* ================================================================
   PULSE — Fitness / Gym Template
   Author: Template Marketplace
   ----------------------------------------------------------------
   REBRAND QUICK-START:
   Change the values in :root below to re-skin the entire template.
   - Swap --accent for your brand's neon/highlight color.
   - Swap --bg / --surface for a different dark (or light) base.
   - Update font names in --font-head / --font-body and the
     Google Fonts <link> in index.html to match.
   ================================================================ */

:root {
  /* ---- COLORS ---- */
  --bg: #0a0a0a;            /* page background (near-black)        */
  --surface: #141414;       /* card / panel surface                */
  --surface-2: #1c1c1c;     /* raised surface / hover              */
  --accent: #c6ff00;        /* neon lime accent                    */
  --accent-dark: #9ecc00;   /* accent hover / pressed              */
  --text: #ffffff;          /* primary text                        */
  --text-muted: #a0a0a0;    /* secondary text                      */
  --border: #262626;        /* hairline borders                    */

  /* ---- TYPOGRAPHY ---- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- LAYOUT ---- */
  --max-width: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;

  /* ---- MOTION ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

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

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 24px; }

.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;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 0 rgba(198, 255, 0, 0);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(198, 255, 0, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo__mark { font-size: 1.3rem; filter: drop-shadow(0 0 8px rgba(198,255,0,0.6)); }
.logo__text { background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav__list { display: flex; gap: 30px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px; margin-inline: auto;
  background: var(--text); border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero { position: relative; padding: clamp(64px, 12vh, 130px) 0 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(198,255,0,0.14), transparent 60%),
    radial-gradient(50% 50% at 0% 90%, rgba(198,255,0,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #0c0c0c);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__subtitle { font-size: 1.12rem; color: var(--text-muted); max-width: 50ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--accent); }
.hero__stats span { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Hero visual */
.hero__visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero__orb {
  width: min(360px, 80%); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(198,255,0,0.35), rgba(198,255,0,0.05) 55%, transparent 70%);
  border: 1px solid rgba(198,255,0,0.25);
  box-shadow: inset 0 0 80px rgba(198,255,0,0.12), 0 0 90px -20px rgba(198,255,0,0.4);
  animation: pulse 4s var(--ease) infinite;
}
.hero__emoji {
  position: absolute;
  font-size: clamp(7rem, 16vw, 11rem);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  animation: float 5s ease-in-out infinite;
}
.hero__card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8);
}
.hero__card strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.hero__card small { color: var(--text-muted); font-size: 0.78rem; }
.hero__card-icon { font-size: 1.4rem; }
.hero__card--1 { top: 12%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero__card--2 { bottom: 14%; right: -4%; animation: float 6s ease-in-out infinite reverse; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.92; } }

/* ================================================================
   SECTIONS (generic)
   ================================================================ */
.section { padding: clamp(64px, 10vh, 110px) 0; }
.section--alt { background: linear-gradient(180deg, #0a0a0a, #0e0e0e); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.section__lead { color: var(--text-muted); font-size: 1.05rem; }

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

/* ================================================================
   CARDS (shared)
   ================================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--t) var(--ease),
              border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(198,255,0,0.4);
  box-shadow: 0 24px 50px -28px rgba(198,255,0,0.4);
}
.card__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.card__link {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  color: var(--accent);
  transition: gap var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.card__link:hover { transform: translateX(4px); }

/* ---- Programs ---- */
.program__icon {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px;
  font-size: 1.8rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.program:hover .program__icon { transform: rotate(-8deg) scale(1.08); background: rgba(198,255,0,0.12); }
.program p { color: var(--text-muted); font-size: 0.96rem; }

/* ---- Features ---- */
.feature { text-align: center; padding: 8px; }
.feature__icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px; font-size: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(198,255,0,0.18), var(--surface));
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: transform var(--t) var(--ease);
}
.feature:hover .feature__icon { transform: translateY(-6px); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Trainers ---- */
.trainer { text-align: center; }
.trainer__avatar {
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.6rem;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7);
}
.trainer__avatar--1 { background: linear-gradient(135deg, #c6ff00, #5a7300); }
.trainer__avatar--2 { background: linear-gradient(135deg, #00e0ff, #004f5a); }
.trainer__avatar--3 { background: linear-gradient(135deg, #ff5dc8, #5a0040); }
.trainer__avatar--4 { background: linear-gradient(135deg, #ff8a00, #5a3000); }
.trainer__role { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; }
.trainer__social { display: flex; justify-content: center; gap: 10px; }
.trainer__social span {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.trainer:hover .trainer__social span { color: var(--accent); border-color: rgba(198,255,0,0.4); }

/* ---- Pricing ---- */
.price { display: flex; flex-direction: column; position: relative; }
.price__name { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.price__tag { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.price__currency { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--accent); }
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.price__period { color: var(--text-muted); font-size: 0.95rem; }
.price__desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.price__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price__list li { font-size: 0.95rem; }
.price__list .muted { color: #5a5a5a; }

.price--featured {
  background: linear-gradient(180deg, #181a12, var(--surface));
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(198,255,0,0.4);
  transform: translateY(-8px);
}
.price--featured:hover { transform: translateY(-14px); }
.price__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0a0a;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}

/* ================================================================
   SCHEDULE TABLE
   ================================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.schedule { width: 100%; min-width: 680px; border-collapse: collapse; }
.schedule th, .schedule td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.schedule thead th {
  background: var(--surface-2);
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text);
}
.schedule tbody th {
  font-family: var(--font-head); font-weight: 700; color: var(--accent);
  background: var(--surface);
}
.schedule tbody td { color: var(--text-muted); font-size: 0.92rem; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.schedule tbody tr:hover td { background: rgba(198,255,0,0.06); color: var(--text); }
.schedule tbody tr:last-child th,
.schedule tbody tr:last-child td { border-bottom: 0; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial__top { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem;
  border: 1px solid var(--border);
}
.testimonial__avatar--1 { background: linear-gradient(135deg, #c6ff00, #4a6000); }
.testimonial__avatar--2 { background: linear-gradient(135deg, #ff5dc8, #5a0040); }
.testimonial__avatar--3 { background: linear-gradient(135deg, #00e0ff, #004f5a); }
.testimonial__top strong { display: block; font-family: var(--font-head); }
.testimonial__meta { font-size: 0.82rem; color: var(--accent); }
.testimonial blockquote { color: var(--text-muted); font-size: 0.98rem; font-style: italic; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ================================================================
   CTA BAND + FORM
   ================================================================ */
.cta-band {
  position: relative;
  padding: clamp(56px, 9vh, 100px) 0;
  background:
    radial-gradient(60% 120% at 80% 0%, rgba(198,255,0,0.18), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.cta-band__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.cta-band__title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.cta-band__text p { color: var(--text-muted); font-size: 1.05rem; }

.cta-form { display: grid; gap: 14px; }
.cta-form input {
  width: 100%;
  padding: 15px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.cta-form input::placeholder { color: #6a6a6a; }
.cta-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,255,0,0.15);
}
.cta-form input.is-invalid { border-color: #ff4d4d; box-shadow: 0 0 0 3px rgba(255,77,77,0.15); }
.cta-form__msg { min-height: 1.2em; font-size: 0.9rem; font-weight: 600; }
.cta-form__msg.is-ok { color: var(--accent); }
.cta-form__msg.is-error { color: #ff6b6b; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: #080808; border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p { color: var(--text-muted); font-size: 0.95rem; margin: 16px 0 20px; max-width: 38ch; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 1.1rem;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__social a:hover { transform: translateY(-3px); border-color: var(--accent); }

.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li { color: var(--text-muted); font-size: 0.92rem; transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem;
}
.footer__legal a { transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Fallback: if JS/IO unavailable, .no-js shows everything */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  /* Mobile nav */
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform var(--t) var(--ease);
    padding: 16px 0 28px;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 4px; padding-inline: 24px; }
  .nav__link { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }

  /* Hero stack */
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__visual { order: -1; min-height: 300px; }

  /* CTA stack */
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band__text p { margin-inline: auto; max-width: 40ch; }
}

@media (max-width: 680px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-6px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .hero__card--1 { left: 0; }
  .hero__card--2 { right: 0; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ================================================================
   ================================================================
   MULTI-PAGE ADDITIONS — appended below the original template.
   Page banners, breadcrumbs + new inner-page components.
   ================================================================
   ================================================================ */

/* Active nav link state */
.nav__link.active { color: var(--text); }
.nav__link.active::after { width: 100%; }
@media (max-width: 880px) {
  .nav__link.active { color: var(--accent); }
}

/* ================================================================
   PAGE BANNER + BREADCRUMB
   ================================================================ */
.page-banner {
  position: relative;
  padding: clamp(56px, 11vh, 110px) 0 clamp(48px, 8vh, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-banner__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 70% at 85% 0%, rgba(198,255,0,0.16), transparent 60%),
    radial-gradient(45% 60% at 0% 100%, rgba(198,255,0,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #0c0c0c);
}
.page-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 80% at 50% 0%, #000, transparent);
          mask-image: radial-gradient(75% 80% at 50% 0%, #000, transparent);
}
.page-banner__inner { text-align: center; max-width: 760px; margin-inline: auto; }
.page-banner__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-banner__lead { color: var(--text-muted); font-size: 1.05rem; max-width: 56ch; margin: 0 auto 22px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb a { transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--accent); opacity: 0.7; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ================================================================
   GENERIC GRID-2 (used on inner pages)
   ================================================================ */
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ================================================================
   CLASSES PAGE — class detail cards
   ================================================================ */
.class-card { display: flex; flex-direction: column; }
.class-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.class-card .program__icon { margin-bottom: 0; }
.class-card h3 { font-size: 1.3rem; font-weight: 700; }
.class-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; flex: 1; }
.class-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted);
}
.tag--accent { color: var(--accent); border-color: rgba(198,255,0,0.4); }
.tag--hi { color: #ff6b6b; border-color: rgba(255,107,107,0.4); }
.tag--mid { color: #ffce4d; border-color: rgba(255,206,77,0.4); }
.tag--low { color: #00e0ff; border-color: rgba(0,224,255,0.4); }

/* ================================================================
   TRAINERS PAGE — detailed profile cards
   ================================================================ */
.trainer-pro { text-align: left; display: flex; flex-direction: column; }
.trainer-pro__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.trainer-pro .trainer__avatar { width: 74px; height: 74px; margin: 0; font-size: 2rem; }
.trainer-pro h3 { font-size: 1.25rem; font-weight: 700; }
.trainer-pro .trainer__role { margin-bottom: 0; }
.trainer-pro p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.trainer-stats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.trainer-stats li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.trainer-stats strong { color: var(--text); font-family: var(--font-head); font-weight: 600; min-width: 96px; display: inline-block; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ================================================================
   PRICING PAGE — comparison table + add-ons + FAQ
   ================================================================ */
.compare { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare thead th {
  background: var(--surface-2);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text);
}
.compare thead th.is-featured { color: var(--accent); }
.compare tbody th {
  text-align: left; font-family: var(--font-body); font-weight: 600;
  color: var(--text); background: var(--surface);
}
.compare td { color: var(--text-muted); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: #5a5a5a; }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: rgba(198,255,0,0.05); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.addon { display: flex; flex-direction: column; }
.addon__price { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--accent); margin: 6px 0 10px; }
.addon p { color: var(--text-muted); font-size: 0.93rem; }

/* FAQ accordion-style (CSS-only via details) */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 4px 22px;
  transition: border-color var(--t-fast) var(--ease);
}
.faq__item[open] { border-color: rgba(198,255,0,0.4); }
.faq__item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 700; transition: transform var(--t-fast) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-muted); font-size: 0.95rem; padding-bottom: 20px; }

/* ================================================================
   CONTACT PAGE — info cards + form panel + map
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .feature__icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 0; flex-shrink: 0; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--text-muted); font-size: 0.93rem; }
.info-card a:hover { color: var(--accent); }

.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-panel h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.form-panel > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.cta-form label.field-label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 6px;
}
.cta-form select, .cta-form textarea {
  width: 100%; padding: 15px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.cta-form textarea { resize: vertical; min-height: 120px; }
.cta-form select:focus, .cta-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,255,0,0.15);
}
.cta-form select.is-invalid, .cta-form textarea.is-invalid { border-color: #ff4d4d; box-shadow: 0 0 0 3px rgba(255,77,77,0.15); }

.map-embed {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; min-height: 280px;
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(198,255,0,0.12), transparent 60%),
    linear-gradient(180deg, #101010, #0c0c0c);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-embed::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-embed__pin { position: relative; font-size: 3rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.6)); animation: float 5s ease-in-out infinite; }
.map-embed__label { position: relative; margin-top: 8px; font-family: var(--font-head); font-weight: 700; }
.map-embed__sub { position: relative; color: var(--text-muted); font-size: 0.9rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: 0; }

/* ================================================================
   INNER-PAGE CTA (reuses .cta-band markup, centered variant)
   ================================================================ */
.cta-band--center .cta-band__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-band--center .cta-band__text p { margin-inline: auto; max-width: 46ch; }
.cta-band--center .cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ================================================================
   RESPONSIVE — multi-page components
   ================================================================ */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid--2 { grid-template-columns: 1fr; }
  .form-row--2 { grid-template-columns: 1fr; }
  .form-panel { padding: 24px; }
}

/* ================================================================
   PHOTO INTEGRATION — real imagery wired into placeholders
   Generic helper: any element with class .has-photo renders its
   inline background-image as a cover photo. Overlays below keep
   the bold/neon text legible.
   ================================================================ */
.has-photo {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

/* ---- HERO photo background + dark overlay ---- */
.hero__bg.has-photo {
  /* keep the neon radial glow on top of the photo via ::after grid,
     and darken the photo itself so the title + neon stay readable */
}
.hero__bg.has-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.78), rgba(10,10,10,0.88)),
    radial-gradient(60% 60% at 80% 10%, rgba(198,255,0,0.18), transparent 60%);
}

/* ---- ABOUT / WHY-US photo visual ---- */
.media-photo {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.media-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15), rgba(10,10,10,0.55)),
    radial-gradient(60% 70% at 80% 100%, rgba(198,255,0,0.18), transparent 60%);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.why-grid .features { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .media-photo { min-height: 260px; order: -1; }
}
@media (max-width: 680px) {
  .why-grid .features { grid-template-columns: 1fr; }
}

/* ---- PROGRAM / CLASS card photo header ---- */
.card-photo {
  position: relative;
  height: 180px;
  margin: -30px -30px 22px;   /* bleed to the card edges (card padding is 30px) */
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
}
.card-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.10) 0%, rgba(20,20,20,0.65) 100%);
}
.card:hover .card-photo { /* subtle zoom on hover, keeps existing card lift */
  filter: saturate(1.08);
}
/* Let the program icon sit over the photo as a neon badge */
.program .card-photo + .program__icon,
.class-card .card-photo {
  position: relative;
}
.card-photo .program__icon {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  margin: 0;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
}
/* Class-card head no longer needs its own icon spacing when photo present */
.class-card .card-photo { height: 170px; }
