/* =========================================================
   IRONPULSE — Premium Gym Website
   Design System & Global Styles
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --bg-elev-2: #1a1a1d;
  --surface: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --accent: #c6ff3a;        /* electric lime */
  --accent-600: #a8e020;
  --accent-ink: #0a0a0b;    /* text on accent */
  --gold: #e8c87a;

  /* Typography */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing / layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 20px 50px -18px rgba(198, 255, 58, 0.35);
}

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

* { margin: 0; }

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

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

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 14px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-muted);
  max-width: 54ch;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 11vw, 140px);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead { margin-inline: auto; }

.grid { display: grid; gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.svg-icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.btn .svg-icon {
  margin-right: 6px;
}
.socials .svg-icon,
.trainer-socials .svg-icon {
  width: 18px;
  height: 18px;
}
.info-item .ic svg,
.amenity-card .ic svg,
.feature-list .ic svg,
.value-card .ic svg {
  width: 22px;
  height: 22px;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: #d4ff5e;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(37, 211, 102, 0.6);
}

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

.btn-lg { --pad-y: 18px; --pad-x: 38px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.brand .brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--accent);
}

.brand .mark {
  min-width: 38px;
  height: 34px;
  padding-inline: 6px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-accent);
}

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

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

.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: clamp(50px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 22s ease-out forwards;
}
@keyframes slowZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 255, 0, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.72) 0%, rgba(8, 9, 11, 0.38) 32%, rgba(8, 9, 11, 0.96) 100%);
}

.hero-content {
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.3);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  box-shadow: 0 0 25px rgba(198, 255, 0, 0.12);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  margin-top: 22px;
  line-height: 1.05;
}

.hero-glow-text {
  color: var(--accent);
  text-shadow: 0 0 32px rgba(198, 255, 0, 0.35);
  display: inline-block;
}

.hero .lead {
  margin-top: 22px;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  max-width: 720px;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-item strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.98rem;
}
.trust-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--accent);
}
.trust-stars strong {
  color: var(--text);
  margin-left: 4px;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.hero-stats {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  align-items: start;
  width: 100%;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}
.stat .num .text-accent { display: inline; }
.stat .num .unit {
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 3px;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding-block: 20px;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollX 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after {
  content: "•";
  color: var(--accent);
  font-size: 0.9em;
  margin-inline: 4px;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Program cards ---------- */
.card-grid { grid-template-columns: repeat(3, 1fr); }

.program-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--line);
}
.program-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.program-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,0.92) 100%);
}
.program-card:hover img { transform: scale(1.07); }

.program-card .card-body { padding: 28px; width: 100%; }
.program-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.program-card h3 { font-size: 1.5rem; }
.program-card p { color: var(--text-muted); margin-top: 8px; font-size: 0.96rem; }
.program-card .card-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.program-card .card-link .arrow { transition: transform 0.3s var(--ease); color: var(--accent); }
.program-card:hover .card-link .arrow { transform: translateX(5px); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-media .badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  padding: 16px 22px;
  border-radius: var(--radius);
}
.split-media .badge .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
}
.split-media .badge .label { font-size: 0.82rem; color: var(--text-muted); }

.feature-list { margin-top: 28px; display: grid; gap: 18px; }
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-list .ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 1.1rem;
}
.feature-list h4 { font-size: 1.1rem; }
.feature-list p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}
.stats-band .grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-band .stat {
  padding: clamp(28px, 4vw, 44px) 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.stats-band .stat:first-child { border-left: none; }
.stats-band .num {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.stats-band .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.35;
}

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 min(440px, 85vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-card .stars { display: flex; align-items: center; gap: 4px; color: var(--accent); }
.testi-card blockquote { font-size: 1.12rem; line-height: 1.55; color: var(--text); }
.testi-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-card .who .name { font-family: var(--font-display); font-weight: 600; }
.testi-card .who .role { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 92px);
  text-align: center;
  isolation: isolate;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0.75), rgba(10,10,11,0.88)),
    radial-gradient(60% 80% at 50% 0%, rgba(198,255,58,0.18), transparent 70%);
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-band .lead { margin: 20px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: 170px;
  padding-bottom: clamp(50px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 255, 0, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.78), rgba(8, 9, 11, 0.95));
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 18px; }
.page-hero .lead { margin-top: 18px; }
.breadcrumb { font-size: 0.86rem; color: var(--text-muted); margin-top: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Trainer cards ---------- */
.trainer-grid { grid-template-columns: repeat(3, 1fr); }
.trainer-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.trainer-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.trainer-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.trainer-card:hover .trainer-photo img { transform: scale(1.06); }
.trainer-socials {
  position: absolute; inset: auto 0 0 0;
  display: flex; gap: 10px; padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(10,10,11,0.85));
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.trainer-card:hover .trainer-socials { opacity: 1; transform: translateY(0); }
.trainer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center; font-size: 0.9rem;
  transition: background 0.25s, color 0.25s;
}
.trainer-socials a:hover { background: var(--accent); color: var(--accent-ink); }
.trainer-info { padding: 22px; }
.trainer-info h3 { font-size: 1.3rem; }
.trainer-info .spec { color: var(--accent); font-size: 0.85rem; font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.trainer-info p { color: var(--text-muted); font-size: 0.93rem; margin-top: 12px; }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(198,255,58,0.06), var(--surface));
  box-shadow: var(--shadow-accent);
}
.price-card .popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
}
.price-card .plan-name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.price-card .price { margin-top: 14px; font-family: var(--font-display); }
.price-card .price .amount { font-size: 3.4rem; font-weight: 700; letter-spacing: -0.03em; }
.price-card .price .per { color: var(--text-muted); font-size: 0.95rem; }
.price-card .plan-desc { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }
.price-card .divider { height: 1px; background: var(--line); margin: 26px 0; }
.price-card ul { display: grid; gap: 14px; margin-bottom: 30px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.price-card li .check { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); flex: none; margin-top: 3px; }
.price-card li.off { color: var(--text-dim); text-decoration: line-through; opacity: 0.6; }
.price-card li.off .check { color: var(--text-dim); }
.price-card .btn { margin-top: auto; }

/* ---------- Toggle ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 16px;
  margin: 28px auto 0; justify-content: center;
}
.billing-toggle .switch {
  width: 58px; height: 32px; border-radius: 999px;
  background: var(--bg-elev-2); border: 1px solid var(--line-strong);
  position: relative; transition: background 0.3s;
}
.billing-toggle .switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); transition: transform 0.3s var(--ease);
}
.billing-toggle.annual .switch::after { transform: translateX(26px); }
.billing-toggle .opt { font-family: var(--font-display); font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.billing-toggle .opt.active { color: var(--text); }
.save-badge { font-size: 0.75rem; color: var(--accent); margin-left: 6px; }

/* ---------- Class schedule / list ---------- */
.class-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s;
}
.class-row:hover { background: rgba(255,255,255,0.02); }
.class-row .time { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.class-row .cname { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.class-row .cmeta { color: var(--text-muted); font-size: 0.9rem; }
.class-row .level {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--text-muted);
}

/* ---------- About / values ---------- */
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.value-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.value-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-elev-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--accent); font-size: 1.4rem;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 1.25rem; }
.value-card p { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }

.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-left: 44px; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 4px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(198,255,58,0.15);
}
.timeline-item .year { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.timeline-item h4 { font-size: 1.15rem; margin-top: 4px; }
.timeline-item p { color: var(--text-muted); margin-top: 6px; font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.5s; filter: grayscale(0.2); }
.gallery img:hover { transform: scale(1.04); filter: grayscale(0); }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.form-row { display: grid; gap: 20px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-display); letter-spacing: 0.03em; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,255,58,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px; padding: 14px 18px;
  background: rgba(198,255,58,0.12); border: 1px solid var(--accent);
  border-radius: 12px; color: var(--accent); font-size: 0.92rem;
}
.form-success.show { display: block; }

.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-elev-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.info-item h4 { font-size: 1.05rem; }
.info-item p { color: var(--text-muted); font-size: 0.95rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); max-width: 32ch; font-size: 0.95rem; }
.footer-brand .socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-brand .socials a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-muted); transition: all 0.25s;
}
.footer-brand .socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }
.footer-col h5 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-muted); padding: 7px 0; font-size: 0.95rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  color: var(--text-dim); font-size: 0.88rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Mobile menu (hidden on desktop by default) ---------- */
.mobile-menu { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .trainer-grid, .pricing-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }

  .mobile-menu {
    position: fixed; inset: 76px 0 0 0;
    background: rgba(10,10,11,0.98);
    backdrop-filter: blur(20px);
    z-index: 90;
    display: flex; flex-direction: column;
    padding: 32px var(--gutter);
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  body.menu-open .mobile-menu { transform: translateX(0); }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .mobile-menu a.active { color: var(--accent); }
  .mobile-menu .btn { margin-top: 24px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-trust { gap: 14px; }
  .trust-divider { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/11; max-height: 360px; max-width: 100%; }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(odd) { border-left: none; }
  .stats-band .stat:nth-child(3), .stats-band .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card-grid, .trainer-grid, .pricing-grid, .value-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: 70px 1fr; row-gap: 8px; }
  .class-row .level { grid-column: 2; justify-self: start; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utilities ---------- */
.bg-elev { background: var(--bg-elev); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Amenities & Highlights ---------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.amenity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.amenity-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(198, 255, 58, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.amenity-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.amenity-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.75);
}
.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 560px) {
  .floating-whatsapp span { display: none; }
  .floating-whatsapp {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

/* ---------- Instagram Reels Section ---------- */
.reels-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.reels-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, transparent 35%, transparent 60%, rgba(10, 10, 11, 0.95) 100%);
  pointer-events: none;
}
.reel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}
.reel-mute-btn {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.reel-mute-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.reel-card.paused .reel-play-btn {
  opacity: 1;
  pointer-events: auto;
}
.reel-footer {
  pointer-events: auto;
}
.reel-title {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.reel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.reel-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1100px) {
  .reels-track {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .reels-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-bottom: 18px;
    scrollbar-width: none;
  }
  .reels-track::-webkit-scrollbar { display: none; }
  .reel-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }
}

