.tb-hero {
    height: 560px;
    padding: 0;
    background-color: #111111;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.18) 100%),
        var(--tb-hero-bg, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tb-hero__inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.tb-hero__content {
    width: 100%;
    max-width: 980px;
}

.tb-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.tb-hero__title {
    margin: 0;
    max-width: 720px;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.tb-hero__title::after {
    content: "";
    display: block;
    width: 360px;
    max-width: 100%;
    height: 4px;
    margin-top: 18px;
    background: #fc7700;
}


.tb-hero__text {
    margin-top: 18px;
    max-width: 620px;
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.84);
}

.tb-hero__text p {
    margin: 0;
}

.tb-hero-form {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) 150px 170px;
    align-items: stretch;
    max-width: 980px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.tb-hero-form__field {
    display: grid;
    gap: 4px;
    padding: 12px 16px;
    border-right: 1px solid rgba(17, 17, 17, 0.12);
}

.tb-hero-form__field span {
    font-size: 12px;
    color: rgba(17, 17, 17, 0.56);
}

.tb-hero-form input,
.tb-hero-form select {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0;
    outline: 0;
    background: transparent;
    color: #111111;
    font: inherit;
}

.tb-hero-form__button {
    border: 0;
    padding: 0 22px;
    background: #fc7700;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 900px) {
    .tb-hero {
        height: auto;
        min-height: 620px;
        padding: 48px 0;
        background-image:
            linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 100%),
            var(--tb-hero-bg, none);
    }

    .tb-hero__title {
        font-size: clamp(34px, 10vw, 50px);
    }

    .tb-hero__text {
        font-size: 17px;
    }

    .tb-hero-form {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .tb-hero-form__field {
        border-right: 0;
        border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    }

    .tb-hero-form__button {
        min-height: 54px;
    }

    .tb-hero-benefits {
        gap: 16px;
    }
}

/* Commercial page hero height */
.page-template-page-commercial-php .tb-hero {
    min-height: 520px;
}

.page-template-page-commercial-php .tb-hero__inner {
    min-height: 520px;
}

@media (max-width: 900px) {
    .page-template-page-commercial-php .tb-hero,
    .page-template-page-commercial-php .tb-hero__inner {
        min-height: 420px;
    }
}
