/* Overlay para fondo oscuro */
.contact-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4
}

.no-scroll {
    overflow: hidden;
}

/* Panel de Contacto - desde la derecha */
.contact-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 53.33%;
    height: 100%;
    background-color: white;
    z-index: 11;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    padding: 30px;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .contact-panel {
        width: 43.33%;
    }
}

.contact-panel.open {
    transform: translateX(0);
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1B456F;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #F3B040;
}

.panel-title {
    color: #F3B040;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Secciones de contacto */
.contact-section {
    margin-bottom: 40px;
}

.Sec {
    color: #1B456F;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid #F3B040;
    padding-bottom: 8px;
    display: inline-block;
}


.imag-logo {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;

    align-items: center;
    gap: 12px;
    color: #1B456F;
    font-size: 16px;
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #1B456F;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #F3B040;
}


.contact-item i {
    color: #F3B040;
    font-size: 18px;
    min-width: 20px;
}

.contact-item a {
    color: #1B456F;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #F3B040;
}


/* Redes sociales en la parte inferior */
.social-media {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #1B456F;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #F3B040;
    transform: translateY(-3px);
}

/* WhatsApp - verde */
.social-link.whatsapp {
    background-color: #25D366;
}

.social-link.whatsapp:hover {
    background-color: #20B858;
}

/* Facebook - azul */
.social-link.facebook {
    background-color: #3B5998;
}

.social-link.facebook:hover {
    background-color: #2D4373;
}

/* LinkedIn - azul profesional */
.social-link.linkedin {
    background-color: #0077B5;
}

.social-link.linkedin:hover {
    background-color: #005885;
}