/* ═══════════════════════════════════════════════════════════════
   FRONTAL — Stylesheet
   ───────────────────────────────────────────────────────────────
   01. Variables & Reset
   02. Intro Overlay
   03. Custom Cursor
   04. Header & Navigation
   05. Mobile Navigation
   06. Hero Section
   07. Court Widget (hero-right)
   08. Buttons
   09. Marquee
   10. Section Base
   11. Cómo Funciona
   12. Info
   13. Community Strip
   14. Turnos
   15. Turno Cards — tc-airy system
   16. Comunidad
   17. Footer
   18. Reveal Animation
   19. Modals
   20. Responsive — min-width: 901px
   21. Responsive — max-width: 900px
   22. Responsive — max-width: 580px
═══════════════════════════════════════════════════════════════ */


/* ══ 01. VARIABLES & RESET ══════════════════════════════════════ */

body {
  cursor: none;
}

body.intro-loading {
  overflow: hidden;
}

.page-wrap {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}


/* ══ 02. INTRO OVERLAY ══════════════════════════════════════════ */

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.3, 1), visibility 1.2s;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay.fade-out .intro-container {
  transform: scale(0.92);
  opacity: 0;
}

.intro-container {
  width: 90%;
  max-width: 600px;
  aspect-ratio: 16/9;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1), opacity 1s ease;
}


/* ══ 03. CUSTOM CURSOR ══════════════════════════════════════════ */

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform .15s;
}

.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(206, 220, 61, .4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}

@media (pointer: coarse) {
  body,
  .day-btn {
    cursor: auto !important;
  }

  .cursor,
  .cursor-ring {
    display: none !important;
  }
}


/* ══ 04. HEADER & NAVIGATION ════════════════════════════════════ */

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8, 8, 8, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.nav-toggle {
  display: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
  height: 30px;
  flex-shrink: 0;
}

.logo-wrap svg {
  height: 26px;
  width: auto;
  max-width: 100%;
  display: block;
}

nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  margin-left: 36px;
  transition: color .2s;
}

nav a:hover {
  color: var(--accent);
}


/* ══ 05. MOBILE NAVIGATION ══════════════════════════════════════ */

.mobile-nav-divider {
  display: none;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 16px 0 8px;
}

.mobile-nav-community-cta {
  display: none !important;
  align-items: center;
  gap: 10px;
  color: #25D366 !important;
  border-bottom: none !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.04em !important;
  text-transform: capitalize !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-community-cta:hover {
  color: #1da851 !important;
  padding-left: 6px !important;
}

.mobile-nav-community-cta svg {
  flex-shrink: 0;
}

.mobile-nav-social {
  display: none;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  justify-content: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.mobile-nav-social a {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-sizing: border-box;
}

.mobile-nav-social a:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  padding-left: 0 !important;
}

.mobile-nav-social a svg {
  display: block;
}


/* ══ 06. HERO SECTION ═══════════════════════════════════════════ */

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 50px 48px;
  z-index: 2;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 340px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-right {
  position: relative;
  background: var(--gray-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(206, 220, 61, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}


/* ══ 07. COURT WIDGET ═══════════════════════════════════════════ */

.sport-widget {
  position: relative;
  width: 900px;
  height: 660px;
  flex-shrink: 0;
  transform-origin: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/textura.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.court-wrap {
  position: absolute;
  left: 270px;
  top: 60px;
  width: 362px;
  height: 542px;
  z-index: 1;
}

.court {
  position: relative;
  width: 362px;
  height: 542px;
}

.line {
  position: absolute;
  background-color: var(--line-color, #333333);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.court:hover .line {
  background-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 0 10px rgba(212, 255, 0, 0.1);
}

/* Court boundary & grid lines */
.b-top    { top: 0;     left: 0;     width: 362px; height: 2px; }
.b-bottom { top: 540px; left: 0;     width: 362px; height: 2px; }
.b-left   { top: 0;     left: 0;     width: 2px;   height: 542px; }
.b-right  { top: 0;     left: 360px; width: 2px;   height: 542px; }

.v-center { top: 0; left: 180px; width: 1px; height: 542px; opacity: 0.4; background-color: rgba(255, 255, 255, 0.7); }

.h-1 { top: 90px;  left: 0; width: 362px; height: 2px; opacity: 0.25; }
.h-2 { top: 180px; left: 0; width: 362px; height: 2px; opacity: 0.25; }
.h-3 { top: 270px; left: 0; width: 362px; height: 1px; opacity: 0.4; background-color: rgba(255, 255, 255, 0.7); }
.h-4 { top: 360px; left: 0; width: 362px; height: 2px; opacity: 0.25; }
.h-5 { top: 450px; left: 0; width: 362px; height: 2px; opacity: 0.25; }

.court-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--line-color, #333333);
  border-radius: 50%;
  left: 130px;
  top: 220px;
  transition: border-color 0.3s ease;
}

.court:hover .court-circle {
  border-color: rgba(212, 255, 0, 0.4);
}

.court-triangle {
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background-color: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 2;
}

.ball {
  position: absolute;
  width: 12.6px;
  height: 12.6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  top: 0;
  left: 0;
  will-change: transform;
  z-index: 3;
}

.hero-stat {
  position: absolute;
  bottom: 60px;
  right: 100px;
  text-align: right;
  z-index: 1;
}

.hero-stat .n {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--accent);
}

.hero-stat .l {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #777;
  display: block;
  margin-top: 5px;
}

.hero-days {
  position: absolute;
  top: 60px;
  left: 100px;
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  z-index: 1;
}


/* ══ 08. BUTTONS ════════════════════════════════════════════════ */

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 220, 61, .25);
}

.btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .65;
  transition: opacity .2s;
}

.btn-ghost:hover {
  opacity: 1;
}

.btn-ghost svg {
  transition: transform .2s;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-community {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 16px 36px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .25s ease;
}

.btn-community:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: #25D366;
  color: white;
  padding: 19px 46px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .3);
}


/* ══ 09. MARQUEE ════════════════════════════════════════════════ */

.marquee-wrap {
  background: var(--accent);
  padding: 13px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 14s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.marquee-item::after {
  content: '◆';
  font-size: .45rem;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ══ 10. SECTION BASE ═══════════════════════════════════════════ */

section {
  padding: 110px 48px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}


/* ══ 11. CÓMO FUNCIONA ══════════════════════════════════════════ */

.como-section {
  background: var(--gray-dark);
}

.pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.paso {
  background: var(--gray-mid);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.paso::after {
  content: attr(data-n);
  position: absolute;
  right: 10px;
  bottom: -5px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5.5rem;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
}

.paso-icon {
  width: 46px;
  height: 46px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.paso-icon svg {
  color: var(--black);
}

.paso h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.paso p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.62;
}


/* ══ 12. INFO SECTION ═══════════════════════════════════════════ */

.info-section {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.info-text .section-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.info-text p {
  color: var(--gray-light);
  font-size: .97rem;
  line-height: 1.82;
  margin-bottom: 44px;
  max-width: 430px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-card {
  background: var(--gray-mid);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height .4s;
}

.info-card:hover::before {
  height: 100%;
}

.info-card .n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.info-card .d {
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light);
}


/* ══ 13. COMMUNITY STRIP ════════════════════════════════════════ */

.community-court-section {
  position: relative;
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 48px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: none;
}

.community-court-section:hover {
  background: #131313;
  border-top-color: rgba(12, 140, 233, 0.2);
  border-bottom-color: rgba(12, 140, 233, 0.2);
}

.community-court-section:hover .court-headline {
  color: var(--white);
}

.community-court-section:hover .court-btn {
  background: var(--white);
  color: var(--black);
}

.court-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(12, 140, 233, 0.015) 1px, transparent 1px);
  background-size: 8.333% 100%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.community-court-section:hover .court-grid-lines {
  background-image: linear-gradient(to right, rgba(12, 140, 233, 0.03) 1px, transparent 1px);
}

.court-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  z-index: 2;
}

.court-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.court-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0C8CE9;
}

.court-headline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

.court-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-light);
  max-width: 620px;
  line-height: 1.4;
  margin: 0;
}

.court-action {
  flex-shrink: 0;
}

.court-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #0C8CE9;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(12, 140, 233, 0.15);
}

.court-btn:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

.court-btn svg {
  transition: transform 0.3s ease;
}

.court-btn:hover svg {
  transform: translateX(4px);
}


/* ══ 14. TURNOS ══════════════════════════════════════════════════ */

#turnos {
  background: var(--gray-dark);
  padding: 110px 48px;
}

.turnos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 28px;
}

/* Day selector — supports dynamic days with horizontal scroll on mobile */
.day-selector-wrap {
  display: flex;
  flex-direction: column;
}

.mobile-day-label {
  display: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.day-selector {
  display: flex;
  gap: 2px;
  background: var(--black);
  padding: 4px;
  flex-wrap: wrap;
  max-width: 100%;
}

.day-btn .day-short,
.day-mobile-card,
.mobile-day-picker-trigger,
.day-picker-overlay { 
  display: none; 
}

.day-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 11px 30px;
  border: none;
  background: transparent;
  color: var(--gray-light);
  cursor: none;
  transition: all .2s;
  white-space: nowrap;
}

.day-btn.active {
  background: var(--accent);
  color: var(--black);
}

/* Firebase / data source connector bar */
.sheets-bar {
  display: none !important;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 18px 24px;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  transition: border-color .2s;
}

.sheets-bar:hover {
  border-color: rgba(206, 220, 61, .2);
}

.sheets-icon-wrap {
  flex-shrink: 0;
}

.sheets-info {
  flex: 1;
  min-width: 0;
}

.sheets-info strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 3px;
}

.sheets-info span {
  font-size: .77rem;
  color: var(--gray-light);
}

.sheets-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid;
  transition: all .3s;
}

.sheets-badge.ok {
  color: var(--libre);
  border-color: rgba(57, 255, 106, .3);
  background: rgba(57, 255, 106, .07);
}

.sheets-badge.loading {
  color: var(--gray-light);
  border-color: rgba(136, 136, 136, .3);
  background: transparent;
}

.sheets-badge.error {
  color: var(--señado);
  border-color: rgba(255, 140, 0, .3);
  background: rgba(255, 140, 0, .07);
}

.sheets-badge.demo {
  color: var(--en-charla);
  border-color: rgba(0, 194, 255, .3);
  background: rgba(0, 194, 255, .07);
}

.blink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.blink-dot.pulse {
  animation: blink 1.8s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

/* Legend */
.legend {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Turnos grid */
.turnos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Base card */
.tc {
  background: var(--gray-mid);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}

.tc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.tc.libre::before     { background: var(--libre); }
.tc.en-charla::before { background: var(--en-charla); }
.tc.señado::before    { background: var(--señado); }
.tc.reservado::before { background: var(--reservado); }

.tc.no-disponible {
  opacity: 0.4;
}

.tc.no-disponible::before {
  background: var(--no-disponible);
}

.tc.libre:hover,
.tc.en-charla:hover {
  transform: translateY(-3px);
}


/* ══ 15. TURNO CARDS — tc-airy system ══════════════════════════ */

.tc.tc-airy {
  background: linear-gradient(145deg, #161616, #0e0e0e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease;
  /* GPU compositing fix — prevents rendering artifacts on low-end Mali GPUs */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* Color strip (left border via .tc::before) */
.tc.tc-airy::before {
  width: 3px;
}

.tc.libre.tc-airy:hover,
.tc.en-charla.tc-airy:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.03);
}

/* ═══════════════════════════════════════════════════════════════
   NOCTURNO — Nighttime Stadium Floodlight Aesthetic
   Evokes the warm amber glow of stadium reflectors against
   a deep indigo night sky. Premium slots: the lights are on.
   ═══════════════════════════════════════════════════════════════ */

/* Floodlight shimmer — gentle pulse along the card's top edge */
@keyframes floodlightShimmer {
  0%, 100% {
    opacity: 0.45;
    background-position: -200% 0;
  }
  50% {
    opacity: 0.8;
    background-position: 200% 0;
  }
}

/* Slow ambient glow pulse on the card body */
@keyframes ambientGlow {
  0%, 100% { box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7),
                          0 0 25px rgba(206, 220, 61, 0.04),
                          inset 0 1px 0 rgba(206, 220, 61, 0.12); }
  50%      { box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7),
                          0 0 35px rgba(206, 220, 61, 0.08),
                          inset 0 1px 0 rgba(206, 220, 61, 0.22); }
}

/* ── Card base ── */
.tc.tc-airy.tc-nocturno {
  background: linear-gradient(160deg, #090e1a 0%, #050810 100%);
  border-color: rgba(206, 220, 61, 0.15);
  position: relative;
  overflow: hidden;
  animation: ambientGlow 4s ease-in-out infinite;
}

/* Diffused downward light cone using background/radial-gradient overlay instead of pseudo-elements */
.tc.tc-airy.tc-nocturno {
  background-image: 
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(206, 220, 61, 0.06) 0%, transparent 100%),
    linear-gradient(160deg, #090e1a 0%, #050810 100%);
}

/* ── Card hover — lights intensify ── */
.tc.libre.tc-airy.tc-nocturno:hover,
.tc.en-charla.tc-airy.tc-nocturno:hover {
  border-color: rgba(206, 220, 61, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8),
              0 0 30px rgba(206, 220, 61, 0.12),
              inset 0 1px 0 rgba(206, 220, 61, 0.3);
  animation: none;
  background-image: 
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(206, 220, 61, 0.12) 0%, transparent 100%),
    linear-gradient(160deg, #0a1020 0%, #050810 100%);
}

/* ── Top row: status + duration (unchanged structure) ── */
.tca-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tca-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tca-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.libre .tca-dot         { background: var(--libre); }
.en-charla .tca-dot     { background: var(--en-charla); }
.señado .tca-dot        { background: var(--señado); }
.reservado .tca-dot     { background: var(--reservado); }
.no-disponible .tca-dot { background: var(--no-disponible); }

.tca-estado {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.libre .tca-estado         { color: var(--libre); }
.en-charla .tca-estado     { color: var(--en-charla); }
.señado .tca-estado        { color: var(--señado); }
.reservado .tca-estado     { color: var(--reservado); }
.no-disponible .tca-estado { color: var(--no-disponible); }

.tca-duracion {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: auto;
}

.tca-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── NOCTURNO badge — premium brand glow ── */
.tca-prime-badge {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(206, 220, 61, 0.25);
  background: linear-gradient(135deg, rgba(206, 220, 61, 0.08), rgba(206, 220, 61, 0.03));
  padding: 2px 7px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 0 8px rgba(206, 220, 61, 0.2);
  box-shadow: 0 0 6px rgba(206, 220, 61, 0.04),
              inset 0 0 4px rgba(206, 220, 61, 0.02);
}

.tca-prime-badge svg {
  margin-right: 4px;
  color: var(--accent);
  filter: drop-shadow(0 0 3px rgba(206, 220, 61, 0.3));
}

/* ── Nocturno overrides — divider with brand warmth ── */
.tc-nocturno .tca-divider {
  border-color: rgba(206, 220, 61, 0.08);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(206, 220, 61, 0.08) 50%,
    transparent
  );
  height: 1px;
  border: none;
}

/* ── Nocturno 'hasta las...' brand tone ── */
.tc-nocturno .tca-hasta {
  color: rgba(206, 220, 61, 0.5);
}

/* Hora block */
.tca-hora-block {
  margin-bottom: 20px;
}

.tca-hora {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2px;
}

.tca-hasta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* Divider */
.tca-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

/* Price block */
.tca-precio-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.tca-precio-izq {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.tca-precio-promo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}

.tca-precio-tachado {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  align-self: center;
}

.tca-oferta-badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--black);
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;
  align-self: flex-start;
}

/* Seña */
.tca-sena {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.tca-sena strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* CTA */
.tca-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 14px;
  border-radius: 4px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.libre .tca-cta {
  background: var(--libre);
  color: var(--black);
}

.libre .tca-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.en-charla .tca-cta {
  background: var(--en-charla);
  color: var(--black);
}

.en-charla .tca-cta:hover {
  background: #5cdeff;
  transform: translateY(-1px);
}

.señado .tca-cta,
.reservado .tca-cta,
.no-disponible .tca-cta {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
}


/* ══ 16. COMUNIDAD SECTION ══════════════════════════════════════ */

.community-section {
  background: var(--black);
  text-align: center;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.community-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.community-inner {
  position: relative;
  z-index: 1;
}

.community-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin-bottom: 18px;
}

.community-title span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(37, 211, 102, 0.7);
}

.community-desc {
  color: var(--gray-light);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
  font-size: 1rem;
}

.community-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.comm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 40px;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(37, 211, 102, 0.05);
}

.comm-badge-dot {
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
}

.community-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: #25D366;
  color: white;
  padding: 20px 52px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.community-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.community-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.community-secondary {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.community-secondary .btn-ghost {
  background: transparent;
  border: none;
  cursor: none;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  padding: 0;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.community-secondary .btn-ghost:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}


/* ══ 17. FOOTER ══════════════════════════════════════════════════ */

footer {
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 90px 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: flex-start;
  gap: 60px;
}

footer .logo-wrap {
  margin-bottom: 8px;
}

footer .logo-wrap svg {
  height: 22px;
  max-width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s;
}

footer .logo-wrap:hover svg {
  opacity: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col.brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  max-width: 260px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
  position: relative;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

footer p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social-icons {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}


/* ══ 18. REVEAL ANIMATION ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ══ 19. MODALS ══════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--gray-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 440px;
  padding: 28px 30px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content .modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.modal-content .modal-actions .wa-btn {
  padding: 16px 20px;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  color: var(--gray-light);
  cursor: none;
  padding: 5px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--white);
}

.modal-tag {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: .85rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.modal-rules {
  background: rgba(0,0,0,0.3);
  padding: 14px 18px;
  margin-bottom: 18px;
  border-left: 2px solid var(--accent);
}

.modal-rules h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--white);
}

.modal-rules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-rules li {
  position: relative;
  padding-left: 14px;
  font-size: .82rem;
  color: var(--gray-light);
  margin-bottom: 6px;
  line-height: 1.5;
}

.modal-rules li:last-child {
  margin-bottom: 0;
}

.modal-rules li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.modal-price {
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row span {
  font-size: .85rem;
  color: var(--gray-light);
}

.price-row strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.price-row.accent strong {
  color: var(--white);
  font-size: 1.3rem;
}

/* Terms checkbox */
.modal-terms-checkbox {
  margin: 12px 0 8px;
  text-align: left;
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-light);
  cursor: none;
  user-select: none;
  line-height: 1.4;
}

.terms-label a {
  color: #4285F4;
  text-decoration: underline;
  cursor: none;
}

.terms-label a:hover {
  color: #357ae8;
}

.terms-label input {
  display: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.terms-label:hover .custom-checkbox {
  border-color: rgba(255, 255, 255, 0.6);
}

.terms-label input:checked + .custom-checkbox {
  background-color: #4285F4;
  border-color: #4285F4;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5L4.5 7.5L9.5 2' stroke='white' stroke-width='2.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

/* Reglamento modal */
.reglamento-content {
  max-width: 550px !important;
}

.reglamento-body {
  text-align: left;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 10px;
}

.reglamento-body::-webkit-scrollbar {
  width: 4px;
}

.reglamento-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

.reg-section {
  margin-bottom: 16px;
}

.reg-section h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.reg-section p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--gray-light);
}

.modal-btn-cancel {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-cancel:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}


.modal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  margin-bottom: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.modal-input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.modal-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(206, 220, 61, 0.08);
}

/* ── Pelota Selection in Modal ─────────────────────── */
.modal-pelota-section {
  margin-bottom: 16px;
  text-align: left;
}

.pelota-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.pelota-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pelota-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  width: 100%;
}

.pelota-pill:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.pelota-pill.active {
  border-color: var(--accent);
  background: rgba(206, 220, 61, 0.06);
  box-shadow: 0 0 0 1px var(--accent);
}

.pelota-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pelota-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0;
}

.pelota-pill.active .pelota-title {
  color: var(--accent);
  font-weight: 500;
}

.pelota-info-trigger {
  color: var(--gray-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.pelota-info-trigger:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.pelota-sub {
  font-size: 0.74rem;
  color: var(--gray-light);
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.8;
}

.pelota-pill.active .pelota-sub {
  color: var(--white);
  opacity: 0.95;
}

/* ── Coupon Section in Modal ──────────────────────── */
.modal-coupon-section {
  margin-bottom: 14px;
  background: rgba(255,255,255,0.03);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.modal-coupon-section .coupon-row {
  display: flex;
  gap: 8px;
}

.modal-coupon-section .modal-input {
  flex: 1;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.modal-coupon-section .coupon-apply-btn {
  padding: 0 16px;
  font-size: 0.8rem;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-coupon-section .coupon-apply-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#m-coupon-feedback {
  font-size: 0.78rem;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1.4;
  font-weight: 500;
}

#m-coupon-feedback.feedback-success {
  display: block;
  background: rgba(206, 220, 61, 0.08);
  border: 1px solid rgba(206, 220, 61, 0.2);
  color: var(--accent);
}

#m-coupon-feedback.feedback-error {
  display: block;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

/* Discount badge on cards */
.tca-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(206, 220, 61, 0.1);
  border: 1px solid rgba(206, 220, 61, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  margin-top: 4px;
}

/* ══ 20. RESPONSIVE — min-width: 901px ═════════════════════════ */

@media (min-width: 901px) {
  html {
    font-size: 90%;
  }

  .hero-title {
    font-size: clamp(3.55rem, 6.9vw, 7.22rem) !important;
  }

  .hero-tag {
    font-size: 0.75rem !important;
  }

  .hero-desc {
    font-size: 1.05rem !important;
    max-width: 377px !important;
  }

  .btn-primary,
  .btn-ghost {
    font-size: 0.91rem !important;
  }

  header nav a {
    font-size: 0.91rem !important;
  }

  footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-col.social {
    display: flex !important;
  }
}


/* ══ 21. RESPONSIVE — max-width: 900px ═════════════════════════ */

@media (max-width: 900px) {
  header {
    display: flex !important;
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    padding: 20px 22px !important;
    justify-content: flex-end !important;
    z-index: 100000000 !important;
  }

  header .logo-wrap {
    display: none !important;
  }

  nav {
    display: none;
  }

  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100000001 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
  }

  .nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  body.intro-loading header {
    display: none !important;
  }

  /* Mobile nav overlay drawer */
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999999;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(170deg, rgba(18, 18, 18, 0.98) 0%, rgba(8, 8, 8, 0.99) 100%);
    border-left: 1px solid rgba(206, 220, 61, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 300px;
    max-width: 85vw;
    height: 100%;
    padding: 80px 24px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
  }

  .mobile-nav-overlay.active .mobile-nav-menu {
    transform: translateX(0);
  }

  .mobile-nav-menu a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .mobile-nav-menu a:last-child {
    border-bottom: none;
  }

  .mobile-nav-menu a:hover {
    color: var(--accent);
    padding-left: 6px;
  }

  .mobile-nav-divider       { display: block; }
  .mobile-nav-community-cta { display: flex !important; }
  .mobile-nav-social        { display: flex; }

  /* Layout */

  /* Desktop day bar hidden on mobile */
  .day-selector.desktop-only {
    display: none !important;
  }

  .mobile-day-label {
    display: none !important;
  }

  .day-selector-wrap {
    width: 100%;
    margin-top: 6px;
  }

  /* Mobile Day Picker Trigger CTA Button */
  .mobile-day-picker-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--accent);
    padding: 14px 18px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
  }

  .mobile-day-picker-trigger:active {
    transform: scale(0.98);
    border-color: var(--accent);
  }

  .mdpt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
  }

  .mdpt-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
  }

  .mdpt-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .mdpt-selected {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
  }

  .mdpt-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 12px;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .mdpt-action svg {
    color: var(--accent);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
  }

  .hero-right {
    height: 420px;
    min-height: 0;
    margin-top: 20px;
  }

  .hero-left {
    justify-content: flex-start;
    padding: 24px 22px 10px;
  }

  .hero-left .hero-tag   { margin-bottom: 12px; }
  .hero-left .hero-title { margin-bottom: 14px; }
  .hero-left .hero-desc  { margin-bottom: 20px; }

  section {
    padding: 80px 22px;
  }

  .marquee-track {
    animation-duration: 18s;
  }

  .como-section,
  .community-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .info-section {
    grid-template-columns: 1fr;
    min-height: 100vh;
    align-content: center;
  }

  #turnos {
    padding: 80px 22px;
    min-height: 100vh;
  }

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

  .turnos-header {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 60px 22px;
  }

  .footer-col {
    align-items: center;
    width: 100%;
  }

  footer .logo-wrap {
    justify-content: center;
  }
}


/* ══ 22. RESPONSIVE — max-width: 580px ═════════════════════════ */

@media (max-width: 580px) {
  .hero-right {
    height: 280px;
    min-height: 0;
  }

  .hero-title {
    font-size: clamp(3.2rem, 13vw, 4.5rem);
    margin-bottom: 20px;
  }

  .section-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

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

  .paso {
    padding: 24px 18px;
  }

  .paso h3 { font-size: 0.95rem; }
  .paso p  { font-size: 0.82rem; }

  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .info-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .community-section {
    padding: 80px 24px;
  }

  .community-court-section {
    padding: 32px 20px;
  }

  .court-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .court-action {
    width: 100%;
  }

  .court-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .community-cta {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
  }

  .community-badges {
    gap: 8px;
  }

  .comm-badge {
    font-size: 0.72rem;
    padding: 7px 13px;
  }

  .turnos-header {
    margin-bottom: 24px;
  }

  .turnos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tc {
    padding: 20px 14px;
  }

  .tc.tc-airy {
    padding: 20px 14px;
    min-height: 260px;
  }

  .tca-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tca-top-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .tca-hora {
    font-size: 2.6rem;
  }

  .tca-precio-promo {
    font-size: 1.6rem;
  }

  .wa-btn {
    padding: 16px 32px;
    width: 100%;
    justify-content: center;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-ghost {
    justify-content: center;
    padding-top: 10px;
  }

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
  }
}

/* ═══════════════════════════════════════════════════
   PROMO MODAL — Complete Styles
   ═══════════════════════════════════════════════════ */

/* Override modal-content base for promo */
.promo-modal-content {
  position: relative;
  max-width: 520px;
  padding: 0;
  border-radius: 16px;
  overflow: visible; /* Permits floating absolute controls outside on desktop */
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
}

/* ── Slide system ────────────────────────────── */
.promo-slides {
  position: relative;
  width: 100%;
}

.promo-slide {
  display: none;
}

.promo-slide.active {
  display: block;
}

/* ── Image ────────────────────────────────────── */
.promo-img-link {
  display: block;
  width: 100%;
  line-height: 0;           /* kill inline-block gap */
}

.promo-img-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Caption text below image ─────────────────── */
.promo-caption {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.55;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,.05);
}

.promo-caption p {
  margin: 0;
}

.promo-caption strong {
  color: #fff;
}

/* Close button (top right, inside the card) */
.promo-close-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  margin: 0;
  padding: 0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.promo-close-x:hover {
  background-color: rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
}

.promo-close-x:active {
  transform: scale(0.95);
}

/* Side navigation arrows (floating outside on desktop, centered) */
.promo-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  margin: 0;
  padding: 0;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.promo-arrow-btn.prev {
  left: -64px;
}

.promo-arrow-btn.next {
  right: -64px;
}

.promo-arrow-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.promo-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Controls container at the bottom */
.promo-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 16px 0;
  background: #111;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Dot indicators */
.promo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #333;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.promo-dot.active {
  background-color: var(--accent);
  transform: scale(1.25);
}

/* ── Mobile adjustments ──────────────────────── */
@media (max-width: 680px) {
  .promo-modal-content {
    max-width: 90%;
    overflow: hidden;
  }

  .promo-caption {
    padding: 14px 16px;
    font-size: .78rem;
  }

  .promo-close-x {
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .promo-close-x:hover {
    background-color: rgba(0, 0, 0, 0.75);
  }

  .promo-arrow-btn {
    position: static;
    transform: none;
    width: 36px;
    height: 36px;
    background-color: #1a1a1a;
    border: none;
  }
  
  .promo-arrow-btn.prev {
    left: auto;
  }

  .promo-arrow-btn.next {
    right: auto;
  }

  .promo-arrow-btn:hover {
    background-color: #2a2a2a;
    transform: scale(1.05);
  }

  .promo-arrow-btn:active {
    transform: scale(0.95);
  }

  .promo-controls-row {
    gap: 20px;
    padding: 10px 0 14px 0;
  }
}

/* ══ 19. FEEDBACK SECTION ═══════════════════════════════════════ */
.feedback-section {
  background: var(--black);
  text-align: center;
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.feedback-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.feedback-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--black);
  padding: 20px 48px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 12px;
}

.feedback-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Feedback Modal Styles */
.feedback-modal-content {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.feedback-field {
  margin-bottom: 18px;
  text-align: left;
}

.feedback-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.feedback-optional {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--gray-light);
  text-transform: none;
}

.feedback-required {
  color: var(--accent);
}

.modal-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.modal-textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

/* Rating options styling */
.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.rating-option {
  cursor: pointer;
}

.rating-option input[type="radio"] {
  display: none;
}

.rating-pill {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  transition: all 0.2s ease;
  user-select: none;
}

.rating-option:hover .rating-pill {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.rating-option input[type="radio"]:checked + .rating-pill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  font-weight: 600;
}

@media (max-width: 600px) {
  .feedback-section {
    padding: 60px 24px;
  }
  .feedback-cta {
    padding: 16px 32px;
    font-size: .85rem;
    width: 100%;
    justify-content: center;
  }
  .rating-options {
    gap: 6px;
  }
  .rating-pill {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

/* ══ 19. JUEGO LIBRE (CANCHA ABIERTA) ══════════════════════════ */
.juego-libre-card {
  background: linear-gradient(145deg, #161616, #0e0e0e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--libre);
  border-radius: 4px;
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.jlc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.jlc-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--libre);
  display: flex;
  align-items: center;
  gap: 8px;
}

.jlc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--libre);
  box-shadow: 0 0 8px var(--libre);
}

.jlc-pill {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.jlc-header {
  margin-bottom: 20px;
}

.jlc-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 4px;
  line-height: 1.15;
}

.jlc-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

.jlc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.jlc-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 18px;
  border-radius: 3px;
}

.jlc-item-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}

.jlc-item-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.jlc-item-val.highlight {
  color: var(--accent);
}

.jlc-unit,
.jlc-to {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-dim);
  margin: 0 3px;
}

.jlc-subval {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: normal;
  display: inline-block;
  margin-left: 3px;
}

.jlc-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 0 3px 3px 0;
}

.jlc-notice-icon {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.jlc-notice-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.jlc-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

@media (max-width: 600px) {
  .juego-libre-card {
    padding: 22px 18px;
  }
  .jlc-title {
    font-size: 1.35rem;
  }
  .jlc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ══ 20. UBICACIÓN ═════════════════════════════════════════════ */
.ubicacion-section {
  background: var(--black);
  padding: 90px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.ubicacion-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.ubicacion-info {
  display: flex;
  flex-direction: column;
}

.ubicacion-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 26px;
}

.ubicacion-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ub-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: 4px;
}

.ub-icon {
  font-size: 1.15rem;
  line-height: 1.3;
  opacity: 0.9;
}

.ub-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.ub-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.ub-subtext {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-dim);
  display: block;
}

.ub-actions {
  display: flex;
}

.ub-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--accent);
  color: #080808;
  border-radius: 3px;
  border: 1px solid var(--accent);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(206, 220, 61, 0.2);
}

.ub-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #080808;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.ubicacion-map-wrap {
  width: 100%;
  height: 420px;
  background: #080808;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.map-frame {
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #080808;
}

.map-frame .leaflet-container {
  background: #080808 !important;
}

/* Custom Marker with Frontal Logo */
.frontal-custom-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-marker {
  width: 26px;
  height: 26px;
  background: #111111;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 8px rgba(206, 220, 61, 0.35);
  position: relative;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.frontal-custom-pin:hover .pin-marker {
  transform: scale(1.2);
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.95), 0 0 14px rgba(206, 220, 61, 0.6);
}

.pin-halo {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(206, 220, 61, 0.25);
  animation: pulsePin 2.2s infinite ease-out;
  z-index: 1;
}

@keyframes pulsePin {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* MapLibre GL Dark Custom Popup & Controls */
.maplibregl-popup-content {
  background: #141414 !important;
  color: #fff !important;
  border: 1px solid rgba(206, 220, 61, 0.35) !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.85) !important;
  padding: 10px 14px !important;
}

.maplibregl-popup-tip {
  border-top-color: #141414 !important;
  border-bottom-color: #141414 !important;
}

.maplibregl-ctrl-group {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  overflow: hidden;
}

.maplibregl-ctrl-group button {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.maplibregl-ctrl-group button:hover {
  background: #222 !important;
}

.maplibregl-ctrl-icon {
  filter: invert(1);
}

.maplibregl-ctrl-attrib {
  background: rgba(0, 0, 0, 0.6) !important;
  color: #666 !important;
}

.maplibregl-ctrl-attrib a {
  color: #888 !important;
}

.map-popup-card {
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 2px;
}

.map-popup-card strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.map-popup-card span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.map-popup-card a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  display: inline-block;
}

.map-popup-card a:hover {
  color: var(--accent);
}

/* 100% Responsive */
@media (max-width: 900px) {
  .ubicacion-section {
    padding: 70px 24px;
  }
  .ubicacion-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ubicacion-map-wrap {
    height: 340px;
  }
  .ub-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ubicacion-section {
    padding: 50px 18px;
  }
  .ubicacion-map-wrap {
    height: 280px;
  }
}

/* ══ 21. MOBILE DAY PICKER MODAL / POPUP ═════════════════════════ */
.day-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.day-picker-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.day-picker-sheet {
  background: #121212;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 540px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 24px 20px 36px 20px;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.9);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.day-picker-overlay.open .day-picker-sheet {
  transform: translateY(0);
}

.dps-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dps-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.dps-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.dps-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dps-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dps-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.dps-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dps-card:active {
  transform: scale(0.98);
}

.dps-card-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dps-card-day {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: capitalize;
}

.dps-card-date {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 300;
}

.dps-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dps-badge {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dps-badge.badge-hoy {
  background: var(--accent);
  color: #000;
}

.dps-badge.badge-manana {
  background: rgba(12, 140, 233, 0.18);
  color: #0C8CE9;
  border: 1px solid rgba(12, 140, 233, 0.35);
}

.dps-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: all 0.2s;
}

.dps-card.selected {
  background: rgba(206, 220, 61, 0.12);
  border-color: var(--accent);
}

.dps-card.selected .dps-card-day {
  color: var(--accent);
}

.dps-card.selected .dps-radio-indicator {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(206, 220, 61, 0.5);
}

.dps-card.selected .dps-radio-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}
