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

/* ── VARIABLES GLOBALES ── */
:root {
  --teal:       #2bb9b4;
  --teal-dark:  #1e9e99;
  --teal-light: #e4f9f8;
  --navy:       #2d2e6e;
  --coral:      #f96b6b;
  --purple:     #7b5ea7;
  --bg:         #f6fefd;
  --text:       #2d2e6e;
  --muted:      #6b7280;
  --white:      #ffffff;
  --radius:     18px;
  --shadow:     0 4px 24px rgba(43,185,180,.13);
  --shadow-lg:  0 10px 36px rgba(43,185,180,.24);
}

html { scroll-behavior: smooth; }
h1, h2, h3 { font-family: 'Lato', sans-serif; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* Imágenes y contenedores fluidos */
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* ── ANIMACIONES ── */
.fade-up {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge { opacity: 0; }
.hero-badge.show { animation: fadeInUp .6s ease forwards; }

@keyframes bgFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.cursor {
  display: inline-block;
  width: 2px;
  background: var(--navy);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink .75s step-end infinite;
}
.cursor.teal { background: var(--teal); }

/* ════════════════════════════════════════
   BASE — MÓVIL PEQUEÑO (< 480px)
   Estilos por defecto: una columna, compactos
════════════════════════════════════════ */

/* ── HEADER (base móvil) ── */
header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  padding: .5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.logo { height: 55px; width: auto; flex-shrink: 0; }

/* Nav links — estilos compartidos todos los tamaños */
nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
nav a:not(.btn-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width .25s ease;
  border-radius: 2px;
}
nav a:not(.btn-cta):hover::after { width: 100%; }

.btn-cta {
  background: linear-gradient(135deg, var(--teal), #1a8f8b);
  color: #fff !important;
  text-decoration: none;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: transform .15s, box-shadow .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 4px 16px rgba(43,185,180,.4);
}
.btn-cta:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 6px 24px rgba(43,185,180,.6) !important;
}

/* Burger — visible en móvil por defecto */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav menú — oculto en móvil, se despliega con .open */
.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem); left: -1rem; right: -1rem;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-top: 2px solid var(--teal-light);
  z-index: 100;
}
.nav-menu.open { display: flex; }

/* ── HERO (base móvil) ── */
.hero {
  text-align: center;
  padding: 3rem 1.2rem 2.5rem;
  background: linear-gradient(140deg, #1f2060, #2d2e6e, #3c3d90, #1e7a7a, #2d2e6e, #1f2060);
  background-size: 400% 400%;
  animation: bgFlow 15s ease infinite;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(43,185,180,.15) 0%, transparent 70%);
  top: -140px; right: -100px;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.hero::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(123,94,167,.1) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  transform: translateY(calc(var(--py, 0px) * -1));
  will-change: transform;
}
.hero h1 {
  font-size: clamp(1.5rem, 6vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  position: relative;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  position: relative;
  line-height: 1.5em;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--teal);
  color: #fff;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .01em;
  position: relative;
}

/* ── PRODUCTS SECTION (base móvil) ── */
.products-section {
  background: linear-gradient(160deg, #f0fffe, #f6f3ff, #fff5f5, #edfaf9, #f6f3ff, #f0fffe);
  background-size: 400% 400%;
  animation: bgFlow 22s ease infinite;
  padding: 3rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.products-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,185,180,.07) 0%, transparent 65%);
  top: -150px; left: -150px;
  pointer-events: none;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.products { max-width: 100%; margin: 0 auto; position: relative; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.section-head p { color: var(--muted); font-size: .95rem; }

/* Grid — 1 columna en móvil */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.card:hover .card-img { transform: scale(1.04); }
.card-body {
  padding: 1.4rem 1.2rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--teal);
  margin-bottom: .35rem;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .7rem;
}
.card-desc {
  font-size: .9rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 12px;
}
.card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.card-price span { font-weight: 400; color: var(--muted); font-size: .88rem; }

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .15s;
}
.btn-wa:hover { background: #1ab755; transform: scale(1.03); }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* Botón WA más compacto en móvil */
.btn-wa {
  padding: .5rem .95rem;
  font-size: 10.5px;
  line-height: 1.2;
  gap: .4rem;
}
.btn-wa svg { width: 16px; height: 16px; }

/* ── WHY (base móvil) ── */
.why {
  background: linear-gradient(140deg, #1f2060, #2d2e6e, #3c3d90, #1e7a7a, #2d2e6e, #1f2060);
  background-size: 400% 400%;
  animation: bgFlow 15s ease infinite;
  color: #fff;
  padding: 3rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,185,180,.12) 0%, transparent 65%);
  bottom: -200px; right: -150px;
  pointer-events: none;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.why h2 {
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 600;
  margin-bottom: .5rem;
  position: relative;
}
.why > p {
  opacity: .8;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: .95rem;
  position: relative;
}
/* Why-grid — 1 columna en móvil */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 2rem;
  position: relative;
}
.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  transition: background .2s, transform .2s;
}
.why-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.why-icon { font-size: 2.4rem; margin-bottom: .7rem; }
.why-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
.why-card p  { font-size: .85rem; opacity: .72; }

.why-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  position: relative;
}
.why-cta:hover { background: var(--teal-dark); transform: scale(1.04); }

/* ── QUIÉNES SOMOS (base móvil — apilado) ── */
.about { position: relative; overflow: hidden; }
/* Una columna en móvil: foto arriba, texto abajo */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
}
.about-left {
  background: linear-gradient(160deg, #1f2060, #2d2e6e, #1e7a7a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-left::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,185,180,.14) 0%, transparent 65%);
  bottom: -80px; right: -60px;
  pointer-events: none;
}
.about-right {
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.about-right h2 {
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.about-right p {
  font-size: .9rem;
  color: #3d3d5c;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 520px;
}
.about-credit {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--muted);
}
/* Avatar — tamaño base para móvil */
.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.3);
  box-shadow: 0 0 0 6px rgba(43,185,180,.18);
  margin-bottom: 1.2rem;
}
.avatar svg { width: 55px; height: 55px; fill: rgba(255,255,255,.45); }
.avatar img { width: 100%; height: 100%; object-fit: contain; }
.team-name { font-size: .95rem; font-weight: 600; color: #fff; }
.team-role  { font-size: .8rem; color: var(--teal-light); font-weight: 600; margin-top: .3rem; }

/* ── FAB ── */
.fab {
  position: fixed;
  bottom: 1.2rem; right: 1.2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 300;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

/* ── FOOTER (base móvil) ── */
footer {
  background: #1f2060;
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
  font-size: .85rem;
}
footer strong { color: white; }
footer a { color: white; text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  background: var(--navy);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--coral));
  z-index: 500;
  transition: width .08s linear;
}

/* Scroll margin para header fijo */
#juegos, #por-que, #quienes-somos, #contacto { scroll-margin-top: 80px; }

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── NAV ACTIVE ── */
nav a.active { color: #2d2e6e; }
nav a.active::after { width: 100%; }

/* ── TOOLTIP EN BOTÓN WA ── */
.btn-wa-wrap { position: relative; }
.btn-wa-wrap .tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: #fff;
  font-size: .75rem;
  padding: .3rem .7rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.btn-wa-wrap .tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
}
.btn-wa-wrap:hover .tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: fadeInUp .25s ease;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-close:hover { color: var(--navy); }
.modal-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.modal-box p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.modal-link {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: .6rem 1.5rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s;
}
.modal-link:hover { background: var(--teal-dark); }

/* ── VER MÁS ── */
.btn-info {
  display: inline;
  background: none;
  border: none;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}
.btn-info:hover { color: var(--teal-dark); }

/* ── PÁGINA DE PRODUCTO ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--teal);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  margin: 1.5rem 1.2rem 0;
}
.back-link:hover { color: var(--teal-dark); text-decoration: underline; }

.product-detail {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 3rem;
  display: grid;
  /* 1 columna en móvil: imagen/video arriba, info abajo */
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.8rem;
}
.product-detail .detail-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.product-detail .detail-body {
  display: flex;
  flex-direction: column;
}
.product-detail .detail-scroll {
  /* Sin scroll interno en móvil: el contenido fluye con la página */
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
}
.product-detail .detail-tag {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.product-detail h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.product-detail .detail-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.product-detail .detail-skills-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: .4rem 0 .6rem;
}
.product-detail .detail-skills {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: .5rem;
}
.product-detail .detail-skills li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  line-height: 1.6;
}
.product-detail .detail-skills li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.product-detail .card-price { font-size: 1.2rem; margin-top: 1rem; }

/* ════════════════════════════════════════
   BREAKPOINT 480px — MÓVIL GRANDE
   Más espacio, grid de 2 columnas para cards y why
════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero { padding: 3.5rem 1.5rem 3rem; min-height: 320px; }
  .hero-sub { font-size: 1rem; }

  /* 2 columnas para cards y why en móvil grande */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .products-section { padding: 3.5rem 1.5rem; }
  .why { padding: 3.5rem 1.5rem; }

  .avatar { width: 140px; height: 140px; }
  .about-left { padding: 3rem 2rem; }

  footer { padding: 2rem 1.5rem; font-size: .88rem; }

  /* Restaurar tamaño normal del botón WA en pantallas más anchas */
  .btn-wa { padding: .75rem 1.4rem; font-size: 13px; gap: .55rem; }
  .btn-wa svg { width: 20px; height: 20px; }
}

/* ════════════════════════════════════════
   BREAKPOINT 768px — TABLET
   Mostrar nav completa, layouts de 2 columnas
════════════════════════════════════════ */
@media (min-width: 768px) {
  /* Header: más espacio, logo más grande */
  header { padding: .65rem 1.5rem; }
  .logo { height: 72px; }

  /* Ocultar burger, mostrar nav inline */
  .burger { display: none; }
  .nav-menu {
    display: flex !important;       /* siempre visible en tablet+ */
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
    padding: 0;
    box-shadow: none;
    border-top: none;
    background: transparent;
  }

  #juegos, #por-que, #quienes-somos, #contacto { scroll-margin-top: 100px; }

  /* Hero: padding más generoso */
  .hero { padding: 4rem 2rem 3.5rem; min-height: 340px; gap: 1.2rem; }
  .hero-sub { font-size: 1.02rem; }

  /* Products: mayor padding y gap */
  .products-section { padding: 4rem 2rem; }
  .section-head { margin-bottom: 2.5rem; }

  /* 2 columnas aseguradas en tablet */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }

  .why { padding: 4rem 2rem; }
  .why > p { margin-bottom: 2.5rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-bottom: 2.5rem; }

  /* About split: 2 columnas iguales en tablet */
  .about-split { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .about-left { padding: 3.5rem 2rem; }
  .about-right { padding: 3rem 2.5rem; }
  .about-right h2 { margin-bottom: 1.2rem; }

  .avatar { width: 150px; height: 150px; }

  .fab { bottom: 1.5rem; right: 1.5rem; width: 55px; height: 55px; }
  .fab svg { width: 29px; height: 29px; }

  footer { padding: 2rem 1.5rem; font-size: .88rem; }

  /* Modal más espacioso */
  .modal-box { padding: 2.5rem 2rem 2rem; }
  .modal-box h3 { font-size: 1.4rem; }

  /* Página de producto: 2 columnas (imagen/video | info) desde tablet */
  .product-detail {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 2rem 4rem;
    gap: 3rem;
  }
  .product-detail .detail-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: .5rem;
  }
  .back-link { margin: 2rem 2rem 0; }
}

/* ════════════════════════════════════════
   BREAKPOINT 1024px — ESCRITORIO
   Diseño original completo, máximos espaciados
════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Header original */
  header { padding: .75rem 2rem; }
  .logo { height: 85px; }
  .nav-menu { gap: 2rem; }

  #juegos, #por-que, #quienes-somos, #contacto { scroll-margin-top: 110px; }

  /* Hero original */
  .hero { padding: 5rem 1.5rem 4rem; min-height: 360px; gap: 1.2rem; }
  .hero h1 { font-size: clamp(1.75rem, 4.5vw, 2.8rem); }
  .hero-sub { font-size: 1.05rem; }
  .badge { padding: .5rem 1.3rem; font-size: .9rem; }

  /* Products original */
  .products-section { padding: 5rem 3rem; }
  .section-head { margin-bottom: 3rem; }
  /* 4 columnas fluidas en escritorio */
  .grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
  .card-body { padding: 1.6rem 1.5rem 1.8rem; }
  .card-title { font-size: 1.2rem; }
  .card-desc { font-size: .93rem; }

  /* Why original */
  .why { padding: 5rem 1.5rem; }
  .why > p { font-size: 1rem; margin-bottom: 3rem; }
  /* 4 columnas en escritorio */
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
  .why-card { padding: 1.6rem 1.2rem; }
  .why-cta { padding: .8rem 1.8rem; font-size: 1rem; }

  /* About split original: 2fr / 3fr */
  .about-split { grid-template-columns: 2fr 3fr; min-height: 460px; }
  .about-left { padding: 4.5rem 2.5rem; }
  .about-right { padding: 4rem 3.5rem; }
  .about-right h2 { margin-bottom: 1.5rem; }
  .about-right p { font-size: .93rem; }

  .avatar { width: 180px; height: 180px; }
  .avatar svg { width: 70px; height: 70px; }
  .team-name { font-size: 1.05rem; }
  .team-role  { font-size: .85rem; }

  .fab { bottom: 1.8rem; right: 1.8rem; width: 58px; height: 58px; }
  .fab svg { width: 30px; height: 30px; }

  footer { padding: 2.5rem 1.5rem; font-size: .88rem; }
}
