/* =========================================================
   WEBARTY — HOME HERO
   ПОЛНЫЙ CSS НА ЗАМЕНУ

   ВАЖНО:
   - header этим CSS не затрагивается;
   - desktop hero занимает всю высоту экрана;
   - mobile hero имеет автоматическую высоту;
   - изображение на mobile скрыто.
   ========================================================= */


/* =========================================================
   RESET ТОЛЬКО ДЛЯ HERO
   ========================================================= */

.wa-home-hero,
.wa-home-hero *,
.wa-home-hero *::before,
.wa-home-hero *::after {
    box-sizing: border-box;
}


/* =========================================================
   ОСНОВНОЙ HERO
   ========================================================= */

.wa-home-hero {
    --wa-dark: #283550;
    --wa-dark-deep: #172238;
    --wa-dark-middle: #203b50;
    --wa-dark-right: #12515b;

    --wa-teal: #00a78e;
    --wa-teal-hover: #008f7a;
    --wa-green: #36c88a;

    --wa-white: #ffffff;
    --wa-text-light: #dce5ee;

    position: relative;
    z-index: 1;
    isolation: isolate;

    width: 100%;
    max-width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    color: var(--wa-white);

    background:
        radial-gradient(
            ellipse at 84% 43%,
            rgba(0, 167, 142, 0.22) 0%,
            rgba(0, 167, 142, 0.09) 29%,
            rgba(0, 167, 142, 0) 58%
        ),
        radial-gradient(
            ellipse at 8% 100%,
            rgba(54, 200, 138, 0.08) 0%,
            rgba(54, 200, 138, 0) 40%
        ),
        linear-gradient(
            112deg,
            var(--wa-dark-deep) 0%,
            var(--wa-dark) 47%,
            var(--wa-dark-middle) 70%,
            var(--wa-dark-right) 100%
        );
}


/* =========================================================
   ФОНОВЫЕ ЭФФЕКТЫ
   ========================================================= */

.wa-home-hero::before {
    content: "";

    position: absolute;
    z-index: -2;

    top: -25%;
    right: -15%;

    width: 72%;
    height: 145%;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(55, 218, 190, 0.075) 0%,
            rgba(0, 167, 142, 0.03) 46%,
            rgba(0, 167, 142, 0) 73%
        );

    filter: blur(22px);
}

.wa-home-hero::after {
    content: "";

    position: absolute;
    z-index: -1;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 31, 0.1) 0%,
            rgba(7, 16, 31, 0.015) 38%,
            rgba(7, 16, 31, 0) 73%,
            rgba(7, 16, 31, 0.035) 100%
        );
}


/* =========================================================
   ССЫЛКИ ВНУТРИ HERO
   ========================================================= */

.wa-home-hero a,
.wa-home-hero a:hover,
.wa-home-hero a:focus,
.wa-home-hero a:visited {
    text-decoration: none !important;
}


/* =========================================================
   ДЕКОРАТИВНЫЕ КРУГИ
   ========================================================= */

.wa-home-hero__decor {
    position: absolute;
    z-index: -1;

    pointer-events: none;

    border-radius: 50%;
}

.wa-home-hero__decor--top {
    top: -500px;
    right: -390px;

    width: 940px;
    height: 940px;

    border: 1px solid rgba(255, 255, 255, 0.02);
}

.wa-home-hero__decor--bottom {
    bottom: -520px;
    left: 17%;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(0, 167, 142, 0.035);
}


/* =========================================================
   ВНУТРЕННИЙ КОНТЕЙНЕР
   ========================================================= */

.wa-home-hero__inner {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    width: min(100%, 1420px);
    max-width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    margin: 0 auto;

    padding:
        calc(var(--wa-header-height, 88px) + 42px)
        clamp(64px, 6vw, 92px)
        44px;
}


/* =========================================================
   ЛЕВЫЙ БЛОК
   ========================================================= */

.wa-home-hero__content {
    position: relative;
    z-index: 4;

    width: 100%;
    max-width: 720px;

    margin: 0;
    padding: 0;

    transform: translateY(12px);
}


/* =========================================================
   НАДЗАГОЛОВОК
   ========================================================= */

.wa-home-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    margin: 0 0 23px;
    padding: 0;

    color: #82dfce !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.wa-home-hero__eyebrow-line {
    display: block;
    flex: 0 0 35px;

    width: 35px;
    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--wa-teal),
            var(--wa-green)
        );
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.wa-home-hero__title {
    display: block !important;

    width: 100%;
    max-width: 720px;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--wa-white) !important;

    font-family: inherit !important;
    font-size: clamp(56px, 4.2vw, 72px) !important;
    font-weight: 800 !important;
    line-height: 1.035 !important;

    letter-spacing: -0.046em !important;
    text-transform: none !important;
}

.wa-home-hero__title-line {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: transparent !important;

    background:
        linear-gradient(
            90deg,
            #64d8c3 0%,
            #7be0cb 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent !important;
}

.wa-home-hero__title-line--light {
    color: var(--wa-white) !important;

    background: none;

    -webkit-text-fill-color: var(--wa-white) !important;
}


/* =========================================================
   ОПИСАНИЕ
   ========================================================= */

.wa-home-hero__description {
    width: 100%;
    max-width: 635px;

    margin: 28px 0 0 !important;
    padding: 0 !important;

    color: var(--wa-text-light) !important;

    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.62;
}


/* =========================================================
   КНОПКИ
   ========================================================= */

.wa-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 15px;

    margin: 33px 0 0;
    padding: 0;
}

.wa-home-hero__button {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 56px;

    margin: 0 !important;
    padding: 15px 31px !important;

    border: 1px solid transparent !important;
    border-radius: 999px !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    letter-spacing: 0.035em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.wa-home-hero__button--primary,
.wa-home-hero__button--primary:visited {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--wa-teal) 0%,
            #08b59c 100%
        ) !important;

    box-shadow:
        0 13px 29px rgba(0, 167, 142, 0.25) !important;
}

.wa-home-hero__button--primary:hover,
.wa-home-hero__button--primary:focus-visible {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--wa-teal-hover) 0%,
            #009d86 100%
        ) !important;

    box-shadow:
        0 17px 37px rgba(0, 167, 142, 0.33) !important;

    transform: translateY(-2px);
}

.wa-home-hero__button--secondary,
.wa-home-hero__button--secondary:visited {
    color: #ffffff !important;

    border-color:
        rgba(255, 255, 255, 0.27) !important;

    background:
        rgba(255, 255, 255, 0.055) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wa-home-hero__button--secondary:hover,
.wa-home-hero__button--secondary:focus-visible {
    color: #ffffff !important;

    border-color:
        rgba(255, 255, 255, 0.47) !important;

    background:
        rgba(255, 255, 255, 0.11) !important;

    transform: translateY(-2px);
}

.wa-home-hero__button:focus-visible {
    outline:
        3px solid rgba(101, 218, 197, 0.32) !important;

    outline-offset: 4px;
}


/* =========================================================
   ПРЕИМУЩЕСТВА
   ========================================================= */

.wa-home-hero__benefits {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

    gap: 20px;

    width: 100%;

    margin: 27px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.wa-home-hero__benefits li {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0 !important;
    padding: 0 !important;

    color: #dce5ee !important;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    white-space: nowrap;

    list-style: none !important;
}

.wa-home-hero__benefits li::before,
.wa-home-hero__benefits li::marker {
    display: none !important;
    content: none !important;
}

.wa-home-hero__benefit-icon {
    display: inline-flex;
    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(101, 218, 197, 0.31);
    border-radius: 50%;

    color: #76dfcc !important;

    background: rgba(0, 167, 142, 0.14);

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}


/* =========================================================
   ИЗОБРАЖЕНИЕ
   ========================================================= */

.wa-home-hero__portrait {
    position: absolute;
    z-index: 2;

    right:
        max(
            68px,
            calc((100% - 1420px) / 2 + 20px)
        );

    bottom: 0;

    width: auto;
    height: min(83svh, 800px);

    max-width: 47vw;

    margin: 0;
    padding: 0;

    pointer-events: none;
}

.wa-home-hero__portrait-glow {
    position: absolute;
    z-index: 0;

    top: 52%;
    left: 50%;

    width: 116%;
    height: 82%;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(74, 225, 197, 0.17) 0%,
            rgba(0, 167, 142, 0.075) 40%,
            rgba(0, 167, 142, 0) 77%
        );

    filter: blur(27px);

    transform: translate(-50%, -50%);
}

.wa-home-hero__portrait-picture {
    position: relative;
    z-index: 2;

    display: block;

    width: auto;
    height: 100%;

    margin: 0;
    padding: 0;
}

.wa-home-hero__portrait-image {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    height: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: bottom center !important;

    filter:
        drop-shadow(
            0 24px 31px rgba(4, 14, 28, 0.17)
        );
}


/* =========================================================
   БОЛЬШИЕ DESKTOP — ОТ 1440 PX
   ========================================================= */

@media (min-width: 1440px) {

    .wa-home-hero__inner {
        width: min(100%, 1500px);

        padding:
            calc(var(--wa-header-height, 88px) + 46px)
            clamp(82px, 6.2vw, 108px)
            48px;
    }

    .wa-home-hero__content {
        max-width: 790px;

        transform: translateY(14px);
    }

    .wa-home-hero__eyebrow {
        gap: 14px;

        margin-bottom: 25px;

        font-size: 15px;
    }

    .wa-home-hero__eyebrow-line {
        flex-basis: 38px;

        width: 38px;
    }

    .wa-home-hero__title {
        max-width: 790px;

        font-size:
            clamp(68px, 4.35vw, 82px) !important;

        line-height:
            1.02 !important;
    }

    .wa-home-hero__description {
        max-width: 690px;

        margin-top:
            31px !important;

        font-size: 19px;
        line-height: 1.64;
    }

    .wa-home-hero__actions {
        gap: 16px;

        margin-top: 36px;
    }

    .wa-home-hero__button {
        min-height: 58px;

        padding:
            15px 33px !important;

        font-size:
            14.5px !important;
    }

    .wa-home-hero__benefits {
        gap: 22px;

        margin-top:
            30px !important;
    }

    .wa-home-hero__benefits li {
        font-size: 13.5px;
    }

    .wa-home-hero__benefit-icon {
        flex-basis: 23px;

        width: 23px;
        height: 23px;
    }

    .wa-home-hero__portrait {
        right:
            max(
                72px,
                calc((100% - 1500px) / 2 + 20px)
            );

        height: min(84svh, 830px);
        max-width: 46vw;
    }
}


/* =========================================================
   СРЕДНИЕ DESKTOP — 1081–1439 PX
   ========================================================= */

@media (min-width: 1081px) and (max-width: 1439px) {

    .wa-home-hero__inner {
        width: 100%;

        padding:
            calc(var(--wa-header-height, 88px) + 40px)
            42px
            42px
            clamp(94px, 7.8vw, 110px);
    }

    .wa-home-hero__content {
        max-width: 650px;

        transform: translateY(12px);
    }

    .wa-home-hero__eyebrow {
        margin-bottom: 20px;

        font-size: 12px;
    }

    .wa-home-hero__title {
        max-width: 650px;

        font-size:
            clamp(50px, 4.4vw, 60px) !important;
    }

    .wa-home-hero__description {
        max-width: 570px;

        margin-top:
            25px !important;

        font-size: 16px;
        line-height: 1.6;
    }

    .wa-home-hero__actions {
        margin-top: 29px;
    }

    .wa-home-hero__button {
        min-height: 53px;

        padding:
            13px 27px !important;

        font-size:
            13px !important;
    }

    .wa-home-hero__benefits {
        gap: 16px;

        margin-top:
            24px !important;
    }

    .wa-home-hero__benefits li {
        font-size: 11.5px;
    }

    .wa-home-hero__portrait {
        right: 58px;

        height: min(80svh, 690px);
        max-width: 44vw;
    }
}


/* =========================================================
   DESKTOP С НЕБОЛЬШОЙ ВЫСОТОЙ
   ========================================================= */

@media
    (min-width: 901px)
    and (max-width: 1439px)
    and (max-height: 760px) {

    .wa-home-hero__inner {
        padding-top:
            calc(var(--wa-header-height, 88px) + 24px);

        padding-bottom: 26px;
    }

    .wa-home-hero__content {
        transform: translateY(10px);
    }

    .wa-home-hero__eyebrow {
        margin-bottom: 17px;
    }

    .wa-home-hero__title {
        font-size:
            clamp(46px, 4vw, 58px) !important;
    }

    .wa-home-hero__description {
        margin-top:
            21px !important;
    }

    .wa-home-hero__actions {
        margin-top: 24px;
    }

    .wa-home-hero__benefits {
        margin-top:
            21px !important;
    }

    .wa-home-hero__portrait {
        height: 77svh;
        max-width: 43vw;
    }
}


/* =========================================================
   БОЛЬШОЙ DESKTOP С НЕБОЛЬШОЙ ВЫСОТОЙ
   ========================================================= */

@media
    (min-width: 1440px)
    and (max-height: 760px) {

    .wa-home-hero__inner {
        padding-top:
            calc(var(--wa-header-height, 88px) + 26px);

        padding-bottom: 28px;
    }

    .wa-home-hero__content {
        max-width: 760px;

        transform: translateY(10px);
    }

    .wa-home-hero__eyebrow {
        margin-bottom: 19px;

        font-size: 13px;
    }

    .wa-home-hero__title {
        max-width: 760px;

        font-size:
            clamp(62px, 4vw, 70px) !important;
    }

    .wa-home-hero__description {
        max-width: 650px;

        margin-top:
            23px !important;

        font-size: 17.5px;
    }

    .wa-home-hero__actions {
        margin-top: 27px;
    }

    .wa-home-hero__benefits {
        margin-top:
            23px !important;
    }

    .wa-home-hero__portrait {
        height: 78svh;
        max-width: 44vw;
    }
}


/* =========================================================
   ПЛАНШЕТ — 641–900 PX
   ========================================================= */

@media (min-width: 641px) and (max-width: 900px) {

    .wa-home-hero,
    .wa-home-hero__inner {
        min-height: 100vh;
        min-height: 100svh;
    }

    .wa-home-hero__inner {
        display: flex;
        align-items: flex-start;

        padding:
            calc(var(--wa-header-height, 88px) + 57px)
            42px
            54px;
    }

    .wa-home-hero__content {
        width: 100%;
        max-width: 720px;

        transform: none;
    }

    .wa-home-hero__title {
        max-width: 720px;

        font-size:
            clamp(44px, 7vw, 57px) !important;
    }

    .wa-home-hero__description {
        max-width: 650px;

        font-size: 17px;
    }

    .wa-home-hero__benefits {
        flex-wrap: wrap;

        gap:
            12px 18px;
    }

    .wa-home-hero__portrait {
        display: none !important;
    }
}


/* =========================================================
   МОБИЛЬНЫЙ — ДО 640 PX

   HERO БОЛЬШЕ НЕ РАСТЯГИВАЕТСЯ
   НА ВСЮ ВЫСОТУ ЭКРАНА
   ========================================================= */

@media (max-width: 640px) {

    .wa-home-hero {
        min-height: 0;
        height: auto;
    }

    .wa-home-hero__inner {
        display: block;

        min-height: 0;
        height: auto;

        padding:
            calc(var(--wa-header-height, 88px) + 52px)
            28px
            56px;
    }

    .wa-home-hero::before {
        top: -18%;
        right: -50%;

        width: 145%;
        height: 135%;

        opacity: 0.72;
    }

    .wa-home-hero__decor {
        display: none;
    }

    .wa-home-hero__content {
        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;

        transform: none;
    }

    .wa-home-hero__eyebrow {
        gap: 10px;

        margin:
            0 0 23px;

        font-size: 11px;
        line-height: 1.4;

        letter-spacing: 0.05em;
    }

    .wa-home-hero__eyebrow-line {
        flex-basis: 26px;

        width: 26px;
        height: 2px;
    }

    .wa-home-hero__title {
        width: 100%;
        max-width: none;

        font-size:
            clamp(36px, 10.1vw, 44px) !important;

        line-height:
            1.065 !important;

        letter-spacing:
            -0.038em !important;
    }

    .wa-home-hero__description {
        width: 100%;
        max-width: none;

        margin-top:
            28px !important;

        font-size: 15px;
        line-height: 1.65;
    }

    .wa-home-hero__actions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;

        width: 100%;

        margin-top: 33px;
    }

    .wa-home-hero__button {
        width: 100%;
        min-height: 57px;

        padding:
            14px 20px !important;

        font-size:
            14px !important;
    }

    .wa-home-hero__benefits {
        display: none !important;
    }

    .wa-home-hero__portrait {
        display: none !important;
    }
}


/* =========================================================
   МАЛЕНЬКИЙ МОБИЛЬНЫЙ — ДО 400 PX
   ========================================================= */

@media (max-width: 400px) {

    .wa-home-hero__inner {
        min-height: 0;
        height: auto;

        padding:
            calc(var(--wa-header-height, 88px) + 47px)
            24px
            50px;
    }

    .wa-home-hero__eyebrow {
        margin-bottom: 20px;

        font-size: 10.5px;
    }

    .wa-home-hero__title {
        font-size:
            33px !important;
    }

    .wa-home-hero__description {
        margin-top:
            25px !important;

        font-size: 14.5px;
    }

    .wa-home-hero__actions {
        margin-top: 30px;
    }

    .wa-home-hero__button {
        min-height: 55px;

        font-size:
            13px !important;
    }
}


/* =========================================================
   ОЧЕНЬ УЗКИЙ МОБИЛЬНЫЙ — ДО 350 PX
   ========================================================= */

@media (max-width: 350px) {

    .wa-home-hero__inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .wa-home-hero__title {
        font-size:
            31px !important;
    }

    .wa-home-hero__description {
        font-size: 14px;
    }

    .wa-home-hero__button {
        font-size:
            12.5px !important;
    }
}