/* =========================================================
   SPORTIAN - MODELO ATLÉTICO EDITORIAL
   Archivos requeridos en assets:
   - hero-sportian.jpg
   - acceso-sportian.jpg
   - sportian-figura.png
   - sportian-texto.png
   ========================================================= */

:root {
  --dark-950: #02060b;
  --dark-900: #050a12;
  --dark-850: #07111f;
  --dark-800: #0b1420;
  --light: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --muted-dark: #5c6675;
  --blue: #1769ff;
  --blue-soft: #009dff;
  --orange: #ff7a1a;
  --orange-2: #ff9a22;
  --line: rgba(255, 255, 255, 0.12);
  --container: min(1380px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--light);
  background: var(--dark-950);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  background: rgba(2, 6, 11, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: height 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  height: 70px;
  background: rgba(2, 6, 11, 0.99);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-figure {
  width: 34px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  width: 170px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.login-link {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(23, 105, 255, 0.78);
  background: rgba(23, 105, 255, 0.03);
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.login-link:hover {
  color: #ffffff;
  border-color: var(--orange);
  background: rgba(255, 122, 26, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 8px 0;
  background: #ffffff;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 64px 0 78px;
  background: var(--dark-950);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/hero-sportian.jpg") center right / cover no-repeat;
  transform: translateX(42px) scale(1.02);
  transform-origin: right center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 14, 0.97) 0%,
      rgba(2, 7, 14, 0.92) 31%,
      rgba(2, 7, 14, 0.66) 49%,
      rgba(2, 7, 14, 0.22) 72%,
      rgba(2, 7, 14, 0.08) 100%
    );
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.11), transparent 22%),
    radial-gradient(circle at 80% 75%, rgba(255, 122, 26, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(700px, 50vw);
  margin-left: 7vw;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  color: #ffffff;
  white-space: nowrap;
  font-family: "Arial Narrow", "Roboto Condensed", "Oswald", Arial, Helvetica, sans-serif;
}

.hero-title span:nth-child(1) {
  font-size: clamp(42px, 3.65vw, 60px);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.hero-title span:nth-child(2),
.hero-title span:nth-child(3) {
  font-size: clamp(48px, 4.08vw, 70px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-line {
  width: 54px;
  height: 4px;
  margin: 30px 0 26px;
  background: var(--orange);
}

.hero-description {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 8px;
  transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hero-cta span {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.hero-cta:hover {
  color: #ffffff;
  border-color: var(--orange);
  transform: translateX(5px);
}

/* ================= SECCIONES GENERALES ================= */

section {
  position: relative;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.section-center {
  width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.section-center h2,
.section-copy h2,
.performance-heading h2,
.platform-copy h2,
.access-copy h2,
.plans-heading h2,
.contact-inner h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.section-center p:not(.eyebrow),
.section-copy p,
.platform-copy p,
.access-copy p,
.plans-heading p,
.contact-inner p {
  color: var(--muted-dark);
  font-size: 19px;
  line-height: 1.75;
}

.small-line {
  display: block;
  width: 68px;
  height: 3px;
  margin: 28px auto;
  background: var(--blue);
}

/* ================= INTRO ================= */

.intro-section {
  padding: 76px 0 92px;
  color: #111722;
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 105, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #f6f7f9 0%, #ffffff 100%);
}

.intro-section .section-center {
  max-width: 980px;
}

/* ================= METODOLOGÍA ================= */

.dark-section {
  padding: 120px 0;
  background:
    linear-gradient(180deg, #050a12 0%, #08121f 100%);
}

.split-layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 140px;
}

.section-copy p {
  color: var(--muted);
  max-width: 560px;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-item span {
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.process-item h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ================= RENDIMIENTO ================= */

.performance-section {
  padding: 120px 0;
  color: #101720;
  background: #ffffff;
}

.performance-heading {
  width: var(--container);
  margin: 0 auto 58px;
}

.performance-lines {
  width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(7, 17, 31, 0.14);
}

.performance-line {
  min-height: 132px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 190px;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(7, 17, 31, 0.14);
  transition: transform 0.25s ease;
}

.performance-line:hover {
  transform: translateX(10px);
}

.line-number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.line-content h3 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.line-content p {
  max-width: 700px;
  margin: 0;
  color: #596474;
  font-size: 17px;
  line-height: 1.6;
}

.performance-line strong {
  justify-self: end;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.24em;
}

/* ================= PLATAFORMA ================= */

.platform-section {
  padding: 126px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 74px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
}

.platform-copy p {
  max-width: 660px;
  color: var(--muted);
}

.progress-panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(23, 105, 255, 0.16), transparent 30%),
    radial-gradient(circle at 18% 92%, rgba(255, 122, 26, 0.10), transparent 28%),
    linear-gradient(145deg, rgba(13, 26, 46, 0.98), rgba(3, 8, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.progress-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.panel-header,
.panel-score,
.panel-metrics,
.panel-note {
  position: relative;
  z-index: 1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.panel-header span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.panel-header strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.panel-score {
  margin: 24px 0 26px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.panel-score span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-score strong {
  display: block;
  color: #ffffff;
  font-size: clamp(3rem, 4.8vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.panel-score p {
  max-width: 340px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.panel-metrics {
  display: grid;
  gap: 18px;
}

.metric-row {
  display: grid;
  gap: 10px;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.metric-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-top span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: currentColor;
}

.metric-top strong {
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.metric-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.metric-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.metric-fisico .metric-top span {
  color: #1f6fff;
}

.metric-fisico .metric-track span {
  background: linear-gradient(90deg, #1f6fff, #42a6ff);
}

.metric-tecnica .metric-top span {
  color: #ff7a1a;
}

.metric-tecnica .metric-track span {
  background: linear-gradient(90deg, #ff7a1a, #ffb14a);
}

.metric-juego .metric-top span {
  color: #24d18b;
}

.metric-juego .metric-track span {
  background: linear-gradient(90deg, #24d18b, #68efb7);
}

.metric-mentalidad .metric-top span {
  color: #8b5cf6;
}

.metric-mentalidad .metric-track span {
  background: linear-gradient(90deg, #8b5cf6, #b08cff);
}

.panel-note {
  margin: 24px 0 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= ACCESO ================= */

.access-section {
  padding: 118px 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 11, 0.94), rgba(2, 6, 11, 0.8) 48%, rgba(2, 6, 11, 0.48)),
    url("./assets/acceso-sportian.jpg");
  background-size: cover;
  background-position: center right;
}

.access-shell {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.56fr);
  gap: 68px;
  align-items: center;
}

.access-copy h2 {
  max-width: 840px;
}

.access-copy p {
  max-width: 690px;
  color: var(--muted);
}

.access-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.access-bullets span {
  padding: 10px 14px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
}

.login-gate {
  position: relative;
  min-height: 360px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(23, 105, 255, 0.16), rgba(255, 122, 26, 0.09)),
    rgba(4, 9, 16, 0.78);
  border: 1px solid rgba(23, 105, 255, 0.44);
  box-shadow: 0 30px 90px rgba(0,0,0,0.36);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.login-gate::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,105,255,0.5), transparent 68%);
  opacity: 0.5;
}

.login-gate::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 92px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0.75;
}

.login-gate:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.16), rgba(23, 105, 255, 0.11)),
    rgba(4, 9, 16, 0.88);
}

.login-gate-kicker {
  position: relative;
  z-index: 1;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.login-gate strong {
  position: relative;
  z-index: 1;
  max-width: 380px;
  color: #ffffff;
  font-size: clamp(2rem, 2.9vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.login-gate p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.login-gate-footer {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-gate-footer span {
  color: var(--orange);
  font-size: 24px;
}

/* El acceso de profesor/admin no se muestra en la web pública.
   Ese panel debe manejarse por una ruta privada interna. */

/* ================= PLANES ================= */

.plans-section {
  padding: 112px 0;
  color: #111722;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 105, 255, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
}

.plans-heading {
  width: var(--container);
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 60px;
  align-items: end;
}

.plans-heading p:not(.eyebrow) {
  max-width: 590px;
  justify-self: end;
}

.plans-track {
  width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(7, 17, 31, 0.14);
}

.plan-row {
  min-height: 150px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(7, 17, 31, 0.14);
}

.featured-plan {
  background: linear-gradient(90deg, rgba(23, 105, 255, 0.06), transparent 72%);
}

.plan-number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.plan-copy h3 {
  margin: 0 0 8px;
  color: #101720;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.plan-copy p {
  max-width: 780px;
  margin: 0;
  color: #5c6675;
  font-size: 17px;
  line-height: 1.65;
}

.plan-row a {
  min-width: 142px;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07111f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(7, 17, 31, 0.28);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.plan-row a:hover {
  color: #ffffff;
  background: #07111f;
  border-color: #07111f;
}

/* ================= PLANES PREVIEW ================= */

.plans-preview-section {
  padding: 96px 0;
  color: #111722;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 105, 255, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
}

.plans-preview-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid rgba(7, 17, 31, 0.14);
  border-bottom: 1px solid rgba(7, 17, 31, 0.14);
}

.plans-preview-inner h2,
.plans-hero-inner h1 {
  margin: 0;
  color: #101720;
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.plans-preview-inner p:not(.eyebrow),
.plans-hero-inner p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #5c6675;
  font-size: 19px;
  line-height: 1.75;
}

.plans-preview-button {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #07111f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(7, 17, 31, 0.28);
  background: transparent;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.plans-preview-button:hover {
  color: #ffffff;
  background: #07111f;
  border-color: #07111f;
  transform: translateY(-4px);
}

.plans-preview-button span {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.plans-hero-section {
  padding: 118px 0 72px;
  color: #111722;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 105, 255, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
}

.plans-hero-inner {
  width: var(--container);
  margin: 0 auto;
}

.plans-page-section {
  padding-top: 0;
}

/* ================= CONTACTO ================= */

.contact-section {
  padding: 92px 0;
  background: #02060b;
}

.contact-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.contact-inner h2 {
  max-width: 860px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.3vw, 4.8rem);
}

.contact-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-button {
  min-height: 62px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 122, 26, 0.7);
  background: rgba(255, 122, 26, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-button:hover {
  transform: translateY(-4px);
  background: rgba(255, 122, 26, 0.22);
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 34px 72px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: #02060b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 34px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================= REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
  .site-header {
    padding: 0 42px;
  }

  .main-nav {
    gap: 22px;
  }

  .brand-figure {
    width: 32px;
  }

  .brand-text {
    width: 158px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 74px;
  }

  .hero::before {
    transform: translateX(28px) scale(1.02);
    background-position: 58% center;
  }

  .hero-content {
    width: min(680px, 82vw);
    margin-left: 6vw;
  }

  .hero-title span {
    white-space: normal;
  }

  .split-layout,
  .platform-section,
  .access-shell,
  .plans-heading,
  .plans-preview-inner {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: relative;
    top: auto;
  }

  .plans-heading p:not(.eyebrow) {
    justify-self: start;
  }
}

@media (max-width: 940px) {
  .site-header {
    height: 70px;
    padding: 0 22px;
  }

  .site-header.scrolled {
    height: 68px;
  }

  .brand {
    gap: 8px;
  }

  .brand-figure {
    width: 30px;
  }

  .brand-text {
    width: 132px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 26px;
    background: rgba(2, 6, 11, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link,
  .login-link {
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .nav-link::after {
    display: none;
  }

  .login-link {
    margin-top: 10px;
    justify-content: center;
  }

  .hero {
    min-height: 680px;
    padding: 70px 0 58px;
    align-items: flex-start;
  }

  .hero::before {
    background-position: 65% center;
    transform: translateX(0) scale(1.03);
  }

  .hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(2, 7, 14, 0.97) 0%,
        rgba(2, 7, 14, 0.9) 46%,
        rgba(2, 7, 14, 0.48) 100%
      );
  }

  .hero-content {
    width: calc(100% - 44px);
    margin-left: 22px;
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-title span:nth-child(1) {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    letter-spacing: -0.055em;
  }

  .hero-title span:nth-child(2),
  .hero-title span:nth-child(3) {
    font-size: clamp(2.5rem, 10.8vw, 3.45rem);
    letter-spacing: -0.055em;
  }

  .hero-description {
    max-width: 430px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-cta {
    font-size: 12px;
  }

  .intro-section,
  .dark-section,
  .performance-section,
  .platform-section,
  .access-section,
  .plans-section,
  .plans-preview-section,
  .plans-hero-section,
  .contact-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .performance-line,
  .plan-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .performance-line strong {
    justify-self: start;
  }

  .platform-section {
    width: var(--container);
  }

  .login-gate {
    padding: 24px;
  }

  .progress-panel {
    justify-self: stretch;
    max-width: none;
    padding: 24px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 34px);
  }

  .brand-text {
    width: 118px;
  }

  .hero {
    min-height: 650px;
  }

  .hero::before {
    background-position: 72% center;
  }

  .section-center h2,
  .section-copy h2,
  .performance-heading h2,
  .platform-copy h2,
  .access-copy h2,
  .plans-heading h2,
  .plans-preview-inner h2,
  .plans-hero-inner h1,
  .contact-inner h2 {
    font-size: 2.5rem;
  }

  .line-content h3,
  .process-item h3 {
    font-size: 24px;
  }

  .progress-panel {
    padding: 22px;
  }

  .panel-header,
  .metric-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-top strong {
    text-align: left;
  }

  .login-gate {
    min-height: 300px;
  }

  .login-gate strong {
    font-size: 2rem;
  }

  .plan-copy h3 {
    font-size: 1.8rem;
  }
}
