:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-9a7880f *//* ========================================
   CONTACT FORM 7 - ESTILOS PROFESIONALES
   ======================================== */

/* Contenedor principal del formulario */
.wpcf7 {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(239, 68, 68, 0.1);
    position: relative;
    overflow: hidden;
}

/* Efecto decorativo */
.wpcf7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

/* Título del formulario */
.contact-form-title {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.contact-form-title .highlight {
    color: #ef4444;
}

/* Contenedor de campos en fila */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

/* Etiquetas de campos */
.wpcf7 label {
    display: block;
    color: #e5e5e5;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Campos de entrada */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 16px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Estados de los campos */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

/* Placeholder styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Textarea específico */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select styling */
.wpcf7 select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    padding-right: 40px;
}

/* Botón de envío */
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    border: none;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    margin-top: 20px;
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(-1px);
}

/* Efecto de ondas en el botón */
.wpcf7 input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wpcf7 input[type="submit"]:active::before {
    width: 300px;
    height: 300px;
}

/* Mensajes de respuesta */
.wpcf7-response-output {
    border: none !important;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0 0 0 !important;
    font-weight: 600;
    position: relative;
}

.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.1));
    border-left: 4px solid #22c55e !important;
    color: #22c55e;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.1));
    border-left: 4px solid #ef4444 !important;
    color: #ef4444;
}

.wpcf7-spam-blocked {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-left: 4px solid #f59e0b !important;
    color: #f59e0b;
}

/* Errores de validación individuales */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Spinner de carga */
.wpcf7-spinner {
    border: 3px solid rgba(239, 68, 68, 0.3);
    border-top: 3px solid #ef4444;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Checkboxes y radio buttons */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: auto;
    margin-right: 8px;
    accent-color: #ef4444;
}

.wpcf7 .wpcf7-list-item {
    margin: 10px 0;
}

.wpcf7 .wpcf7-list-item label {
    display: inline;
    margin-bottom: 0;
    margin-left: 8px;
    cursor: pointer;
}

/* Archivos adjuntos */
.wpcf7 input[type="file"] {
    background: rgba(20, 20, 20, 0.8);
    border: 2px dashed rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 input[type="file"]:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(30, 30, 30, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 14px;
        font-size: 16px;
    }
    
    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        padding: 25px 15px;
    }
    
    .contact-form-title {
        font-size: 1.75rem;
    }
}

/* Animación de entrada */
.wpcf7 {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de carga del formulario */
.wpcf7 form.submitting {
    opacity: 0.7;
    pointer-events: none;
}

.wpcf7 form.submitting input[type="submit"] {
    background: #666;
    cursor: not-allowed;
}

/* Efectos adicionales para campos requeridos */
.wpcf7 .wpcf7-validates-as-required {
    position: relative;
}

.wpcf7 .wpcf7-validates-as-required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
    font-weight: bold;
}

/* Mejoras de accesibilidad */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}/* End custom CSS */