.sociales-section {
  padding: 3rem 1rem;
  background: #f5faf5;
}

.sociales-container {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.sociales-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1c7c3a;
  margin-bottom: 0.75rem;
}

.sociales-subtitle {
  font-size: 1rem;
  color: #546e5a;
  margin-bottom: 1.75rem;
}

.sociales-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  gap: 8px;
}

.social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram {
  background: linear-gradient(135deg, #4c9f70, #2f855a);
}

.social-btn.facebook {
  background: #1f6b3a;
}

.social-btn.tiktok {
  background: #0f5132;
}

.sociales-videos-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* móviles: 2 por fila */
}

.social-video-item {
  background: #ffffff;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.social-video-item iframe {
  width: 100%;
  aspect-ratio: 9 / 16; /* Reels en formato vertical 9:16 */
  height: auto;
  border: 0;
}

/* Responsive grid
  - móviles: 2 por fila (defecto)
  - tablets: 3 por fila
  - desktop grande: 6 por fila
*/

@media (min-width: 768px) {
  .sociales-videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .sociales-videos-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Botones apilados en una columna en pantallas pequeñas */

@media (max-width: 575.98px) {
  .sociales-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }
}
