/* =========================
   MOBILE (<= 768px)
========================= */

@media (max-width: 768px) {

  /* ===== GRID GENERAL ===== */
  .grid {
    grid-template-columns: 1fr;
  }

  /* ===== NAVBAR ===== */
  nav {
    flex-direction: column;
  }

  /* ===== HERO ===== */
  .hero h2 {
    font-size: 28px;
    text-align: center;
  }

  .hero p {
    text-align: center;
  }

  .hero .buttons {
    justify-content: center;
  }

  /* ===== STATS ===== */
  .stats-grid {
    flex-direction: column;
  }

  /* ===== PHONES ===== */
  .phones-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-list {
    justify-content: center;
  }

  /* ===== TESTIMONIOS ===== */
  .testimonial-group {
    grid-template-columns: 1fr;
  }

  /* ===== FOOTER ===== */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

}


/* =========================
   TABLET (769px - 1024px)
========================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .phones-wrapper {
    gap: 30px;
  }

}


/* =========================
   MOBILE XS (<= 400px)
========================= */

@media (max-width: 400px) {

  /* ===== NAVBAR ===== */

  .logo-text {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  nav a {
    font-size: 16px;
  }

  /* ===== HERO ===== */

  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 13px;
  }

  /* ===== BOTONES ===== */

  .btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  /* ===== PHONES ===== */

  .phone-item {
    font-size: 20px;
  }

  .phones-title {
    font-size: 18px;
  }

  .phones-desc {
    font-size: 13px;
  }

  .whatsapp-item {
    font-size: 12px;
    padding: 10px;
  }

  /* ===== TESTIMONIOS ===== */

  .testimonial-card p {
    font-size: 14px;
  }

/* SOLO 4 EN MOBILE XS */
@media (max-width: 400px) {

  .coverage-item:nth-child(n+5) {
    display: none;
  }

  .coverage-more {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 10px;
    text-align: center;
  }

}

/* oculto por defecto */
.coverage-more {
  display: none;
}
  /* ===== FOOTER ===== */

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 12px;
  }

}

/* =========================
   APPS SECTION RESPONSIVE
========================= */

@media (max-width: 768px) {

  .apps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* TEXTO arriba */
  .apps-content {
    order: 1;
  }

  /* BOTÓN abajo */
  .apps-card {
    order: 2;
    justify-content: center;
  }

  .apps-card .btn {
    width: 100%;
    max-width: 300px;
  }

}