.technical-form-section {
    padding: 128px 0;
    background: #f1f6f8;
}

.technical-form-section__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-right: 48px;
    padding-left: 48px;
}

/* =========================
   CABECERA
========================= */

.technical-form-section__header {
    max-width: 768px;
    margin: 0 auto;
}

.technical-form-section__section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.technical-form-section__section-number {
    color: #0077ab;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
}

.technical-form-section__section-number::after {
    content: "/";
    margin-left: 5px;
    color: rgba(17, 24, 39, 0.25);
}

.technical-form-section__section-text {
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================
   TÍTULO
========================= */

.technical-form-section__title {
    max-width: 760px;
    margin: 20px 0 0;
    color: #111827;
    font-size: clamp(38px, 3.6vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

/* =========================
   TEXTO INTRODUCTORIO
========================= */

.technical-form-section__intro {
    max-width: 700px;
    margin-top: 24px;
    color: rgba(17, 24, 39, 0.7);
    font-size: 18px;
    line-height: 1.7;
}

.technical-form-section__intro p {
    margin: 0 0 16px;
}

.technical-form-section__intro p:last-child {
    margin-bottom: 0;
}

/* =========================
   CONTENEDOR FORMULARIO
========================= */

.technical-form-section__form-wrapper {
    max-width: 768px;
    margin: 56px auto 0;
}

.technical-form-section__form {
    width: 100%;
}

/* =========================
   HUBSPOT
   Estilos generales alrededor
   del formulario embebido.
========================= */

.technical-form-section__form .hbspt-form {
    width: 100%;
}

/*
 * Si HubSpot genera el formulario directamente
 * en el DOM, estas reglas ayudan a acercarlo
 * al diseño original de Bolt.
 */

.technical-form-section__form .hs-form {
    width: 100%;
    margin: 0;
}

.technical-form-section__form fieldset {
    max-width: none !important;
    margin: 0 0 20px !important;
}

.technical-form-section__form .hs-form-field {
    margin-bottom: 20px;
}

.technical-form-section__form label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.technical-form-section__form .hs-form-required {
    color: #c2413b;
}

/* =========================
   INPUTS
========================= */

.technical-form-section__form input[type="text"],
.technical-form-section__form input[type="email"],
.technical-form-section__form input[type="tel"],
.technical-form-section__form input[type="number"],
.technical-form-section__form input[type="url"],
.technical-form-section__form input[type="date"],
.technical-form-section__form select,
.technical-form-section__form textarea {
    display: block;
    width: 100% !important;
    min-height: 50px;
    padding: 12px 14px !important;
    border: 1px solid rgba(17, 24, 39, 0.18) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.technical-form-section__form textarea {
    min-height: 130px;
    resize: vertical;
}

.technical-form-section__form select {
    cursor: pointer;
}

.technical-form-section__form input:focus,
.technical-form-section__form select:focus,
.technical-form-section__form textarea:focus {
    border-color: #0077ab !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 119, 171, 0.12) !important;
}

/* =========================
   PLACEHOLDERS
========================= */

.technical-form-section__form input::placeholder,
.technical-form-section__form textarea::placeholder {
    color: rgba(17, 24, 39, 0.42);
    opacity: 1;
}

/* =========================
   COLUMNAS HUBSPOT
========================= */

.technical-form-section__form .form-columns-1,
.technical-form-section__form .form-columns-2,
.technical-form-section__form .form-columns-3 {
    max-width: none !important;
}

.technical-form-section__form .form-columns-2 {
    display: flex;
    gap: 20px;
}

.technical-form-section__form .form-columns-2 .hs-form-field {
    flex: 1 1 0;
    width: auto !important;
}

.technical-form-section__form .form-columns-3 {
    display: flex;
    gap: 20px;
}

.technical-form-section__form .form-columns-3 .hs-form-field {
    flex: 1 1 0;
    width: auto !important;
}

/* =========================
   CHECKBOX / RADIO
========================= */

.technical-form-section__form .inputs-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.technical-form-section__form .inputs-list li {
    margin: 0 0 10px;
}

.technical-form-section__form .inputs-list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: rgba(17, 24, 39, 0.78);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.technical-form-section__form input[type="checkbox"],
.technical-form-section__form input[type="radio"] {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    accent-color: #0077ab;
}

/* =========================
   ERRORES HUBSPOT
========================= */

.technical-form-section__form .hs-error-msgs {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.technical-form-section__form .hs-error-msg,
.technical-form-section__form .hs-error-msgs label {
    margin: 0;
    color: #c2413b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================
   TEXTO DE AYUDA
========================= */

.technical-form-section__form .hs-field-desc {
    margin-top: 6px;
    color: rgba(17, 24, 39, 0.5);
    font-size: 12px;
    line-height: 1.5;
}

/* =========================
   BOTÓN HUBSPOT
========================= */

.technical-form-section__form .hs-submit {
    margin-top: 28px;
}

.technical-form-section__form .hs-button,
.technical-form-section__form input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px !important;
    border: 1px solid #0077ab !important;
    border-radius: 4px !important;
    background: #0077ab !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.technical-form-section__form .hs-button:hover,
.technical-form-section__form .hs-button:focus,
.technical-form-section__form input[type="submit"]:hover,
.technical-form-section__form input[type="submit"]:focus {
    border-color: #005f89 !important;
    background: #005f89 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================
   MENSAJE DE GRACIAS
========================= */

.technical-form-section__form .submitted-message {
    padding: 32px;
    border: 1px solid rgba(0, 119, 171, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 17px;
    line-height: 1.7;
}

.technical-form-section__form .submitted-message p {
    margin: 0 0 14px;
}

.technical-form-section__form .submitted-message p:last-child {
    margin-bottom: 0;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .technical-form-section {
        padding: 104px 0;
    }

    .technical-form-section__container {
        padding-right: 32px;
        padding-left: 32px;
    }

    .technical-form-section__form-wrapper {
        margin-top: 48px;
    }
}

/* =========================
   MÓVIL
========================= */

@media (max-width: 768px) {

    .technical-form-section {
        padding: 80px 0;
    }

    .technical-form-section__container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .technical-form-section__title {
        font-size: 38px;
    }

    .technical-form-section__intro {
        margin-top: 20px;
        font-size: 17px;
    }

    .technical-form-section__form-wrapper {
        margin-top: 40px;
    }

    .technical-form-section__form .form-columns-2,
    .technical-form-section__form .form-columns-3 {
        display: block;
    }

    .technical-form-section__form .form-columns-2 .hs-form-field,
    .technical-form-section__form .form-columns-3 .hs-form-field {
        width: 100% !important;
    }

    .technical-form-section__form .hs-button,
    .technical-form-section__form input[type="submit"] {
        width: 100% !important;
    }
}

@media (max-width: 520px) {

    .technical-form-section {
        padding: 64px 0;
    }

    .technical-form-section__title {
        font-size: 34px;
    }

    .technical-form-section__intro {
        font-size: 16px;
    }

    .technical-form-section__form-wrapper {
        margin-top: 36px;
    }

    .technical-form-section__form input[type="text"],
    .technical-form-section__form input[type="email"],
    .technical-form-section__form input[type="tel"],
    .technical-form-section__form input[type="number"],
    .technical-form-section__form input[type="url"],
    .technical-form-section__form input[type="date"],
    .technical-form-section__form select,
    .technical-form-section__form textarea {
        font-size: 16px !important;
    }
}