.elementor-5159 .elementor-element.elementor-element-796744f{--display:flex;}.elementor-5159 .elementor-element.elementor-element-0bc3d4c{--spacer-size:50px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-primary );}.elementor-5159 .elementor-element.elementor-element-157d990 > .elementor-widget-container{margin:0px 100px 0px 150px;}.elementor-5159 .elementor-element.elementor-element-157d990{text-align:left;}.elementor-5159 .elementor-element.elementor-element-157d990 .elementor-heading-title{color:#FF0000;}.elementor-5159 .elementor-element.elementor-element-25ba8f2{--spacer-size:50px;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );letter-spacing:var( --e-global-typography-primary-letter-spacing );}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-5159 .elementor-element.elementor-element-157d990 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-5159 .elementor-element.elementor-element-157d990.elementor-element{--align-self:center;--flex-grow:0;--flex-shrink:1;}.elementor-5159 .elementor-element.elementor-element-157d990{text-align:center;}}/* Start custom CSS *//* --- CONTENEDOR PRINCIPAL DEL FORMULARIO --- */
.wpforms-container {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    max-width: 850px !important;
    margin: 0 auto !important;
}

/* --- TÍTULOS DE SECCIÓN (Ej: 1. Información Personal) --- */
.wpforms-field-html h3 {
    color: #1a1a1a !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f3f7 !important;
    letter-spacing: -0.5px !important;
}

/* --- ETIQUETAS (LABELS) --- */
.wpforms-field-label {
    font-weight: 600 !important;
    color: #2d3436 !important;
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* --- CAMPOS DE ENTRADA (INPUTS, SELECTS, TEXTAREAS) --- */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field input[type="date"],
.wpforms-field select,
.wpforms-field textarea {
    background-color: #f7f9fc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    color: #4a5568 !important;
}

/* --- EFECTO FOCUS (Al hacer clic en un campo) --- */
.wpforms-field input:focus,
.wpforms-field textarea:focus {
    background-color: #fff !important;
    border-color: #3182ce !important;
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.1) !important;
    outline: none !important;
}

/* --- CORRECCIÓN CAMPO DE TELÉFONO (BANDERA) --- */
.wpforms-field-phone .iti {
    display: block !important;
    width: 100% !important;
}

.wpforms-field-phone input[type="tel"] {
    /* Este padding evita que el texto se monte sobre la bandera */
    padding-left: 55px !important; 
}

.wpforms-field-phone .iti__flag-container {
    z-index: 5 !important;
    padding-left: 10px !important;
}

/* --- SUB-LABELS (Nombre, Apellidos debajo del campo) --- */
.wpforms-field-sublabel {
    font-size: 12px !important;
    color: #a0aec0 !important;
    margin-top: 6px !important;
    font-weight: 400 !important;
}

/* --- ÁREA DE INTERÉS (RADIO BUTTONS COMO TARJETAS) --- */
.wpforms-field-radio ul, 
.wpforms-field-checkbox ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-field-radio li, 
.wpforms-field-checkbox li {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    background: #f7f9fc !important;
    border-radius: 12px !important;
    border: 1px solid #edf2f7 !important;
    transition: 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
}

.wpforms-field-radio li:hover,
.wpforms-field-checkbox li:hover {
    background: #edf2f7 !important;
    border-color: #cbd5e0 !important;
}

.wpforms-field-radio li input,
.wpforms-field-checkbox li input {
    margin-right: 12px !important;
}

/* --- LÍNEAS DIVISORIAS --- */
.wpforms-field-divider {
    margin: 40px 0 !important;
    border-top: 1px solid #eee !important;
}

/* --- BOTÓN DE ENVÍO --- */
.wpforms-submit-container {
    padding-top: 20px !important;
    text-align: center !important;
}

.wpforms-submit {
    background-color: #1a1a1a !important; /* Color negro elegante */
    color: #ffffff !important;
    border: none !important;
    padding: 16px 50px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important; /* Botón ancho para móvil, puedes quitarlo */
    max-width: 300px !important;
}

.wpforms-submit:hover {
    background-color: #333333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* Ajuste responsivo para móviles */
@media (max-width: 600px) {
    .wpforms-container {
        padding: 20px !important;
    }
    
    .wpforms-field-radio ul {
        grid-template-columns: 1fr !important;
    }
}/* End custom CSS */