/* Inicio de Arena Castell: la cancha primero, el torneo como destino propio. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
body[data-page="home"] {
  --font: "Manrope", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --bg: #0c0e0f;
  --surface: #17191b;
  --surface2: #25282a;
  --line: #42474a;
  --text: #f5f4f1;
  --muted: #bdc1c1;
  --accent: #e1e2df;
  --accent-soft: #f2f1ec;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body[data-page="home"] .site-header { background: #0c0e0f; border-color: #373b3e; }
body[data-page="home"] .nav-wrap { min-height: 88px; }
body[data-page="home"] .brand strong { font-family: "Manrope", "Segoe UI", sans-serif; font-weight: 800; letter-spacing: .035em; }
body[data-page="home"] .main-nav { gap: 24px; }
body[data-page="home"] .main-nav a {
  min-height: 44px;
  padding-block: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}
body[data-page="home"] .main-nav a[aria-current="page"]::after {
  right: auto;
  bottom: 2px;
  left: 50%;
  width: 36px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #fff 28%, #fff 72%, transparent);
  box-shadow: 0 2px 9px rgba(244, 245, 245, .58);
}
html.auth-pending [data-account-link] { visibility: hidden; }
body[data-page="home"] .eyebrow { color: #c9ccca; letter-spacing: .15em; font-weight: 700; }
body[data-page="home"] h1,
body[data-page="home"] h2 { font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif; }
body[data-page="home"] .btn {
  min-height: 49px;
  padding: 12px 21px;
  border: 1px solid #e5e5e2;
  border-radius: 5px;
  background: #e5e5e2;
  color: #17191a;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}
body[data-page="home"] .btn:hover { background: #fff; border-color: #fff; }
body[data-page="home"] .btn.secondary { background: #1c2022; border-color: #838b8e; color: #f3f3f1; }
body[data-page="home"] .btn.secondary:hover { background: #303538; border-color: #d5d8d6; }
body[data-page="home"] .text-link { color: #e5e8e6; font-size: 14px; }
body[data-page="home"] .site-footer { padding-bottom: 60px; background: #0a0c0d; border-color: #383d3e; }
body[data-page="home"] a:focus-visible,
body[data-page="home"] button:focus-visible { outline: 3px solid #e9ece9; outline-offset: 4px; }

/* Presentación de la cancha. */
body[data-page="home"] .hero {
  border-bottom: 1px solid #353b3d;
  background: radial-gradient(circle at 74% 34%, #283035 0%, #111516 40%, #0c0e0f 76%);
}
body[data-page="home"] .hero::before { background: none; }
body[data-page="home"] .hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 84px);
  min-height: 0;
  padding-block: clamp(44px, 6vw, 86px);
}
body[data-page="home"] .hero-copy { padding: 0; }
body[data-page="home"] .hero-copy .eyebrow { margin-bottom: 25px; }
body[data-page="home"] .hero-copy h1 {
  max-width: 700px;
  margin: 0 0 25px;
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 800;
}
body[data-page="home"] .hero-copy .home-hero-lead {
  max-width: 560px;
  margin: 0 0 34px;
  color: #d1d5d4;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}
body[data-page="home"] .home-court-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 630px;
  margin: 0 0 32px;
  padding: 21px 0 0;
  border-top: 1px solid #474e50;
  list-style: none;
}
body[data-page="home"] .home-court-facts li { min-width: 0; }
body[data-page="home"] .home-court-facts strong,
body[data-page="home"] .home-court-facts span { display: block; }
body[data-page="home"] .home-court-facts strong { font-size: 14px; line-height: 1.4; }
body[data-page="home"] .home-court-facts span { margin-top: 5px; color: #adb5b6; font-size: 12px; line-height: 1.4; }
body[data-page="home"] .hero-photo { padding: 0; }
body[data-page="home"] .hero-photo img {
  height: clamp(420px, 40vw, 560px);
  border: 1px solid #626c6e;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 25px 60px #0008;
}
body[data-page="home"] .hero-photo figcaption { padding: 10px 0 0; color: #aeb7b8; font-size: 12px; }

/* Torneo y escuela comparten escala, fotografía y jerarquía. */
body[data-page="home"] .home-programs { padding: clamp(52px, 6vw, 82px) 0; }
body[data-page="home"] .home-programs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
body[data-page="home"] .home-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #495154;
  border-radius: 12px;
  background: linear-gradient(150deg, #202729, #171b1d 62%, #111516);
  box-shadow: 0 18px 42px #0003;
}
body[data-page="home"] .home-feature-photo { position: relative; height: clamp(215px, 21vw, 285px); margin: 0; overflow: hidden; }
body[data-page="home"] .home-feature-photo::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #1d2326);
  pointer-events: none;
}
body[data-page="home"] .home-feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
body[data-page="home"] .home-feature:nth-child(2) .home-feature-photo img { object-position: center 42%; }
body[data-page="home"] .home-feature-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 36px); }
body[data-page="home"] .home-feature .eyebrow { margin-bottom: 16px; }
body[data-page="home"] .home-feature h2 { margin: 0 0 14px; font-size: clamp(28px, 2.8vw, 39px); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; }
body[data-page="home"] .home-feature-copy > p:not(.eyebrow) { max-width: 500px; margin: 0 0 29px; color: #c7cdcc; font-size: 15px; line-height: 1.7; }
body[data-page="home"] .home-feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 45px;
  margin-top: auto;
  padding: 10px 0;
  border-bottom: 1px solid #96a2a3;
  color: #f2f4f1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
body[data-page="home"] .home-feature-link:hover { border-color: #fff; color: #fff; }

/* Ubicación y contacto completan la visita. */
body[data-page="home"] .home-visit h2 { margin: 0 0 14px; font-size: clamp(29px, 3vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
body[data-page="home"] .home-visit p:not(.eyebrow) { max-width: 520px; margin: 0 0 20px; color: #c4caca; font-size: 15px; line-height: 1.7; }
body[data-page="home"] .home-visit .eyebrow { margin-bottom: 16px; }
body[data-page="home"] .home-visit { padding-block: clamp(55px, 6vw, 88px); border-top: 1px solid #353b3d; background: #131718; }
body[data-page="home"] .home-visit-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 6vw, 80px); }
body[data-page="home"] .home-visit-links { display: flex; flex-wrap: wrap; gap: 16px 26px; }
body[data-page="home"] .map-frame { min-height: 300px; border-color: #525b5d; }
body[data-page="home"] .map-placeholder { display: grid; place-items: center; text-align: center; padding: 30px; background: linear-gradient(140deg, #202728, #101415); }
body[data-page="home"] .map-placeholder div { display: grid; justify-items: center; gap: 12px; }
body[data-page="home"] .map-placeholder strong { font-size: 24px; letter-spacing: .08em; }
body[data-page="home"] .map-placeholder span { color: #d0d4d3; }
body[data-page="home"] .map-placeholder small { color: #b9c0bd; }

@media (max-width: 820px) {
  body[data-page="home"] .main-nav { background: #141718; }
  body[data-page="home"] .nav-wrap { min-height: 82px; }
  body[data-page="home"] .hero-layout,
  body[data-page="home"] .home-visit-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .hero-layout { gap: 30px; }
  body[data-page="home"] .hero-photo img { height: 410px; }
}
@media (max-width: 560px) {
  body[data-page="home"] .hero-layout { padding-block: 44px 36px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(41px, 10vw, 54px); }
  body[data-page="home"] .hero-copy .home-hero-lead { margin-bottom: 26px; }
  body[data-page="home"] .home-court-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; }
  body[data-page="home"] .hero-copy .actions .btn { flex: 1 1 100%; justify-content: center; font-size: 13px; }
  body[data-page="home"] .hero-photo img { height: 340px; }
  body[data-page="home"] .home-programs-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body[data-page="home"] .home-feature-photo { height: 205px; }
}
body[data-page="home"] .home-october-promo { position: relative; isolation: isolate; overflow: hidden; max-width: 620px; margin: -2px 0 25px; padding: clamp(23px, 3vw, 34px); border: 1px solid #c3a25a; border-radius: 16px; background: radial-gradient(circle at 94% 8%, #1c3b2b 0%, transparent 48%), linear-gradient(145deg, #151c1d, #0b1011 76%); box-shadow: inset 0 1px 0 #f5d88a55, 0 22px 50px #0009; }
body[data-page="home"] .home-october-promo[hidden] { display: none; }
body[data-page="home"] .home-october-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: #f0ca70; font-family: "Oswald", Impact, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .16em; }
body[data-page="home"] .home-october-topline span:last-child { padding: 5px 9px; border: 1px solid #50885d; border-radius: 4px; background: #183625; color: #e6f5e8; font-size: 12px; }
body[data-page="home"] .home-october-promo .home-october-title { margin: 22px 0 0; color: #fff; font-family: "Oswald", Impact, sans-serif; font-size: clamp(27px, 3vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: .025em; }
body[data-page="home"] .home-october-price { display: flex; align-items: baseline; gap: 5px; margin: -8px 0 0; color: #f8f8f3; font-family: "Oswald", Impact, sans-serif; font-variant-numeric: lining-nums tabular-nums; line-height: 1; text-shadow: 0 5px 22px #0009; }
body[data-page="home"] .home-october-price strong { font-size: clamp(94px, 11vw, 150px); font-weight: 700; letter-spacing: -.07em; }
body[data-page="home"] .home-october-currency { align-self: flex-start; padding-top: 27px; color: #f4c653; font-size: clamp(44px, 5vw, 70px); }
body[data-page="home"] .home-october-unit { align-self: flex-end; padding: 0 0 14px 13px; color: #e0ece2; font-size: clamp(19px, 2.2vw, 30px); font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
body[data-page="home"] .home-october-promo .home-october-detail { margin: 0 0 21px; color: #e3e9e3; font-size: 16px; font-weight: 700; }
body[data-page="home"] .home-october-detail s { color: #adb9af; font-weight: 500; }
body[data-page="home"] .home-october-cta { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 58px; padding: 12px 19px; border-radius: 7px; background: linear-gradient(100deg, #f8d978, #d8a940); color: #111713; box-shadow: 0 5px 20px #0007; font-family: "Oswald", Impact, sans-serif; font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: .03em; text-decoration: none; }
body[data-page="home"] .home-october-cta:hover { background: #ffe39a; color: #101410; transform: translateY(-2px); }
body[data-page="home"] .home-october-promo .home-october-validity { margin: 13px 0 0; color: #aebbb0; font-size: 12px; line-height: 1.4; }
@media (max-width: 560px) {
  body[data-page="home"] .home-october-promo { margin-top: 0; padding: 21px; }
  body[data-page="home"] .home-october-price strong { font-size: clamp(88px, 25vw, 120px); }
  body[data-page="home"] .home-october-currency { padding-top: 19px; font-size: 43px; }
  body[data-page="home"] .home-october-unit { padding: 0 0 11px 5px; font-size: 19px; }
}

/* Datos útiles y accesos rápidos sin ampliar el costo de infraestructura. */
body[data-page="home"] .home-hero-specs { display: inline-block; margin: 0 0 19px; padding: 8px 13px; border: 1px solid #607c6c; border-radius: 999px; color: #e5f1e8; background: #183025; font-size: 13px; font-weight: 700; line-height: 1.5; }
body[data-page="home"] .home-october-validity strong { color: #f8d978; }
body[data-page="home"] .home-quick-booking { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; max-width: 630px; margin: 0 0 28px; }
body[data-page="home"] .home-quick-booking > span { flex-basis: 100%; color: #d6ded8; font-size: 13px; font-weight: 700; }
body[data-page="home"] .home-quick-booking a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 13px; border: 1px solid #738779; border-radius: 6px; color: #f2f6f0; background: #19251e; font-size: 13px; font-weight: 700; text-decoration: none; }
body[data-page="home"] .home-quick-booking a:hover { border-color: #c4d3c7; background: #263a2d; }
body[data-page="home"] .home-quick-booking a[hidden] { display: none; }
body[data-page="home"] .home-amenities { padding: clamp(44px, 5vw, 70px) 0; border-bottom: 1px solid #353b3d; background: #111617; }
body[data-page="home"] .home-section-heading { margin-bottom: 22px; }
body[data-page="home"] .home-section-heading .eyebrow { margin-bottom: 9px; }
body[data-page="home"] .home-section-heading h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
body[data-page="home"] .home-amenities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
body[data-page="home"] .home-amenities-grid li { min-width: 0; padding: 22px; border: 1px solid #424f4b; border-radius: 10px; background: #1b2422; }
body[data-page="home"] .home-amenities-grid strong, body[data-page="home"] .home-amenities-grid span { display: block; }
body[data-page="home"] .home-amenities-grid strong { margin-bottom: 8px; color: #f3f6ee; font-size: 15px; }
body[data-page="home"] .home-amenities-grid span { color: #c5cfca; font-size: 13px; line-height: 1.55; }
body[data-page="home"] .home-whatsapp-shortcut { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 13px; border: 1px solid #78b78a; border-radius: 999px; background: #153d27; color: #fff; box-shadow: 0 9px 24px #0009; font-size: 13px; font-weight: 700; text-decoration: none; }
body[data-page="home"] .home-whatsapp-shortcut:hover { background: #206237; }
body[data-page="home"] .home-whatsapp-shortcut img { display: block; width: 27px; height: 27px; object-fit: contain; }
@media (max-width: 820px) { body[data-page="home"] .home-amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  body[data-page="home"] .home-amenities-grid { gap: 9px; }
  body[data-page="home"] .home-amenities-grid li { padding: 15px; }
  body[data-page="home"] .home-hero-specs { font-size: 12px; }
  body[data-page="home"] .home-whatsapp-shortcut { right: 12px; bottom: 12px; padding: 9px; }
  body[data-page="home"] .home-whatsapp-shortcut span { display: none; }
}
