﻿/* =========================
   CONTACTAR
========================= */

.p-contacto {
    background: linear-gradient(to bottom, #d6cfbb, #eae7dd);
    color: #322203;
    font-family: 'Cinzel', serif;
}

/* --- Bloque elegante central --- */
.bloque-contacto.bloque-elegante {
    padding: 3rem 2rem;
    max-width: 750px;
    margin: 3rem auto;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

/* --- Imagen QR --- */
.social-promo {
    text-align: center;
}

.qr-social {
    width: 380px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
}

    .qr-social:hover {
        transform: scale(1.05);
    }

/* --- Divider --- */
.divider {
    width: 60px;
    height: 2px;
    background-color: #322203;
    margin: 2rem auto;
    opacity: 0.4;
}

/* =========================
   ÍCONOS DE REDES SOCIALES
========================= */

.social-icons-alt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2.5rem 0;
}

    .social-icons-alt a {
        position: relative;
        color: #5c3f1b;
        font-size: 3rem;
        transition: all 0.4s ease;
        text-shadow: 0 3px 6px rgba(50, 34, 3, 0.2);
    }

        .social-icons-alt a::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0%;
            height: 2px;
            background: linear-gradient(90deg, #a97c30, #d6b877);
            transition: width 0.4s ease;
            border-radius: 4px;
        }

        .social-icons-alt a:hover {
            color: #a97c30;
            transform: scale(1.25);
            text-shadow: 0 0 12px rgba(169, 124, 48, 0.6);
        }

            .social-icons-alt a:hover::after {
                width: 80%;
            }

/* =========================
   RESPONSIVE OPTIMIZADO
========================= */

/* Tablets */
@media (max-width: 992px) {
    .bloque-contacto.bloque-elegante {
        max-width: 85%;
        padding: 2.5rem 1.5rem;
    }

    .qr-social {
        width: 320px;
    }

    .social-icons-alt {
        gap: 2.5rem;
        margin: 2rem 0;
    }

        .social-icons-alt a {
            font-size: 2.6rem;
        }
}

/* Smartphones */
@media (max-width: 768px) {
    .bloque-contacto.bloque-elegante {
        padding: 2rem 1rem;
        max-width: 90%;
        margin: 2rem auto;
    }

    .qr-social {
        width: 90%;
        height: auto;
        border-radius: 10px;
    }

    .divider {
        margin: 1.5rem auto;
    }

    .social-icons-alt {
        gap: 2rem;
        margin: 1.8rem 0;
    }

        .social-icons-alt a {
            font-size: 2.4rem;
        }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .bloque-contacto.bloque-elegante {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .titulo-seccion {
        font-size: 1.8rem;
    }

    .qr-social {
        width: 100%;
        border-radius: 8px;
    }

    .social-icons-alt {
        gap: 1.8rem;
        margin: 1.5rem 0;
    }

        .social-icons-alt a {
            font-size: 2.2rem;
        }
}
