.lms-hero-form {
    background: #D41028;
    padding: 108px 0 150px;
}

.lms-hero-form__top {
    background: #D41028;
    position: relative;
}

.lms-hero-form__container {
    max-width: 1398px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.lms-hero-form__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 36px;
    align-items: center;
}

.lms-hero-form__hero img {
    max-width: 100%;
    width: 100%;
}

.lms-hero-form__content {
    padding: 60px 0 30px;
}

.lms-hero-form__title {
    margin: 0 0 22px;
    max-width: 560px;
    color: #FFFFFF;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: 1.06;
    letter-spacing: 0;
}

.lms-hero-form__text {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
}

.lms-hero-form__form {
    display: flex;
    justify-content: center;
}

.lms-hero-form__form-card {
    width: 100%;
    max-width: 488px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.lms-hero-form__form-inner {
    background: #F8F8F8;
    border-radius: 14px;
    padding: 22px 24px 18px;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 28, 0.04);
}

.lms-hero-form__form-title {
    margin: 0 0 10px;
    color: #575757;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lms-hero-form__field {
    margin-bottom: 14px;
}

.lms-hero-form__label,
.lms-hero-form__value {
    display: inline-block;
    color: #575757;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
}

.lms-hero-form__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.lms-hero-form__select,
.lms-hero-form__input {
    min-height: 28px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #FFFFFF;
    color: #7A7A7A;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 28, 0.06);
}

.lms-hero-form__range {
    position: relative;
    height: 2px;
    margin-top: 8px;
    background: #E5E5E5;
    border-radius: 999px;
}

.lms-hero-form__range-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    background: #D41028;
    border-radius: inherit;
}

.lms-hero-form__range-fill::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 18px;
    height: 18px;
    background: #F4F4F4;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.08);
}

.lms-hero-form__segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 2px;
    border-radius: 8px;
    background: #EEEEEE;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 28, 0.02);
}

.lms-hero-form__segmented span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 6px;
    color: #575757;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

.lms-hero-form__segmented .is-active {
    background: #FFFFFF;
    color: #1C1C1C;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.lms-hero-form__continue {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin-top: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFF2F2 0%, #FDE5E8 100%);
    color: #1C1C1C;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(28, 28, 28, 0.08);
}

.lms-hero-form__note {
    margin: 12px 0 0;
    color: #7A7A7A;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
}

.lms-hero-form__logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 70px;
}

.lms-hero-form__logos-label {
    max-width: 260px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lms-hero-form__logos-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 22px;
    align-items: center;
}

.lms-hero-form__logo {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
}

.lms-hero-form__logo img {
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.lms-hero-form__logo span {
    color: #FFFFFF;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

.lms-hero-form__bottom {
    margin-bottom: -300px;
    padding: 88px 0 108px;
}

.lms-hero-form__bottom-head {
    max-width: 900px;
    margin: 0 auto 38px;
    text-align: center;
}

.lms-hero-form__section-title {
    margin: 0 0 16px;
    color: #FFFFFF;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: 0;
}

.lms-hero-form__section-text {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
}

.lms-hero-form__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lms-hero-form__card {
    min-height: 224px;
    padding: 20px 20px 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF5E7 100%);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

.lms-hero-form__badge {
    width: 36px;
    height: 36px;
    margin-bottom: 48px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFE69E 0%, #FFBC43 100%);
    color: #D41028;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.lms-hero-form__card-title {
    margin: 0 0 14px;
    color: #1C1C1C;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.14;
    letter-spacing: 0;
}

.lms-hero-form__card-text {
    margin: 0;
    color: #575757;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}

@media (max-width: 1199px) {
    .lms-hero-form__hero {
        grid-template-columns: 1fr;
    }

    .lms-hero-form__content {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .lms-hero-form__form {
        justify-content: flex-start;
    }

    .lms-hero-form__logos-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lms-hero-form__cards {
        grid-template-columns: 1fr;
    }

    .lms-hero-form__card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .lms-hero-form__top {
        padding: 84px 0 36px;
    }

    .lms-hero-form__container {
        padding: 0 16px;
    }

    .lms-hero-form__title {
        font-size: 34px;
        line-height: 40px;
    }

    .lms-hero-form__text {
        font-size: 16px;
        line-height: 24px;
    }

    .lms-hero-form__form-card {
        padding: 14px;
    }

    .lms-hero-form__form-inner {
        padding: 18px 18px 16px;
    }

    .lms-hero-form__logos {
        margin-top: 42px;
    }

    .lms-hero-form__logos-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
    }

    .lms-hero-form__section-title {
        font-size: 34px;
        line-height: 40px;
    }

    .lms-hero-form__section-text {
        font-size: 16px;
        line-height: 24px;
    }

    .lms-hero-form__bottom {
        padding: 56px 0 72px;
    }

    .lms-hero-form__card-title {
        font-size: 24px;
        line-height: 1.16;
    }
}
