/* =========================================================
   APEX FITNESS — Reach Your Peak
   Global stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --summit-black: #080A0F;
  --charcoal: #151922;
  --charcoal-2: #1B2030;
  --peak-white: #F5F7FA;
  --steel-gray: #8A94A6;
  --steel-dim: #5B6577;
  --apex-red: #E63946;
  --apex-red-dark: #C42E3B;
  --energy-orange: #FF7A1A;
  --border: rgba(245, 247, 250, 0.08);
  --border-strong: rgba(245, 247, 250, 0.14);

  --font-display: "Oswald", "Bebas Neue", "Impact", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-cta: 0 12px 28px -10px rgba(230, 57, 70, 0.55);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --container: 1200px;
  --header-h: 76px;

  --easing: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--summit-black);
  color: var(--peak-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

::selection { background: var(--apex-red); color: var(--peak-white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--peak-white); }
p.lead { font-size: 1.125rem; color: var(--steel-gray); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--apex-red);
  margin-bottom: 0.85rem;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--steel-gray); font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: transform .2s var(--easing), background-color .2s var(--easing), box-shadow .2s var(--easing), color .2s var(--easing);
  white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-primary {
  background: var(--apex-red);
  color: var(--peak-white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--apex-red-dark); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--peak-white);
  border: 2px solid var(--border-strong);
  padding: calc(0.95rem - 2px) calc(1.6rem - 2px);
}
.btn-secondary:hover { border-color: var(--peak-white); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--peak-white);
  padding: 0.5rem 0;
  clip-path: none;
  letter-spacing: 0.1em;
}
.btn-ghost:hover { color: var(--apex-red); }

.btn-block { display: flex; width: 100%; }

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}
.site-header.scrolled { background: rgba(8, 10, 15, 0.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.15rem;
}
.brand-mark {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { color: var(--peak-white); }
.brand-name b { color: var(--apex-red); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--peak-white);
  position: relative;
  padding: 0.25rem 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--apex-red); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--apex-red);
}

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

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 6px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--peak-white);
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--peak-white);
  transition: transform .25s ease, top .25s ease;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--summit-black);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 9rem);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(230, 57, 70, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(255, 122, 26, 0.10), transparent 60%),
    linear-gradient(180deg, #0A0D14 0%, #080A0F 70%);
  border-bottom: 1px solid var(--border);
}
.hero.has-img {
  background:
    linear-gradient(100deg, rgba(8,10,15,0.92) 0%, rgba(8,10,15,0.78) 45%, rgba(8,10,15,0.55) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(230, 57, 70, 0.25), transparent 60%),
    var(--hero-img) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'><g fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.5'><polyline points='0,520 220,300 360,420 520,180 700,360 880,220 1060,380 1200,260'/><polyline points='0,560 180,420 320,500 480,320 660,460 840,340 1040,460 1200,360'/></g></svg>");
  background-size: cover;
  background-position: center bottom;
  pointer-events: none;
  opacity: 0.85;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--apex-red); display: inline-block; }
.hero .sub {
  font-size: 1.125rem;
  color: var(--steel-gray);
  max-width: 56ch;
  margin: 0 0 2rem;
}
.hero .cta-row { margin-bottom: 2.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  max-width: 760px;
}
.hero-stats div {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-gray);
}
.hero-stats div::before {
  content: "▲";
  color: var(--apex-red);
  margin-right: 0.5rem;
  font-size: 0.7rem;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-bar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.75rem;
}
.trust-bar li {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-gray);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.trust-bar li svg { width: 18px; height: 18px; color: var(--apex-red); flex: none; }

/* ---------- Angular section dividers ---------- */
.angle-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}
.angle-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}
.angle-both {
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

/* ---------- Programs / Card grids ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--charcoal-2) 0%, var(--charcoal) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem 1.6rem;
  transition: transform .3s var(--easing), border-color .3s var(--easing), box-shadow .3s var(--easing);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--apex-red), var(--energy-orange));
  transition: width .4s var(--easing);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card:hover::before { width: 100%; }

.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(230, 57, 70, 0.12);
  color: var(--apex-red);
  margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.6rem; font-size: 1.25rem; }
.card p { color: var(--steel-gray); margin: 0; font-size: 0.975rem; }

/* ---------- Why Apex (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split .media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(230,57,70,0.18), rgba(255,122,26,0.06)),
    linear-gradient(180deg, #1a2030, #0c0f17);
  border: 1px solid var(--border-strong);
}
.split .media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'><g fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.5'><polyline points='0,440 90,260 160,340 240,180 320,300 400,220'/><polyline points='0,470 80,360 170,410 250,290 330,360 400,310'/></g></svg>");
  background-size: cover;
}
.split .media img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.split .media.has-img::after { display: none; }

.benefits {
  list-style: none; margin: 1.25rem 0 2rem; padding: 0;
  display: grid; gap: 0.85rem;
}
.benefits li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  color: var(--peak-white);
}
.benefits li::before {
  content: "";
  flex: none;
  margin-top: 0.55rem;
  width: 10px; height: 10px;
  background: var(--apex-red);
  transform: rotate(45deg);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform .3s var(--easing), border-color .3s var(--easing);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.featured {
  border-color: var(--apex-red);
  box-shadow: 0 0 0 1px rgba(230,57,70,0.4), 0 22px 50px -25px rgba(230,57,70,0.5);
  transform: translateY(-6px);
}
.price-card.featured:hover { transform: translateY(-10px); }
.price-card .badge {
  position: absolute; top: -12px; right: 1.25rem;
  background: var(--apex-red);
  color: var(--peak-white);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.price-card .tier {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--steel-gray);
  margin-bottom: 0.4rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.price-card .price small {
  font-size: 0.95rem;
  color: var(--steel-gray);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.price-card ul {
  list-style: none; margin: 1.5rem 0; padding: 0;
  display: grid; gap: 0.7rem;
  flex: 1;
}
.price-card li {
  color: var(--peak-white);
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.975rem;
}
.price-card li svg {
  flex: none; width: 18px; height: 18px;
  color: var(--apex-red);
  margin-top: 0.25rem;
}
.price-note {
  text-align: center; margin-top: 1.75rem;
  color: var(--steel-dim); font-size: 0.875rem;
}

/* ---------- Transformation / CTA blocks ---------- */
.cta-block {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(230, 57, 70, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 122, 26, 0.10), transparent 60%),
    var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-block .container { max-width: 760px; }
.cta-block p { color: var(--steel-gray); font-size: 1.0625rem; margin-bottom: 2rem; }
.cta-block .cta-row { justify-content: center; }

.transformation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.transformation .story {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  display: flex; flex-direction: column;
}
.transformation .story .story-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--charcoal);
}
.transformation .story .story-body { padding: 1.4rem 1.4rem 1.5rem; }
.transformation .story .label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apex-red);
  margin-bottom: 0.75rem;
}
.transformation .story h4 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.transformation .story p { color: var(--steel-gray); font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.testimonial {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute; top: 0.25rem; left: 1rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--apex-red);
  line-height: 1;
  opacity: 0.4;
}
.testimonial p {
  color: var(--peak-white);
  font-size: 1.0125rem;
  margin: 1.5rem 0 1.25rem;
  font-style: italic;
}
.testimonial .who {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--steel-gray);
}
.testimonial .who b { color: var(--peak-white); font-weight: 600; display: block; }
.testimonial .stars {
  color: var(--energy-orange);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.testimonial .who-row {
  display: flex; align-items: center; gap: 0.85rem;
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--apex-red);
  flex: none;
}

/* ---------- Lead form ---------- */
.lead {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.lead-grid .intro p { color: var(--steel-gray); font-size: 1.0625rem; }
.lead-grid .intro ul {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 0.7rem;
}
.lead-grid .intro li {
  display: flex; gap: 0.6rem; align-items: center;
  color: var(--peak-white);
  font-size: 0.975rem;
}
.lead-grid .intro li::before {
  content: "▲"; color: var(--apex-red); font-size: 0.7rem;
}

.form {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-gray);
  margin-bottom: 0.45rem;
}
.field input,
.field select {
  background: var(--summit-black);
  color: var(--peak-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--apex-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

.radios { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.radios label {
  flex: 1; min-width: 90px;
  text-align: center;
  background: var(--summit-black);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios input:checked + span,
.radios label:has(input:checked) {
  border-color: var(--apex-red);
  background: rgba(230, 57, 70, 0.1);
  color: var(--peak-white);
}

.form .btn { margin-top: 0.5rem; }
.form .privacy {
  text-align: center; color: var(--steel-dim); font-size: 0.82rem; margin: 1rem 0 0;
}

.form-success {
  display: none;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid var(--apex-red);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}
.form-success.show { display: block; }
.form-success h4 { color: var(--apex-red); margin-bottom: 0.5rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--peak-white);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--apex-red); }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--apex-red);
  font-family: var(--font-body);
  font-weight: 300;
  transition: transform .25s ease;
  flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans {
  padding: 0 0 1.4rem;
  color: var(--steel-gray);
  font-size: 1rem;
  max-width: 70ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #04060A;
  border-top: 1px solid var(--border);
  padding: 4rem 0 6rem;
  color: var(--steel-gray);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--peak-white);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-grid a:hover { color: var(--apex-red); }
.footer-tagline {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--apex-red);
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
}
.socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.socials a:hover { border-color: var(--apex-red); background: rgba(230,57,70,0.1); color: var(--apex-red); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem;
  color: var(--steel-dim);
}

/* ---------- Sticky mobile bottom bar ---------- */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(8, 10, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-cta .btn { flex: 1; padding: 0.85rem 0.5rem; font-size: 0.85rem; }
.mobile-cta .btn-secondary { padding: calc(0.85rem - 2px) 0.5rem; }

/* ---------- Sub-page headers ---------- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(230, 57, 70, 0.15), transparent 60%),
    linear-gradient(180deg, #0A0D14, var(--summit-black));
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero.has-img {
  background:
    linear-gradient(180deg, rgba(8,10,15,0.78) 0%, rgba(8,10,15,0.92) 100%),
    var(--hero-img) center/cover no-repeat;
}
.page-hero.has-img::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.6), transparent);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--steel-gray); max-width: 680px; margin: 0 auto; font-size: 1.0625rem; }

/* ---------- Class schedule table ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.schedule-table th,
.schedule-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.schedule-table th {
  background: var(--charcoal-2);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--steel-gray);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .class-name {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peak-white);
}
.schedule-table tr:hover td { background: rgba(230, 57, 70, 0.04); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.info-block {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.info-block h4 {
  font-size: 0.85rem; letter-spacing: 0.2em; color: var(--steel-gray);
  margin-bottom: 0.5rem;
}
.info-block p { margin: 0; color: var(--peak-white); }
.info-block a { color: var(--apex-red); }

.map-placeholder {
  margin-top: 1rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #11151F, #0B0E16);
  display: grid; place-items: center;
  color: var(--steel-dim);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ---------- About ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.value {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--charcoal-2);
}
.value .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--apex-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Coach cards (photo + bio) */
.coach {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s var(--easing), border-color .3s var(--easing);
}
.coach:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.coach img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.coach .body { padding: 1.4rem 1.4rem 1.6rem; }
.coach h3 { margin-bottom: 0.3rem; }
.coach .role {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--apex-red);
  margin-bottom: 0.75rem;
}
.coach p { color: var(--steel-gray); margin: 0; font-size: 0.95rem; }

/* Class format cards with image header */
.cards.with-imgs .card { padding: 0; overflow: hidden; }
.cards.with-imgs .card .card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.cards.with-imgs .card .card-body { padding: 1.5rem 1.5rem 1.6rem; }
.cards.with-imgs .card .icon {
  position: absolute; top: 1rem; left: 1rem;
  margin: 0;
  width: 40px; height: 40px;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(6px);
}
.cards.with-imgs .card .icon svg { width: 20px; height: 20px; }

/* Map (real iframe) */
.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 10;
  filter: grayscale(0.4) brightness(0.85) contrast(1.1);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Utilities & responsive ---------- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .pricing,
  .transformation,
  .split,
  .lead-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn { display: none; }
  .hamburger { display: inline-flex; }
  .nav-cta { gap: 0.5rem; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-bar ul { gap: 1rem 1.5rem; }
  .trust-bar li { font-size: 0.75rem; letter-spacing: 0.14em; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }

  body { padding-bottom: 72px; } /* room for sticky mobile cta */
  .mobile-cta { display: flex; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
