.hero-hubspot {
    padding: clamp(56px, 4.5vw, 72px) 0;
    background: #fff;
    color: #231f20;
}

.hero-hubspot *,
.hero-hubspot *::before,
.hero-hubspot *::after {
    box-sizing: border-box;
}

.hero-hubspot__layout {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(30rem, 1.02fr);
    gap: clamp(3rem, 7vw, 7.5rem);
    align-items: center;
}

.hero-hubspot__content {
    position: relative;
    padding-left: 1.5rem;
}

.hero-hubspot__content::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: #d8dcda;
    content: "";
}

.hero-hubspot__content::after {
    position: absolute;
    top: -2rem;
    left: 1.15rem;
    color: #51bf9d;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    content: "+";
    transform: translateX(-50%);
}

.hero-hubspot__eyebrow {
    margin: 0 0 1.3rem;
    color: #51bf9d;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hero-hubspot__heading {
    max-width: 42rem;
    margin: 0;
    color: #000;
    font-size: clamp(38px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.hero-hubspot__tagline {
    margin: 1.5rem 0 0;
    color: #686261;
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
}

.hero-hubspot__body {
    max-width: 39rem;
    margin-top: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.65;
}

.hero-hubspot__body > :last-child {
    margin-bottom: 0;
}

.hero-hubspot__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.25rem;
}

.hero-hubspot__actions .btn {
    display: inline-flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: .85rem 1.65rem;
    border: 1px solid #231f20;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero-hubspot__secondary-cta {
    background: transparent;
    color: #231f20;
}

.hero-hubspot__secondary-cta:hover,
.hero-hubspot__secondary-cta:focus-visible {
    background: #231f20;
    color: #fff;
}

.hero-hubspot__form-card {
    width: 100%;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(35, 31, 32, .13);
    scroll-margin-top: 8rem;
}

.hero-hubspot__form-heading {
    margin: 0 0 .35rem;
    color: #231f20;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-hubspot__form-intro {
    margin: 0 0 1.5rem;
    color: #686261;
    line-height: 1.5;
}

.hero-hubspot__form .shc-consent-placeholder--form {
    max-width: none;
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-hubspot__form .hs-form {
    width: 100%;
}

.hero-hubspot__form .form-columns-1,
.hero-hubspot__form .form-columns-2 {
    max-width: none !important;
}

.hero-hubspot__form .form-columns-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.hero-hubspot__form .form-columns-2 .hs-form-field {
    width: 100% !important;
    float: none !important;
}

.hero-hubspot__form .hs-form-field {
    margin-bottom: .9rem;
}

.hero-hubspot__form label {
    display: block;
    margin-bottom: .35rem;
    color: #231f20;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-hubspot__form .hs-input:not([type="checkbox"]):not([type="radio"]),
.hero-hubspot__form select.hs-input,
.hero-hubspot__form textarea.hs-input {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 15px !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #231f20 !important;
    font: inherit;
}

.hero-hubspot__form textarea.hs-input {
    min-height: 112px !important;
    resize: vertical;
}

.hero-hubspot__form .hs-input:focus {
    border-color: #51bf9d;
    box-shadow: 0 0 0 3px rgba(81, 191, 157, .2);
    outline: 0;
}

.hero-hubspot__form .hs-error-msgs {
    margin: .35rem 0 0;
    padding: 0;
    color: #a61b1b;
    list-style: none;
}

.hero-hubspot__form .hs-error-msgs label {
    color: inherit;
    font-size: .875rem;
    font-weight: 400;
}

.hero-hubspot__form .hs-submit .hs-button {
    width: 100% !important;
    min-height: 56px !important;
    margin-top: .25rem;
    padding: .85rem 1rem;
    border: 1px solid #231f20 !important;
    border-radius: 4px !important;
    background: #231f20 !important;
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hero-hubspot__form .hs-submit .hs-button:hover,
.hero-hubspot__form .hs-submit .hs-button:focus-visible {
    border-color: #51bf9d !important;
    background: #51bf9d !important;
    color: #231f20 !important;
}

.hero-hubspot__form .legal-consent-container,
.hero-hubspot__form .hs-richtext {
    font-size: .875rem;
    line-height: 1.45;
}

.hero-hubspot__privacy-note {
    margin: 1rem 0 0;
    color: #686261;
    font-size: .875rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 991.98px) {
    .hero-hubspot__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-hubspot__content,
    .hero-hubspot__heading,
    .hero-hubspot__body {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .hero-hubspot {
        padding: 48px 0;
    }

    .hero-hubspot__content {
        padding-left: 1.15rem;
    }

    .hero-hubspot__content::after {
        left: .8rem;
    }

    .hero-hubspot__heading {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .hero-hubspot__actions,
    .hero-hubspot__actions .btn {
        width: 100%;
    }

    .hero-hubspot__form-card {
        padding: 1.35rem;
        border-radius: 9px;
    }

    .hero-hubspot__form .form-columns-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
