/* Start custom CSS for bdevs-contact-section, class: .elementor-element-26ff87c *//* ===== FORMULARIO CONTACTO IBERTRANDECAR (WPForms ID 2359) ===== */

/* Contenedor general */
#wpforms-2359 {
    max-width: 600px;
}

/* Estructura: separación limpia entre campos */
#wpforms-2359 .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#wpforms-2359 .wpforms-field {
    margin-bottom: 0 !important;
}

/* Labels */
#wpforms-2359 .wpforms-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

/* Ocultar descripciones / sublabels */
#wpforms-2359 .wpforms-field-description,
#wpforms-2359 .wpforms-field-sublabel {
    display: none !important;
}

/* ===== Inputs y textarea: estilo moderno con línea inferior ===== */

#wpforms-2359 input[type="text"],
#wpforms-2359 input[type="email"],
#wpforms-2359 textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e1e1e1;  /* línea limpia inferior */
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: #111;
    border-radius: 0;
    transition: border-color .25s ease, color .25s ease;
}

/* Placeholder */
#wpforms-2359 input::placeholder,
#wpforms-2359 textarea::placeholder {
    color: #b3b3b3;
    font-size: 14px;
}

/* Foco */
#wpforms-2359 input:focus,
#wpforms-2359 textarea:focus {
    outline: none;
    border-bottom-color: #f26522; /* naranja Ibertrandecar */
}

/* Tamaño del textarea (mensaje) controlado de verdad */
#wpforms-2359 .wpforms-field-textarea textarea,
#wpforms-form-2359 .wpforms-field-textarea textarea {
    min-height: 80px !important;     /* altura inicial más contenida */
    max-height: 220px !important;    /* límite razonable */
    overflow-y: auto !important;     /* scroll si se pasa */
    resize: vertical !important;     /* el usuario puede expandir si quiere */
}

/* ===== Botón enviar ===== */

#wpforms-2359 .wpforms-submit {
    background-color: #f26522;
    border: none;
    color: #fff;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

#wpforms-2359 .wpforms-submit:hover {
    background-color: #e45c1f;
    opacity: 0.94;
}

#wpforms-2359 .wpforms-submit-container {
    margin-top: 10px;
    text-align: left;
}

/* ===== Errores ===== */

#wpforms-2359 .wpforms-error {
    color: #d62828;
    font-size: 13px;
    margin-top: 4px;
}

#wpforms-2359 input.wpforms-error,
#wpforms-2359 textarea.wpforms-error {
    border-bottom-color: #d62828 !important;
}

/* ===== Ocultar honeypots / campos trampa ===== */

#wpforms-2359-field_5-container,
#wpforms-2359-field_6-container {
    display: none !important;
}

/* ===== Responsive ===== */

@media (max-width: 767px) {
    #wpforms-2359 {
        max-width: 100%;
    }
}/* End custom CSS */