:root {
  --ink: #07101f;
  --navy: #071a32;
  --navy-2: #0d2745;
  --gold: #c5953b;
  --gold-2: #e2bd6d;
  --paper: #f5f1e8;
  --white: #ffffff;
  --muted: #9aa8b9;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(7, 16, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(7, 16, 31, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-2);
}

.header-cta,
.btn,
.whatsapp-float-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.btn.primary,
.whatsapp-float-inline {
  color: #10131a;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 34px rgba(197, 149, 59, 0.28);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta:hover,
.btn:hover,
.whatsapp-float-inline:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(197, 149, 59, 0.08), transparent 32%),
    linear-gradient(180deg, var(--ink), var(--navy));
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 36px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.94), rgba(7, 16, 31, 0.64), rgba(7, 16, 31, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 255, 255, 0.06) 118px 119px),
    radial-gradient(circle at 72% 20%, rgba(226, 189, 109, 0.25), transparent 26%),
    linear-gradient(135deg, #06101f, #102c4d 54%, #080e18);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.65vw, 4.45rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.05rem, 4vw, 4.6rem);
  text-transform: uppercase;
}

h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.hero-stats span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.hero-panel {
  position: relative;
  align-self: center;
  height: min(66vh, 580px);
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.assessment-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 16, 31, 0.86);
  backdrop-filter: blur(14px);
}

.assessment-card p,
.assessment-card span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.assessment-card strong {
  display: block;
  margin: 4px 0;
  color: var(--gold-2);
  font-size: 1.35rem;
}

section {
  padding: 96px 0;
}

.split,
.tracking-grid,
.coaching-grid,
.culture-grid,
.apply-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.section-heading p {
  color: #546171;
}

.section-dark .section-heading p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: #334155;
}

.value-strip,
.culture-list,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-strip span,
.culture-list span,
.badge-row span {
  border: 1px solid rgba(7, 16, 31, 0.12);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.58);
  color: #243244;
  font-weight: 700;
  font-size: 0.88rem;
}

.section-dark .badge-row span,
.section-dark .culture-list span {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.centered {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.level-tabs,
.schedule-tabs,
.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}

.level-tab,
.schedule-tab,
.portal-tab {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.training .schedule-tab {
  color: #1a2535;
  border-color: rgba(7, 16, 31, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.level-tab.active,
.schedule-tab.active,
.portal-tab.active {
  color: #10131a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.level-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.level-card h3 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
}

.level-card p {
  color: rgba(255, 255, 255, 0.72);
}

.level-meta {
  display: grid;
  gap: 12px;
}

.level-meta span,
.portal-stat,
.coach-card,
.parent-card,
.process-card,
.outcome-card,
.schedule-day {
  border: 1px solid rgba(7, 16, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.level-meta span {
  padding: 18px;
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.outcome-grid,
.parent-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.outcome-card,
.parent-card,
.process-card,
.coach-card {
  padding: 22px;
}

.outcome-card span,
.process-card span,
.coach-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.outcome-card p,
.parent-card p,
.process-card p,
.coach-card p {
  color: #566275;
}

.dashboard-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.dash-top strong {
  color: var(--gold-2);
  font-size: 2rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 112px 1fr 48px;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.82);
}

.metric-row div {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.metric-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.schedule-day {
  min-height: 210px;
  padding: 18px;
}

.schedule-day strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
}

.schedule-day p {
  color: #566275;
}

.portal-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.portal-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.portal-sidebar img {
  width: 86px;
}

.portal-sidebar > span {
  margin-bottom: 12px;
  color: var(--gold-2);
  font-weight: 900;
}

.portal-link {
  border-radius: var(--radius);
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
}

.portal-link.active {
  color: #111827;
  background: var(--gold-2);
}

.portal-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.portal-card {
  min-height: 144px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.portal-card.wide {
  grid-column: span 2;
}

.portal-card.full {
  grid-column: 1 / -1;
}

.portal-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-card strong {
  display: block;
  margin: 10px 0;
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.portal-card p {
  color: rgba(255, 255, 255, 0.74);
}

.coach-cards {
  display: grid;
  gap: 16px;
}

.jersey-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.jersey-card img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

summary {
  cursor: pointer;
  color: var(--gold-2);
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(7, 16, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 60px rgba(7, 16, 31, 0.1);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: #263345;
  font-weight: 800;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(7, 16, 31, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: #334155;
  font-weight: 800;
}

.site-footer {
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
}

.site-footer img {
  width: 84px;
}

.site-footer h3 {
  margin-bottom: 10px;
  color: var(--gold-2);
}

.site-footer a,
.site-footer span,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 18px;
  color: #07101f;
  background: #50d267;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.26);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(7, 16, 31, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.open a {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-grid,
  .split,
  .tracking-grid,
  .coaching-grid,
  .culture-grid,
  .apply-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    height: min(64vh, 560px);
    min-height: 470px;
  }

  .outcome-grid,
  .parent-grid,
  .process-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    grid-template-columns: auto 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .brand span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.95rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-actions,
  .hero-stats,
  .level-card,
  .outcome-grid,
  .parent-grid,
  .process-grid,
  .schedule-grid,
  .portal-board,
  .inquiry-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .level-card,
  .dashboard-preview,
  .portal-board,
  .inquiry-form {
    padding: 18px;
  }

  .portal-card.wide,
  .portal-card.full {
    grid-column: auto;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    gap: 24px;
  }

  .whatsapp-float {
    left: 14px;
    right: 14px;
  }
}
