/* ===== Landing deportiva MTB · v2.1 (Proporciones Desktop & Legibilidad) ===== */
body.landing { background: #07131f; color: #e6eef8; overflow-x: hidden; }
body.landing h1, body.landing h2, body.landing h3, body.landing h4 { color: #fff; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,19,31,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-in { max-width: 1160px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { height: 36px; width: auto; display: block; }
.nav-links { display: none; gap: 24px; }
.nav-links a { color: #c9d6e6; text-decoration: none; font-weight: 700; font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: #5fd4ff; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Botones */
.btn-xl { padding: 14px 26px; font-size: 18px; min-height: 46px; border-radius: 0; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.btn-line {
  background: transparent; border: 2px solid #5fd4ff; color: #fff; box-shadow: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-line:hover { background: rgba(95,212,255,.12); }
.is-off { background: #50627a !important; box-shadow: none !important; pointer-events: none; }

/* Héroe proporcionado al viewport */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 54px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px 128px; text-align: center;
  background-color: #07131f;
  background-image:
    linear-gradient(180deg, rgba(7,19,31,.24) 0%, rgba(7,19,31,.48) 56%, #07131f 100%),
    linear-gradient(90deg, rgba(7,19,31,.12) 0%, rgba(7,19,31,.38) 50%, rgba(7,19,31,.62) 100%),
    url("../img/hero-mtb.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 50% 85%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #cfefff; background: rgba(7,19,31,.5); border: 1px solid rgba(95,212,255,.45);
  border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-logo {
  width: min(390px, 84vw); height: auto; margin: 12px auto 0;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.6));
}
.hero-tag {
  display: inline-block; margin-top: 10px; font-weight: 800; font-style: italic;
  font-size: clamp(16px, 2.4vw, 21px); color: #fff; padding: 7px 24px;
  background: linear-gradient(90deg, #1d6fe8, #39a0ff); transform: skewX(-10deg);
  box-shadow: 0 10px 24px rgba(29,111,232,.35);
}

.hero-lead {
  margin: 14px auto 0; max-width: 620px; color: #ffffff;
  font-size: 16px; line-height: 1.55; text-shadow: 0 2px 10px rgba(0,0,0,.5); font-weight: 600;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

.hero-stats {
  list-style: none; padding: 0; margin: 22px 0 0; width: 100%; max-width: 680px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 0;
  border-top: 1px solid rgb(95, 212, 255);
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats li { padding: 12px 10px 0; text-align: center; }
.hero-stats li + li { border-left: 1px solid rgb(95, 212, 255); }
.hero-stats b { display: block; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 38px; line-height: 1; color: #5ccb5f; }
.hero-stats span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #c4d5e8; font-weight: 700; }

.hero-slant {
  position: absolute; left: -5%; right: -5%; bottom: -35px; height: 44px; z-index: 2;
  background: #07131f; transform: skewY(-1.5deg); transform-origin: left bottom;
}

/* Cinta de texto */
.ticker {
  background: linear-gradient(90deg, #1d6fe8, #39a0ff); transform: skewY(-1.2deg);
  padding: 9px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 3; margin-top: -6px;
}
.ticker-track {
  display: inline-flex; gap: 36px; animation: marquee 28s linear infinite;
  font-family: "Bebas Neue", sans-serif; font-size: 21px; letter-spacing: .06em; color: #fff;
}
.ticker-track span::after { content: "✦"; margin-left: 36px; color: #c6f5ff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Secciones */
.sec { padding: 64px 0; }
.sec-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(95, 212, 255); }
.sec-title {
  font-family: "Bebas Neue", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 5vw, 60px); line-height: .96; margin: 6px 0 0;
}
.sec-lead { color: #b8cae0; max-width: 660px; margin: 12px 0 0; font-size: 16px; line-height: 1.6; }

/* Cards de modalidad */
.mgrid { display: grid; gap: 18px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .mgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mgrid { grid-template-columns: repeat(4, 1fr); } }
.mcard {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: #e6eef8;
  background: linear-gradient(170deg, #0f2b47, #091a2b);
  border: 1px solid rgba(57,160,255,.26); padding: 24px 22px 22px;
  box-shadow: 0 10px 28px rgba(29,111,232,.14), 0 4px 14px rgba(0,0,0,.35);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mcard:hover {
  transform: translateY(-4px); border-color: #5fd4ff;
  box-shadow: 0 18px 38px rgba(29,111,232,.28), 0 6px 18px rgba(0,0,0,.45);
}
.mcard .tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5fd4ff; }
.mcard h3 { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 28px; line-height: 1.05; margin: 8px 0 6px; color: #fff; }
.mcard p { margin: 6px 0 0; color: #b8cae0; font-size: 15px; line-height: 1.5; }
.mcard .precio {
  font-family: "Bebas Neue", sans-serif; font-size: 52px; line-height: 1; color: #5ccb5f;
  margin-top: auto; padding-top: 16px;
}
.mcard .precio small { font-size: 15px; color: #b8cae0; font-family: "Montserrat", sans-serif; font-weight: 700; }
.mcard .go { margin-top: 12px; font-weight: 800; color: #fff; font-size: 14px; }

/* Franela */
.franela-box {
  display: grid; gap: 24px; align-items: center; margin-top: 28px; border-radius: 20px; padding: 24px;
  background: linear-gradient(120deg, #0f2b47, #0b1f33); border: 1px solid rgba(57,160,255,.22);
  box-shadow: 0 12px 32px rgba(29,111,232,.14);
}
@media (min-width: 860px) { .franela-box { grid-template-columns: 1fr 1fr; padding: 32px; } }
.franela-box img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 16px; background: #fff; }
.fr-titulo { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 38px; line-height: 1.05; }
.fr-precio { font-family: "Bebas Neue", sans-serif; font-size: 68px; line-height: 1; color: #5ccb5f; margin-top: 14px; }
.fr-bs { font-size: 19px; font-weight: 700; color: #fff; }
.fr-tasa { font-size: 13px; color: #b8cae0; margin-top: 6px; }

/* Kit */
.kit { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
@media (min-width: 900px) { .kit { grid-template-columns: repeat(4, 1fr); } }
.kit-item {
  background: rgba(15,43,71,.45); border: 1px solid rgba(57,160,255,.2); border-radius: 18px;
  padding: 22px 18px; text-align: center;
  box-shadow: 0 8px 24px rgba(29,111,232,.1);
}
.kit-item i { display: block; font-style: normal; font-size: 36px; }
.kit-item h3 { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 26px; margin: 10px 0 6px; }
.kit-item p { color: #b8cae0; font-size: 15px; line-height: 1.5; margin: 0; }

/* Pasos */
.pasos { display: grid; gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso {
  padding: 24px 22px; border-left: 4px solid #1d6fe8;
  background: rgba(15,43,71,.35); border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 24px rgba(29,111,232,.08);
}
.paso b {
  display: block; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 56px; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px #5fd4ff;
}
.paso h3 { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 26px; margin: 8px 0 6px; }
.paso p { margin: 0; color: #b8cae0; font-size: 15px; line-height: 1.55; }

/* Organiza */
.org { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .org { grid-template-columns: .7fr 1.3fr; } }
.org-logo-box {
  background: #fff; border-radius: 20px; padding: 28px; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(29,111,232,.14);
}
.org-logo-box img { width: min(260px, 100%); height: auto; }
.org-txt p { color: #c5d4e6; font-size: 16px; line-height: 1.65; margin: 14px 0 0; }
.org-txt p:last-child { margin-top: 20px; }

/* CTA final */
.cta-final {
  position: relative; overflow: hidden; text-align: center; padding: 56px 0;
  background: linear-gradient(120deg, #1d6fe8, #0b3d7a);
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.07) 40px 42px);
}
.cta-final > .wrap { position: relative; }
.cta-final h2 { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: clamp(40px, 5.5vw, 64px); line-height: .96; margin: 0; }
.cta-final p { color: #e8f3ff; font-size: 16px; margin: 10px 0 22px !important; }

/* Pie */
.landing-foot { background: #040d16; color: #8fa3ba; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; }
.landing-foot img { height: 36px; width: auto; margin: 0 auto 10px; }
.landing-foot p { margin: 4px 0; }

/* Ajustes en pantallas medianas y móviles */
@media (max-width: 900px) {
  .hero {
    background-position: center, center, 55% 75%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 16px 104px;
    background-image:
      linear-gradient(180deg, rgba(7,19,31,.18) 0%, rgba(7,19,31,.46) 58%, #07131f 100%),
      linear-gradient(90deg, rgba(7,19,31,.10) 0%, rgba(7,19,31,.34) 55%, rgba(7,19,31,.48) 100%),
      url("../img/hero-mtb.jpg");
    background-position: center, center, 62% 72%;
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px 110px; }
  .hero-cta .btn-xl { width: 100%; }
  .hero-stats b { font-size: 34px; }
}