@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.hide {
    display: none;
}

html, body.home {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    background: #f3f4f8;
}

.home .wrapper {
    overflow-x: hidden;
}

.home .container {
    max-width: 1200px;
}

.home .calculator .amount input.slider {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .aivi-mobmenu,
    .aivi-mobmenu__panel,
    .aivi-header__burger span,
    .aivi-faq__question::after,
    .aivi-phone-popup {
        transition: none;
    }
}

body.aivi-menu-open {
    overflow: hidden;
}

/* header */
.aivi-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    box-shadow: 0 4px 24px rgba(35, 52, 166, 0.08);
}

.aivi-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.aivi-header__logo {
    position: relative;
    bottom: 15px;
}

.aivi-header__contacts {
    text-align: center;
    line-height: 1.3;
    min-width: 0;
}

.aivi-header__phone {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.aivi-header__phone-note {
    font-size: 13px;
    color: #7a7a7a;
}

.aivi-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aivi-header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.aivi-header__burger span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: #2334a6;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.aivi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.aivi-btn--login {
    background: #1C1C63;
    color: #fff;
}

.aivi-btn--login:hover {
    background: #2334a6;
    color: #fff;
}

.aivi-btn--primary {
    background: #ff6b1a;
    color: #fff;
    width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.aivi-btn--primary:hover {
    background: #e85a0f;
    color: #fff;
}

.aivi-btn:focus-visible,
.aivi-faq__question:focus-visible,
.aivi-header__burger:focus-visible,
.aivi-mobmenu__close:focus-visible,
.aivi-footer__read-more:focus-visible,
.aivi-btn--popup-close:focus-visible {
    outline: 2px solid #ff6b1a;
    outline-offset: 2px;
}

.aivi-btn--sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 10px;
}

/* mobile menu */
.aivi-mobmenu {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(20, 28, 90, 0.45);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.aivi-mobmenu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.aivi-header__burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.aivi-header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.aivi-header__burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.aivi-mobmenu__panel {
    display: flex;
    flex-direction: column;
    width: min(360px, 92vw);
    height: 100%;
    margin-left: auto;
    background: #fff;
    padding: 0 0 24px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow: hidden;
}

.aivi-mobmenu.is-open .aivi-mobmenu__panel {
    transform: translateX(0);
}

.aivi-mobmenu__top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #2f45c8, #3d55d8);
}

.aivi-mobmenu__top .aivi-mobmenu__close {
    color: #fff;
}

.aivi-mobmenu__nav {
    flex: 1;
    padding: 0 20px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.aivi-mobmenu__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    min-width: 0;
}

.aivi-mobmenu__header .aivi-btn--sm {
    flex-shrink: 0;
}

.aivi-mobmenu__close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.aivi-mobmenu__logo {
    position: relative;
    bottom: 15px;
}

.aivi-mobmenu__nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #eceef5;
}

.aivi-mobmenu__nav a[href^="tel:"] {
    font-weight: 600;
    color: #2334a6;
}

.aivi-mobmenu__note {
    display: block;
    padding-top: 12px;
    font-size: 13px;
    color: #7a7a7a;
}

/* hero */
.aivi-hero {
    position: relative;
    background: url(/theme/site/img/aivi/hero-bg.png) no-repeat center center / cover, linear-gradient(#394083, #6C76DC);
    padding: 10px 0 0 0;
    overflow: hidden;
}

.aivi-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
    align-items: center;
    min-height: 480px;
    padding-top: 12px;
}

.aivi-hero__visual {
    position: relative;
    min-height: 420px;
}

.aivi-hero__blob {
    position: absolute;
    left: 50px;
    top: 100px;
    width: 510px;
    height: 510px;
    background: #ff6b1a;
    border-radius: 50%;
}

.aivi-hero__people {
    position: relative;
    bottom: -35px;
    left: -200px;
}

.aivi-hero__rocket {
    position: absolute;
    right: 4%;
    bottom: 12%;
    width: 110px;
    z-index: 3;
}

.aivi-hero__money {
    position: absolute;
    left: -70px;
    top: 40px;
    pointer-events: none;
}

.aivi-hero__money--alt {
    left: auto;
    right: 40px;
    top: 150px;
}

.aivi-hero__calc {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 28px 28px 32px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.aivi-calc__coin {
    position: absolute;
    top: 10px;
    right: -30px;
    width: 52px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.aivi-calc__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 58px;
    color: #1a1a1a;
}

.aivi-calc__group {
    margin-bottom: 22px;
}

.home .calculator .amount {
    min-height: 80px;
    position: relative;
    overflow: visible;
}

.home .calculator .amount .irs {
    width: 100%;
}

.aivi-calc__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #5c5c5c;
}

.aivi-calc .form-group-title {
    margin: 0;
    font-size: inherit;
    font-weight: 600;
    color: inherit;
}

.aivi-calc__value {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1F1F33;
}

.aivi-calc__summary {
    border-top: 1px solid #E1E4EB;
    border-bottom: 1px solid #E1E4EB;
    padding: 16px 0;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-width: 0;
    font-size: 16px;
    color: #1a1a1a;
}

.aivi-calc__summary-label {
    font-weight: 600;
    min-width: 0;
}

.aivi-calc__summary-sum {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    color: #1a1a1a;
}

.aivi-calc .aivi-btn--primary {
    margin-top: 4px;
}

.calculator .irs--round .irs-line {
    background: #dadada;
}

.calculator .amount .irs-bar {
    background: #E65000;
}

.calculator .amount .irs-handle {
    border: none;
    background: #E65000;
}

.calculator .amount .irs-single {
    background: #E65000;
}

.calculator .amount .irs-single::before {
    border-top-color: #E65000;
}

.calculator .amount .irs-grid-text {
    font-size: 11px;
    color: #7a7a7a;
    transform: translateX(-50%);
    margin-left: 0;
    white-space: nowrap;
}

.calculator .amount .irs-grid-pol {
    background: #c5c5c5;
}

.home .calculator .irs--round .irs-handle {
    width: 18px;
    height: 18px;
    top: 28px;
}

/* steps */
.aivi-steps {
    position: relative;
    padding: 120px 0;
    background: #f3f4f8;
}

.aivi-steps > .container {
    position: relative;
}

.aivi-steps__rocket {
    position: absolute;
    right: -50px;
    top: -220px;
    width: 220px;
    z-index: 0;
    pointer-events: none;
}

.aivi-steps__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 36px;
}

.aivi-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.aivi-step {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    min-height: 220px;
    position: relative;
    z-index: 1;
}

.aivi-step__num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 56px;
    font-weight: 700;
    color: #eceef5;
    line-height: 1;
}

.aivi-step__icon {
    margin: 20px 0;
    object-fit: contain;
}

.aivi-step__text {
    font-size: 16px;
    line-height: 1.45;
    color: #333;
    white-space: pre-line;
    margin-bottom: 0;
}

/* why */
.aivi-why {
    position: relative;
    padding: 113px 0 125px 0;
    background: url(/theme/site/img/aivi/why-bg.png) no-repeat center center / cover, linear-gradient(#394083, #6C76DC);
    overflow: hidden;
}

.aivi-why__banner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px 24px;
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.aivi-why__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    min-width: 0;
    color: #1a1a1a;
    justify-self: start;
}

.aivi-why__subtitle {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    text-align: center;
    justify-self: center;
}

.aivi-why__banner-btn {
    justify-self: end;
    text-transform: none;
    font-weight: 600;
}

.aivi-btn--outline-orange {
    background: #fff;
    color: #ff6b1a;
    border: 2px solid #ff6b1a;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.aivi-btn--outline-orange:hover {
    background: #fff5ef;
    color: #e85a0f;
    border-color: #e85a0f;
}

.aivi-btn--outline-muted {
    background: #F0F2F5;
    color: #1F1F33;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.aivi-btn--outline-muted:hover {
    background: #b8c0d8;
}

.aivi-why__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aivi-why-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    padding-bottom: 150px;
    overflow: hidden;
}

.aivi-why-card__media {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.aivi-why-card__text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    max-width: 70%;
}

/* info + faq */
.aivi-info {
    padding: 48px 0 56px;
    background: #f3f4f8;
}

.aivi-info__card {
    background: #fff;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    box-shadow: 0 12px 40px rgba(35, 52, 166, 0.1);
}

.aivi-info__faq {
    padding: 40px;
}

.aivi-info__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.aivi-faq__item {
    border-bottom: 1px solid #e8ebf3;
}

.aivi-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    color: #1a1a1a;
}

.aivi-faq__question::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ff6b1a;
    border-bottom: 2px solid #ff6b1a;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.aivi-faq__item.is-open .aivi-faq__question::after {
    transform: rotate(-135deg);
}

.aivi-faq__answer {
    display: none;
    padding: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #5c5c5c;
}

.aivi-faq__item.is-open .aivi-faq__answer {
    display: block;
}

.aivi-info__visual {
    position: relative;
    min-height: 360px;
}

.aivi-info__phone {
    position: relative;
    z-index: 2;
    max-width: 450px;
    margin-left: auto;
}

.aivi-info__phone picture {
    display: block;
    position: relative;
    z-index: 1;
}

.aivi-info__phone-hand {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.aivi-phone-popup {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    width: 72%;
    max-width: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.aivi-phone-popup.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aivi-phone-popup p {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.35;
    color: #333;
}

.aivi-phone-popup .aivi-btn--popup-close {
    margin-top: 8px;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
    background: #2334a6;
    color: #fff;
    width: 100%;
}

.aivi-phone-popup .aivi-btn--popup-close:hover {
    background: #1a2a8f;
    color: #fff;
}

.aivi-info__decor {
    position: absolute;
    z-index: 1;
}

.aivi-info__decor--coins {
    right: 0;
    top: 10%;
    width: 100px;
}

.aivi-info__decor--money {
    left: 0;
    bottom: 10%;
    width: 90px;
}

.aivi-info__decor--rocket {
    right: 10%;
    bottom: 0;
    width: 70px;
}

.aivi-phone-popup__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3cb86a;
    margin-bottom: 12px;
    position: relative;
}

.aivi-phone-popup__icon::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 12px;
    width: 10px;
    height: 18px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
}

.aivi-phone-popup__amount {
    font-size: clamp(18px, 5.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #2334a6;
    margin: 8px 0 12px;
}

/* footer */
.aivi-footer {
    background: #f3f4f8;
    padding-bottom: 32px;
}

.aivi-footer__bar {
    background: #555DAE;
    color: #fff;
    border-radius: 22px;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    gap: 24px;
    align-items: center;
}

.aivi-footer__bar-logo {
    margin-top: -25px;
}

.aivi-footer__phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aivi-footer__phone-icon {
    background: #E65000;
    border-radius: 50%;
    padding: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.aivi-footer__phones-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.aivi-footer__phones-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aivi-footer__phones a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.aivi-footer__phones-note {
    font-size: 13px;
    opacity: 0.9;
}

.aivi-footer__schedule {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
}

.aivi-footer__schedule-days {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 4px;
}

.aivi-footer__schedule-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aivi-footer__clock-icon {
    background: #E65000;
    border-radius: 50%;
    padding: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.aivi-footer__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b1a;
    flex-shrink: 0;
}

.aivi-footer__docs {
    column-count: 4;
    column-gap: 20px;
    padding: 28px 12px;
}

.aivi-footer__docs a {
    display: block;
    break-inside: avoid;
    font-size: 12px;
    line-height: 1.45;
    color: #4a4a4a;
    text-decoration: none;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.aivi-footer__docs a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 17px;
    height: 17px;
    background: url('../img/aivi/footer-doc-icon.svg') no-repeat center / contain;
}

.aivi-footer__legal {
    font-size: 11px;
    line-height: 1.5;
    color: #7a7a7a;
    padding: 0 12px 16px;
}

.aivi-footer__content {
    font-size: 12px;
    line-height: 1.5;
    color: #5c5c5c;
    padding: 0 12px 16px;
}

.aivi-footer__content-wrap.is-collapsed .aivi-footer__content {
    max-height: 72px;
    overflow: hidden;
    position: relative;
}

.aivi-footer__content-wrap.is-collapsed .aivi-footer__content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32px;
    background: linear-gradient(180deg, rgba(243, 244, 248, 0) 0%, #f3f4f8 100%);
}

.aivi-footer__read-more {
    display: none;
    margin: 0 12px 16px;
    padding: 0;
    border: none;
    background: transparent;
    color: #2334a6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.aivi-footer__content-wrap.is-collapsed:not(.is-expanded) .aivi-footer__read-more {
    display: inline-block;
}

.aivi-footer__content a {
    color: #2334a6;
}

.aivi-footer__content p {
    margin: 0 0 12px;
}

.aivi-footer__content ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.aivi-footer__content li {
    margin-bottom: 6px;
}

@media (max-width: 992px) {
    .aivi-footer__bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .aivi-footer__bar-logo {
        justify-content: center;
    }

    .aivi-footer__phones {
        justify-content: center;
    }

    .aivi-footer__phones-body {
        align-items: center;
    }

    .aivi-footer__phones-list {
        align-items: center;
    }

    .aivi-footer__schedule {
        text-align: center;
    }

    .aivi-footer__schedule-time {
        justify-content: center;
    }

    .aivi-why__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
        margin: 0;
    }

    .aivi-why__grid .aivi-why-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
        width: 100%;
    }

    .aivi-why-card {
        min-height: 260px;
        padding: 24px 20px 28px;
    }

    .aivi-why-card__media {
        min-height: 150px;
    }

    .aivi-why-card__text {
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .aivi-why__banner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title btn"
            "subtitle subtitle";
    }

    .aivi-why__title {
        grid-area: title;
    }

    .aivi-why__subtitle {
        grid-area: subtitle;
        text-align: left;
        justify-self: start;
    }

    .aivi-why__banner-btn {
        grid-area: btn;
    }
}

@media (max-width: 1199px) {
    .aivi-hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 24px;
    }

    .aivi-hero__calc {
        order: 1;
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .aivi-hero__visual {
        order: 2;
        min-height: 320px;
    }

    .aivi-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aivi-info__card {
        grid-template-columns: 1fr;
    }

    .aivi-footer__docs {
        column-count: 2;
    }

    .aivi-steps__rocket {
        display: none;
    }
}

@media (max-width: 768px) {
    .aivi-header__phone {
        font-size: 12px;
    }

    .aivi-header__phone-note {
        display: none;
    }

    .aivi-header__burger {
        display: block;
    }

    .aivi-header__actions .aivi-btn--login {
        display: none;
    }

    .aivi-steps__grid {
        grid-template-columns: 1fr;
    }

    .aivi-footer__docs {
        column-count: 1;
    }

    .aivi-steps__title {
        font-size: 28px;
    }

    .aivi-why__title {
        font-size: 24px;
    }

    .aivi-why__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 20px;
    }

    .aivi-why-card {
        min-height: 240px;
    }

    .aivi-why__banner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "subtitle"
            "btn";
        gap: 12px;
        justify-items: stretch;
    }

    .aivi-why__title,
    .aivi-why__subtitle,
    .aivi-why__banner-btn {
        justify-self: stretch;
        text-align: center;
    }

    .aivi-hero__visual {
        display: none;
    }

    .aivi-hero__people {
        margin: 0 auto;
        max-width: 420px;
    }

    .aivi-hero__rocket {
        width: 72px;
        right: 2%;
        bottom: 8%;
    }

    .aivi-hero__money {
        width: 52px;
        left: 0;
        top: 4%;
    }

    .aivi-hero__money--alt {
        left: 14%;
        top: 0;
        width: 44px;
    }

    .aivi-calc__coin {
        width: 44px;
        top: 8px;
        right: 8px;
    }

    .aivi-calc__title {
        font-size: 20px;
        padding-right: 52px;
    }

    .aivi-calc__summary {
        font-size: 14px;
    }

    .aivi-calc__summary-sum {
        font-size: 18px;
    }

    .aivi-hero__blob {
        width: 180px;
        height: 180px;
    }

    .aivi-info__visual {
        min-height: 280px;
        margin-top: 8px;
    }

    .aivi-info__decor--coins,
    .aivi-info__decor--money,
    .aivi-info__decor--rocket {
        opacity: 0.85;
        transform: scale(0.85);
    }

    .aivi-info__card {
        padding: 24px 20px;
    }

    .aivi-info__title {
        font-size: 26px;
    }

    .aivi-calc__summary {
        flex-wrap: wrap;
        row-gap: 2px;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: #2334a6;
    color: #fff;
    padding: 16px;
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-banner__content {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__txt {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-banner__link {
    color: #ffb48a;
    text-decoration: underline;
}

.cookie-banner__button {
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    background: #ff6b1a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    cursor: pointer;
}

.cookie-banner__button:hover {
    background: #e85f12;
}

/* fancybox: SMS и сообщения об ошибках (лендинг + вход) */
/* Служебная разметка модалок обёрнута в <div class="hide"> и показывается только
   через fancybox. На страницах Айви (main/login/landing) common/custom/centavr.css
   не подключаются (см. index.tpl), поэтому дублируем здесь утилиту .hide — иначе
   иконка ошибки и тексты модалок протекают в поток страницы. */
.hide {
    display: none;
}

.info-modal {
    max-width: 500px;
    padding: 8px 4px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.error-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: url('../i/error.svg') center no-repeat;
    background-size: contain;
}

.error-message,
.success-message {
    display: block;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.45;
    color: #e53935;
}

.success-message {
    color: #2e9e4a;
}

.sms-modal {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-content: center;
    gap: 4px;
}

.sms-modal p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: #1a1a1a;
}

.sms-modal .form-phone {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 8px;
}

.sms-modal .form-phone .phone_info {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #5c5c5c;
}

.sms-modal .form-phone .error_text {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #e53935;
    margin-top: 8px;
}

.sms-modal .sms-code-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.sms-modal .sms-code-inputs .sms-digit-input {
    width: 56px;
    height: 56px;
    border: 1px solid #e2e4ec;
    border-radius: 12px;
    background: #f8f9fc;
    outline: none;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #2334a6;
}

.sms-modal .-error .sms-digit-input {
    border-color: #e53935;
    background: #fff5f5;
}

.sms-modal .sms-repeat {
    margin-top: 8px;
    color: #5c5c5c;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.sms-modal .sms-repeat.disable,
.sms-modal .sms-repeat.disable a {
    color: #bbb;
    cursor: default;
}

.sms-modal .btn {
    justify-self: center;
    align-self: center;
    min-width: 210px;
    height: 52px;
    margin-top: 20px;
    padding: 12px 28px;
    border-radius: 14px;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #ff6b1a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.sms-modal .btn:hover {
    background: #e85a0f;
    color: #fff;
}
