body,
html {
  background: var(--cd-bg);
  color: var(--cd-text);
}

.home-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
}

.muted {
  color: var(--cd-muted);
}

.subtitle {
  color: var(--cd-muted);
  font-size: 16px;
  margin: 0;
}

.meta {
  color: var(--cd-muted);
  font-size: 13px;
  margin: 4px 0 0;
}

/* hero */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(120deg, var(--cd-panel), var(--cd-contrast));
  box-shadow: var(--cd-shadow);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.hero-slide.has-copy .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 6, 10, 0.72), rgba(5, 6, 10, 0.25));
}

.hero-copy {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10%;
  max-width: 780px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy h2 {
  margin: 10px 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.18rem;
}

.hero-copy .subtitle,
.hero-copy .eyebrow {
  color: #e8ecf5;
}

.hero-cta {
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  margin-top: 20px;
}

.hero-cta::before,
.hero-cta::after {
  display: none;
}

.pricing-card .hero-cta {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
}


.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.hero-dots .dot {
  width: 28px;
  height: 4px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--cd-motion);
}

.hero-dots .dot.is-active {
  background: var(--cd-accent);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255, 70, 85, 0.15), transparent 38%),
    radial-gradient(circle at 80% 40%, rgba(255, 189, 17, 0.12), transparent 32%);
  mix-blend-mode: screen;
}

/* tokens */
/* info */
.seccion-2 {
  padding-top: 60px;
  background: var(--cd-bg);
  color: var(--cd-text);
}

.text-countdown {
  display: inline-block;
  color: var(--cd-accent);
  font-size: 42px;
}

/* section base */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h3 {
  margin: 6px 0 0;
  font-family: title, sans-serif;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(30px, 4.4vw, 42px);
}

.game-slider {
  position: relative;
  overflow: visible;
  padding: 6px 0 10px;
}

.game-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 28vw);
  gap: 18px;
  padding: 0 8px;
  margin: 0 -8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.game-track::-webkit-scrollbar {
  display: none;
}

.game-slider .game-card {
  width: 100%;
  scroll-snap-align: start;
}

.game-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cd-border);
  background: var(--cd-panel);
  color: var(--cd-text);
  display: grid;
  place-items: center;
  box-shadow: var(--cd-shadow);
  cursor: pointer;
  transition: all var(--cd-motion);
  z-index: 5;
}

.game-nav-btn:hover {
  border-color: var(--cd-accent);
  color: var(--cd-accent);
}

.game-nav-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.game-nav-btn.prev {
  left: -6px;
}

.game-nav-btn.next {
  right: -6px;
}

.game-nav-btn span {
  font-size: 20px;
  line-height: 1;
}

.games {
  background: var(--cd-bg);
}

.games .section-head {
  justify-content: center;
}

.games,
.reserve {
  padding-top: 60px;
}

.pricing {
  padding-top: 60px;
}

.locations {
  padding-top: 60px;
}

.locations.container-wide {
  max-width: 1100px;
}

.locations-head {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.locations-head .eyebrow {
  text-align: center;
}

.location-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.location-tab {
  padding: 10px 14px;
  border: 1px solid var(--cd-border);
  border-radius: 12px;
  background: var(--cd-contrast);
  color: var(--cd-text);
  cursor: pointer;
  transition: all var(--cd-motion);
  font-family: subtitle, sans-serif;
  letter-spacing: 0.08rem;
}

.location-tab.is-active {
  border-color: var(--cd-accent);
  color: var(--cd-accent);
  background: rgba(255, 70, 85, 0.12);
}

.location-panels {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.location-panel {
  display: none;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 12px;
}

.location-panel.is-active {
  display: grid;
}

.location-panel .location-media {
  grid-column: 1 / -1;
}

.location-panel .location-body {
  grid-column: 1;
}

.location-panel .map-container {
  grid-column: 2;
  margin: 0 10px 12px;
}

.embed-map-display {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--cd-border);
  min-height: 220px;
}

@media (max-width: 820px) {
  .location-panel {
    grid-template-columns: 1fr;
  }

  .location-panel .location-media,
  .location-panel .location-body,
  .location-panel .map-container {
    grid-column: 1;
  }
}

.map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-blurb {
  margin: 8px 0 6px;
  color: var(--cd-muted);
}

.pricing-head {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pricing-head .eyebrow {
  text-align: center;
}

/* game cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.game-card {
  background: var(--cd-panel);
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--cd-shadow);
  transition: transform var(--cd-motion), border-color var(--cd-motion), box-shadow var(--cd-motion);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.4);
  box-shadow: var(--cd-shadow), 0 12px 36px var(--cd-card-glow);
}

.game-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.game-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0), rgba(10, 12, 18, 0.85));
  color: #ffffff;
  display: grid;
}

.game-overlay h4 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.game-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}

.game-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-local {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.game-stars {
  display: inline-flex;
  align-items: center;
}

.game-action {
  padding: 0;
  background: var(--cd-panel);
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--cd-border);
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  background: #d7263d;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  transition: background var(--cd-motion), color var(--cd-motion), border-color var(--cd-motion);
  width: 100%;
}

.explore-btn:hover {
  background: #b61f33;
}

.game-media .chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--cd-chip);
  border-color: var(--cd-border);
  color: #fff;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chip.ghost {
  position: static;
  background: var(--cd-chip-muted);
  border-color: var(--cd-border);
  color: var(--cd-text);
  margin: 0 6px 6px 0;
}

.game-body {
  padding: 14px 16px 18px;
}

.game-body h4 {
  margin: 6px 0;
}


/* reservar */
.reserve {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--cd-bg);
}

.reserve .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.reserve .section-head .eyebrow {
  text-align: center;
}

.reserve .section-head h3 {
  font-family: title, sans-serif;
  letter-spacing: 0.18rem;
  text-align: center;
  margin: 0;
}

.reserve-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.date-switch {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cd-border);
  background: var(--cd-contrast);
  color: var(--cd-text);
  cursor: pointer;
  transition: all var(--cd-motion);
  font-family: subtitle, sans-serif;
  letter-spacing: 0.08rem;
}

.pill.is-active {
  border-color: var(--cd-accent);
  background: rgba(255, 70, 85, 0.14);
  color: var(--cd-accent);
}

.calendar-input {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid var(--cd-border);
  background: var(--cd-panel);
  color: var(--cd-text);
}

.local-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--cd-border);
  border-radius: 0;
  overflow: hidden;
  background: var(--cd-panel);
}

.local-switch .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border: 0;
  border-right: 1px solid var(--cd-border);
  border-radius: 0;
  background: transparent;
  padding: 10px 16px;
}

.local-switch .pill:last-child {
  border-right: 0;
}

.local-switch .pill.is-active {
  background: #d7263d;
  color: #ffffff;
}

.local-switch .pill:hover {
  background: rgba(215, 38, 61, 0.12);
  color: #d7263d;
}

.reserve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.reserve-card {
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: var(--cd-panel);
  padding: 0;
  box-shadow: var(--cd-shadow);
  overflow: hidden;
}

.reserve-card.is-hidden {
  display: none;
}

.reserve-header {
  display: block;
  position: relative;
}

.reserve-header img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

.reserve-body {
  padding: 14px 16px 16px;
}

.reserve-body h4 {
  margin: 0;
}

/* tarifas */
.pricing-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.pricing-card {
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: var(--cd-panel);
  padding: 20px;
  box-shadow: var(--cd-shadow);
}

.pricing-card.secondary {
  background: linear-gradient(140deg, var(--cd-panel), var(--cd-contrast));
}

.pricing-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.pricing-card th,
.pricing-card td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--cd-border);
}

.pricing-head h4 {
  margin: 0;
}

.pricing-card ul {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--cd-muted);
}

/* sedes */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}

.location-card {
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cd-panel);
  box-shadow: var(--cd-shadow);
}

.location-media {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cd-contrast);
  border-radius: 12px 12px 0px 0px;
  overflow: hidden;
  grid-column: 1 / 4;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.location-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cd-border);
  background: var(--cd-contrast);
  display: grid;
  place-items: center;
  transition: all var(--cd-motion);
}

.icon-btn:hover {
  border-color: var(--cd-accent);
  background: rgba(255, 70, 85, 0.12);
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
}

.icon-whatsapp {
  background-image: url('../recursos/png/socials/whatsapp.png');
}

@media (max-width: 960px) {
  .hero-copy {
    padding: 0 28px;
    bottom: 12%;
  }

  .hero-copy h2 {
    font-size: 32px;
  }

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

}

@media (min-width: 768px) {
  .reserve-filters {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .reserve-filters .date-switch {
    justify-content: flex-start;
  }

  .reserve-filters .local-switch {
    justify-content: flex-end;
  }
}

body.sede-page .date-switch {
  justify-content: center;
}

@media (min-width: 768px) {
  body.sede-page .reserve-filters {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.sede-page .reserve-filters .date-switch {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .home-shell {
    gap: 56px;
  }

  .section-head {
    flex-direction: column;
    align-items: center;
  }

  .hero-slider {
    min-height: 60vh;
  }

  .hero-copy {
    bottom: 10%;
  }

  .nav-cta,
  .button-ghost,
  .slot,
  .pill {
    width: auto;
    min-width: 0;
    text-align: center;
  }

  .pricing-card .hero-cta {
    margin-top: 16px;
  }
}

/* sede pages */
.sede-page {
  background: var(--cd-bg);
  color: var(--cd-text);
}

main.sede-page {
  padding-top: 84px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.sede-locations .locales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sede-locations .opcion-local {
  border: 1px solid var(--cd-border);
  border-radius: 16px;
  background: var(--cd-panel);
  box-shadow: var(--cd-shadow);
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--cd-motion), border-color var(--cd-motion);
  overflow: hidden;
}

.sede-locations .opcion-local:hover {
  transform: translateY(-2px);
  border-color: var(--cd-accent);
}

.sede-locations .local-media {
  height: 160px;
  background: var(--cd-contrast);
}

.sede-locations .local-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sede-locations .opcion-local .local-text {
  padding: 16px;
}

.sede-locations .opcion-local .local-text h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.sede-locations .opcion-local .local-text p {
  margin: 0 0 12px;
  color: var(--cd-muted);
}

.sede-locations .btn-elegir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--cd-border);
  background: var(--cd-contrast);
  color: var(--cd-text);
  font-size: 12px;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  cursor: pointer;
}

.sede-locations .opcion-local.local-seleccionado {
  border-color: var(--cd-accent);
}

.sede-locations .opcion-local.local-seleccionado .btn-elegir {
  background: rgba(255, 70, 85, 0.14);
  border-color: var(--cd-accent);
  color: var(--cd-accent);
}

@media (max-width: 900px) {
  main.sede-page {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  main.sede-page {
    gap: 40px;
  }

  .sede-locations .locales-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 80vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding: 4px 4px 12px;
    margin: 0 -4px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sede-locations .locales-grid::-webkit-scrollbar {
    display: none;
  }

  .sede-locations .opcion-local {
    scroll-snap-align: start;
  }
}

