:root {
  --bg-color: #0b2216;
  --card-bg: rgba(10, 34, 22, 0.65);
  --primary: #f2bd1d;
  --text: #ffffff;
  --text-muted: #8fa399;
  --danger: #ff6b5f;
  --line: rgba(242, 189, 29, 0.15);
  --input-bg: rgba(255, 255, 255, 0.055);
  --input-bg-focus: rgba(255, 255, 255, 0.095);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --display-font: "Oswald", "Montserrat", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
label,
legend,
.btn,
.feature-card,
.field-group,
.step-title,
.step-meta {
  min-width: 0;
}

html {
  min-height: 100%;
  background: var(--bg-color);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 18%, #113825 0%, var(--bg-color) 48%),
    linear-gradient(135deg, rgba(242, 189, 29, 0.08), transparent 38%),
    var(--bg-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(242, 189, 29, 0.05) 18.2% 18.7%, transparent 19% 100%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 20px
    );
  opacity: 0.5;
}

body::after {
  width: 40rem;
  height: 40rem;
  right: -16rem;
  bottom: -18rem;
  border: 1px solid rgba(242, 189, 29, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(242, 189, 29, 0.08);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 28px), 250px);
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  background: rgba(10, 34, 22, 0.64);
  border: 1px solid rgba(242, 189, 29, 0.18);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition:
    transform 0.22s var(--ease),
    opacity 0.22s var(--ease),
    visibility 0.22s var(--ease);
}

.topbar.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-50%) translateY(-20px);
}

.brand-mark,
.nav-cta,
.hero-actions a,
.program-strip a {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  max-width: min(52vw, 260px);
  min-width: 0;
}

.brand-mark img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 58px;
  object-fit: contain;
}

.nav-cta {
  padding: 12px 16px;
  color: #0b2216;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(242, 189, 29, 0.25);
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease);
}

.nav-cta:hover {
  background: #ffd142;
  transform: scale(1.04);
}

.landing-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding: 112px 20px 32px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(1.08) contrast(1.08);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 34, 22, 0.96) 0%, rgba(11, 34, 22, 0.74) 38%, rgba(11, 34, 22, 0.2) 100%),
    linear-gradient(0deg, var(--bg-color) 0%, rgba(11, 34, 22, 0.2) 44%, rgba(11, 34, 22, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1180px);
  gap: 18px;
  margin: 0 auto;
}

.hero-content h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 16vw, 9rem);
  line-height: 0.9;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.hero-title-group {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 36px);
  flex-wrap: wrap;
}

.hero-logo {
  width: clamp(180px, 28vw, 310px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
  transform: translateY(22px);
}

@media (max-width: 859px) {
  .hero-title-group {
    justify-content: center;
    text-align: center;
  }
  .hero-logo {
    margin: 0 auto;
    transform: translateY(10px);
  }
}

.hero-copy {
  max-width: 47rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-copy strong {
  color: var(--primary);
  font-weight: 900;
}

.hero-promise {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(10, 34, 22, 0.58);
  border: 1px solid rgba(242, 189, 29, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-btn,
.glass-btn {
  width: 100%;
}

.glass-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: 680px;
  margin-top: 12px;
}

.hero-stats span {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 3px;
  padding: 12px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-stats strong {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: clamp(1rem, 5vw, 1.5rem);
  font-weight: 700;
}

.experience-section,
.form-section,
.premium-section {
  width: min(100%, 1180px);
  padding: 72px 20px;
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 18px;
  color: #0b2216;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  border-radius: 999px;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading h2,
.form-intro h2,
.program-strip h2 {
  font-size: clamp(2rem, 9vw, 5rem);
  line-height: 1.15;
  text-wrap: balance;
}

.section-heading p,
.form-intro p,
.program-strip > p {
  max-width: 44rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(242, 189, 29, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(242, 189, 29, 0.42);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.feature-card:hover {
  background: linear-gradient(145deg, rgba(242, 189, 29, 0.26), rgba(255, 255, 255, 0.08));
  border-color: rgba(242, 189, 29, 0.42);
  transform: translateY(-4px);
}

.feature-card span {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-card strong {
  color: var(--text);
  font-weight: 900;
}

.proof-grid,
.level-grid,
.gallery-grid {
  display: grid;
  gap: 12px;
}

.proof-card,
.level-card,
.gear-panel,
.location-panel,
.faq-list details {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(242, 189, 29, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.proof-card {
  min-height: 210px;
  background:
    linear-gradient(145deg, rgba(242, 189, 29, 0.17), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
}

.proof-card span,
.level-card span,
.timeline-list span {
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 700;
  text-transform: uppercase;
}

.proof-card strong,
.level-card h3,
.gear-panel h2,
.location-panel h2,
.dossier-section h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 5vw, 2.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.proof-card p,
.level-card p,
.gear-panel li,
.location-panel p,
.faq-list p,
.dossier-section p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.level-card {
  min-height: 230px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(242, 189, 29, 0.12)),
    rgba(255, 255, 255, 0.035);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.level-card:hover {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(242, 189, 29, 0.2)),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(242, 189, 29, 0.36);
  transform: translateY(-4px);
}

.timeline-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: timeline;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(242, 189, 29, 0.18);
  border-radius: 8px;
}

.timeline-list span {
  grid-row: span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #0b2216;
  background: var(--primary);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(242, 189, 29, 0.24);
}

.timeline-list strong {
  font-family: var(--display-font);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-list p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.gear-location-section {
  display: grid;
  gap: 12px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(242, 189, 29, 0.45);
  content: "";
}

.gallery-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-items: end;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(0deg, rgba(11, 34, 22, 0.94), rgba(11, 34, 22, 0.2)),
    url("assets/hero-trial-camp.png") center / cover;
  border: 1px solid rgba(242, 189, 29, 0.18);
  background-clip: padding-box;
  border-radius: 8px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.gallery-paddock {
  background-position: 58% 45%;
}

.gallery-camp {
  background-position: 42% 55%;
}

.gallery-card:hover {
  border-color: rgba(242, 189, 29, 0.42);
  box-shadow: 0 0 22px rgba(242, 189, 29, 0.24);
  transform: translateY(-4px);
}

.gallery-card span {
  width: fit-content;
  padding: 8px 10px;
  color: #0b2216;
  font-family: var(--display-font);
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  border-radius: 999px;
}

.program-strip {
  display: grid;
  gap: 22px;
  width: min(calc(100% - 40px), 1180px);
  padding: 28px 20px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(242, 189, 29, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(242, 189, 29, 0.28);
  border-radius: 8px;
}

.program-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 189, 29, 0.26);
  border-radius: 14px;
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease);
}

.contact-link:hover {
  background: rgba(242, 189, 29, 0.12);
  transform: translateY(-2px);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: min(calc(100% - 40px), 1180px);
  margin: 22px auto 0;
}

.trust-strip span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(242, 189, 29, 0.18);
  border-radius: 8px;
}

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

.faq-list details {
  cursor: pointer;
}

.faq-list summary {
  color: var(--text);
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-list details[open] {
  background: linear-gradient(145deg, rgba(242, 189, 29, 0.14), rgba(255, 255, 255, 0.06));
  border-color: rgba(242, 189, 29, 0.32);
}



.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  color: #0b2216;
  text-decoration: none;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 0 22px rgba(242, 189, 29, 0.28);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.floating-whatsapp:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48), 0 0 30px rgba(242, 189, 29, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.floating-whatsapp strong,
.sticky-mobile-cta {
  font-family: var(--display-font);
  font-weight: 700;
  text-transform: uppercase;
}

.floating-whatsapp strong {
  font-size: 1.05rem;
  line-height: 1;
}

.wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.sticky-mobile-cta {
  position: fixed;
  right: 16px;
  bottom: 88px;
  left: 16px;
  z-index: 29;
  display: grid;
  min-height: 50px;
  place-items: center;
  color: #0b2216;
  text-decoration: none;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.sticky-mobile-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partners-section {
  width: min(100%, 1180px);
  padding: 20px 20px 76px;
  margin: 0 auto;
}

.partners-layout {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.partner-group {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 620px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.organizer-group {
  width: min(100%, 280px);
}

.partner-group h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  justify-content: center;
}

.logo-grid {
  display: grid;
  gap: 8px;
}

.collaborators-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.logo-card {
  display: grid;
  width: 100%;
  min-height: 68px;
  place-items: center;
  padding: 8px 12px;
  background: linear-gradient(145deg, rgba(242, 189, 29, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(242, 189, 29, 0.42);
  border-radius: 8px;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.logo-card:hover {
  background: linear-gradient(145deg, rgba(242, 189, 29, 0.28), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 18px rgba(242, 189, 29, 0.16);
  transform: translateY(-3px);
}

.logo-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.organizer-logo {
  position: relative;
  width: min(100%, 240px);
  min-height: 96px;
  padding: 10px 14px;
}

.organizer-logo::before {
  content: none;
}

.organizer-logo img {
  position: relative;
  max-height: 82px;
  filter: none;
}

.logo-ayuntamiento img {
  max-height: 50px;
}

.logo-fexmoto img {
  max-height: 56px;
}

.logo-fmcl img {
  max-height: 40px;
}

.form-section {
  display: grid;
  gap: 28px;
  padding-top: 86px;
  grid-template-columns: 1fr;
  justify-items: center;
}

.form-intro {
  display: grid;
  gap: 12px;
  width: min(100%, 820px);
  justify-self: center;
  justify-items: center;
  text-align: center;
  position: static;
}

.form-intro > * {
  justify-self: center;
  text-align: center;
}

.form-intro p {
  margin-right: auto;
  margin-left: auto;
}

.container {
  position: relative;
  width: min(100%, 820px);
  min-height: 680px;
  padding: 26px 18px 18px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(242, 189, 29, 0.15);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  justify-self: center;
}

.container::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(242, 189, 29, 0.12), transparent 30%);
  content: "";
}

.progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
  width: 25%;
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 15px #f2bd1d;
  transform-origin: left center;
  transition: width 0.65s cubic-bezier(0.2, 1.3, 0.3, 1);
}

.hero-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.eyebrow,
.step-title p {
  margin: 0;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  display: grid;
  max-width: 12ch;
  font-size: clamp(2.4rem, 10vw, 4.8rem);
  line-height: 0.92;
}

.title-highlight {
  color: var(--primary);
}

.intro {
  max-width: 34rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.preinscription-notice {
  margin: 14px auto 0;
  padding: 14px 18px;
  background: rgba(242, 189, 29, 0.08);
  border: 1px solid rgba(242, 189, 29, 0.25);
  border-radius: 16px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  max-width: 680px;
}

.preinscription-notice strong {
  color: var(--primary);
}

.form-seals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 16px;
}

.form-seals span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  background: rgba(242, 189, 29, 0.08);
  border: 1px solid rgba(242, 189, 29, 0.2);
  border-radius: 12px;
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 0 16px;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.step-meta span:last-child {
  color: var(--text);
}

form {
  position: relative;
}

.steps-viewport {
  position: relative;
  min-height: 438px;
}

.form-step {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(36px);
  transition: all 0.5s var(--ease);
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.form-step.entering {
  display: block;
  opacity: 0;
  transform: translateX(36px);
}

.form-step.leaving {
  display: block;
  opacity: 0;
  transform: translateX(-36px);
}

.form-step.entering-from-left {
  transform: translateX(-36px);
}

.form-step.leaving-to-right {
  transform: translateX(36px);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.step-title > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  background: rgba(242, 189, 29, 0.12);
  border: 1px solid rgba(242, 189, 29, 0.22);
  border-radius: 14px;
  box-shadow: inset 0 0 18px rgba(242, 189, 29, 0.08);
}

.step-title h2 {
  margin-top: 4px;
  font-size: clamp(1.55rem, 6vw, 2.15rem);
  line-height: 1;
  text-wrap: balance;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

label,
legend {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
  transition:
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

legend {
  padding: 0;
  margin-bottom: 10px;
}

.field-group:focus-within > label,
.field-group:focus-within > legend {
  color: var(--primary);
  transform: translateX(2px);
}

input,
select {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  color: var(--text);
  font-family: var(--display-font);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  outline: none;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

input:focus,
select:focus {
  background: var(--input-bg-focus);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 189, 29, 0.12), 0 0 18px rgba(242, 189, 29, 0.18);
}

input[type="date"] {
  color-scheme: dark;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

select {
  padding-right: 44px;
  appearance: none;
}

select option {
  color: #0b2216;
  background: #ffffff;
}

.radio-field {
  padding: 0;
  border: 0;
}

.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  position: relative;
  display: grid;
  min-height: 86px;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.radio-card:hover {
  transform: translateY(-2px);
}

.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.radio-card:has(input:checked) {
  color: #0b2216;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 22px rgba(242, 189, 29, 0.32);
}

.conditional-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.45s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}

.conditional-panel.open {
  max-height: 140px;
  opacity: 1;
  transform: translateY(0);
}

.legal-box {
  padding: 16px;
  background: rgba(242, 189, 29, 0.08);
  border: 1px solid rgba(242, 189, 29, 0.24);
  border-radius: 18px;
}

.check-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
}

.check-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check-visual {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.check-visual::after {
  width: 8px;
  height: 13px;
  margin-top: -2px;
  border-right: 3px solid #0b2216;
  border-bottom: 3px solid #0b2216;
  content: "";
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.check-card input:checked + .check-visual {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(242, 189, 29, 0.35);
}

.check-card input:checked + .check-visual::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.error-message {
  min-height: 16px;
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 700;
}

.field-group.invalid input,
.field-group.invalid select,
.radio-field.invalid .radio-card,
.legal-box.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 95, 0.1);
}

.review-copy {
  margin: -8px 0 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-panel,
.success-summary {
  display: grid;
  gap: 8px;
}

.review-row,
.success-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.review-row span,
.success-row span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-row strong,
.success-row strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.form-actions .btn {
  width: min(100%, 360px);
}

.form-actions .btn.ghost {
  width: min(100%, 150px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  border-radius: 16px;
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease),
    color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  color: #0b2216;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(242, 189, 29, 0.22);
}

.btn.primary:hover {
  background: #ffd142;
  box-shadow: 0 16px 36px rgba(242, 189, 29, 0.34);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn[hidden] {
  display: none;
}

.submit-btn {
  display: none;
}

.submit-btn.visible {
  display: inline-flex;
}

.success-panel {
  position: absolute;
  inset: 4px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: rgba(10, 34, 22, 0.92);
  border-radius: 22px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: all 0.45s var(--ease);
}

.success-panel.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-panel h2 {
  font-size: clamp(2rem, 10vw, 4rem);
}

.success-panel p:last-child {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 0;
  }

  .landing-hero {
    padding: 128px 34px 52px;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-btn,
  .glass-btn {
    width: auto;
  }

  .experience-section,
  .form-section {
    padding-right: 34px;
    padding-left: 34px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-strip {
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    padding: 30px;
  }

  .program-actions {
    min-width: 190px;
  }

  .partners-section {
    padding-right: 34px;
    padding-left: 34px;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 156px));
    justify-content: center;
  }

  .logo-card img {
    max-height: 56px;
  }

  .organizer-logo img {
    max-height: 82px;
  }

  .logo-ayuntamiento img {
    max-height: 54px;
  }

  .logo-fexmoto img {
    max-height: 60px;
  }

  .logo-fmcl img {
    max-height: 42px;
  }

  .container {
    padding: 34px;
  }

  h1 {
    max-width: none;
  }

  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-seals {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .landing-hero {
    min-height: 92svh;
  }

  .section-heading {
    grid-template-columns: 0.9fr 1fr;
    align-items: end;
  }

  .container {
    padding: 42px;
  }

  .steps-viewport {
    min-height: 470px;
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof-grid,
  .level-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline-list li {
    grid-template-columns: 1fr;
  }

  .timeline-list span {
    grid-row: auto;
  }

  .gear-location-section {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-card {
    min-height: 360px;
  }
}

@media (min-width: 720px) {
  .sticky-mobile-cta {
    display: none;
  }
}

@media print {
  .topbar,
  .floating-whatsapp,
  .sticky-mobile-cta,
  .form-actions {
    display: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

