.mb30 {
    margin-bottom: 30px;
}

.bg-block {
    background: #EBF4FAAB;
    border-radius: 32px;
    padding: 1px;
}


/**/
.visits {
    font-size: 20px;
    line-height: 28px;
    padding: 45px 0;
}

.visits__count {
    position: relative;
    display: inline-block;
    color: #2B8BCA;
    font-size: 143.228px;
    font-style: normal;
    font-weight: 700;
    line-height: 179.034px;
    letter-spacing: 5.729px;

    & svg {
        position: absolute;
    }
}

/**/
.opportunities {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.opportunities__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.opportunities__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: calc(100% / 3 - 20px);
    background: #EBF4FAAB;
    border-radius: 12px;
    margin: 10px;
    padding: 30px;
    box-sizing: border-box;

    & img {
        margin-bottom: 15px;
    }

    & .opportunities__item-text {
        width: 100%;
        text-align: left;
    }

    &:last-child {
        background: transparent;
        justify-content: center;
    }
}

.sell {
}

.sell__list {
    display: flex;
    border: 1px solid #8BBFE2;
    border-radius: 12px;
}

.sell__item {
    flex: 1;
    border-right: 1px solid #8BBFE2;
    padding: 26px 30px;

    &:last-child {
        border: none;
    }
}

.sell__item-text {
    color: #2B8BCA;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px;
    margin-bottom: 10px;
}

.sell__item-caption {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.steps {
}

.steps__list {
    display: flex;
    margin: 0 -1px;
}

.steps__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    margin: 1px;
    width: calc(100% / 3 - 2px);
    position: relative;
    background: #fff;
    padding: 20px 40px;
    box-sizing: border-box;

    &:first-child {
        border-radius: 12px 0 0 12px;
    }

    &:last-child {
        border-radius: 0 12px 12px 0;
    }
}

.steps__item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.steps__number {
    display: inline-block;
    width: 46px;
    height: 46px;
    text-align: center;
    border-radius: 100%;
    background: #8BBFE2;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 46px;
    color: #fff;
}

.steps__item-title {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 10px;
}

.steps__item ol {
    font-size: 16px;
    line-height: 24px;
    list-style-type: decimal;
    margin-left: 30px;
    margin-bottom: 60px;

    & li {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }
}

.steps__item .al-button {
    width: 100%;
    max-width: 260px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 15px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    color: #2B8BCA;
    border-color: #2B8BCA;
}

.steps .review-list {
    background: transparent;
    padding-bottom: 0;
    margin-bottom: -30px;
}


.application-form {
    padding: 60px 30px 50px 30px;
}

.application-form__lonk {
    display: flex;
    align-items: center;
    margin-bottom: 5px;

    & svg {
        margin-right: 12px;
    }
}

/**/
.packages {
    font-family: 'robotoregular';
    margin: 64px auto 66px;
    scroll-margin-top: 30px;
}

.packages__list {
    display: flex;
    gap: 17px;
}

.packages__item {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.packages-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: #2B8BCA;
    border-radius: 8px;
    color: #fff;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.packages-item__top {
    position: relative;
    z-index: 1;
    padding: 25px 20px 0;
    margin-bottom: 20px;

    & svg {
        width: 40px;
        margin-bottom: 13px;
    }

    & hr {
        margin: 15px 0 13px;
        opacity: .28;
    }
}

.packages-item__bg {
    position: absolute;
    overflow: hidden;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;

    &:before {
        content: "";
        background: #fff;
        opacity: 0.05;
        display: block;
        width: 600px;
        height: 600px;
        position: absolute;
        top: -415px;
        z-index: -1;
        border-radius: 100%;
        left: -331px;
    }
}

.packages-item__title {
    font-size: 26px;
    font-style: normal;
    line-height: 1.2;
}

.packages-item__period {
    font-size: 14px;
    font-style: normal;
    line-height: 19px;
    margin-top: 5px;
    margin-bottom: 7px;
    color: #8BBFE2;
}

.packages-item__list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 18px;
}

.packages-item__item {
    position: relative;
    padding-left: 2ch;
    font-size: 13px;
    font-style: normal;
    line-height: 18px;
    /*text-wrap: balance;*/

    & .--color {
        font-size: 16px;
        color: #8BBFE2;
        white-space: nowrap;
    }

    &:not(:last-child) {
        margin-bottom: 10px;
    }

    &:before {
        content: "+";
        position: absolute;
        left: 0;
        font-weight: 700;
    }
}

.packages-item__item-descr {
}

.packages-item__footer {
    position: relative;
    z-index: 1;
    padding: 0 20px 37px;
}

.packages-item__footer-price {
    font-family: 'robotobold';
    font-size: 24px;
    font-style: normal;
    line-height: 34px
}

.packages-item__footer-caption {
    position: absolute;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    font-style: normal;
}

.packages__item-btn {
    margin-top: 16px;

    & .al-button {
        height: 50px;
        line-height: 50px;
        font-size: 15px;
    }
}

.packages__item.packages__item--broker {
    & .packages-item {
        color: #2b8bca;
        box-shadow: 0 0 0 1px #8BBFE2;
        background: #fff;
    }

    & .packages-item__bg:before {
        background: #8BBFE2;
        opacity: .1;
    }

    & .packages__item-btn .al-button {
        background: #fff;
        color: #2B8BCA;
        box-shadow: 0 0 0 1px #2B8BCA;

        &:hover {
            background: #eef8ff
        }
    }
}

.packages__item.packages__item--broker-new {
    & .packages-item {
        background: #8BBFE2;
    }

    & .packages-item__top,
    & .packages-item__footer {
        position: initial
    }

    & .packages-item__bg:before {
        background: #EBF4FA;
        opacity: .1;
        top: 100%;
        margin-top: -227px;
    }

    & .packages-item__period {
        color: #2B8BCA;
    }

    & .packages-item__item .--color {
        color: #2B8BCA;
    }

    & .packages__item-btn .al-button {
        background: #8BBFE2;

        &:hover {
            background: #63a2cc;
        }
    }
}


.packages__item.packages__item--free {
    & .packages-item {
        color: #176e6b;
        box-shadow: 0 0 0 1px #8bd9d0;
        background: linear-gradient(150deg, #effbf9 0%, #fff 73%);

        & * {
            color: inherit;
        }
    }

    & .packages-item__top {
        & svg {
            width: 35px;
            stroke: currentColor;
            fill: none;
            margin-bottom: 20px;
            margin-top: 11px;
        }
    }

    & .packages__item-btn .al-button {
        width: 100%;
        border-color: #24bdae;
        background: #24bdae;
        color: white;

        &:hover {
            border-color: #15aa9b;
            background: #15aa9b;
        }
    }

}

/**/

/* Изолированные стили нового верхнего блока. Не меняют остальную страницу. */
.ai-sell, .ai-sell-dialog {
    --ai-blue: #278bc8;
    --ai-blue-deep: #146aab;
    --ai-ink: #243647;
    --ai-muted: #567083;
    --ai-teal: #26c2b5;
    font-family: Arial, "Segoe UI", sans-serif;
}

.ai-sell *, .ai-sell *::before, .ai-sell *::after, .ai-sell-dialog *, .ai-sell-dialog *::before, .ai-sell-dialog *::after {
    box-sizing: border-box;
}

.ai-sell {
    width: 100%;
    overflow: hidden;
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 12px 42px rgba(25, 89, 132, .075);
    color: var(--ai-ink);
}

.ai-sell__broker {
    position: relative;
    display: grid;
    grid-template-columns:minmax(0, 1.21fr) minmax(350px, .79fr);
    gap: 12px;
    align-items: center;
    min-height: 328px;
    padding: 29px 60px 29px 65px;
    background: linear-gradient(111deg, #f0f8fd 0%, #eaf5fc 56%, #e1f1fb 100%);
}

.ai-sell__broker::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(55, 146, 204, .1);
    border-radius: 50%;
    top: -244px;
    right: -150px;
    pointer-events: none;
}

.ai-sell__content {
    position: relative;
    z-index: 2;
}

.ai-sell h1, .ai-sell h2, .ai-sell p {
    margin: 0;
}

.ai-sell h1 {
    max-width: 690px;
    font-size: clamp(28px, 2.77vw, 39px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.16;
    color: #273847;
}

.ai-sell h1 span {
    color: #1688c8;
}

.ai-sell__description {
    max-width: 610px;
    margin-top: 16px !important;
    color: #40586a;
    font-size: 16.5px;
    line-height: 1.53;
}

.ai-sell__benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    padding: 0;
    margin: 18px 0 22px;
}

.ai-sell__benefits li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3a586a;
    font-size: 13.4px;
    white-space: nowrap;
}

.ai-sell__benefits li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #fff;
    background: #24bcae;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.ai-sell__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    min-height: 52px;
    padding: 13px 23px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s, color .2s;
}

.ai-sell__btn:focus-visible, .ai-sell-dialog button:focus-visible, .ai-sell-dialog input:focus-visible {
    outline: 3px solid #196ba9;
    outline-offset: 3px;
}

.ai-sell__btn:hover {
    transform: translateY(-1px);
}

.ai-sell__btn--primary {
    min-width: 281px;
    color: #fff;
    background: var(--ai-teal);
    box-shadow: 0 6px 14px rgba(27, 176, 164, .11);
}

.ai-sell__btn--primary:hover {
    background: #1aafa4;
    box-shadow: 0 9px 18px rgba(27, 176, 164, .2);
}

.ai-sell__btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.ai-sell__visual {
    position: relative;
    z-index: 1;
    min-height: 274px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.ai-sell__halo {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(92, 192, 231, .25), rgba(141, 209, 239, .13) 65%, transparent 70%);
    transform: translate(20px, 0);
    z-index: -1;
}

.ai-sell__halo::after {
    content: "";
    position: absolute;
    inset: 17px;
    border: 1px dashed rgba(39, 139, 200, .32);
    border-radius: 50%;
}

.ai-sell__board {
    position: relative;
    width: 330px;
    max-width: 100%;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d7eaf6;
    border-radius: 17px;
    padding: 20px 21px 18px;
    box-shadow: 0 20px 45px rgba(39, 112, 156, .13);
    transform: rotate(-3deg) translate(8px, 5px);
}

.ai-sell__boardhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .075em;
    color: #70899b;
}

.ai-sell__dots {
    display: flex;
    gap: 4px;
}

.ai-sell__dots i {
    display: block;
    width: 6px;
    height: 6px;
    background: #a8d8ee;
    border-radius: 50%;
}

.ai-sell__dots i:first-child {
    background: #28c3b2;
}

.ai-sell__step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 10px 10px 11px;
    background: #f2f8fc;
    border-radius: 9px;
}

.ai-sell__step-icon {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    border-radius: 9px;
    background: #e0f0fa;
    color: #168ac9;
}

.ai-sell__step-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.ai-sell__step-name {
    display: block;
    color: #263c4b;
    font-size: 13px;
    font-weight: 700;
}

.ai-sell__step-detail {
    display: block;
    margin-top: 2px;
    color: #7790a1;
    font-size: 10.5px;
}

.ai-sell__step-ok {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    color: #fff;
    background: #27c1af;
    font-size: 12px;
}

.ai-sell__floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid #daedf7;
    border-radius: 11px;
    background: white;
    box-shadow: 0 12px 29px rgba(29, 106, 153, .13);
    font-size: 11px;
    font-weight: 700;
    color: #3c6174;
    transform: rotate(5deg);
}

.ai-sell__floating--top {
    top: 14px;
    right: -14px;
}

.ai-sell__floating--bottom {
    bottom: 9px;
    left: 8px;
    transform: rotate(4deg);
}

.ai-sell__float-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e1f7f3;
    color: #1ab5a4;
}

.ai-sell__float-icon svg {
    width: 18px;
    height: 18px;
}

.ai-sell__self {
    display: grid;
    grid-template-columns:70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 23px 60px 24px 65px;
    border-top: 1px solid #e0eef6;
    background: linear-gradient(90deg, #fff 0%, #f9fcff 100%);
}

.ai-sell__self-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid #d4ecfb;
    border-radius: 16px;
    background: #eaf6fc;
    color: #248bc6;
}

.ai-sell__self-icon svg {
    width: 39px;
    height: 39px;
}

.ai-sell h2 {
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -.025em;
    color: #26394a;
}

.ai-sell__self p {
    max-width: 600px;
    margin-top: 6px;
    font-size: 14.4px;
    line-height: 1.47;
    color: #607487;
}

.ai-sell__btn--secondary {
    min-width: 265px;
    background: #fff;
    color: #167dbd;
    border-color: #2f94cf;
}

.ai-sell__btn--secondary:hover {
    background: #ebf7fd;
    box-shadow: 0 5px 14px rgba(39, 139, 200, .1);
}

.ai-sell-dialog {
    position: fixed;
    max-width: min(92vw, 455px);
    width: 455px;
    margin: auto;
    padding: 31px;
    border: 0;
    border-radius: 20px;
    color: var(--ai-ink);
    background: #fff;
    box-shadow: 0 30px 90px rgba(10, 46, 73, .26);
}

.ai-sell-dialog::backdrop {
    background: rgba(16, 40, 63, .58);
    backdrop-filter: blur(3px);
}

.ai-sell-dialog__close {
    position: absolute;
    right: 17px;
    top: 12px;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f0f6f9;
    color: #516b7e;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.ai-sell-dialog h2 {
    margin: 0 30px 8px 0;
    font-size: 26px;
    letter-spacing: -.025em;
    line-height: 1.24;
}

.ai-sell-dialog__intro {
    margin: 0 0 22px;
    color: #60788a;
    font-size: 14px;
    line-height: 1.55;
}

.ai-sell-dialog label {
    display: block;
    margin: 14px 0 7px;
    color: #31495a;
    font-size: 13px;
    font-weight: 700;
}

.ai-sell-dialog input[type="text"], .ai-sell-dialog input[type="tel"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cbdde7;
    border-radius: 8px;
    color: #263d4c;
    background: #fff;
    font: inherit;
    font-size: 15px;
}

.ai-sell-dialog__consent {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    margin: 14px 0 20px !important;
    color: #637787 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4;
}

.ai-sell-dialog__consent input {
    margin-top: 1px;
    accent-color: #20bbae;
}

.ai-sell-dialog__submit {
    display: block;
    width: 100%;
    min-height: 51px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: #26c2b5;
    font: 700 15px Arial, sans-serif;
    cursor: pointer;
}

.ai-sell-dialog__submit:hover {
    background: #1ab2a5;
}

.ai-sell-dialog__status {
    min-height: 0;
    margin: 10px 0 0;
    color: #94651a;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 1080px) {
    .ai-sell__broker {
        grid-template-columns:minmax(0, 1fr) minmax(285px, .77fr);
        padding: 28px 38px 27px;
    }

    .ai-sell__self {
        padding: 22px 38px;
        grid-template-columns:60px minmax(0, 1fr) auto;
        gap: 17px;
    }

    .ai-sell__self-icon {
        width: 60px;
        height: 60px;
    }

    .ai-sell__btn--secondary {
        min-width: 215px;
    }

    .ai-sell__board {
        width: 290px;
    }

    .ai-sell__floating--top {
        right: -3px;
    }
}

@media (max-width: 760px) {
    .ai-sell {
        border-radius: 19px;
    }

    .ai-sell__broker {
        grid-template-columns:1fr;
        padding: 28px 28px 23px;
        gap: 2px;
    }

    .ai-sell h1 {
        font-size: clamp(28px, 5.3vw, 36px);
    }

    .ai-sell__visual {
        min-height: 200px;
        height: 215px;
        margin-top: 6px;
    }

    .ai-sell__board {
        transform: rotate(-2deg) scale(.76);
    }

    .ai-sell__floating--top {
        top: 4px;
        right: 12%;
    }

    .ai-sell__floating--bottom {
        bottom: 0;
        left: 10%;
    }

    .ai-sell__self {
        padding: 22px 28px 24px;
        grid-template-columns:55px 1fr;
        gap: 15px;
    }

    .ai-sell__self-icon {
        width: 55px;
        height: 55px;
    }

    .ai-sell__self-action {
        grid-column: 1/-1;
    }

    .ai-sell__btn--secondary {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 490px) {
    .ai-sell__broker {
        padding: 24px 20px 22px;
    }

    .ai-sell h1 {
        font-size: 30px;
    }

    .ai-sell__description {
        font-size: 15px;
    }

    .ai-sell__benefits {
        display: grid;
        gap: 9px;
        margin: 17px 0 19px;
    }

    .ai-sell__benefits li {
        font-size: 13px;
    }

    .ai-sell__btn--primary {
        width: 100%;
        min-width: 0;
    }

    .ai-sell__visual {
        min-height: 170px;
        height: 175px;
        overflow: hidden;
    }

    .ai-sell__board {
        transform: rotate(-2deg) scale(.64);
    }

    .ai-sell__floating {
        transform: scale(.83) rotate(4deg);
    }

    .ai-sell__floating--top {
        top: 2px;
        right: 0;
    }

    .ai-sell__floating--bottom {
        bottom: 0;
        left: -8px;
    }

    .ai-sell__self {
        grid-template-columns:47px 1fr;
        padding: 20px 20px 22px;
        gap: 11px;
    }

    .ai-sell__self-icon {
        width: 47px;
        height: 47px;
        border-radius: 12px;
    }

    .ai-sell__self-icon svg {
        width: 30px;
        height: 30px;
    }

    .ai-sell h2 {
        font-size: 21px;
    }

    .ai-sell__self p {
        font-size: 13.3px;
    }

    .ai-sell-dialog {
        padding: 25px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-sell__btn {
        transition: none;
    }

    .ai-sell__btn:hover {
        transform: none;
    }
}
