/* =========================================================
   REDES SOCIALES
========================================================= */

/* =========================================================
   CABECERA
========================================================= */

.redes-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.redes-header-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.redes-header-icono {
  margin: 0;
}

.redes-header-icono i {
  font-size: 2rem;
}

.redes-header h1 {
  margin: 0;
}

.redes-header p {
  max-width: 650px;
  margin: 0 auto;
}

/* =========================================================
   CONTENEDOR
========================================================= */

.redes-container {
  max-width: 350px;
  margin: 0 auto 35px;
}

/* =========================================================
   GRID
========================================================= */

.redes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* =========================================================
   CARDS
========================================================= */

.redes-card {
  aspect-ratio: 1 / 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;

  padding: 10px;

  border-radius: 12px;

  text-decoration: none;
  text-align: center;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.redes-card:hover {
  transform: translateY(-5px);
}

.redes-card i {
  font-size: 2rem;
}

.redes-card span {
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================================
   WHATSAPP
========================================================= */

.redes-card.whatsapp {
  /* Aquí reutilizaremos tus colores actuales */
}

/* =========================================================
   YOUTUBE
========================================================= */

.redes-card.youtube {
  /* Aquí reutilizaremos tus colores actuales */
}

/* =========================================================
   INSTAGRAM
========================================================= */

.redes-card.instagram {
  /* Aquí reutilizaremos tus colores actuales */
}

/* =========================================================
   FACEBOOK
========================================================= */

.redes-card.facebook {
  /* Aquí reutilizaremos tus colores actuales */
}

/* =========================================================
   PINTEREST
========================================================= */

.redes-card.pinterest {
  /* Aquí reutilizaremos tus colores actuales */
}

/* =========================================================
   TIKTOK
========================================================= */

.redes-card.tiktok {
  background-color: #000;
  border: 1px solid #fff;
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 500px) {
  .redes-container {
    max-width: 300px;
  }

  .redes-grid {
    gap: 10px;
  }

  .redes-card {
    border-radius: 10px;
    padding: 8px;
  }

  .redes-card i {
    font-size: 1.7rem;
  }

  .redes-card span {
    font-size: 0.75rem;
  }
}

/* COLORES DE LAS TARJETAS */

.redes-card {
  color: #fff;
  background-color: #333;
}

.redes-card:hover {
  color: #fff;
  opacity: 0.9;
}

.redes-card.whatsapp {
  background-color: #25d366;
}

.redes-card.youtube {
  background-color: #ff0000;
}

.redes-card.instagram {
  background: linear-gradient(45deg, #fcaf45, #dd2a7b, #8134af, #515bd4);
}

.redes-card.facebook {
  background-color: #1877f2;
}

.redes-card.pinterest {
  background-color: #bd081c;
}

.redes-card.tiktok {
  background-color: #000;
}
