/* ============================================================
   MEDCUP — Design System & Global Styles
   Estética costera: blanco, arena, azul mediterráneo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nunito:wght@300;400;600;700&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* ── Paleta Limpia y Relajada: Blancos, grises suaves, azules calmados ── */

  /* Fondos */
  --bg-dark: #1e293b;
  --bg-panel: #f8fafc;
  --bg-light: #f1f5f9;

  --white: #ffffff;
  --off-white: #f8fafc;
  --black: #334155;

  /* ── Azul relajado — color principal ── */
  --blue-primary: #38bdf8;
  /* Azul claro suave */
  --blue-light: #7dd3fc;
  --blue-mid: #0ea5e9;
  --blue-dark: #0284c7;
  --blue-deep: #0f172a;
  --blue-sky: #e0f2fe;

  /* ── Acentos cálidos suaves ── */
  --accent: #38bdf8;
  --accent-warm: #fb923c;
  --orange: #fb923c;
  --orange-dark: #f97316;

  /* ── Neutros suaves ── */
  --sand-light: #f1f5f9;
  --sand-mid: #e2e8f0;

  /* Textos */
  --text-dark: #334155;
  --text-body: #64748b;
  --text-light: #94a3b8;

  /* Status bars */
  --bar-free: #38bdf8;
  --bar-half: #fb923c;
  --bar-full: #ef4444;

  /* Fonts */
  --font-head: 'Anton', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Bordes y Sombras Relajados */
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --transition: .4s cubic-bezier(.16, 1, .3, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--sand-light);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-light);
  border-radius: 3px;
}

/* ── Typography helpers ──────────────────────────────────── */
.label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 0;
}

.section-title span {
  color: var(--blue-primary);
}

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  background: #ffffff;
  border-bottom: 3px solid var(--blue-primary);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(91, 200, 245, 0.2);
  text-transform: uppercase;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 80px;
  width: 320px;
  overflow: hidden;
  position: relative;
}

.nav-logo-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -10px;
  height: 160px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 10;
}

.nav-logo span {
  color: var(--blue-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  position: relative;
  z-index: 20;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--blue-light);
  transition: right var(--transition);
}

.nav-links a:hover {
  color: var(--blue-mid);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .2) 0%, rgba(10, 10, 10, 1) 100%);
  z-index: 0;
}

/* Diagonal slice for sports feel */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 71, 251, 0.4) 0%, transparent 50%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 5%;
}

.hero-edition {
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: fadeDown .8s ease both;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  animation: fadeDown .9s .1s ease both;
}

.hero h1 .highlight {
  color: var(--blue-primary);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, .85);
  margin-top: 1.2rem;
  max-width: 600px;
  margin-inline: auto;
  animation: fadeDown 1s .2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeDown 1s .35s ease both;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 2.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(91, 200, 245, .4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 2.2rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .15);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--text-light);
  animation: bounce 2s infinite;
}

.hero-scroll::before {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--blue-light));
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── WAVE DIVIDER ───────────────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── AVAILABILITY SECTION ──────────────────────────────── */
.availability {
  background: var(--bg-panel);
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  margin-top: -4vw;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.availability::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sand-mid), var(--blue-light), var(--sand-mid));
  opacity: .5;
}

.availability-header {
  text-align: center;
  margin-bottom: 4rem;
}

.availability-header p {
  color: var(--text-body);
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* Sport columns */
.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sport-avail-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  color: var(--text-dark);
}

.sport-avail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.sport-avail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.sport-avail-card.futbol::before {
  background: linear-gradient(90deg, #5BC8F5, #2AAAD4);
}

.sport-avail-card.baloncesto::before {
  background: linear-gradient(90deg, #FF6B1A, #d4530e);
}

.sport-avail-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sport-avail-name {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--black);
  margin-bottom: .3rem;
}

.sport-avail-sub {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 2rem;
}

/* Weekend bars */
.weekend-bars {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.weekend-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .6rem;
}

.weekend-bar-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--blue-dark);
}

.weekend-bar-stats {
  font-size: .85rem;
  color: var(--text-light);
}

.weekend-bar-stats strong {
  color: var(--blue-dark);
  font-size: 1rem;
}

.bar-track {
  height: 14px;
  background: var(--sand-light);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  /* animated via JS */
  transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .4) 50%, transparent 100%);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

/* Color states for fill */
.bar-fill.green {
  background: linear-gradient(90deg, #2AAAD4, #5BC8F5);
}

/* azul claro — bastante disponible */
.bar-fill.orange {
  background: linear-gradient(90deg, #d4530e, #FF6B1A);
}

/* naranja — pocas plazas */
.bar-fill.red {
  background: linear-gradient(90deg, #b02010, #e03020);
}

/* coral */

/* Status badges */
.bar-status {
  display: inline-block;
  margin-top: .5rem;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 100px;
}

.bar-status.green {
  background: rgba(91, 200, 245, .15);
  color: var(--blue-mid);
}

.bar-status.orange {
  background: rgba(255, 107, 26, .15);
  color: var(--orange);
}

.bar-status.red {
  background: rgba(224, 48, 32, .15);
  color: #e03020;
}

.avail-loading {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  font-style: italic;
}

/* ── SPORT SECTION CARDS (index) ────────────────────────── */
.sports-section {
  padding: 6rem 5%;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sport-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 480px;
  cursor: pointer;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.sport-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.sport-card-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}

.sport-card:hover .sport-card-bg {
  transform: scale(1.07);
}

.sport-card-bg.futbol-bg {
  background:
    linear-gradient(180deg, rgba(15, 58, 82, .08) 0%, rgba(15, 58, 82, .82) 100%),
    linear-gradient(135deg, #1d6e8a 0%, #5ba8c4 50%, #c8e4ee 100%);
}

.sport-card-bg.basket-bg {
  background:
    linear-gradient(180deg, rgba(80, 45, 10, .08) 0%, rgba(80, 45, 10, .82) 100%),
    linear-gradient(135deg, #c07a3a 0%, #d4955a 50%, #f0dfc0 100%);
}

.sport-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 1;
}

.sport-card-number {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .12);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.sport-card-label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .80);
  margin-bottom: .5rem;
}

.sport-card-name {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1rem;
}

.sport-card-info {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.sport-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .5);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  transition: background var(--transition), border-color var(--transition);
}

.sport-card:hover .sport-card-cta {
  background: rgba(255, 255, 255, .2);
  border-color: var(--white);
}

/* ── ABOUT SECTION ──────────────────────────────────────── */
.about {
  background: var(--bg-panel);
  padding: 8rem 5%;
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
  margin-top: -4vw;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(91, 168, 196, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(91, 168, 196, .2);
}

.about-feature-text h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .3rem;
}

.about-feature-text p {
  color: var(--text-body);
  font-size: .9rem;
  line-height: 1.5;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  color: var(--text-dark);
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--blue-primary);
}

.stat-label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: .4rem;
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact {
  background: var(--blue-sky);
  padding: 5rem 5%;
  text-align: center;
  border-top: 1px solid var(--sand-mid);
  border-bottom: 1px solid var(--sand-mid);
}

.contact-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  min-width: 220px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.contact-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
}

.contact-card-type {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: .4rem;
}

.contact-card-value {
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--bg-panel);
  color: var(--text-body);
  padding: 3rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--sand-mid);
}

.footer-logo {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  width: 320px;
  height: 80px;
  overflow: hidden;
}

.footer-logo-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -10px;
  height: 160px;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.footer-copy {
  color: var(--text-light);
  font-size: .85rem;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid var(--sand-mid);
  padding-top: 1.5rem;
}

@media (min-width: 900px) {
  .footer-copy {
    width: auto;
    text-align: right;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .95rem;
  color: var(--text-body);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-mid);
}

/* ── SPORT PAGE HERO ────────────────────────────────────── */
.sport-hero {
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: visible;
  padding: 5rem 5% 4rem;
}

.sport-hero.futbol-hero {
  background:
    linear-gradient(to right, rgba(15, 58, 82, .88) 40%, rgba(15, 58, 82, .45) 100%),
    linear-gradient(135deg, #1d5a7a 0%, #5ba8c4 100%);
}

.sport-hero.basket-hero {
  background:
    linear-gradient(to right, rgba(80, 45, 10, .88) 40%, rgba(80, 45, 10, .45) 100%),
    linear-gradient(135deg, #8b5a2a 0%, #d4955a 100%);
}

.sport-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.sport-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.sport-hero-edition {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: .8rem;
}

.sport-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.sport-hero-desc {
  color: rgba(255, 255, 255, .80);
  font-size: 1.05rem;
  max-width: 550px;
}

/* ── SPORT PAGE AVAILABILITY ────────────────────────────── */
.sport-availability {
  background: var(--white);
  padding: 8rem 5% 4rem;
  /* Increased top padding to account for overlap */
  border-bottom: 1px solid var(--sand-mid);
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
  margin-top: -4vw;
}

.sport-avail-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

/* mini cards en páginas de deporte */
.sport-avail-card-mini {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.sport-avail-card-mini:hover {
  transform: translateY(-3px);
}

/* ── CATEGORIES ────────────────────────────────────────── */
.categories {
  padding: 5rem 5%;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.category-card {
  background: var(--sand-light);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.category-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: .3rem;
}

.category-desc {
  color: var(--text-body);
  font-size: .88rem;
  line-height: 1.5;
}


/* ── HERO with real photo ───────────────────────────────── */
/* When hero-bg has a background-image, we need an overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 30, 50, .35) 0%,
      rgba(10, 30, 50, .75) 100%);
  z-index: 0;
}

/* Fallback pattern when no photo */
.hero-bg:not([style*="background-image"])::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(180, 145, 100, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .6;
}

/* ── SPORT HERO with real photo ─────────────────────────── */
.sport-hero {
  background-size: cover !important;
  background-position: center !important;
}

.sport-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(15, 58, 82, .82) 35%,
      rgba(15, 58, 82, .40) 100%);
  z-index: 0;
}

.basket-hero .sport-hero-overlay {
  background: linear-gradient(to right,
      rgba(80, 45, 10, .82) 35%,
      rgba(80, 45, 10, .40) 100%);
}

.sport-hero-content {
  position: relative;
  z-index: 1;
}

/* ── SPORT CARD overlay (for real photos) ───────────────── */
.sport-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 58, 82, .1) 0%, rgba(15, 58, 82, .80) 100%);
  z-index: 0;
}

.basket-bg+.sport-card-overlay,
.sport-card .basket-bg~.sport-card-overlay {
  background: linear-gradient(180deg, rgba(80, 45, 10, .1) 0%, rgba(80, 45, 10, .80) 100%);
}

.sport-card-content {
  z-index: 2;
}

.sport-card-number {
  z-index: 1;
}

/* ── PHOTO STRIP (scrolling gallery) ───────────────────── */
.photo-strip {
  overflow: hidden;
  padding: 3rem 0;
  background: var(--sand-light);
  border-top: 1px solid var(--sand-mid);
  border-bottom: 1px solid var(--sand-mid);
}

.photo-strip-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: stripScroll 30s linear infinite;
}

.photo-strip-track:hover {
  animation-play-state: paused;
}

.photo-strip-track img {
  height: 220px;
  width: auto;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.photo-strip-track img:hover {
  transform: scale(1.04);
  z-index: 1;
}

@keyframes stripScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── COLLAB STRIP OVERRIDES ─────────────────────────────── */
.collab-strip .photo-strip-track a {
  display: flex;
  align-items: center;
  margin: 0 2.5rem;
  transition: transform var(--transition);
}

.collab-strip .photo-strip-track a:hover {
  transform: scale(1.08); /* Hover effect on the link */
}

.collab-strip .photo-strip-track > img {
  margin: 0 2.5rem; /* For the Jaka logo without a link */
}

.collab-strip .photo-strip-track img {
  height: clamp(50px, 8vw, 80px);
  width: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {

  .availability-grid,
  .sports-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .sport-card {
    height: 380px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 5% 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--sand-mid);
    box-shadow: 0 8px 20px rgba(91, 200, 245, .15);
  }

  /* Dropdown submenu in mobile nav */
  .nav-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: .5rem;
    background: var(--white);
    border: 1px solid var(--sand-mid);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin-top: .5rem;
    position: static; /* Prevent overlap with other links */
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }
}

@media (max-width: 600px) {
  .about-stats {
    gap: 1rem;
  }
  .stat-box {
    padding: 1.5rem 0.5rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-label {
    font-size: 0.70rem;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
  
  .category-card {
    padding: 1.5rem;
  }
}

/* ── REGISTERED TEAMS ──────────────────────────────────── */
.registered-teams {
  padding: 6rem 5% 4rem;
  background: var(--off-white);
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(29, 90, 122, .04);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-icon {
  font-size: 2rem;
  background: var(--blue-sky);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.team-info {
  display: flex;
  flex-direction: column;
}

.team-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.team-category {
  font-size: .85rem;
  color: var(--text-body);
  margin-top: 0.2rem;
}

.team-weekend {
  font-size: .75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ── ANIMATIONS / MOVING ELEMENTS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.hover-skew {
  transition: transform 0.3s ease;
  isolation: isolate;
}

.hover-skew:hover {
  transform: scale(1.05);
  z-index: 1;
}

/* ── NAV DROPDOWN ───────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  list-style: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  padding: .5rem 0;
  border: 1px solid var(--sand-mid);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: .8rem 1.5rem;
  font-size: .9rem;
}

.nav-dropdown-menu li a:hover {
  background: var(--sand-light);
  color: var(--blue-primary);
}

.nav-dropdown-menu li a::after {
  display: none;
}

/* ── DESCUBRE SECTION ───────────────────────────────────── */
.descubre {
  padding: 6rem 5%;
  background: var(--white);
}

.descubre-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-inline: auto;
}

.descubre-header p {
  color: var(--text-body);
  margin-top: 1rem;
  font-size: 1.1rem;
}

.descubre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.descubre-card {
  background: var(--bg-panel);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-mid);
  transition: transform var(--transition);
}

.descubre-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-light);
}

.descubre-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.descubre-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.descubre-card p {
  color: var(--text-body);
  font-size: .95rem;
  line-height: 1.5;
}

/* ── HOTELES & INSTALACIONES ────────────────────────────── */
.hoteles {
  padding: 6rem 5%;
  background: var(--bg-panel);
}

.hoteles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hotel-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.hotel-card-body {
  padding: 2rem;
}

.hotel-card-tag {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
  font-weight: 700;
}

.hotel-card h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--blue-deep);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hotel-card p {
  color: var(--text-body);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.hotel-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.hotel-feats li {
  font-size: .9rem;
  color: var(--text-dark);
}

/* ── EDICIONES ANTERIORES ───────────────────────────────── */
.ediciones {
  padding: 6rem 5%;
  background: var(--white);
}

.ediciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.edicion-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--sand-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-mid);
}

.edicion-year {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1;
}

.edicion-info h4 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: .4rem;
}

.edicion-info p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* ── PAGE HERO (Proyectos / Galería) ────────────────────── */
.page-hero {
  height: 40vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--blue-deep);
  text-align: center;
  padding: 80px 5% 0;
  /* Nav height padding */
  margin-top: 0;
}

/* Adjustments for Proyectos specific hero */
.page-hero.page-hero-proyectos {
  height: auto;
  min-height: 480px;
  padding-top: 140px;
  padding-bottom: 60px;
}

.page-hero.page-hero-proyectos h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-hero.page-hero-proyectos p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(13, 17, 23, .4) 0%, rgba(13, 17, 23, .9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .8);
}

/* ── PROYECTOS SECTION ──────────────────────────────────── */
.proyect-section {
  padding: 6rem 5%;
  background: var(--white);
}

.proyect-section.bg-light {
  background: var(--bg-panel);
}

.proyect-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.proyect-container.reverse {
  grid-template-columns: 1fr 1fr;
}

.proyect-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

.proyect-text p {
  color: var(--text-body);
  line-height: 1.7;
}

/* ── GALLERY MAGAZINE (galeria.html) ─────────────────────── */
.gallery-section {
  padding: 4rem 5% 6rem;
  background: var(--white);
}

/* Filter pills */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gal-filter {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.6rem;
  border-radius: 100px;
  border: 2px solid var(--sand-mid);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all .3s ease;
}

.gal-filter:hover,
.gal-filter.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, .35);
}

.gal-filter[data-sport="futbol"].active {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  box-shadow: 0 6px 20px rgba(14, 165, 233, .4);
}

.gal-filter[data-sport="baloncesto"].active {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(251, 146, 60, .4);
}

/* Masonry columns layout */
.gallery-masonry {
  columns: 4;
  column-gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

.gal-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease, opacity .4s ease;
}

.gal-item.hidden {
  display: none;
}

.gal-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.gal-item.tall img {
  aspect-ratio: 2 / 3;
}

.gal-item.wide img {
  aspect-ratio: 16 / 9;
}

.gal-item.square img {
  aspect-ratio: 1 / 1;
}

.gal-item:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
  z-index: 2;
}

.gal-item:hover img {
  transform: scale(1.08);
}

/* Hover overlay */
.gal-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  pointer-events: none;
}

.gal-item:hover .gal-item-overlay {
  opacity: 1;
}

.gal-item-zoom {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  margin-left: auto;
}

.gal-badge {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
  color: white;
}

.gal-badge.futbol {
  background: rgba(14, 165, 233, .8);
}

.gal-badge.baloncesto {
  background: rgba(251, 146, 60, .8);
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lbIn .35s ease;
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .25);
}

/* Responsive masonry */
@media (max-width: 1100px) {
  .gallery-masonry {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    columns: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .gal-item {
    margin-bottom: 0;
  }
}

/* ── FIX FOR MOBILE MEDIA QUERIES ───────────────────────── */
@media (max-width: 900px) {

  .proyect-container,
  .proyect-container.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .proyect-container.reverse .proyect-image {
    order: -1;
  }
}

@media (max-width: 600px) {
  /* Fixing Navigation Logo */
  .nav-logo {
    width: 200px;
  }
  .nav-logo-img {
    height: 100px;
    left: -5px;
  }

  /* Fixing Availability Cards Icons */
  .sport-avail-card {
    position: relative;
    padding-top: 6rem;
  }
  .sport-avail-icon {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }
  .sport-avail-icon img {
    height: 4rem !important;
    opacity: 0.9;
  }

  /* Fixing About section flex layout to stack vertically */
  .about-grid > div > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  
  /* Fixing Editions Cards */
  .edicion-card {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  /* Fixing Sport Hero overlapping */
  .sport-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 7rem;
    min-height: 600px;
    height: auto;
  }
  
  .sport-hero > img {
    margin: 2rem auto 0 !important;
    height: 180px !important;
    align-self: center !important;
  }

  /* Fixing Photo Strip height on mobile */
  .photo-strip-track img {
    height: 140px;
  }
}

@media (max-width: 400px) {
  /* Further adjustments for very small screens */
  .nav-logo {
    width: 160px;
  }
  .nav-logo-img {
    height: 80px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ── CONTACT MODAL ──────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--white);
  margin: 15vh auto;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 450px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  animation: lbIn .3s ease;
}

.close-modal {
  color: var(--text-light);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition);
}

.close-modal:hover,
.close-modal:focus {
  color: var(--blue-dark);
  text-decoration: none;
}

@media (max-width: 500px) {
  .sport-avail-row,
  .teams-grid,
  .categories-grid,
  .ediciones-grid,
  .descubre-grid,
  .hoteles-grid,
  .about-stats {
    grid-template-columns: 1fr !important;
  }
  
  .contact-card {
    width: 100%;
  }

  .weekend-bar-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem !important;
  }

  .bar-status {
    line-height: 1.4 !important;
    white-space: normal !important;
    display: inline-block !important;
  }
}

/* ── ULTIMATE MOBILE OVERRIDES ── */
@media (max-width: 900px) {
  .nav-dropdown-toggle {
    display: none !important;
  }
  .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    position: static !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }
  .nav-dropdown-menu li a {
    padding: 0 !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .gal-item {
    margin-bottom: 0 !important;
  }
}
