/* ============================================
   SmartGame — Sitio web oficial
   Fuentes: DanhDa (titulares), Poppins (cuerpo)
   ============================================ */

@font-face {
  font-family: 'DanhDa';
  src: url('fonts/DanhDa-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-deep: #05061f;
  --bg-blue: #0b0c45;
  --bg-blue-2: #141680;
  --bg-blue-3: #1a1fa8;
  --accent-blue: #2c31d6;
  --text-white: #ffffff;
  --text-muted: #c8c9e6;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --max-w: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-deep);
  color: var(--text-white);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Layered deep-blue background that runs top to bottom */
body {
  background:
    radial-gradient(ellipse at top, #1d1fb1 0%, #0a0b5a 35%, #05061f 100%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'DanhDa', 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Glowy title pattern used throughout */
.glow-title {
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 30px rgba(180, 190, 255, 0.55),
    0 0 60px rgba(120, 140, 255, 0.35);
  text-align: center;
}

.glow-title--lg {
  font-size: clamp(64px, 9vw, 132px);
}

.section {
  padding: 110px 0;
  position: relative;
}

.section--tight { padding: 70px 0; }

/* =========== NAV / HERO =========== */
.nav {
  position: relative;
  z-index: 20;
  padding: 28px 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.nav__logo { height: 44px; }

.nav__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.nav__item {
  font-family: 'DanhDa', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 11px 28px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255,255,255,0.02);
}

.nav__item:hover {
  background: #fff;
  color: var(--bg-blue);
  box-shadow: 0 0 24px rgba(255,255,255,0.3);
}

/* Hamburger button — hidden on desktop, shown ≤900px */
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 61;
}
.nav__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 6px;
}
.nav__toggle span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.18s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.hero__title {
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(44px, 8.6vw, 132px);
  line-height: 1.05;
  text-align: center;
  margin: 28px auto 40px;
  padding: 0 16px;
  color: #fff;
  max-width: 1400px;
  letter-spacing: 0.01em;
}

.hero__title__line {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid #fff;
  text-shadow:
    0 0 12px rgba(180, 190, 255, 0.55),
    0 0 24px rgba(120, 140, 255, 0.35);
}

/* Video hero */
.hero-video {
  position: relative;
  max-width: 1400px;
  margin: 40px auto 0;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.hero-video__yt {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-video__yt iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.hero-video__click {
  position: absolute; inset: 0;
  cursor: pointer;
  z-index: 2;
  background: transparent;
}
/* Mask the top strip to hide YouTube title/share overlay.
   Con modestbranding=1 ya no hace falta — se deja como gradiente sutil
   que se disipa contra el fondo oscuro del sitio. */
.hero-video__mask-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}
.hero-video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.3s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255,255,255,0.2);
}
.hero-video__play svg {
  width: 40px; height: 40px; fill: #fff;
  position: absolute;
}
.hero-video__icon-play { margin-left: 6px; }
.hero-video__icon-pause { display: none; }
.hero-video.is-playing .hero-video__icon-play { display: none; }
.hero-video.is-playing .hero-video__icon-pause { display: block; }
.hero-video.is-playing .hero-video__play { opacity: 0; }
.hero-video.is-playing:hover .hero-video__play { opacity: 1; }

/* =========== QUIENES SOMOS =========== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__copy h2 { margin-bottom: 28px; text-align: left; }
.about__copy p {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 18px;
  max-width: 520px;
}
.about__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.about__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,22,128,0.7) 80%, var(--bg-deep) 100%),
              linear-gradient(90deg, rgba(20,22,128,0.5) 0%, transparent 60%);
}

/* =========== NO ES PUBLICIDAD =========== */
.reverse-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.reverse-split__image {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.reverse-split__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) brightness(0.85);
}
.reverse-split__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(20,22,128,0.7) 100%);
}
.reverse-split__image__label {
  position: absolute;
  top: 16%; left: 8%;
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1;
  text-shadow: 0 0 24px rgba(180,190,255,0.6);
  z-index: 2;
}
.reverse-split__text {
  padding-left: 20px;
}
.reverse-split__text h2 {
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1;
  text-align: left;
  text-shadow: 0 0 34px rgba(180,190,255,0.55);
}

/* =========== CONECTAMOS TU MARCA =========== */
.brands {
  text-align: center;
}
.brands__intro {
  max-width: 820px;
  margin: 0 auto 60px;
  color: var(--text-muted);
  font-size: 17px;
}
.brands__intro strong { color: #fff; font-weight: 700; }

.brands__escríbenos {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.brands__escríbenos img { height: 44px; }
.brands__escríbenos p {
  font-family: 'DanhDa', sans-serif;
  font-size: 18px;
  line-height: 1;
  text-align: left;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 44px;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 10px;
}
.brand-grid__logo {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.brand-grid__logo img {
  max-width: 78%; max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
  transition: all 0.35s ease;
}
.brand-grid__logo:hover img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.35));
}
.brand-grid__logo::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.brand-grid__logo:hover::before { opacity: 1; }

.brands__desde {
  position: relative;
  width: 180px; height: 180px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(5,6,31,0.6);
  clip-path: polygon(50% 0, 100% 20%, 100% 80%, 50% 100%, 0 80%, 0 20%);
}
.brands__desde__logo { height: 34px; margin-bottom: 10px; }
.brands__desde__name {
  font-family: 'DanhDa', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
  line-height: 1.05;
  padding: 0 8px;
  text-shadow: 0 0 12px rgba(180, 190, 255, 0.45);
}

/* Hover badge: rounded panel that fully covers each team tile */
.brands__desde--hover {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  background: rgba(5,6,31,0.92);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  clip-path: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  padding: 10px;
  box-sizing: border-box;
}
.brand-grid__logo:hover .brands__desde--hover {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 600px) {
  .brands__desde__logo { height: 26px; margin-bottom: 6px; }
  .brands__desde__name { font-size: 13px; letter-spacing: 0.04em; }
  .brands__desde--hover { border-radius: 10px; padding: 6px; }
}

.brand-grid__row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 44px;
  max-width: 720px;
  margin: 36px auto 0;
}

/* =========== MAPA COLOMBIA =========== */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.map-section__map {
  position: relative;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 631 / 867;
}
.map-section__map__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(90,239,255,0.12)) drop-shadow(0 0 60px rgba(255,255,255,0.06));
  user-select: none;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%,-50%);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
  transition: all 0.25s ease;
  z-index: 2;
}
.hotspot::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: pulse 2.2s ease-out infinite;
}
.hotspot:hover,
.hotspot.is-active {
  background: #5aefff;
  box-shadow: 0 0 0 4px rgba(90,239,255,0.3), 0 0 25px #5aefff;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-section__logo {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  height: 70px;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(90,239,255,0.4));
  pointer-events: none;
}
.map-section__info__title {
  text-align: left;
  font-size: clamp(32px, 6vw, 80px);
  line-height: 1;
  margin-bottom: 36px;
}
.stadium-card {
  padding: 10px 0;
}
.stadium-card__name {
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(22px, 3.5vw, 40px);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 20px rgba(180,190,255,0.4);
  min-height: 1.2em;
}
.stadium-card__capacity {
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(72px, 16vw, 200px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 40px rgba(180,190,255,0.5);
  margin: 10px 0;
}
.stadium-card__label {
  font-family: 'DanhDa', sans-serif;
  font-size: clamp(20px, 3vw, 40px);
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* =========== METRICAS =========== */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.metric-chart__label {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 14px;
}
.metric-chart__canvas {
  width: 100%;
  height: 380px;
}

/* =========== ZONAS DE IMPACTO =========== */
.zones {
  text-align: center;
}
.zones__header {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; margin: 30px 0 40px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.zones__arrow {
  width: 56px; height: 56px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.zones__arrow:hover { transform: scale(1.1); }
.zones__title {
  flex: 1;
}
.zones__title h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.zones__title p {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 17px;
}

.zones__carousel {
  position: relative;
  height: 520px;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.zone-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 380px;
  margin: -190px 0 0 -260px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.25,.8,.3,1),
              opacity 0.5s ease,
              box-shadow 0.5s ease,
              filter 0.5s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  will-change: transform, opacity;
}
.zone-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: box-shadow 0.4s ease;
}
.zone-card.is-active {
  z-index: 10;
  box-shadow: 0 24px 60px rgba(90,239,255,0.35), 0 0 0 2px rgba(90,239,255,0.55);
  filter: brightness(1.05);
}
.zone-card.is-active::after {
  box-shadow: inset 0 0 0 1px rgba(90,239,255,0.45);
}
.zone-card:not(.is-active) {
  filter: brightness(0.55) saturate(0.8);
}
.zone-card:hover:not(.is-active) {
  filter: brightness(0.85);
}
.zone-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.zone-card__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-family: 'DanhDa', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
}
.zone-card.is-active .zone-card__caption {
  font-size: 24px;
  color: #5aefff;
  text-shadow: 0 0 16px rgba(90,239,255,0.7);
}

/* Lightbox popup */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(2,3,18,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  max-width: 1100px; width: 100%;
  max-height: 100%;
  display: flex; flex-direction: column;
}
.lightbox__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.lightbox__title {
  font-family: 'DanhDa', sans-serif;
  font-size: 32px;
  letter-spacing: 0.06em;
}
.lightbox__close {
  background: none; border: 1.5px solid #fff;
  color: #fff; width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  overflow: auto;
  max-height: calc(100vh - 180px);
  padding-right: 6px;
}
.lightbox__grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  transition: transform 0.3s;
}
.lightbox__grid img:hover { transform: scale(1.03); }

/* =========== HITOS =========== */
.hitos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 40px auto 0;
}
.hito-card {
  border-radius: 8px;
  overflow: hidden;
  background: #05081c;
  position: relative;
  width: 100%;
}
.hito-card img {
  width: 100%;
  height: auto;
  display: block;
}
.hito-card__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 10px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.hito-card__caption::before {
  content: "";
  display: none;
}
.hito-wrap > div {
  display: flex; flex-direction: column;
}

/* =========== CASOS DE EXITO =========== */
.cases {
  text-align: center;
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.cases__grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

/* =========== CONTACTO =========== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 40px auto 0;
  align-items: stretch;
}
.contact-section__image {
  border-radius: 8px;
  overflow: hidden;
  min-height: 100%;
  position: relative;
  background: #05081c;
}
.contact-section__image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3,12,58,0.55) 0%, rgba(3,12,58,0) 22%, rgba(3,12,58,0) 70%, rgba(3,12,58,0.35) 100%),
    linear-gradient(to right, rgba(3,12,58,0.35) 0%, rgba(3,12,58,0) 12%, rgba(3,12,58,0) 88%, rgba(3,12,58,0.35) 100%);
  border-radius: inherit;
}
.contact-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.form label {
  display: block;
  margin: 18px 0 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.form input, .form textarea {
  width: 100%;
  background: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1a1fa8;
}
.form__actions {
  display: flex; gap: 18px;
  margin-top: 28px;
}
.btn-primary {
  font-family: 'DanhDa', sans-serif;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 26px;
  border-radius: 2px;
  font-size: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: #fff;
  color: var(--bg-blue);
}

.footer {
  text-align: center;
  padding: 40px 20px 40px;
  margin-top: 40px;
}
.footer__contact {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 20px;
}
.footer__socials {
  display: flex; gap: 14px;
  justify-content: center;
  margin: 20px 0;
}
.footer__socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.25s;
}
.footer__socials a:hover {
  background: #fff; color: var(--bg-blue);
}
.footer__rights {
  margin-top: 30px;
  font-family: 'DanhDa', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

/* =========== WHATSAPP FAB =========== */
.whatsapp-fab {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.5);
  z-index: 50;
  cursor: pointer;
  transition: transform 0.2s;
  animation: wa-pulse 2s infinite;
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg {
  width: 38px; height: 38px;
  fill: #fff;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0); }
}

/* =========== CHART TOOLTIP =========== */
.chart-tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(8, 14, 40, 0.95);
  border: 1px solid rgba(90, 239, 255, 0.6);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 20px rgba(90, 239, 255, 0.25), 0 8px 24px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1000;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 140px;
}
.chart-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.chart-tooltip strong {
  color: #5aefff;
  font-family: 'DanhDa', sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.chart-tooltip span {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

/* =========== RESPONSIVE =========== */

/* Tablet y desktop pequeño */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }

  .about, .reverse-split, .map-section, .metrics, .hitos, .contact-section {
    grid-template-columns: 1fr;
  }
  .about__copy p { max-width: none; }
  .reverse-split__text { padding-left: 0; }
  .map-section { gap: 36px; }
  .map-section__info h2, .map-section__info__title { text-align: center; }
  .stadium-card { text-align: center; }

  .brands__grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
    max-width: 560px;
    margin: 0 auto;
  }
  .brand-grid,
  .brand-grid__row-2 { display: contents; }

  .zones__carousel { height: 340px; }
  .zone-card { width: 280px; height: 210px; margin: -105px 0 0 -140px; }

  .cases__grid { grid-template-columns: repeat(2,1fr); }

  .metrics { gap: 40px; }
  .metric-chart__canvas { height: 320px; }

  .hero-video { margin-top: 24px; }
  .hero-video__play { width: 72px; height: 72px; }
  .hero-video__play svg { width: 30px; height: 30px; }
}

/* Móvil grande / landscape */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }
  .section--tight { padding: 40px 0; }

  .nav { padding: 20px 18px 12px; gap: 16px; }
  .nav__logo { height: 38px; }
  .nav__menu { gap: 8px; }
  .nav__item { font-size: 14px; padding: 8px 16px; letter-spacing: 0.05em; }

  .hero__title { margin: 16px auto 24px; }
  .hero__title__line { padding-bottom: 8px; border-bottom-width: 2px; }

  .glow-title { font-size: clamp(38px, 9vw, 60px); }
  .glow-title--lg { font-size: clamp(48px, 11vw, 80px); }

  .reverse-split__text h2 { text-align: center; }

  .brands__escríbenos { justify-content: center; }

  .brands__grid-wrap { gap: 20px 24px; max-width: 480px; }

  .zones__header { gap: 12px; margin: 20px 0 28px; }
  .zones__arrow { width: 40px; height: 40px; }
  .zones__arrow svg { width: 32px; height: 32px; }
  .zones__title h3 { font-size: 22px; }
  .zones__title p { font-size: 14px; }
  .zones__carousel { height: 280px; }
  .zone-card { width: 220px; height: 165px; margin: -82px 0 0 -110px; }
  .zone-card__caption { font-size: 16px; padding: 12px 14px; }
  .zone-card.is-active .zone-card__caption { font-size: 18px; }

  .metric-chart__canvas { height: 280px; }

  .cases__grid { gap: 8px; }

  .contact-section { gap: 30px; margin-top: 28px; }
  .form__actions { flex-direction: column; gap: 12px; }
  .form__actions .btn-primary { width: 100%; }

  .footer__contact { font-size: 14px; }
  .footer__contact div { text-align: center; line-height: 1.4; }
  .footer__rights { font-size: 12px; }

  .whatsapp-fab { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .whatsapp-fab svg { width: 30px; height: 30px; }

  .lightbox { padding: 16px; }
  .lightbox__title { font-size: 22px; }
  .lightbox__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
}

/* Móvil pequeño (iPhone SE, 320-380px) */
@media (max-width: 420px) {
  .container { padding: 0 14px; }

  .nav__item { font-size: 12px; padding: 7px 14px; }

  .brands__grid-wrap { gap: 16px 18px; max-width: 320px; }

  .zone-card { width: 200px; height: 150px; margin: -75px 0 0 -100px; }

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

/* =========== MOBILE NAV (HAMBURGER) =========== */
@media (max-width: 900px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    gap: 12px;
    z-index: 60;
  }
  .nav__logo {
    height: 38px;
    position: relative;
    z-index: 61;
  }
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 96px 24px 48px;
    background: linear-gradient(180deg, #1d1fb1 0%, #0a0b5a 45%, #05061f 100%);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }
  .nav__menu .nav__item {
    font-size: 20px;
    padding: 14px 36px;
    width: min(78vw, 320px);
    text-align: center;
    letter-spacing: 0.06em;
    border-width: 2px;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .nav { padding: 16px 18px; }
  .nav__menu .nav__item {
    font-size: 18px;
    padding: 12px 28px;
    width: min(82vw, 300px);
  }
}
