.ld-estimation-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background: linear-gradient(120deg, #0b4fb0 0%, #00b5c8 100%);
}

.ld-estimation-hero--has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 79, 176, 0.9) 0%, rgba(0, 181, 200, 0.82) 100%);
    z-index: 1;
}

.ld-estimation-hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-estimation-hero .container {
    position: relative;
    z-index: 2;
}

.ld-estimation-hero__content {
    max-width: 920px;
    margin: 0 auto;
}

.ld-estimation-hero__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.85rem);
    line-height: 1.2;
    font-weight: 800;
}

.ld-estimation-hero__subtitle {
    margin: 0 auto 28px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.5;
}

.ld-estimation-hero__form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 840px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 18px 34px rgba(8, 40, 110, 0.28);
}

.ld-estimation-hero__input {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 10px;
    padding: 0 44px 0 18px;
    font-size: 1rem;
    color: #163052;
    outline: 0;
    background: #fff;
}

.ld-estimation-hero__icon {
    position: absolute;
    right: 184px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.82;
    pointer-events: none;
}

.ld-estimation-hero__button {
    flex: 0 0 auto;
    min-height: 56px;
    border: 0;
    border-radius: 10px;
    padding: 0 26px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #07c0d5 0%, #17d7c6 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ld-estimation-hero__button:hover,
.ld-estimation-hero__button:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(7, 192, 213, 0.35);
}

.ld-estimation-card {
    margin-top: -24px;
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 34, 68, 0.08);
}

.ld-estimation-card__title {
    margin-bottom: 22px;
    font-size: 1.35rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ld-estimation-hero {
        padding: 54px 0;
    }

    .ld-estimation-hero__form {
        flex-direction: column;
        align-items: stretch;
    }

    .ld-estimation-hero__icon {
        right: 26px;
        top: 39px;
    }

    .ld-estimation-hero__button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .ld-estimation-hero {
        padding: 44px 0;
    }

    .ld-estimation-hero__title {
        font-size: 1.45rem;
    }

    .ld-estimation-card {
        margin-top: -10px;
        padding: 20px;
        border-radius: 12px;
    }
}
