:root {
  --navy: #010d35;
  --blue: #0075ff;
  --blue-deep: #0a4ec9;
  --orange: #fe951c;
  --orange-deep: #ff7b00;
  --sky: #dff2ff;
  --soft-bg: #eef4fb;
  --paper: #ffffff;
  --ink: #0d1b43;
  --muted: #5e6c88;
  --line: rgba(8, 24, 67, 0.12);
  --shadow-sm: 0 10px 24px rgba(8, 24, 67, 0.08);
  --shadow-md: 0 22px 48px rgba(8, 24, 67, 0.14);
  --shadow-lg: 0 38px 76px rgba(2, 11, 38, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 42%, #ffffff 100%);
  padding-top: 86px;
}

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

a {
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.section-padding {
  padding: 96px 0;
}

.bg-soft {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.custom-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8, 24, 67, 0.08);
  padding: 18px 0;
  box-shadow: 0 10px 26px rgba(8, 24, 67, 0.06);
  animation: navSoftEnter 0.68s ease both;
}

.navbar-brand img {
  width: auto;
  height: 42px;
}

.navbar-toggler {
  border: 1px solid rgba(8, 24, 67, 0.12);
  border-radius: 8px;
}

.nav-link {
  position: relative;
  font-weight: 650;
  color: #17213d !important;
  font-size: 0.94rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.active-link {
  color: var(--blue) !important;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link:hover::after,
.active-link::after {
  transform: scaleX(1);
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 24, 67, 0.12);
  border-radius: 8px;
  color: #17213d;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.nav-icon:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.mobile-page-title {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.hero-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  padding: 36px 0 20px;
  isolation: isolate;
  background: #030e20;
  color: #fff;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 12, 30, 0.2),
      rgba(2, 12, 30, 0.12) 38%,
      rgba(2, 12, 30, 0.82) 72%
    ),
    linear-gradient(
      180deg,
      rgba(3, 14, 32, 0.22),
      transparent 36%,
      rgba(3, 14, 32, 0.6)
    );
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 170px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #eef4fb 94%,
    #eef4fb 100%
  );
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hero-logo-experience {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.hero-logo-experience.is-dragging {
  cursor: grabbing;
}

.hero-identity-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 0 18px;
}

.hero-identity-label::before {
  content: "";
  width: 52px;
  height: 4px;
  flex: 0 0 52px;
  background: var(--orange);
}

.hero-identity-label span {
  color: #9fd0ff;
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-stage-head,
.hero-stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-stage-head {
  padding-bottom: 16px;
}

.hero-stage-head span {
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stage-head small,
.hero-stage-foot span {
  color: rgba(235, 242, 255, 0.72);
  font-size: 0.88rem;
}

.hero-stage-foot {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-model-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  perspective: 1500px;
}

.logo-model-shell::before {
  content: "";
  position: absolute;
  width: min(80%, 460px);
  height: min(80%, 460px);
  background:
    radial-gradient(
      circle,
      rgba(0, 117, 255, 0.28) 0%,
      rgba(0, 117, 255, 0.1) 38%,
      transparent 70%
    ),
    radial-gradient(
      circle at 62% 38%,
      rgba(254, 149, 28, 0.22) 0%,
      transparent 55%
    );
  opacity: 0.78;
}

.logo-model {
  position: relative;
  width: min(82%, 390px);
  aspect-ratio: 1 / 1.22;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(0deg);
  transition: transform 0.16s ease-out;
  will-change: transform;
}

.logo-model.is-dragging-logo,
.logo-model.is-coasting {
  transition: none;
}

.logo-model.is-recentering {
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-model::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/optimized/images/falcons-logo-800.png") center /
    contain no-repeat;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  pointer-events: none;
}

.logo-model.is-auto {
  animation: logoSpin 13s linear infinite;
}

.logo-model.is-resetting {
  animation: logoResetSpin 0.85s cubic-bezier(0.2, 0.75, 0.2, 1) 1;
}

.logo-layer-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateZ(18px);
  backface-visibility: hidden;
}

@keyframes logoSpin {
  from {
    transform: rotateX(-8deg) rotateY(0deg);
  }

  to {
    transform: rotateX(-8deg) rotateY(360deg);
  }
}

@keyframes logoResetSpin {
  from {
    transform: rotateX(-8deg) rotateY(0deg) scale(1);
  }

  55% {
    transform: rotateX(-8deg) rotateY(-250deg) scale(1.06);
  }

  to {
    transform: rotateX(-8deg) rotateY(-360deg) scale(1);
  }
}

@keyframes stageBreath {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-copy {
  max-width: 720px;
  justify-self: end;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9fcfff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--orange);
}

.hero-copy h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.55rem, 4.35vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 690px;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 32px;
  color: rgba(235, 242, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-motto {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding-bottom: 12px;
  text-align: left;
  text-wrap: balance;
}

.hero-motto strong {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1.12;
}

.hero-motto strong span {
  color: #ffbd62;
}

.hero-motto::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffae41, #4aa9ff 70%, transparent);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-bottom: 34px;
}

.hero-btn {
  min-width: 156px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  color: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
}

.hero-btn-primary {
  --bs-btn-hover-color: #10234a;
  --bs-btn-active-color: #10234a;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #10234a;
  box-shadow: 0 18px 32px rgba(254, 149, 28, 0.24);
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #ffc16c, #ff9b26);
}

.hero-btn:focus-visible,
.program-btn:focus-visible {
  outline: 2px solid #398dfa;
  outline-offset: 4px;
}

.hero-btn-secondary {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-note {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.hero-note:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-note span {
  display: block;
  color: #9fcfff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.hero-note strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-note p {
  margin: 0;
  color: rgba(235, 242, 255, 0.76);
  line-height: 1.65;
  font-size: 0.94rem;
}

.section-padding .container > h2,
.identity-section .section-title {
  color: var(--navy);
  font-size: clamp(2.05rem, 3.8vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-padding .container > .text-muted,
.section-subtitle {
  color: var(--muted) !important;
  line-height: 1.8;
}

.program-card,
.identity-card,
.trainer-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.section-padding.home-programs {
  padding-block: clamp(28px, 4vw, 54px);
}

.home-programs > .container {
  max-width: 960px;
}

.program-card {
  padding: clamp(5px, 0.8vw, 10px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.program-card:is(:hover, :focus-within),
.identity-card:hover,
.trainer-card:hover {
  border-color: rgba(0, 117, 255, 0.24);
  box-shadow: var(--shadow-md) !important;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .program-card:hover,
  .identity-card:hover,
  .trainer-card:hover {
    transform: translateY(-4px);
  }
}

.program-card::before,
.identity-card::before,
.trainer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  background:
    linear-gradient(135deg, rgba(0, 117, 255, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(254, 149, 28, 0.12), transparent 30%);
  z-index: 1;
}

.program-card:hover::before,
.identity-card:hover::before,
.trainer-card:hover::before {
  opacity: 1;
}

.program-card::after,
.identity-card::after,
.trainer-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 2;
}

.program-card:nth-child(1),
.identity-card:nth-child(1),
.trainer-card:nth-child(1) {
  animation-delay: 0.04s;
}

.program-card:nth-child(2),
.identity-card:nth-child(2),
.trainer-card:nth-child(2) {
  animation-delay: 0.12s;
}

.program-card:nth-child(3),
.identity-card:nth-child(3),
.trainer-card:nth-child(3) {
  animation-delay: 0.2s;
}

.program-img {
  height: clamp(140px, 20vw, 205px);
  overflow: hidden;
  position: relative;
  background: #dfe9f6;
  z-index: 0;
  border-radius: 24px 24px 34px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.program-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(1, 13, 53, 0.02) 0%,
      rgba(1, 13, 53, 0.08) 46%,
      rgba(1, 13, 53, 0.42) 100%
    ),
    linear-gradient(90deg, rgba(0, 117, 255, 0.12), rgba(254, 149, 28, 0.08));
  pointer-events: none;
  opacity: 0.88;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.42s ease,
    filter 0.42s ease;
}

.program-img img.program-img-group {
  object-position: center bottom;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .program-card:hover .program-img img {
    transform: scale(1.045);
    filter: saturate(1.06);
  }
}

.program-content {
  position: relative;
  z-index: 3;
  margin: -16px 8px 2px;
  padding: clamp(14px, 2vw, 20px);
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f8fbff 100%
  );
  border: 1px solid rgba(8, 24, 67, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(8, 24, 67, 0.08);
}

.program-content .card-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 850;
}

.program-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(0.8125rem, 1.25vw, 0.9375rem);
  line-height: 1.45;
}

.badge-popular {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #0059c7;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 117, 255, 0.24);
}

.highlight-program {
  transform: none;
}

.program-btn,
.trainer-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0059c7;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 10px 18px rgba(0, 117, 255, 0.18);
}

.program-card .program-btn {
  gap: 4px;
  min-height: 44px;
  padding: 6px 9px;
  font-size: clamp(0.75rem, 1.15vw, 0.875rem);
  line-height: 1.2;
}

.program-btn:hover,
.trainer-btn:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 117, 255, 0.25);
}

.runner-category-section {
  padding: 32px 0 48px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

html[data-theme="dark"] .runner-category-section {
  background: linear-gradient(180deg, #07090d, #0a101b 48%, #0d1118);
}

.runner-category-section + .identity-section::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100px;
  background: linear-gradient(180deg, #ffffff, transparent);
  pointer-events: none;
}

html[data-theme="dark"] .runner-category-section + .identity-section::after {
  background: linear-gradient(180deg, #0d1118, transparent);
}

.runner-category-section + .identity-section > .container {
  position: relative;
  z-index: 1;
}

.runner-category-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgba(117, 178, 255, 0.24);
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 84% 26%,
      rgba(254, 149, 28, 0.24),
      transparent 25%
    ),
    radial-gradient(
      circle at 16% 80%,
      rgba(0, 117, 255, 0.28),
      transparent 28%
    ),
    linear-gradient(135deg, #071326 0%, #102644 58%, #091425 100%);
  box-shadow: 0 28px 70px rgba(8, 24, 67, 0.18);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.runner-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
}

.runner-category-card:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 34px 80px rgba(8, 24, 67, 0.24);
}

.runner-category-copy,
.runner-category-preview,
.runner-category-action {
  position: relative;
  z-index: 1;
}

.runner-category-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.runner-category-eyebrow > span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #13c8dd);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.runner-beta-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(254, 149, 28, 0.22);
  cursor: default;
}

.runner-category-copy h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 14px;
}

.runner-category-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(235, 242, 255, 0.78);
  line-height: 1.7;
}

.runner-category-preview {
  min-height: 280px;
  aspect-ratio: 1.5;
  border-radius: 22px;
  background: #071423 url("/assets/optimized/images/falconio-arena.webp")
    center / contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.runner-category-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 30%,
    rgba(3, 12, 25, 0.45)
  );
}

.runner-preview-logo {
  position: absolute;
  left: 42%;
  top: 34%;
  width: 72px;
  height: 112px;
  background-position: -4.45px -24.35px;
  background-size: 460px 153.32px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.24));
}

.runner-category-preview.is-preview-ready .runner-preview-logo {
  background-image: url("/Falconio/game/Personaje/Sprite%20quieto.png");
}

.runner-preview-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: #b8d7f5;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.runner-preview-gear {
  position: absolute;
  right: 16%;
  top: 33%;
  width: 42px;
  height: 48px;
  object-fit: contain;
  transform: rotate(-18deg);
}

.runner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
  color: #b8d7f5;
  font-size: 0.875rem;
}

.runner-features i {
  margin-right: 7px;
  color: #ffb458;
}

.runner-category-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 18px 32px rgba(254, 149, 28, 0.24);
  white-space: nowrap;
}

.runner-category-action:hover {
  color: #fff;
}

.runner-category-action i {
  transition: transform 0.25s ease;
}

.runner-category-card:hover .runner-category-action i {
  transform: translateX(5px);
}

.identity-section {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(0, 117, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 117, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #dff2ff 100%);
  background-size:
    68px 68px,
    68px 68px,
    auto;
}

.hero-section + .identity-section {
  padding-top: 32px;
}

.section-title {
  margin: 0 0 18px;
  font-weight: 900;
}

.section-subtitle {
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: 1.06rem;
}

.identity-card {
  z-index: 0;
  padding: 34px;
  text-align: left;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.identity-card::before {
  opacity: 1;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(0, 117, 255, 0.13),
      transparent 28%
    ),
    radial-gradient(circle at 8% 92%, rgba(254, 149, 28, 0.12), transparent 26%);
}

.identity-card:hover::before {
  opacity: 1;
}

.identity-card h4,
.program-content .card-title,
.trainer-card h5 {
  position: relative;
  z-index: 3;
  transition: color 0.25s ease;
}

.identity-card:hover h4,
.program-card:hover .card-title,
.trainer-card:hover h5 {
  color: var(--blue);
}

.identity-card h4 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.identity-card p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.coaches-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 117, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(254, 149, 28, 0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
  background-size:
    80px 80px,
    80px 80px,
    auto;
}

.coaches-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(0, 117, 255, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 62%,
      rgba(254, 149, 28, 0.14),
      transparent 26%
    );
  pointer-events: none;
}

.coaches-section .container {
  position: relative;
  z-index: 1;
}

.coaches-heading {
  max-width: 820px;
  margin: 0 auto 28px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 117, 255, 0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.coaches-heading h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.coaches-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.trainer-card {
  z-index: 0;
  padding: 12px !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f8fbff 100%
  );
}

.trainer-card::before {
  background:
    linear-gradient(135deg, rgba(0, 117, 255, 0.13), transparent 36%),
    linear-gradient(315deg, rgba(254, 149, 28, 0.14), transparent 34%);
}

.trainer-media {
  position: relative;
  z-index: 3;
  aspect-ratio: 5 / 4;
  min-height: 0;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 28px 28px 42px 18px;
  background: #dfe9f6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.trainer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(1, 13, 53, 0) 0%,
      rgba(1, 13, 53, 0.08) 45%,
      rgba(1, 13, 53, 0.54) 100%
    ),
    linear-gradient(90deg, rgba(0, 117, 255, 0.12), rgba(254, 149, 28, 0.1));
  pointer-events: none;
}

.trainer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition:
    transform 0.42s ease,
    filter 0.42s ease;
}

.trainer-card:hover .trainer-img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.trainer-copy {
  position: relative;
  z-index: 4;
  margin: -28px 8px 0;
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(8, 24, 67, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 32px rgba(8, 24, 67, 0.12);
  backdrop-filter: blur(10px);
}

.trainer-card h5 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 950;
}

.trainer-role {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 117, 255, 0.1);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.trainer-card .text-muted {
  position: relative;
  z-index: 3;
  color: var(--muted) !important;
  line-height: 1.5;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.trainer-copy .trainer-btn {
  margin-top: auto;
}

.footer-section {
  background: linear-gradient(135deg, #010d35 0%, #08245d 100%);
  color: #fff;
  padding: 76px 0 28px;
}

.footer-title {
  font-weight: 850;
  margin-bottom: 14px;
}

.footer-subtitle {
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.footer-subtitle::after {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--orange);
  position: absolute;
  left: 0;
  bottom: -8px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.footer-social a:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.64);
}

@keyframes navSoftEnter {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 82px;
  }

  .runner-category-card {
    grid-template-columns: 1fr;
  }

  .runner-category-action {
    width: max-content;
  }

  .runner-category-preview {
    min-height: 0;
    width: 100%;
    max-width: 540px;
    justify-self: center;
  }

  .custom-navbar {
    padding: 16px 0;
  }

  .navbar-collapse {
    margin-top: 16px;
    padding: 16px 0 6px;
    border-top: 1px solid rgba(8, 24, 67, 0.08);
  }

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

  .hero-section {
    min-height: auto;
    padding: 36px 0 20px;
  }

  .hero-background {
    bottom: auto;
    height: min(100%, 960px);
  }

  .hero-background img {
    object-position: center 42%;
  }

  .hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(3, 14, 32, 0.28) 0%,
      rgba(3, 14, 32, 0.32) 28%,
      rgba(3, 14, 32, 0.9) 58%,
      #030e20 82%
    );
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-logo-experience {
    min-height: 430px;
    order: 1;
  }

  .hero-copy {
    order: 2;
    max-width: none;
    text-align: center;
    justify-self: center;
  }

  .hero-kicker {
    justify-content: center;
  }

  .hero-motto {
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-notes {
    max-width: 720px;
    margin-inline: auto;
  }

  .logo-model-shell {
    min-height: 380px;
    animation: none;
  }

  .logo-model {
    width: min(72%, 340px);
  }
}

@media (max-width: 768px) {
  .runner-preview-logo {
    top: 28%;
    width: 54px;
    height: 84px;
    background-position: -3.34px -18.27px;
    background-size: 345px 115px;
  }

  .runner-preview-gear {
    width: 30px;
    height: 36px;
  }

  .runner-preview-caption {
    bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .section-padding,
  .identity-section {
    padding: 72px 0;
  }

  .hero-section {
    padding: 28px 0 16px;
  }

  .hero-logo-experience {
    min-height: 350px;
  }

  .logo-model-shell {
    min-height: 300px;
  }

  .logo-model {
    width: min(78%, 280px);
  }

  .hero-stage-head,
  .hero-stage-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.6vw, 2.85rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .identity-card,
  .trainer-card {
    padding: 24px !important;
  }

  .trainer-card {
    padding: 10px !important;
  }

  .trainer-media {
    min-height: 0;
  }

  .trainer-copy {
    margin: -24px 6px 0;
    padding: 16px;
  }

  .section-padding .container > h2,
  .identity-section .section-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .logo-model {
    width: min(86%, 250px);
  }

  .trainer-media {
    min-height: 0;
    border-radius: 24px 24px 34px 16px;
  }

  .trainer-card h5 {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo-model.is-auto {
    animation: none;
  }

  .logo-model-shell {
    animation: none;
  }

  .program-card,
  .identity-card,
  .trainer-card,
  .program-img img,
  .hero-btn,
  .program-btn,
  .trainer-btn {
    transition: none;
  }

  .hero-btn:hover,
  .program-btn:hover,
  .trainer-btn:hover {
    transform: none;
  }

  .custom-navbar {
    animation: none;
  }
}

/* Defer the larger sections until they approach the viewport. */
.runner-category-section,
.identity-section,
.coaches-section,
.training-questions {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
