.formulario-contacto {
    margin-top: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    clear: both;
    width: 100%;
    max-width: 830px;
    box-sizing: border-box;
}

.formulario-contacto h3 {
    margin-top: 30px;
    color: #002387;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    line-height: 24px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #002387;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    letter-spacing: 1px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #002387;
    box-shadow: 0 0 5px rgba(0, 35, 135, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    background: #002387;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.btn-enviar:hover {
    background: #001a5c;
}

.btn-enviar:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    text-align: center;
}

.message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.loading {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Arreglar la estructura de contacto */
.cont-texto {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cont-contacto {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

/* RGPD Compliance Styles */
.rgpd-section {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #002387;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label {
    margin: 0;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    display: inline;
}

.checkbox-label a {
    color: #002387;
    text-decoration: underline;
    display: inline;
}

.checkbox-label a:hover {
    color: #001a5c;
}

.rgpd-info {
    background: #e9f4ff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #b3d9ff;
    margin-top: 15px;
}

.rgpd-info p {
    margin: 0;
    color: #555;
}

.rgpd-info a {
    color: #002387;
    text-decoration: underline;
}

.rgpd-info a:hover {
    color: #001a5c;
}

/* Responsive adjustments for RGPD */
@media (max-width: 768px) {
    .rgpd-section {
        padding: 12px;
    }
    
    .checkbox-label {
        font-size: 12px;
    }
    
    .rgpd-info {
        padding: 12px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .formulario-contacto {
        margin-top: 30px;
        padding: 20px 15px;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .btn-enviar {
        width: 100%;
        max-width: none;
    }
    
    .cont-contacto {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .formulario-contacto {
        margin-top: 20px;
        padding: 15px 10px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .btn-enviar {
        padding: 12px 30px;
        font-size: 14px;
    }
}
