/* ==========================================================================
   Club Deportivo Santa Ana — hoja de estilos
   Estructura single-page. Colores y tipografía de la identidad del club.
   ========================================================================== */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
  src: url("../fonts/roboto-italic-latin.woff2") format("woff2");
}

:root {
  /* Colores del logo */
  --navy: #06142b;
  --navy-2: #0c2142;
  --navy-3: #16325e;
  --blue: #2e3f9d;
  --sky: #4fa8e3;
  --orange: #f7a60d;
  --orange-2: #ffb829;
  --red: #c21e28;

  --ink: #06142b;
  --muted: #54627a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f3f5f9;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px -14px rgba(6, 20, 43, 0.28);
  --shadow-lg: 0 24px 60px -20px rgba(6, 20, 43, 0.4);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --stripes: linear-gradient(
    180deg,
    var(--blue) 0 25%,
    var(--sky) 25% 50%,
    var(--orange) 50% 75%,
    var(--red) 75% 100%
  );
  --stripes-h: linear-gradient(
    90deg,
    var(--blue) 0 25%,
    var(--sky) 25% 50%,
    var(--orange) 50% 75%,
    var(--red) 75% 100%
  );
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--navy);
  --btn-bd: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.4em;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(247, 166, 13, 0.8);
}
.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn--lg {
  min-height: 56px;
  font-size: 1.05rem;
  padding-inline: 1.8em;
}
.btn--sm {
  min-height: 40px;
  font-size: 0.8rem;
  padding: 0.55em 1em;
}
.btn--block {
  width: 100%;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-bd: #fff;
  box-shadow: none;
}

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
}
.btn--navy:hover {
  box-shadow: 0 10px 22px -10px rgba(6, 20, 43, 0.7);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-bd: #fff;
}
.btn--white:hover {
  --btn-fg: var(--blue);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.6);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--navy);
}
.btn--outline:hover {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue);
}
.link-arrow .icon {
  transition: transform 0.15s ease;
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Barra superior + cabecera
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--orange);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__app,
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar__pill {
  background: var(--navy);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
}
.topbar__pill:hover {
  text-decoration: none !important;
  background: var(--navy-3);
}
.topbar__social {
  display: flex;
  gap: 10px;
}
.topbar__social .icon {
  width: 18px;
  height: 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled {
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
}
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--stripes-h);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.header.is-scrolled::after {
  opacity: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.header__logo img {
  height: 54px;
  width: auto;
}
.nav {
  margin-left: auto;
}
.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: block;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__link.is-active {
  color: var(--orange);
}
.header__cta {
  display: flex;
  gap: 10px;
}
.nav__mobile-cta {
  display: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon {
  width: 28px;
  height: 28px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 1120px) {
  .header__cta .btn--ghost {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }
  .header__logo img {
    height: 44px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__cta {
    display: none;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--navy);
    border-top: 4px solid transparent;
    border-image: var(--stripes-h) 1;
    padding: 12px var(--gutter) 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    margin: 0;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.7);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }
  .nav__link::after {
    display: none;
  }
  .nav__mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  .topbar__contact {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .topbar__store {
    display: none !important;
  }
}

/* Barra de acciones fija en móvil */
.action-bar {
  display: none;
}
@media (max-width: 720px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--navy);
    border-top: 3px solid var(--orange);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 64px;
    color: #fff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .action-bar a .icon {
    width: 22px;
    height: 22px;
  }
  .action-bar a.is-primary {
    background: var(--orange);
    color: var(--navy);
  }
}

/* --------------------------------------------------------------------------
   Utilidades de sección
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}
.section--soft {
  background: var(--bg-soft);
}
.section--navy {
  background: var(--navy);
  color: #fff;
}

.kicker {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}
.kicker--sky {
  background: rgba(79, 168, 227, 0.16);
  color: var(--blue);
}
.section--navy .kicker--sky {
  color: var(--sky);
}

.display {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}

.section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}
.section-head .display {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  margin-top: 16px;
  color: var(--navy);
}
.section--navy .section-head .display {
  color: #fff;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
}
.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.stripes {
  display: block;
  width: 64px;
  height: 20px;
  background: var(--stripes);
  border-radius: 3px;
}
.stripes--center {
  margin-inline: auto;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-list .icon {
  color: var(--orange);
  stroke-width: 3;
  margin-top: 0.15em;
}

/* Separadores en ángulo (estilo de la web actual) */
.angle-top {
  clip-path: polygon(0 0, 50% 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: calc(clamp(64px, 9vw, 120px) + 40px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  min-height: min(860px, calc(100svh - var(--header-h) - 40px));
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  padding-block: 72px 160px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(6, 20, 43, 0.96) 0%,
      rgba(6, 20, 43, 0.86) 38%,
      rgba(6, 20, 43, 0.35) 75%,
      rgba(6, 20, 43, 0.25) 100%
    ),
    linear-gradient(0deg, rgba(6, 20, 43, 0.7) 0%, rgba(6, 20, 43, 0) 40%);
}
.hero__stripes {
  position: absolute;
  right: -6%;
  bottom: 9%;
  width: 52%;
  height: 72px;
  background: var(--stripes);
  transform: rotate(-5.6deg);
  transform-origin: right bottom;
  opacity: 0.95;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 22px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__tags span::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--orange);
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 7.6rem);
}
.hero__title .line {
  display: block;
}
.hero__word {
  display: inline-block;
  color: var(--orange);
  min-height: 0.95em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero__word.is-out {
  opacity: 0;
  transform: translateY(0.25em);
}
.hero__lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 40px;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero__facts strong {
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
}
.hero__facts span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    padding-block: 48px 120px;
  }
  .hero__bg img {
    object-position: 62% 50%;
  }
  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(6, 20, 43, 0.78) 0%,
      rgba(6, 20, 43, 0.9) 60%,
      rgba(6, 20, 43, 0.96) 100%
    );
  }
  .hero__stripes {
    width: 80%;
    height: 40px;
    bottom: 5%;
  }
  .hero__actions .btn {
    flex: 1 1 200px;
  }
}

/* --------------------------------------------------------------------------
   Franja promocional (calles libres)
   -------------------------------------------------------------------------- */
.promo {
  position: relative;
  z-index: 5;
  margin-top: -84px;
}
.promo__card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  border-left: 8px solid var(--sky);
}
.promo__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(79, 168, 227, 0.16);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.promo__icon .icon {
  width: 28px;
  height: 28px;
}
.promo__text {
  flex: 1;
}
.promo__text strong {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
}
.promo__text span {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .promo {
    margin-top: -64px;
  }
  .promo__card {
    flex-wrap: wrap;
  }
  .promo__card .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Tarjetas de servicios
   -------------------------------------------------------------------------- */
.services {
  padding-block: 32px 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  --accent: var(--blue);
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service--sky {
  --accent: var(--sky);
}
.service--orange {
  --accent: var(--orange);
}
.service--red {
  --accent: var(--red);
}
.service__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  margin-bottom: 18px;
}
.service__icon .icon {
  width: 32px;
  height: 32px;
}
.service h3 {
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service .check-list {
  font-size: 0.93rem;
  color: var(--muted);
  gap: 8px;
}
.service .check-list .icon {
  color: var(--accent);
}
@media (max-width: 1000px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 20px;
    scroll-padding-inline: var(--gutter);
    gap: 14px;
  }
  .service {
    scroll-snap-align: start;
  }
  .service:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Abónate
   -------------------------------------------------------------------------- */
.join {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.collage {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  aspect-ratio: 1 / 1.05;
  max-width: 100%;
}
.collage figure {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage figure:nth-child(1) {
  left: 0;
  top: 18%;
  width: 66%;
  aspect-ratio: 4 / 3;
  z-index: 3;
}
.collage figure:nth-child(2) {
  right: 0;
  top: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}
.collage figure:nth-child(3) {
  right: 4%;
  top: 46%;
  width: 50%;
  aspect-ratio: 4 / 3;
  z-index: 4;
}
.collage figure:nth-child(4) {
  left: 10%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}
.collage__badge {
  position: absolute;
  z-index: 5;
  left: 54%;
  bottom: 6%;
  transform: translateX(-50%) rotate(-6deg);
  background: var(--orange);
  color: var(--navy);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  line-height: 1;
}
.collage__badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
}
.collage__badge span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.join__content h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--blue);
}
.join__lead {
  margin-top: 14px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}
.join__content > p + p {
  margin-top: 10px;
  color: var(--muted);
}
.subhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.subhead::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--line);
}
.includes {
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: 0.96rem;
}
@media (max-width: 520px) {
  .includes {
    grid-template-columns: 1fr;
  }
}

.steps {
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--orange);
  font-weight: 900;
  font-style: italic;
  font-size: 1.5rem;
}
.steps strong {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
}
.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}
.steps a {
  color: var(--blue);
  font-weight: 700;
}

.note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border-left: 4px solid var(--orange);
  font-size: 0.92rem;
  color: var(--muted);
}
.note strong {
  color: var(--navy);
}

.join__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.friend {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.friend::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--stripes-h);
  background: var(--stripes);
}
.friend__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.friend__icon .icon {
  width: 26px;
  height: 26px;
}
.friend strong {
  display: block;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--orange);
}
.friend p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .join {
    grid-template-columns: 1fr;
  }
  .collage {
    position: relative;
    top: auto;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Marquesina
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding-block: 14px;
  border-block: 6px solid var(--navy);
  user-select: none;
}
.marquee--navy {
  background: var(--navy);
  border-color: var(--orange);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__group {
  display: flex;
  flex: none;
}
.marquee__item {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  padding-inline: 0.4em;
  white-space: nowrap;
}
.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
}
.marquee__item--sep {
  color: var(--orange);
  padding-inline: 0.1em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Reservas + App
   -------------------------------------------------------------------------- */
.booking {
  overflow: hidden;
}
.booking::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 46%;
  width: 52%;
  height: 120px;
  background: var(--stripes);
  opacity: 0.1;
  transform: rotate(-8deg);
}
.booking__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  margin-inline: auto;
  border-radius: 44px;
  background: #0d0f14;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #2b2f38;
  transform: rotate(-4deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 20px;
  background: #0d0f14;
  z-index: 2;
}
.phone__screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--navy-3) 0%, var(--navy) 62%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
  position: relative;
}
.phone__screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: var(--stripes);
}
.phone__screen img {
  width: 58%;
  border-radius: 50%;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.8);
}
.phone__screen strong {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1;
}
.phone__screen span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.booking__content h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
}
.booking__content h3 em {
  color: var(--orange);
  font-style: italic;
}
.booking__content > p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}
.booking .steps {
  margin-top: 24px;
}
.booking .steps li::before {
  background: var(--orange);
  color: var(--navy);
}
.booking .steps span {
  color: rgba(255, 255, 255, 0.72);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.1;
  border: 2px solid #fff;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.store:hover {
  transform: translateY(-2px);
  background: var(--orange);
  border-color: var(--orange);
}
.store .icon {
  width: 28px;
  height: 28px;
}
.store small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.store strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.booking__alt {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}
.alt-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}
.alt-card__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(79, 168, 227, 0.16);
  color: var(--sky);
}
.alt-card__icon .icon {
  width: 28px;
  height: 28px;
}
.alt-card h4 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.alt-card p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.alt-card .btn {
  margin-top: 16px;
}
@media (max-width: 900px) {
  .booking__grid {
    grid-template-columns: 1fr;
  }
  .phone {
    width: min(200px, 52vw);
    border-radius: 34px;
    padding: 9px;
  }
  .phone__screen {
    border-radius: 26px;
    gap: 12px;
  }
  .phone::before {
    top: 16px;
    width: 60px;
    height: 16px;
  }
  .phone__screen strong {
    font-size: 1.05rem;
  }
  .booking__alt {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .store {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Tarifas
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tab {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 46px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tab:hover {
  background: rgba(6, 20, 43, 0.06);
}
.tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.js .tab-panel[hidden] {
  display: none;
}
.tab-panel + .tab-panel {
  margin-top: 56px;
}
.js .tab-panel + .tab-panel {
  margin-top: 0;
}
.panel-title {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}
.js .panel-title {
  display: none;
}

.toggle {
  display: inline-flex;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 44px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--muted);
}
.toggle button[aria-pressed="true"] {
  background: var(--orange);
  color: var(--navy);
}
.toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}
.toggle-wrap p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 560px;
}
.no-js-only {
  display: block;
}
.js .no-js-only {
  display: none;
}
.js-only {
  display: none;
}
.js .js-only {
  display: inline-flex;
}
.js .tabs.js-only,
.js .gallery__nav.js-only {
  display: flex;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plans + .plans-label {
  margin-top: 36px;
}
.plans-label {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
  color: var(--blue);
}
.js .plans-label {
  display: none;
}
.plan {
  --medal: #b87333;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.plan--plata {
  --medal: #9aa6b4;
}
.plan--oro {
  --medal: #d9a400;
}
.plan.is-featured {
  border: 3px solid var(--orange);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan__medal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0 18%, transparent 20%), var(--medal);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.plan h3 {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.plan__type {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.plan__price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.plan__price strong {
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.plan__price span {
  font-weight: 700;
  color: var(--muted);
}
.plan__monthly {
  margin-top: 8px;
  font-weight: 700;
  color: var(--blue);
}
.plan__who {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.plan__who strong {
  color: var(--navy);
}
.plan .btn {
  margin-top: 20px;
}

.fees {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fee {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.fee span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fee strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 900;
}
.fee--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.fee--accent span {
  color: var(--orange);
}
.panel-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.panel-foot p {
  font-size: 0.9rem;
  color: var(--muted);
}

.courts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.court {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.court h3 {
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 4px solid var(--orange);
}
.court dl {
  margin: 0;
  padding: 14px 18px 18px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.court dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.court dd {
  margin: 2px 0 0;
  font-weight: 700;
  line-height: 1.35;
}
.court dd small {
  font-weight: 500;
  color: var(--muted);
}
.court .free {
  color: #157f3b;
}

.pools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pool {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.pool img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.pool__body {
  padding: 22px 24px 24px;
}
.pool h3 {
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.pool__price {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.pool__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.pool__row:last-child {
  border-bottom: 0;
}
.pool__row strong {
  font-weight: 900;
  white-space: nowrap;
}
.pool p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 1000px) {
  .courts {
    grid-template-columns: repeat(2, 1fr);
  }
  .fees {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .plan.is-featured {
    transform: none;
    margin-block: 8px;
  }
  .pools {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .courts,
  .fees {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Horarios
   -------------------------------------------------------------------------- */
.hours-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hours-card {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}
.hours-card.is-current {
  border: 3px solid var(--orange);
}
.hours-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hours-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.hours-card__period {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.hours-card__now {
  display: none;
  flex: none;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.hours-card.is-current .hours-card__now {
  display: inline-block;
}
.hours-card--big h3 {
  font-size: 1.5rem;
}
.hours {
  display: grid;
  gap: 0;
  margin: 0;
}
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.hours div:last-child {
  border-bottom: 0;
}
.hours dt {
  font-weight: 700;
}
.hours dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
}
.hours div.is-today {
  background: rgba(247, 166, 13, 0.14);
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 6px;
}
.hours div.is-today dt::after {
  content: "Hoy";
  display: inline-block;
  margin-left: 8px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}
.hours-card__note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hours-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hours-grid .hours-card {
  box-shadow: none;
  background: var(--bg-soft);
  border-color: transparent;
}
.hours-grid .hours-card h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hours-grid .hours-card h3 .icon {
  color: var(--blue);
}
.hours-grid .hours {
  font-size: 0.92rem;
}

.holidays {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.holidays .hours-card {
  box-shadow: none;
}
.holiday-list {
  list-style: none;
  display: grid;
  gap: 0;
  font-size: 0.93rem;
}
.holiday-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.holiday-list li:last-child {
  border-bottom: 0;
}
.holiday-list span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.holiday-list--closed li {
  justify-content: flex-start;
  font-weight: 700;
}
.holiday-list--closed li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 0.5em;
  flex: none;
}

.posters {
  margin-top: clamp(48px, 6vw, 72px);
}
.posters__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.posters__head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.posters__head p {
  color: var(--muted);
  margin-top: 6px;
}
.posters__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.poster {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  text-decoration: none;
}
.poster__img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.poster__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.poster:hover .poster__img img {
  transform: scale(1.04);
}
.poster__img--wide {
  background: var(--navy);
  display: grid;
  place-items: center;
}
.poster__img--wide img {
  height: auto;
  object-fit: contain;
}
.poster span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.disclaimer {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1000px) {
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posters__list {
    grid-template-columns: repeat(5, 46%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .posters__list li {
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .hours div,
  .holiday-list li {
    flex-direction: column;
    gap: 2px;
  }
  .hours dd,
  .holiday-list span:last-child {
    text-align: left;
  }
  .holiday-list--closed li {
    flex-direction: row;
    gap: 10px;
  }
  .hours-card {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .hours-main,
  .holidays {
    grid-template-columns: 1fr;
  }
  .hours-grid {
    grid-template-columns: 1fr;
  }
  .posters__list {
    grid-template-columns: repeat(5, 70%);
  }
}

/* Visor de imágenes */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
  max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(6, 20, 43, 0.88);
}
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  background: #fff;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #fff;
}
.lightbox__bar strong {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lightbox__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Instalaciones
   -------------------------------------------------------------------------- */
.facilities {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.facilities__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
  background: #fff;
}
.facilities__card h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.facilities__card > p {
  margin-top: 10px;
  color: var(--muted);
}
.facility-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 4px;
}
.facility-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.facility-list li:last-child {
  border-bottom: 0;
}
.facility-list .icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
  margin-top: 2px;
}
.facility-list strong {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.facility-list span {
  font-size: 0.9rem;
  color: var(--muted);
}

.gallery {
  position: relative;
}
.gallery__track {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar {
  display: none;
}
.gallery__track li {
  scroll-snap-align: start;
  position: relative;
}
.gallery__track figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}
.gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__track figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  border-left: 5px solid var(--orange);
}
.gallery__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.gallery__btns {
  display: flex;
  gap: 8px;
}
.gallery__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gallery__btn:hover {
  background: var(--navy);
  color: #fff;
}
.gallery__count {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.activities {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.activities h4 {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
}
.activities .link-arrow {
  margin-top: 16px;
  color: var(--sky);
}

.brochure {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--orange);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}
.brochure img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.brochure h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.brochure p {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 520px;
}
.brochure .btn {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .facilities {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .brochure {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brochure img {
    width: 60%;
    margin-inline: auto;
  }
  .brochure p {
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   Únete (CTA final)
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(80px, 12vw, 150px) clamp(64px, 8vw, 100px);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, var(--navy-3) 0%, var(--navy) 55%);
}
.cta__stripes {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 34px;
  height: 64px;
  background: var(--stripes);
  transform: rotate(-3deg);
}
.cta .container {
  position: relative;
}
.cta__title {
  font-size: clamp(3.2rem, 11vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
}
.cta__title span {
  display: block;
  color: #fff;
  -webkit-text-stroke: 0;
}
.cta__sub {
  margin-top: 18px;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--orange);
}
.cta__main {
  margin-top: 28px;
}
.cta__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: clamp(40px, 6vw, 64px) auto 0;
}
@media (max-width: 640px) {
  .cta__links {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Pie / contacto
   -------------------------------------------------------------------------- */
.footer {
  background: #030c1b;
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(56px, 7vw, 80px) 28px;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h2 {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer__brand img {
  width: 240px;
}
.footer__brand p {
  margin-top: 14px;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.social a:hover {
  background: var(--orange);
  color: var(--navy);
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-list .icon {
  color: var(--orange);
  margin-top: 3px;
}
.contact-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.contact-list a:hover {
  text-decoration: underline;
}
.contact-list small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}
.footer .hours dt {
  color: #fff;
  font-weight: 600;
}
.footer .hours dd {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.footer .hours div {
  border-color: rgba(255, 255, 255, 0.12);
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}
.footer .hours dd {
  text-align: left;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer__logos {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  align-items: center;
}
.footer__seal {
  width: 92px;
}
.footer__funding {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.footer__funding img {
  width: 100%;
}
.sponsors {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.sponsors__label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.sponsor {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  transition: transform 0.15s ease;
}
a.sponsor:hover {
  transform: translateY(-2px);
}
.sponsors img {
  height: 40px;
  width: auto;
}
.footer__bottom {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__logos {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Páginas legales
   -------------------------------------------------------------------------- */
.legal {
  padding-block: clamp(48px, 7vw, 88px);
}
.legal .container {
  max-width: calc(860px + var(--gutter) * 2);
}
.legal h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 36px 0 12px;
  color: var(--blue);
}
.legal p,
.legal ul {
  margin-bottom: 12px;
  color: #2b3a52;
}
.legal ul {
  padding-left: 1.4em;
}
.legal a {
  color: var(--blue);
  font-weight: 600;
}
.legal img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-top: 12px;
}
.legal .back {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Animación de entrada
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
