/* XFit Gym Karama — Beans Digital concept
   Night-gym palette: near-black floor, volt-green charge, bone text.
   Display: Archivo Black. Body: Space Grotesk. */

@view-transition { navigation: auto; }

:root {
  --bg: #0a0b0d;
  --panel: #121409;
  --ink: #f2f4ea;
  --muted: #a3a996;
  --volt: #ccf333;
  --volt-dim: #8ba622;
  --line: #262a1c;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 9vw, 6.2rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3.4rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); letter-spacing: 0.01em; }

p { margin: 0 0 1em; }
a { color: var(--volt); }
.muted { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Concept banner */
.concept-banner {
  background: var(--volt);
  color: #0a0b0d;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 14px;
  line-height: 1.4;
}
.concept-banner a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  view-transition-name: xfit-header;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
.logo {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
  view-transition-name: xfit-logo;
}
.logo .x { color: var(--volt); }

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: #0a0b0d; background: var(--volt); }
.nav .call-link {
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

/* Hero */
.hero { padding: clamp(48px, 10vw, 110px) 0 clamp(36px, 6vw, 70px); position: relative; }
.hero .kicker {
  color: var(--volt);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero h1 .volt { color: var(--volt); display: inline-block; }
.hero .sub { max-width: 46ch; color: var(--muted); font-size: 1.15rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-volt { background: var(--volt); color: #0a0b0d; }
.btn-volt:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: var(--panel);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--volt);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(44px, 8vw, 90px) 0; }
.section-head { margin-bottom: clamp(24px, 4vw, 44px); }
.section-head .kicker {
  color: var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 28px 22px; }
.stat .num {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--volt);
  line-height: 1;
}
.stat .label { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.tile {
  border: 1px solid var(--line);
  padding: 26px 22px;
  border-radius: 4px;
  background: linear-gradient(170deg, var(--panel), var(--bg) 65%);
  transition: border-color 0.25s, transform 0.25s;
}
.tile:hover { border-color: var(--volt-dim); transform: translateY(-4px); }
.tile .idx {
  color: var(--volt);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 14px;
}
.tile p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* Quote band */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
blockquote {
  margin: 0;
  border-left: 3px solid var(--volt);
  padding: 18px 20px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1rem;
  border-radius: 0 4px 4px 0;
}
blockquote footer { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.hours-table th { color: var(--muted); font-weight: 600; }
.hours-table td { color: var(--ink); font-weight: 600; }
.hours-table tr.today td, .hours-table tr.today th { color: var(--volt); }

/* Split layout */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 5vw, 56px); align-items: start; }

/* Big type statement */
.statement {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 5vw, 3rem);
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 22ch;
}
.statement .volt { color: var(--volt); }

/* CTA strip */
.cta-strip {
  background: var(--volt);
  color: #0a0b0d;
}
.cta-strip h2 { color: #0a0b0d; }
.cta-strip p { color: #2b3310; max-width: 52ch; }
.cta-strip .btn { background: #0a0b0d; color: var(--volt); }

/* Map */
.map-frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 90px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06210f;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* Reveal animations (JS adds .js to <html>; without JS everything stays visible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .wa-float { transition: none; }
  @view-transition { navigation: none; }
}

/* Mobile nav — collapsed only when JS is available; with JS off it stays visible */
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { flex-wrap: wrap; width: 100%; }
  .js .menu-toggle { display: block; }
  .js .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 6px 0 12px;
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 14px; }
}
