/* responsive.css */

/* ===== TABLET: 1024px ===== */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 6rem;
    --space-2xl: 4rem;
  }

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

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

/* ===== MOBILE: 768px ===== */
@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
    --space-xl:  2rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  /* Header */
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    flex-wrap: nowrap;
    position: relative;
  }

  /* Botón hamburguesa visible en mobile */
  .site-nav__toggle {
    display: flex;
  }

  /* Lista oculta por defecto, despliega al abrir */
  .site-nav__list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--color-dark);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) var(--container-pad);
    z-index: 99;
  }

  .site-nav__list.is-open {
    display: flex;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    display: block;
    padding-block: var(--space-xs);
    font-size: var(--fs-base);
  }

  .site-nav__item:last-child .btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-xs);
  }

  /* ===== BENEFICIOS — emotes responsive ===== */
  .beneficio__icon {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  /* Caja de regalo */
  .gift-wrapper {
    width: 120px;
    height: 120px;
  }

  /* Billetero */
  .money-stack-wrapper {
    width: 180px;
    height: 120px;
  }

  /* WhatsApp */
  .whatsapp-wrapper {
    width: 120px;
    height: 120px;
  }

  /* Grids */
  .grid--2col,
  .grid--3col,
  .grid--4col {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .section--hero__inner {
    gap: var(--space-sm);
  }

  .hero__card {
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-lg);
  }

  .hero__title {
    font-size: 2rem;
  }

  /* Banner */
  .banner__title {
    font-size: 1.75rem;
  }

  /* CTA Final */
  .cta-final__title {
    font-size: 1.5rem;
  }
}

/* ===== SMALL MOBILE: 480px ===== */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

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

  .hero__title {
    font-size: 2rem;
  }
}