/* ===========================
   ESTILOS FORMULARIO HUBSPOT
   =========================== */

/* Campos de texto */
.hs-form .hs-input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 40px !important;

    padding: 8px 12px !important;

    background: #ffffff !important;
    color: #484F55 !important;

    border: 2px solid transparent;
    border-radius: 3px !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;

    box-sizing: border-box !important;
    transition: border-color .3s ease;
}

/* Textarea */
.hs-form textarea.hs-input {
    min-height: 120px !important;
    resize: vertical;
}

/* Focus */
.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}

/* Elimina sombras */
.hs-form :focus,
.hs-form .hs-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Errores */
.hs-form .hs-error-msg {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    color: #df3832;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hs-form .hs-error-msgs {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.hs-form .hs-error-msgs li {
    margin: 0;
    padding: 0;
}

.hs-form .hs-error-msgs li label {
    display: block;
    font-family: Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 300;
    color: #df3832;
}

.hs-form .hs-input.error,
.hs-form .hs-input.error:focus {
    border-color: #df3832 !important;
}

/* Botón */
.hs-form .hs-button {
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;
    height: 48px;
    padding: 12px 20px;

    font-family: Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    color: #ffffff;
    background: #B4002F;
    border: 1px solid #B4002F;
    border-radius: 3px;

    box-shadow: none;
    transition: all .35s linear;
}

.hs-form .hs-button:hover {
    background: #8f0025;
    border-color: #8f0025;
    color: #ffffff;
}

.hs-form .hs-button:active {
    transform: translateY(1px);
}

/* Centrar botón */
.hs-form .hs_submit,
.hs-form .hs-submit,
.hs-form .hs_submit .actions,
.hs-form .hs-submit .actions {
    display: flex;
    justify-content: center;
}

/* Checkbox */
.hs-form .hs-form-booleancheckbox-display {
    display: grid;
    grid-template-columns: min-content auto;
    gap: 8px;
    align-items: start;
    margin-top: 12px;
    margin-bottom: 16px;
    width: 100%;
}

.hs-form .hs-form-booleancheckbox-display input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px;
    margin-right: 5px;
    min-height: auto;
    accent-color: #B4002F;
}

.hs-form .hs-form-booleancheckbox-display > span {
    margin-left: 0 !important;
    font-size: 14px;
    line-height: 1.4;
    color: #484F55 !important;
    width: 100%;
}

/* Consentimiento */
.hs-form .legal-consent-container .hs-richtext {
    color: #484F55;
    margin-bottom: 12px;
}

/* Elimina listas */
.hs-form .inputs-list,
.hs-form .inputs-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Tipografía */
.hs-form,
.hs-form label,
.hs-form input,
.hs-form textarea,
.hs-form select,
.hs-form .hs-richtext,
.hs-form .hs-form-booleancheckbox-display > span,
.hs-form .hs-error-msg {
    font-family: Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif !important;
}

/* Responsive */
@media (max-width: 767px) {

    .hs-form fieldset[class*="form-columns"] {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .hs-form fieldset[class*="form-columns"] .hs-form-field {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        float: none !important;
    }

    .hs-form .hs-input {
        width: 100%;
        max-width: 100%;
    }
}

/* Contenedor del formulario */
.contact_form-form_container {
    max-width: 50%;
}

/* ===========================
   FIN ESTILOS HUBSPOT
   =========================== */