/* ==========================================================================
   Lightning Ninja Academy — lnagym-v1
   Dark athletic theme: electric yellow bolt accent + logo blue.
   Mobile-first. No frameworks.
   ========================================================================== */

:root {
  --bg: #0a1020;
  --bg-2: #0e1730;
  --panel: #131f3a;
  --panel-2: #182647;
  --line: rgba(255, 255, 255, 0.09);
  --yellow: #fdc903;
  --orange: #f49d27;
  --blue: #1284b3;
  --blue-lt: #38b8ea;
  --red: #e6462f;
  --ink: #eef2f9;
  --muted: #a9b6cd;
  --grad-bolt: linear-gradient(135deg, #fde12a 0%, #fdc903 45%, #f49d27 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font-display: "Kanit", "Arial Narrow", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 68px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

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

h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.45rem); }

p { margin: 0 0 1em; }

a { color: var(--blue-lt); text-decoration: none; }
a:hover { color: var(--yellow); }

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

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2.5rem); margin-inline: auto; }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 0;
  background: var(--grad-bolt);
  color: #101215;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(253, 201, 3, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { color: #101215; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 26px rgba(253, 201, 3, 0.35); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--blue-lt);
  box-shadow: none;
}
.btn--outline:hover { color: var(--yellow); border-color: var(--yellow); box-shadow: none; }

.btn--lg { font-size: 1.15rem; padding: 0.85rem 2.2rem; }
.btn--sm { min-height: 44px; padding: 0.4rem 1.15rem; font-size: 0.9rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--yellow); color: #101215; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 8px; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: #101215; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(9, 14, 30, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 46px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle .bars { position: relative; width: 22px; height: 2px; background: currentColor; transition: background 0.2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: currentColor; transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0b1226;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.nav-list { list-style: none; margin: 0; padding: 0.75rem 1.25rem 1.25rem; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list > li:last-child { border-bottom: 0; }

.nav-link, .drop-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.25rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: left;
}
.nav-link:hover, .drop-toggle:hover { color: var(--yellow); }

.drop-toggle .caret {
  width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: -4px 6px 0 10px;
  transition: transform 0.2s ease;
}
.drop-toggle[aria-expanded="true"] .caret { transform: rotate(225deg); margin-top: 4px; }

.dropdown-menu { list-style: none; margin: 0; padding: 0 0 0.5rem 1rem; display: none; }
.dropdown[data-open="true"] .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--muted); font-size: 0.95rem; padding: 0.35rem 0.25rem;
}
.dropdown-menu a:hover { color: var(--yellow); }

.nav-cta-wrap { padding-top: 0.85rem; }
.nav-cta { width: 100%; }

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; }
  .site-nav.is-open { position: static; box-shadow: none; border: 0; background: transparent; overflow: visible; max-height: none; }
  .nav-list { display: flex; align-items: center; gap: 0.25rem; padding: 0; }
  .nav-list > li { border-bottom: 0; position: relative; }
  .nav-link, .drop-toggle { width: auto; min-height: 44px; padding: 0.4rem 0.8rem; font-size: 0.92rem; }
  .dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #0d1530; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 0.5rem;
  }
  .dropdown-menu a { padding: 0.45rem 0.8rem; border-radius: 8px; }
  .dropdown-menu a:hover { background: rgba(253, 201, 3, 0.08); }
  .nav-cta-wrap { padding: 0 0 0 0.75rem; }
  .nav-cta { width: auto; }
}

/* ---------- Shoes notice bar ---------- */
.notice-bar {
  background: var(--grad-bolt);
  color: #101215;
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(88dvh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 26, 0.55) 0%, rgba(8, 12, 26, 0.45) 45%, rgba(10, 16, 32, 0.92) 100%);
}
.hero-inner { padding: 5rem 1.5rem; max-width: 900px; }
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.35em;
}
.hero h1 .bolt-word { color: var(--yellow); }
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  letter-spacing: 0.04em;
  color: #dfe7f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.8rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(1000px 400px at 80% -50%, rgba(18, 132, 179, 0.35), transparent 70%),
    radial-gradient(800px 300px at 10% 120%, rgba(253, 201, 3, 0.12), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.2em; }
.page-hero .lead { max-width: 720px; margin-inline: auto; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 1rem; margin: 2rem 0; align-items: stretch; }
.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--yellow);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--grad-bolt);
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { font-size: clamp(0.95rem, 1.75vw, 1.25rem); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(253, 201, 3, 0.4); }

.feature-card { text-align: center; }
.feature-card .icon-ring {
  width: 96px; height: 96px; margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--panel-2), var(--bg-2));
  border: 2px solid rgba(253, 201, 3, 0.5);
}
.feature-card .icon-ring img { width: 52px; height: 52px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

/* Quick-link tiles */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(253, 201, 3, 0.45); }
.tile .tile-media { display: block; width: 100%; overflow: hidden; }
.tile .tile-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform 0.3s ease;
}
.tile .tile-media img.tile-img--tall { object-position: 50% 22%; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile .tile-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex: 1;
  padding: 1.15rem 1rem 1.4rem;
}
.tile h3 { margin: 0; font-size: 1.4rem; font-style: italic; }

/* Team photo section */
.team-lead { max-width: 640px; margin-inline: auto; }
.team-photo { width: 100%; max-width: 980px; margin: 1.5rem auto 0; }

/* ---------- Price cards / offerings ---------- */
.offers-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}
.offers-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 184, 234, 0.45);
  background: rgba(18, 132, 179, 0.12);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.offers-nav a:hover { color: var(--yellow); border-color: var(--yellow); background: rgba(253, 201, 3, 0.08); }

.offer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 60px);
}
.offer h2 { color: var(--yellow); }
.offer-media { position: relative; }
.offer-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 30%;
}
.offer-content { padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 900px) {
  .offer--media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .offer--media .offer-media img { aspect-ratio: auto; min-height: 100%; position: absolute; inset: 0; }
  .offer--media.offer--flip .offer-media { order: 2; }
}
.price-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.5rem 0 1.25rem; }
.price-chip {
  background: var(--bg-2);
  border: 1px solid rgba(253, 201, 3, 0.55);
  border-radius: 10px;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--yellow);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding: 0.3rem 0 0.3rem 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow);
  transform: rotate(-45deg);
}

/* Steps */
.step-card { position: relative; padding-top: 2.2rem; }
.step-num {
  position: absolute; top: -24px; left: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-bolt); color: #101215;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
}
.steps-grid { margin-top: 2.5rem; }

/* ---------- Media / split layouts ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.framed-img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Gallery ---------- */
.gallery { columns: 2; column-gap: 1rem; }
.gallery img {
  width: 100%; margin-bottom: 1rem; border-radius: 12px;
  border: 1px solid var(--line); break-inside: avoid;
}
@media (min-width: 768px) { .gallery { columns: 3; } }

/* ---------- Embeds ---------- */
.embed-frame {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.embed-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }

.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Contact info blocks ---------- */
.contact-lines { font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; }
.contact-lines a { display: inline-block; padding: 0.2rem 0; }

.hours-table { border-collapse: collapse; margin: 1rem auto; font-size: 1.05rem; }
.hours-table td { padding: 0.45rem 1.2rem; border-bottom: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 50% -80%, rgba(253, 201, 3, 0.18), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.3rem; margin-top: 2rem; color: var(--yellow); }
.legal-content ul { padding-left: 1.3rem; }
.legal-content li { margin-bottom: 0.4rem; }

.waiver-text h3 { font-size: 1.05rem; margin-top: 1.6rem; color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer {
  background: #070c1a;
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  color: var(--muted);
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }

.footer-heading {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
  margin-bottom: 0.9rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.35rem; }
.footer-list a { color: var(--muted); display: inline-block; padding: 0.2rem 0; }
.footer-list a:hover { color: var(--yellow); }

.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.social-links a:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Minimal (funnel/legal) header ---------- */
.mini-header { padding: 1.1rem 0; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mini-header .container { display: flex; justify-content: center; }
.mini-header img { height: 52px; width: auto; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn-row--center { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
