:root {
  --rojo: #c25252;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: 'Jost', sans-serif;
  background: #000;
  color: white;
  text-align: center;
  overflow-x: hidden;
}

.page {
  width: 100%;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

/* HERO */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 400px;
  margin: 0 auto;
}

.logo {
  width: 160px;
  max-width: 70vw;
}

.subtitle {
  margin-top: 20px;
  font-size: 16px;
  opacity: 0.82;
}

.price {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 500;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

.bg1 { background-image: url("assets/cancha1.png"); animation-delay: 0s; }
.bg2 { background-image: url("assets/cancha2.png"); animation-delay: 5s; }
.bg3 { background-image: url("assets/cancha3.png"); animation-delay: 10s; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.72);
}

@keyframes fade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* BOTONES */

.btn-primary {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: 14px;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.arrow {
  margin-top: 24px;
  font-size: 24px;
  opacity: 0.6;
  color: var(--rojo);
}

/* SECCIONES */

section {
  width: 100%;
  padding: 60px 20px;
  display: block;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 10px auto 0;
  background: var(--rojo);
}

/* UBICACIÓN */

.location {
  background: #000;
}

.location-media {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
}

.location-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-location {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border: 1px solid white;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(6px);
  font-weight: 600;
}

/* PRECIOS */

.pricing {
  background: #000;
}

.price-row {
  display: flex;
  justify-content: space-between;
  max-width: 360px;
  margin: 16px auto;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 17px;
}

.price-row strong {
  color: var(--rojo);
  font-weight: 600;
}

.note {
  display: block;
  margin-top: 12px;
  opacity: 0.55;
  font-size: 14px;
}

/* CLASES VIDEO */

.classes {
  position: relative;
  height: 420px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.classes-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classes-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}

.classes-content {
  position: relative;
  z-index: 2;
  max-width: 300px;
  margin: 0 auto;
}

.classes-text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.75;
}

/* CTA */

.cta {
  padding: 80px 20px 90px;
}

.cta-box {
  max-width: 330px;
  margin: 0 auto;
}

.cta-text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.68;
}

/* DESKTOP: CELULAR CENTRADO */

@media (min-width: 900px) {
  body {
    background: #080808;
    display: block;
  }

  body::before {
    content: "Página optimizada para móvil";
    position: fixed;
    top: 40px;
    left: 40px;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .page {
    width: 430px;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 80px rgba(0,0,0,0.65);
  }

  .hero,
  .location,
  .pricing,
  .classes,
  .cta {
    width: 100%;
    max-width: 100%;
  }
}