/* =========================
   REDES SOCIALES
========================= */

.social-section {
    padding: 80px 20px;
    background: var(--blanco_fantasma);
}

.social-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--guinda);
    margin-bottom: 50px;
}

/* GRID */
.social-grid {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* TARJETA */
.social-widget {
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);

    display: flex;
    flex-direction: column;

    /* IMPORTANTE */
    aspect-ratio: 9 / 16;

    min-height: 650px;
}

/* HEADER */
.social-header {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 20px;

    font-size: 1.2rem;
    font-weight: 700;

    flex: none;
}

.social-header i {
    font-size: 1.5rem;
}

/* BOTÓN */
.social-btn {
    margin: 0 20px 20px;
    padding: 12px 18px;

    border: none;
    border-radius: 30px;

    color: var(--blanco);
    font-weight: 700;
    cursor: pointer;

    flex: none;
}

/* COLORES */

.instagram-widget .social-header {
    color: var(--color-fuchsia);
}

.instagram-widget .social-btn {
    background: var(--color-fuchsia);
}

.facebook-widget .social-header {
    color: var(--azul);
}

.facebook-widget .social-btn {
    background: var(--azul);
}

.tiktok-widget .social-header {
    color: var(--negro);
}

.tiktok-widget .social-btn {
    background: var(--negro);
}

/* EMBED */

.social-embed {
    flex: 1;

    position: relative;

    width: 100%;

    min-height: 0;
}

.social-embed iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: none;
}

/* TABLET */

@media(max-width:1200px) {

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MOBILE */

@media(max-width:768px) {

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-widget {
        aspect-ratio: auto;
        height: 700px;
    }

}