/* Estilos para el Modal de Contacto */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.contact-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: modalBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalBounce {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-modal-header {
    background: #FF633C;
    /* Naranja CENDI */
    color: white;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #E05735;
}

.contact-modal-header h2 {
    font-family: 'Lobster Two', cursive;
    margin: 0;
    font-size: 32px;
    color: #FFF200;
    /* Amarillo brillante para máximo contraste */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.contact-modal-header h2 i {
    margin-right: 10px;
    font-size: 30px;
}

.contact-modal-header p {
    font-family: 'Lato', sans-serif;
    margin: 2px 0 0;
    font-size: 11px;
    font-weight: bold;
    color: #FFF8E1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-modal-body {
    padding: 20px 25px;
    background: #FFFDF7;
    /* Crema muy suave */
}

.contact-form-group {
    margin-bottom: 12px;
}

.contact-form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #3185CB;
    /* Azul CENDI */
    margin-bottom: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #FEE6B4;
    /* Borde amarillo suave */
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s;
    background: #fff;
    font-size: 14px;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #3185CB;
    box-shadow: 0 0 0 4px rgba(49, 133, 203, 0.1);
    outline: none;
}

/* Captcha Style */
.captcha-container {
    background: #FFF8E1;
    padding: 10px;
    border-radius: 12px;
    border: 2px dashed #FF633C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.captcha-question {
    font-family: 'Lobster Two', cursive;
    font-size: 20px;
    color: #FF633C;
}

.captcha-input {
    width: 60px !important;
    height: 35px;
    text-align: center;
    font-weight: bold;
    font-size: 18px !important;
    border-color: #FF633C !important;
    color: #FF633C;
    border-radius: 8px !important;
}

.btn-send-contact {
    background: #3185CB;
    /* Azul CENDI */
    color: white;
    border: none;
    padding: 10px 25px;
    width: auto;
    min-width: 200px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    font-family: 'Lobster Two', cursive;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 4px solid #2B75B2;
}

.btn-send-contact:hover {
    background: #3BA1F5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(49, 133, 203, 0.3);
}

.btn-send-contact:active {
    transform: translateY(0);
}

.close-contact-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.close-contact-modal:hover {
    background: rgba(0, 0, 0, 0.2);
}