/* NaijaFit NG — premium gym system */
:root {
  --primary: #ff4d00;
  --primary-hover: #e04400;
  --primary-soft: rgba(255, 77, 0, 0.15);
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --border: #2a2a2a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.15rem;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #ff8a3d);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.brand-text span { color: var(--primary); }
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--text); }
.header-ctas { display: none; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 0.5rem 1.25rem 1.25rem;
  z-index: 99;
}
.mobile-nav.is-open,
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-nav-cta {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
  border: 0 !important;
  padding: 0.85rem !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.35);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary);
  border: 0;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.75) 0%, transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 4.5rem;
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--primary);
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 420px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
}
.hero-stats span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.site-section { padding: 4rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head {
  margin-bottom: 2.25rem;
  max-width: 560px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Programs grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.4);
  box-shadow: var(--shadow);
}
.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.program-card .card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}
.program-card h3 { font-size: 1.25rem; }
.program-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  width: fit-content;
}

/* About split */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 0.85rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.split-copy p { color: var(--muted); margin-bottom: 1rem; }
.checklist { margin: 1.25rem 0 1.5rem; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

/* Trust / features */
.feature-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 700; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.8rem;
  font-weight: 600;
}

/* Testimonials */
.quote-grid {
  display: grid;
  gap: 1.25rem;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.quote p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 77, 0, 0.18), transparent 55%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 77, 0, 0.12), transparent 50%),
    var(--bg);
}
.page-hero .section-inner { max-width: var(--max); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 50ch; }

/* Contact form */
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
textarea { min-height: 120px; resize: vertical; }
.contact-aside h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
}
.contact-aside p, .contact-aside a {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.contact-aside a:hover { color: var(--primary); }

/* Footer */
.site-footer {
  background: #070707;
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding-bottom: 5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
}
.footer-brand .brand { margin-bottom: 0.75rem; color: var(--text); }
.footer-brand p { font-size: 0.92rem; max-width: 28ch; }
.footer-col h4 {
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-mobile-tabs {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  justify-content: space-around;
  padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom));
  z-index: 90;
}
.footer-mobile-tabs a {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 0.25rem 0.5rem;
}
.footer-mobile-tabs a[aria-current="page"],
.footer-mobile-tabs a:hover { color: var(--primary); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .header-ctas { display: block; }
  .nav-toggle { display: none !important; }
  .mobile-nav { display: none !important; }
  .split { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-mobile-tabs { display: none; }
  .site-footer { padding-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .site-section { padding: 5.5rem 1.25rem; }
  .program-card img { height: 220px; }
}
