/* reset and base styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Involve', sans-serif;
    background: #0F0F0F;
    color: #FFFFFF;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
}

/* main wrapper */
.page-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    padding: 10px;
}

/* hero section */
.hero-card {
    position: relative;
    background: #2a241f;
    border-radius: 24px;
    overflow: hidden;
    height: calc(100vh - 20px);
    min-height: 700px;
    max-height: 1000px;
    padding: 40px 50px 0;
    display: flex;
    flex-direction: column;
    
}

/* background gradients */
.hero-gradient {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.hero-gradient--orange {
    width: 2325px;
    height: 831px;
    bottom: -300px;
    left: 144px;
    background: #934A0B;
    filter: blur(200px);
    opacity: 1;
}

.hero-gradient--yellow {
    width: 2267px;
    height: 538px;
    bottom: -350px;
    left: 62px;
    background: #D2A40E;
    filter: blur(221px);
    opacity: 0.8;
    mix-blend-mode: plus-lighter;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
}

/* text animation effects */
.anim-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 1em;
    overflow: hidden;
}

.anim-text .span-mother {
    display: flex;
    overflow: hidden;
}

.anim-text .span-mother span {
    display: inline-block;
    transition: transform 0.2s;
}

.anim-text:hover .span-mother span {
    transform: translateY(1.2em);
}

.anim-text .span-mother span:nth-child(1) { transition-duration: 0.15s; }
.anim-text .span-mother span:nth-child(2) { transition-duration: 0.18s; }
.anim-text .span-mother span:nth-child(3) { transition-duration: 0.21s; }
.anim-text .span-mother span:nth-child(4) { transition-duration: 0.24s; }
.anim-text .span-mother span:nth-child(5) { transition-duration: 0.27s; }
.anim-text .span-mother span:nth-child(6) { transition-duration: 0.30s; }
.anim-text .span-mother span:nth-child(7) { transition-duration: 0.33s; }
.anim-text .span-mother span:nth-child(8) { transition-duration: 0.36s; }
.anim-text .span-mother span:nth-child(9) { transition-duration: 0.39s; }
.anim-text .span-mother span:nth-child(10) { transition-duration: 0.42s; }
.anim-text .span-mother span:nth-child(11) { transition-duration: 0.45s; }
.anim-text .span-mother span:nth-child(12) { transition-duration: 0.48s; }
.anim-text .span-mother span:nth-child(13) { transition-duration: 0.51s; }
.anim-text .span-mother span:nth-child(14) { transition-duration: 0.54s; }
.anim-text .span-mother span:nth-child(15) { transition-duration: 0.57s; }
.anim-text .span-mother span:nth-child(16) { transition-duration: 0.60s; }
.anim-text .span-mother span:nth-child(17) { transition-duration: 0.63s; }
.anim-text .span-mother span:nth-child(18) { transition-duration: 0.66s; }
.anim-text .span-mother span:nth-child(19) { transition-duration: 0.69s; }
.anim-text .span-mother span:nth-child(20) { transition-duration: 0.72s; }

.anim-text .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    pointer-events: none;
}

.anim-text .span-mother2 span {
    display: inline-block;
    transform: translateY(-1.2em);
    transition: transform 0.2s;
}

.anim-text:hover .span-mother2 span {
    transform: translateY(0);
}

.anim-text .span-mother2 span:nth-child(1) { transition-duration: 0.15s; }
.anim-text .span-mother2 span:nth-child(2) { transition-duration: 0.18s; }
.anim-text .span-mother2 span:nth-child(3) { transition-duration: 0.21s; }
.anim-text .span-mother2 span:nth-child(4) { transition-duration: 0.24s; }
.anim-text .span-mother2 span:nth-child(5) { transition-duration: 0.27s; }
.anim-text .span-mother2 span:nth-child(6) { transition-duration: 0.30s; }
.anim-text .span-mother2 span:nth-child(7) { transition-duration: 0.33s; }
.anim-text .span-mother2 span:nth-child(8) { transition-duration: 0.36s; }
.anim-text .span-mother2 span:nth-child(9) { transition-duration: 0.39s; }
.anim-text .span-mother2 span:nth-child(10) { transition-duration: 0.42s; }
.anim-text .span-mother2 span:nth-child(11) { transition-duration: 0.45s; }
.anim-text .span-mother2 span:nth-child(12) { transition-duration: 0.48s; }
.anim-text .span-mother2 span:nth-child(13) { transition-duration: 0.51s; }
.anim-text .span-mother2 span:nth-child(14) { transition-duration: 0.54s; }
.anim-text .span-mother2 span:nth-child(15) { transition-duration: 0.57s; }
.anim-text .span-mother2 span:nth-child(16) { transition-duration: 0.60s; }
.anim-text .span-mother2 span:nth-child(17) { transition-duration: 0.63s; }
.anim-text .span-mother2 span:nth-child(18) { transition-duration: 0.66s; }
.anim-text .span-mother2 span:nth-child(19) { transition-duration: 0.69s; }
.anim-text .span-mother2 span:nth-child(20) { transition-duration: 0.72s; }

/* header styles */
.header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 10;
    flex-shrink: 0;
}

.header__left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.header__logo-img {
    width: 208px;
    height: 40px;
}

.header__subtitle {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    opacity: 0.9;
    text-transform: lowercase;
    padding-left: 4px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 10px;
}

.header__nav-link {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.header__nav-link--active {
    color: #FBC81E;
}

.header__nav-link .anim-text .span-mother span,
.header__nav-link .anim-text .span-mother2 span {
    font: inherit;
    color: inherit;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    flex-shrink: 0;
}

.header__phone-icon {
    width: 20px;
    height: 20px;
}

.header__phone-link {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.header__phone-link .anim-text .span-mother span,
.header__phone-link .anim-text .span-mother2 span {
    font: inherit;
    color: inherit;
}

.header__burger {
    display: none;
}

.mobile-menu {
    display: none;
}

/* hero content */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    z-index: 5;
}

.hero__content {
    flex-shrink: 0;
    margin-bottom: 65px;
    max-width: 680px;
}

.hero__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 68px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 24px;
    white-space: nowrap;
}

.hero__title--highlight {
    color: #FFC200;
}

.hero__description {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #FFFFFF;
    margin-bottom: 36px;
}

.hero__br-desktop {
    display: inline;
}

.hero__br-tablet {
    display: none;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 320px;
    height: 74px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero__btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero__btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.hero__btn .anim-text .span-mother span,
.hero__btn .anim-text .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
}

.hero__btn span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.hero__actions-text {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    opacity: 0.7;
    max-width: 260px;
}

/* hero image */
.hero__image {
    position: absolute;
    right: -50px;
    bottom: 0;
    top: -100px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: stretch;
}

.hero__phone-img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: left top;
}

.hero__br-mobile {
    display: none;
}

.hero__btn-text-static {
    display: none;
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.hero-gradient--orange {
    width: 2325px;
    height: 831px;
    bottom: -300px;
    left: 144px;
    background: #934A0B;
    filter: blur(200px);
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-gradient--yellow {
    width: 2267px;
    height: 538px;
    bottom: -350px;
    left: 62px;
    background: #D2A40E;
    filter: blur(221px);
    opacity: 0.8;
    mix-blend-mode: plus-lighter;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Safari*/
@supports (-webkit-hyphens: none) {
    .hero-gradient--orange {
        background: #C05A0A;
        opacity: 1;
        filter: blur(180px);
    }

    .hero-gradient--yellow {
        background: #F5C000;
        mix-blend-mode: screen;
        -webkit-mix-blend-mode: screen;
        opacity: 1;
        filter: blur(180px);
    }
}

@supports (-webkit-hyphens: none) {
    @media (min-width: 1515px) {
        .hero__image {
            position: absolute;
            right: -50px;
            bottom: 0;
            top: -100px;
            width: min(65vw, 1280px);
            display: block;
        }

        .hero__image picture {
            display: block;
            width: 100%;
            height: 100%;
        }

        .hero__phone-img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: right bottom;
        }
    }
}

@media (max-width: 1600px) {
    .hero-card {
        padding: 36px 40px 0;
    }

    .hero__title {
        font-size: 60px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__image {
        right: -110px;
    }
}

/* media 1440px */
@media (max-width: 1500px) {
    .hero-card {
        padding: 36px 40px 0;
    }

    .hero__title {
        font-size: 60px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__image {
        position: absolute;
        right: -260px;
        bottom: 0;
        top: -100px;
        width: 100%;
        transform: none;
    }

    .hero__phone-img {
        position: absolute;
        bottom: 0;
        right: 0;
        height: auto;
        width: 100%;
        max-height: 110%;
        object-fit: contain;
        object-position: right bottom;
    }
}

@media (max-width: 1350px) {
    .hero-card {
        padding: 36px 40px 0;
    }

    .hero__title {
        font-size: 60px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__image {
        position: absolute;
        right: -260px;
        bottom: 0;
        top: -100px;
        width: 100%;
        transform: none;
    }

    .hero__phone-img {
        position: absolute;
        bottom: 0;
        right: 0;
        height: auto;
        width: 100%;
        max-height: 110%;
        object-fit: contain;
        object-position: right bottom;
    }
}

/* media 1250-950px */
@media (max-width: 1250px) {
    .hero-card {
        padding: 36px 40px 0;
    }

    .hero__title {
        font-size: 60px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__image {
        position: absolute;
        right: -340px;
        bottom: 0;
        top: -100px;
        width: 100%;
        transform: none;
    }

    .hero__phone-img {
        position: absolute;
        bottom: 0;
        right: 0;
        height: auto;
        width: 100%;
        max-height: 110%;
        object-fit: contain;
        object-position: right bottom;
    }
}

@media (max-width: 1100px) {
    .hero__image {
        position: absolute;
        right: -260px;
        bottom: 0;
        top: 200px;
        width: 100%;
        transform: none;
    }

    .hero__phone-img {
        position: absolute;
        bottom: 0;
        right: 0;
        height: auto;
        width: 100%;
        max-height: 150%;
        object-fit: contain;
        object-position: right bottom;
    }

    .hero-card {
        padding: 30px 30px 0;
        height: calc(100vh - 16px);
    }

    .hero__title {
        font-size: 50px;
    }

    .hero__content {
        max-width: 550px;
        
    }

    .hero__description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero__btn {
        min-width: 220px;
        height: 56px;
    }

    .hero__btn span {
        font-size: 18px;
    }

    .hero__actions-text {
        font-size: 14px;
        max-width: 220px;
    }

    .header__nav {
        gap: 20px;
    }

    .header__nav-link {
        font-size: 14px;
    }

    .header__phone-link {
        font-size: 14px;
    }
}

@media (max-width: 950px) {
    .page-wrapper {
        padding: 6px;
    }

    .hero-card {
        padding: 16px 20px 0;
        height: calc(100dvh - 12px);
        height: calc(100vh - 12px);
        min-height: 670px;
        max-height: none;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* mobile header */
    .header {
        align-items: center;
        flex-shrink: 0;
    }

    .header__left {
        gap: 2px;
    }

    .header__logo-img {
        width: 140px;
        height: 28px;
    }

    .header__subtitle {
        display: none;
    }

    .header__nav {
        display: none;
    }

    .header__phone {
        display: none;
    }

    .header__burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 6px;
        border: 1px solid rgba(202, 185, 126, 0.35);
        background: rgba(148, 142, 123, 0.32);
        backdrop-filter: blur(54px);
        -webkit-backdrop-filter: blur(54px);
        flex-shrink: 0;
        z-index: 101;
        position: relative;
    }

    .header__burger-icon {
        width: 18px;
        height: 18px;
        position: absolute;
        transition: opacity 0.3s;
    }

    .header__burger-icon--close {
        opacity: 0;
    }

    .header__burger.active .header__burger-icon--open {
        opacity: 0;
    }

    .header__burger.active .header__burger-icon--close {
        opacity: 1;
    }

    /* mobile menu */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 52px;
        right: 0;
        width: 210px;
        border-radius: 6px;
        border: 1px solid rgba(202, 185, 126, 0.35);
        background: rgba(148, 142, 123, 0.32);
        backdrop-filter: blur(54px);
        -webkit-backdrop-filter: blur(54px);
        padding: 16px 12px;
        flex-direction: column;
        gap: 8px;
        z-index: 100;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu__link {
        font-family: 'Involve', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 140%;
        color: #FFFFFF;
        display: block;
        white-space: nowrap;
    }

    .mobile-menu__link--active {
        color: #FFC200;
    }

    .mobile-menu__divider {
        width: 175px;
        height: 0;
        border: none;
        border-top: 1px dashed rgba(255, 255, 255, 0.5);
        margin: 4px 0;
    }

    .mobile-menu__phone {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-menu__phone-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .mobile-menu__phone span {
        font-family: 'Involve', sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 130%;
        color: #FFC200;
        white-space: nowrap;
    }

    /* mobile hero */
    .hero {
        flex-direction: column;
        align-items: center;
        margin-top: 28px;
        flex: 1;
        min-height: 0;
        overflow: visible;
        position: static;
    }

    .hero__content {
        max-width: 100%;
        padding-top: 0;
        text-align: center;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }

    .hero__title {
        font-size: 30px;
        margin-bottom: 8px;
        text-align: center;
        white-space: normal;
    }

    .hero__description {
        font-size: 13px;
        line-height: 140%;
        margin-bottom: 12px;
        text-align: center;
    }

    .hero__br-desktop {
        display: none;
    }

    .hero__br-tablet {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        position: relative;
        z-index: 3;
    }

    .hero__btn {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        height: 50px;
        padding: 14px 14px;
        margin-top: 12px;
        border-radius: 12px;
    }

    .hero__btn span {
        font-size: 16px;
    }

    .hero__btn-icon {
        width: 18px;
        height: 18px;
    }

    .hero__actions-text {
        font-size: 11px;
        line-height: 120%;
        opacity: 0.7;
        text-align: center;
        max-width: 280px;
    }

    /* сбрасываем стили от 1500px */
    .hero__image {
        position: absolute;
        right: -300px;
        bottom: -30px;
        top: auto;
        width: 100%;
        transform: none;
        display: flex;
        justify-content: right;
        align-items: flex-end;
        overflow: hidden;
        z-index: 2;
    }

    .hero__phone-img {
        position: static;
        width: 60%;
        max-width: 800px;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: bottom center;
    }

        @media (max-height: 700px) {
        .hero__image {
            right: -350px;
            bottom: -80px;
        }

        .hero__phone-img {
            width: 50%;
        }
    }

    /* mobile gradients */
    .hero-gradient--orange {
        width: 800px;
        height: 500px;
        bottom: -100px;
        left: -100px;
    }

    .hero-gradient--yellow {
        width: 800px;
        height: 350px;
        bottom: -150px;
        left: -50px;
    }

    .hero__btn-text-anim {
        display: none;
    }

    .hero__btn-text-static {
        display: inline;
        font-size: 14px;
    }
}

/* mobile styles */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 6px;
    }

    .hero-card {
        padding: 16px 20px 0;
        height: calc(100dvh - 12px);
        height: calc(100vh - 12px);
        min-height: 650px;
        max-height: none;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* mobile header */
    .header {
        align-items: center;
        flex-shrink: 0;
    }

    .header__left {
        gap: 2px;
    }

    .header__logo-img {
        width: 140px;
        height: 28px;
    }

    .header__subtitle {
        display: none;
    }

    .header__nav {
        display: none;
    }

    .header__phone {
        display: none;
    }

    .header__burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 6px;
        border: 1px solid rgba(202, 185, 126, 0.35);
        background: rgba(148, 142, 123, 0.32);
        backdrop-filter: blur(54px);
        -webkit-backdrop-filter: blur(54px);
        flex-shrink: 0;
        z-index: 101;
        position: relative;
    }

    .header__burger-icon {
        width: 18px;
        height: 18px;
        position: absolute;
        transition: opacity 0.3s;
    }

    .header__burger-icon--close {
        opacity: 0;
    }

    .header__burger.active .header__burger-icon--open {
        opacity: 0;
    }

    .header__burger.active .header__burger-icon--close {
        opacity: 1;
    }

    /* mobile menu */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 52px;
        right: 0;
        width: 210px;
        border-radius: 6px;
        border: 1px solid rgba(202, 185, 126, 0.35);
        background: rgba(148, 142, 123, 0.32);
        backdrop-filter: blur(54px);
        -webkit-backdrop-filter: blur(54px);
        padding: 16px 12px;
        flex-direction: column;
        gap: 8px;
        z-index: 100;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu__link {
        font-family: 'Involve', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 140%;
        color: #FFFFFF;
        display: block;
        white-space: nowrap;
    }

    .mobile-menu__link--active {
        color: #FFC200;
    }

    .mobile-menu__divider {
        width: 175px;
        height: 0;
        border: none;
        border-top: 1px dashed rgba(255, 255, 255, 0.5);
        margin: 4px 0;
    }

    .mobile-menu__phone {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-menu__phone-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .mobile-menu__phone span {
        font-family: 'Involve', sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 130%;
        color: #FFC200;
        white-space: nowrap;
    }

    /* mobile hero */
    .hero {
        flex-direction: column;
        align-items: center;
        margin-top: 28px;
        flex: 1;
        min-height: 0;
        overflow: visible;
        position: static;
    }

    .hero__content {
        max-width: 100%;
        padding-top: 0;
        text-align: center;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }

    .hero__title {
        font-size: 30px;
        margin-bottom: 6px;
        text-align: center;
        white-space: normal;
    }

    .hero__description {
        font-size: 13px;
        line-height: 140%;
        margin-bottom: 8px;
        text-align: center;
    }

    .hero__br-desktop {
        display: none;
    }

    .hero__br-tablet {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        position: relative;
        z-index: 3;
    }

    .hero__btn {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        height: 50px;
        padding: 14px 14px;
        margin-top: 12px;
        border-radius: 12px;
    }

    .hero__btn span {
        font-size: 14px;
    }

    .hero__btn-icon {
        width: 18px;
        height: 18px;
    }

    .hero__actions-text {
        font-size: 11px;
        line-height: 120%;
        opacity: 0.7;
        text-align: center;
        max-width: 280px;
    }

    .hero__image {
        position: absolute;
        bottom: -60px;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
        z-index: 2;
    }

    .hero__phone-img {
        width: auto;
        height: 100vh;
        max-height: none;
        min-width: 0;
        flex-shrink: 0;
        object-fit: contain;
        object-position: bottom center;
    }

        @media (max-height: 850px) {
        .hero__image {
            bottom: -140px;
        }
    }

    @media (max-height: 750px) {
        .hero__image {
            bottom: -150px;
        }

        .hero__phone-img {
            height: 80vh;
        }
    }

    /* mobile gradients */
    .hero-gradient--orange {
        width: 800px;
        height: 500px;
        bottom: -100px;
        left: -100px;
    }

    .hero-gradient--yellow {
        width: 800px;
        height: 350px;
        bottom: -150px;
        left: -50px;
    }
}

@media (max-width: 420px) {
    .hero-card {
        padding: 12px 16px 0;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__description {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .hero__image {
        position: absolute;
        bottom: -120px;
        left: auto;
        right: -300px;
        top: auto;
        width: 250%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
        z-index: 2;
    }

    .hero__phone-img {
        width: 97%;
        height: 60vh;
        height: calc(var(--app-height, 100vh) * 0.60);
        max-height: none;
        min-width: 0;
        flex-shrink: 0;
        object-fit: contain;
        object-position: bottom center;
    }

    .mobile-menu {
        right: 0;
    }

    .hero__br-mobile {
        display: inline;
    }

    .hero__btn-text-anim {
        display: none;
    }

    .hero__btn-text-static {
        display: inline;
        font-size: 21px;
    }

    .hero__btn {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        height: 44px;
        padding: 12px 12px;
        margin-top: 8px;
        border-radius: 12px;
        gap: 5px;
    }

    .hero__btn-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 370px) {
    .hero__title {
        font-size: 24px;
    }

    .hero__btn {
        max-width: 260px;
        height: 46px;
    }

    .hero__btn span {
        font-size: 14px;
    }

    .hero__actions-text {
        font-size: 10px;
    }

    .hero__image {
        right: -270px;
    }
}

/* about section */
.about-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 60px 50px 60px;
    margin-top: 10px;
}

.about-header {
    margin-bottom: 40px;
}

.about-title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    color: #1E1E1E;
    margin-bottom: 20px;
}

.about-subtitle {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #1E1E1E;
    opacity: 0.7;
    max-width: 979px;
}

/* about grid layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.about-item {
    background: #F8F5EE;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.about-item__text {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: #2B241E;
}

.about-item__img-wrap {
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
}

.about-item__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* first card */
.about-item--1 {
    min-height: 569px;
}

.about-item--1 .about-item__img-wrap {
    max-height: 280px;
    justify-content: flex-start;
    margin-left: 0;
    margin-bottom: 0;
}

.about-item--1 .about-item__img {
    max-height: 100%;
    width: auto;
}

/* second card */
.about-item--2 {
    min-height: 569px;
}

.about-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
    border-radius: 10px;
    background: #F4E1B6;
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
    color: #4D3600;
    text-transform: lowercase;
    white-space: nowrap;
}

/* third card */
.about-item--3 {
    min-height: 569px;
}

.about-item--3 .about-item__img-wrap {
    max-height: 620px;
    margin-bottom: -30px;
    margin-left: -30px;
    margin-right: -30px;
}

.about-item--3 .about-item__img {
    max-height: 100%;
    width: 100%;
}

/* wide card */
.about-item--4 {
    grid-column: 1 / 3;
    flex-direction: row;
    align-items: stretch;
    padding: 25px 30px;
    min-height: 564px;
    gap: 20px;
    position: relative;
}

.about-item--4-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 40%;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.about-item--4-right {
    flex: 1;
    position: relative;
    margin: -25px -30px -25px 0;
}

.about-item--4-right .about-item__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* fifth card */
.about-item--5 {
    min-height: 564px;
}

.about-item--5 .about-item__img-wrap {
    max-height: 300px;
    justify-content: flex-start;
    margin-left: 0;
    margin-bottom: 0;
}

.about-item--5 .about-item__img {
    max-height: 100%;
    width: auto;
}

/* about media 1500px */
@media (max-width: 1500px) {
    .about-card {
        padding: 50px 40px 50px;
    }

    .about-title {
        font-size: 52px;
    }

    .about-item__text {
        font-size: 22px;
    }

    .about-badge {
        font-size: 20px;
        padding: 14px 12px;
    }

    .about-item--1,
    .about-item--2,
    .about-item--3 {
        min-height: 500px;
    }

    .about-item--4,
    .about-item--5 {
        min-height: 480px;
    }
}

@media (max-width: 1250px) {
    .about-title {
        font-size: 46px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-item__text {
        font-size: 20px;
    }

    .about-badge {
        font-size: 18px;
        padding: 12px 10px;
    }

    .about-item--1,
    .about-item--2,
    .about-item--3 {
        min-height: 450px;
    }

    .about-item--4,
    .about-item--5 {
        min-height: 430px;
    }
}

/* tablet media */
@media (max-width: 1100px) {
    .about-card {
        padding: 40px 30px 40px;
        border-radius: 30px;
    }

    .about-title {
        font-size: 42px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .about-item--1 {
        grid-column: 1;
        grid-row: 1;
    }

    .about-item--2 {
        grid-column: 2;
        grid-row: 1;
    }

    .about-item--3 {
        grid-column: 1;
        grid-row: 2;
    }

    .about-item--5 {
        grid-column: 2;
        grid-row: 2;
    }

    .about-item--4 {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .about-item--1,
    .about-item--2,
    .about-item--3,
    .about-item--5 {
        min-height: 420px;
    }

    .about-item--4 {
        min-height: 400px;
    }

    .about-item__text {
        font-size: 19px;
    }

    .about-badge {
        font-size: 17px;
    }
}

@media (max-width: 950px) {
    .about-title {
        font-size: 38px;
    }

    .about-subtitle {
        font-size: 16px;
    }

    .about-item__text {
        font-size: 17px;
    }

    .about-badge {
        font-size: 16px;
        padding: 10px 10px;
    }

    .about-item--1,
    .about-item--2,
    .about-item--3,
    .about-item--5 {
        min-height: 380px;
    }

    .about-item--4 {
        min-height: 360px;
    }
}

/* mobile card 4 */
@media (max-width: 768px) {
    .about-card {
        padding: 30px 16px 30px;
        border-radius: 24px;
        margin-top: 8px;
    }

    .about-header {
        margin-bottom: 24px;
    }

    .about-title {
        font-size: 30px;
    }

    .about-subtitle {
        font-size: 14px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-item {
        border-radius: 20px;
        padding: 20px;
        min-height: 320px;
    }

    .about-item--1,
    .about-item--2,
    .about-item--3,
    .about-item--5 {
        min-height: 320px;
        grid-column: 1;
    }

    .about-item--1 { grid-row: 1; }
    .about-item--2 { grid-row: 2; }
    .about-item--3 { grid-row: 3; }
    .about-item--5 { grid-row: 4; }

    .about-item--1 .about-item__img-wrap {
        max-height: 180px;
        margin-left: 0;
        margin-bottom: 0;
    }

    .about-item--3 .about-item__img-wrap {
        max-height: 500px;
        margin-left: -30px;
        margin-right: -30px;
        margin-bottom: -30px;
    }

    .about-item--5 .about-item__img-wrap {
        max-height: 180px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    /* mobile card 4 */
    .about-item--4 {
        grid-column: 1;
        grid-row: 5;
        flex-direction: row;
        min-height: 320px;
        padding: 20px;
        gap: 12px;
    }

    .about-item--4-left {
        flex: 1;
        max-width: none;
    }

    .about-item--4-left .about-item__badges {
        flex-direction: column;
        gap: 8px;
    }

    .about-item--4-left .about-badge {
        align-self: flex-start;
    }

    .about-item--4-right {
        flex: 0 0 65%;
        margin-right: -20px;
        margin-top: -20px;
        margin-bottom: -20px;
        min-height: 280px;
        overflow: hidden;
    }

    .about-item--4-right .about-item__img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }

    .about-item__text {
        font-size: 16px;
    }

    .about-badge {
        font-size: 15px;
        padding: 10px 10px;
    }

    .about-item__img-wrap {
        margin-top: 16px;
    }
}

@media (max-width: 420px) {
    .about-card {
        padding: 24px 12px 24px;
    }

    .about-title {
        font-size: 26px;
    }

    .about-item,
    .about-item--1,
    .about-item--2,
    .about-item--3,
    .about-item--4,
    .about-item--5 {
        min-height: 300px;
    }

    .about-item__text {
        font-size: 15px;
    }

    .about-badge {
        font-size: 14px;
        padding: 8px 8px;
    }
    .about-item--1 .about-item__img-wrap {
        max-height: 70px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    .about-item--3 .about-item__img-wrap {
        max-height: 280px;
        margin-left: -25px;
        margin-right: -25px;
        margin-bottom: -25px;
    }

    .about-item--4 {
        position: relative;
    }

    .about-item--4-left {
        position: relative;
        z-index: 1;
        flex: 1;
    }

    .about-item--4-right {
        position: absolute;
        right: -16px;
        top: -16px;
        bottom: -16px;
        width: 80%;
        margin: 0;
        min-height: unset;
    }

    .about-item--4-right .about-item__img {
        object-position: right bottom;
    }
    .about-item--5 .about-item__img-wrap {
        max-height: 150px;
        margin-left: -16px;
        margin-bottom: -16px;
    }
}

/* shared wrapper for calc and steps */
.calc-steps-wrapper {
    position: relative;
}

.calc-steps-gradient {
    position: absolute;
    width: 100%;
    height: 800px;
    top: 32%;
    left: 0;
    background: rgba(255, 106, 0, 0.35);
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.calc-steps-gradient2 {
    position: absolute;
    width: 100%;
    height: 800px;
    top: 52%;
    left: 0;
    background: rgba(255, 106, 0, 0.35);
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* calculation section */
.calc-section {
    position: relative;
    padding: 80px 50px 80px;
    z-index: 2;
}

.calc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 58px;
    line-height: 110%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 24px;
}

.calc-subtitle {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    text-align: center;
    max-width: 680px;
    margin-bottom: 40px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 387px;
}

.calc-input {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 20px 20px 16px;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.3s;
}

.calc-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.calc-input:focus {
    border-color: #FFC200;
}

.calc-btn {
    width: 100%;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 30px 30px 20px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.calc-btn:hover {
    opacity: 0.9;
}

.calc-btn__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.calc-btn__text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
}

.calc-btn .span-mother {
    display: flex;
    overflow: hidden;
    height: 22px;
}

.calc-btn:hover .span-mother span {
    transform: translateY(1.4em);
}

.calc-btn .span-mother span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transition: transform 0.2s;
}

.calc-btn .span-mother span:nth-child(1) { transition-duration: 0.15s; }
.calc-btn .span-mother span:nth-child(2) { transition-duration: 0.2s; }
.calc-btn .span-mother span:nth-child(3) { transition-duration: 0.25s; }
.calc-btn .span-mother span:nth-child(4) { transition-duration: 0.3s; }
.calc-btn .span-mother span:nth-child(5) { transition-duration: 0.35s; }
.calc-btn .span-mother span:nth-child(6) { transition-duration: 0.4s; }
.calc-btn .span-mother span:nth-child(7) { transition-duration: 0.45s; }
.calc-btn .span-mother span:nth-child(8) { transition-duration: 0.5s; }
.calc-btn .span-mother span:nth-child(9) { transition-duration: 0.55s; }
.calc-btn .span-mother span:nth-child(10) { transition-duration: 0.6s; }
.calc-btn .span-mother span:nth-child(11) { transition-duration: 0.65s; }
.calc-btn .span-mother span:nth-child(12) { transition-duration: 0.7s; }
.calc-btn .span-mother span:nth-child(13) { transition-duration: 0.75s; }
.calc-btn .span-mother span:nth-child(14) { transition-duration: 0.8s; }
.calc-btn .span-mother span:nth-child(15) { transition-duration: 0.85s; }

.calc-btn .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 22px;
    pointer-events: none;
}

.calc-btn .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transform: translateY(-1.4em);
    transition: transform 0.2s;
}

.calc-btn:hover .span-mother2 span {
    transform: translateY(0);
}

.calc-btn .span-mother2 span:nth-child(1) { transition-duration: 0.15s; }
.calc-btn .span-mother2 span:nth-child(2) { transition-duration: 0.2s; }
.calc-btn .span-mother2 span:nth-child(3) { transition-duration: 0.25s; }
.calc-btn .span-mother2 span:nth-child(4) { transition-duration: 0.3s; }
.calc-btn .span-mother2 span:nth-child(5) { transition-duration: 0.35s; }
.calc-btn .span-mother2 span:nth-child(6) { transition-duration: 0.4s; }
.calc-btn .span-mother2 span:nth-child(7) { transition-duration: 0.45s; }
.calc-btn .span-mother2 span:nth-child(8) { transition-duration: 0.5s; }
.calc-btn .span-mother2 span:nth-child(9) { transition-duration: 0.55s; }
.calc-btn .span-mother2 span:nth-child(10) { transition-duration: 0.6s; }
.calc-btn .span-mother2 span:nth-child(11) { transition-duration: 0.65s; }
.calc-btn .span-mother2 span:nth-child(12) { transition-duration: 0.7s; }
.calc-btn .span-mother2 span:nth-child(13) { transition-duration: 0.75s; }
.calc-btn .span-mother2 span:nth-child(14) { transition-duration: 0.8s; }
.calc-btn .span-mother2 span:nth-child(15) { transition-duration: 0.85s; }

/* video placeholder */
.calc-video {
    width: 100%;
    max-width: 1181px;
    aspect-ratio: 1181 / 615;
    border-radius: 50px;
    background: #F8F5EE;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.calc-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.calc-title-mobile {
    display: none;
}

/* calc responsive */
@media (max-width: 1500px) {
    .calc-title {
        font-size: 52px;
    }
}

@media (max-width: 1100px) {
    .calc-section {
        padding: 60px 30px 60px;
    }

    .calc-title {
        font-size: 46px;
    }

    .calc-video {
        border-radius: 40px;
    }
}

@media (max-width: 950px) {
    .calc-title {
        font-size: 40px;
    }

    .calc-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .calc-section {
        padding: 50px 20px 40px;
    }

    .calc-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .calc-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .calc-form {
        max-width: 100%;
        margin-bottom: 20px;
        gap: 12px;
    }

    .calc-input {
        height: 56px;
        font-size: 18px;
        border-radius: 10px;
    }

    .calc-btn {
        height: 66px;
        border-radius: 14px;
        padding: 20px;
    }

    .calc-btn .span-mother span,
    .calc-btn .span-mother2 span {
        font-size: 20px;
    }

    .calc-video {
        width: 100%;
        max-width: 100%;
        border-radius: 24px;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 450px) {
    .calc-section {
        padding: 40px 16px 30px;
    }

    .calc-title {
        font-size: 26px;
    }

    .calc-title-desktop {
        display: none;
    }

    .calc-title-mobile {
        display: inline;
    }

    .calc-subtitle {
        font-size: 13px;
    }

    .calc-btn .span-mother span,
    .calc-btn .span-mother2 span {
        font-size: 18px;
    }

    .calc-video {
        border-radius: 20px;
    }
}

/* steps section */
.steps-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 70px 40px 60px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.steps-header {
    text-align: center;
    margin-bottom: 40px;
}

.steps-title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    color: #1E1E1E;
    margin-bottom: 20px;
}

.steps-subtitle {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #1E1E1E;
    max-width: 780px;
    margin: 0 auto;
}

/* steps grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* step item styles */
.steps-item {
    border-radius: 30px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: #F8F5EE;
    color: #2B241E;
}

.steps-item__tag {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    display: block;
    color: #2B241E;
}

.steps-item__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    margin-bottom: 22px;
}

.steps-item__text {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}

/* orange theme */
.steps-item--orange {
    background: #B56126;
    color: #FFFFFF;
}

.steps-item--orange .steps-item__tag {
    color: #FFFFFF;
}

/* dark theme */
.steps-item--dark {
    background: #1F1F1F;
    color: #FFFFFF;
}

.steps-item--dark .steps-item__tag {
    color: #FFFFFF;
}

/* wide step cards */
.steps-item--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    padding: 40px 0 0 36px;
    min-height: 560px;
    position: relative;
}

.steps-item__left {
    flex: 0 0 48%;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    padding-bottom: 40px;
}

.steps-item__right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
}

.steps-item__right .steps-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

/* half width cards */
.steps-item--half {
    min-height: 560px;
    max-height: 560px;
}

/* image wrappers */
.steps-item__img-wrap {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.steps-item__img-wrap .steps-item__img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* book image */
.steps-item__img-wrap--book {
    margin-bottom: -530px;
    margin-left: 50px;
    margin-right: -36px;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.steps-item__img-wrap--book .steps-item__img {
    max-height: 840px;
    width: auto;
    object-fit: contain;
    object-position: center bottom;
}

/* sign image */
.steps-item__img-wrap--sign {
    justify-content: flex-start;
    margin-top: 20px;
}

.steps-item__img-wrap--sign .steps-item__img {
    max-width: 280px;
}

/* pdf image */
.steps-item__img-wrap--pdf {
    margin-bottom: -20px;
    margin-left: -18px;
    justify-content: flex-start;
    align-items: flex-end;
}

.steps-item__img-wrap--pdf .steps-item__img {
    min-height: 230px;
}

/* building image */
.steps-item__img-wrap--building {
    position: absolute;
    right: -36px;
    top: 0;
    bottom: 0;
    width: 45%;
    margin: 0;
    justify-content: flex-end;
    align-items: stretch;
}

.steps-item__img-wrap--building .steps-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
}

.steps-item--6 {
    position: relative;
}

.steps-item--6 .steps-item__text {
    max-width: 75%;
}

.steps-item--6 .steps-item__title {
    max-width: 75%;
}

/* internal gradient */
.steps-item__orange-gradient {
    position: absolute;
    bottom: -60px;
    left: -100px;
    width: 1018px;
    height: 241px;
    background: #FF6B00;
    opacity: 0.8;
    mix-blend-mode: plus-lighter;
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* steps media 1500px */
@media (max-width: 1500px) {
    .steps-card {
        padding: 60px 36px 50px;
    }

    .steps-title {
        font-size: 52px;
    }

    .steps-item__title {
        font-size: 32px;
    }

    .steps-item__text {
        font-size: 17px;
    }

    .steps-item--wide,
    .steps-item--half {
        min-height: 500px;
        max-height: 500px;
    }

    .steps-item__img-wrap--book .steps-item__img {
        max-height: 740px;
    }

    .steps-item__img-wrap--pdf .steps-item__img {
        min-height: 200px;
    }
}

/* steps media 1250px */
@media (max-width: 1250px) {
    .steps-title {
        font-size: 46px;
    }

    .steps-subtitle {
        font-size: 18px;
    }

    .steps-item__title {
        font-size: 28px;
    }

    .steps-item__text {
        font-size: 16px;
    }

    .steps-item__tag {
        font-size: 14px;
    }

    .steps-item--wide,
    .steps-item--half {
        min-height: 460px;
        max-height: 460px;
    }

    .steps-item__img-wrap--book .steps-item__img {
        max-height: 640px;
    }

    .steps-item__img-wrap--book {
        margin-bottom: -430px;
    }

    .steps-item__img-wrap--sign {
        margin-top: -10px
    } 

    .steps-item__img-wrap--pdf .steps-item__img {
        min-height: 180px;
    }
}

/* steps media 1100px */
@media (max-width: 1100px) {
    .steps-card {
        padding: 50px 30px 40px;
        border-radius: 30px;
    }

    .steps-title {
        font-size: 42px;
    }

    .steps-subtitle {
        font-size: 16px;
    }

    .steps-item {
        border-radius: 24px;
        padding: 30px 28px;
    }

    .steps-item--wide {
        padding: 30px 0 0 28px;
    }

    .steps-item__left {
        padding-bottom: 30px;
    }

    .steps-item__title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .steps-item__text {
        font-size: 15px;
    }

    .steps-item__tag {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .steps-item--wide,
    .steps-item--half {
        min-height: 420px;
        max-height: 420px;
    }

    .steps-item__img-wrap--book .steps-item__img {
        max-height: 500px;
    }

    .steps-item__img-wrap--book {
        margin-bottom: -320px;
    }

    .steps-item__img-wrap--pdf .steps-item__img {
        min-height: 170px;
    }

    .steps-item__img-wrap--building {
        margin-bottom: -30px;
        margin-left: -28px;
        margin-right: -28px;
    }

    .steps-item__img-wrap--sign {
        margin-top: 0
    }   

    .steps-item__img-wrap--building {
        right: -16px;
    }

}

/* steps media 950px */
@media (max-width: 950px) {
    .steps-title {
        font-size: 38px;
    }

    .steps-item__title {
        font-size: 24px;
    }

    .steps-item__text {
        font-size: 14px;
    }

    .steps-item--wide,
    .steps-item--half {
        min-height: 380px;
    }

    .steps-item__left {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .steps-item__img-wrap--pdf .steps-item__img {
        min-height: 160px;
    }

    .steps-item__img-wrap--sign {
        margin-top: -30px
    } 
}

/* steps mobile */
@media (max-width: 768px) {
    .steps-card {
        padding: 30px 16px 30px;
        border-radius: 24px;
        margin-top: 8px;
    }

    .steps-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .steps-title {
        font-size: 30px;
    }

    .steps-subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .steps-item {
        border-radius: 20px;
        padding: 24px 20px;
    }

    .steps-item__tag {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .steps-item__title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .steps-item__text {
        font-size: 14px;
        line-height: 145%;
    }

    .steps-item--wide {
        display: flex;
        flex-direction: column;
        padding: 24px 20px 0;
        overflow: hidden;
    }

    .steps-item__left {
        flex: none;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: 0;
        position: relative;
        z-index: 2;
    }

    .steps-item__right {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 75%;
        max-width: 360px;
        margin: 16px auto 0;
        height: auto;
        display: block;
        z-index: 1;
    }

    .steps-item__right .steps-item__img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .steps-item--half {
        min-height: auto;
    }

    .steps-item__img-wrap--book {
        margin-top: 24px;
        margin-bottom: -250px;
        margin-left: -20px;
        margin-right: -20px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .steps-item__img-wrap--book .steps-item__img {
        width: 60%;
        max-width: 280px;
        height: auto;
        object-fit: contain;
        object-position: center bottom;
        display: block;
    }

    .steps-item__img-wrap--sign {
        margin-top: 0
    } 

    .steps-item__img-wrap--sign .steps-item__img {
        max-width: 200px;
    }

    .steps-item__img-wrap--pdf {
        margin-bottom: -18px;
        margin-left: -16px;
        margin-top: 10px;
    }

    .steps-item__img-wrap--pdf .steps-item__img {
        min-height: 120px;
    }

    .steps-item__img-wrap--building {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: calc(100% + 40px);
        height: auto;
        margin: -10px -20px -24px;
        align-items: flex-end;
        justify-content: center;
    }

    .steps-item__img-wrap--building .steps-item__img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        object-position: center top;
    }

    .steps-item__orange-gradient {
        width: 600px;
        height: 180px;
        bottom: -40px;
    }
        .steps-item--6 .steps-item__text,
    .steps-item--6 .steps-item__title {
        max-width: 100%;
    }

    .steps-item--1 { order: 1; }
    .steps-item--2 { order: 2; }
    .steps-item--3 { order: 3; }
    .steps-item--4 { order: 4; }
    .steps-item--5 { order: 5; }
    .steps-item--6 { order: 6; }
}

/* steps small mobile */
@media (max-width: 420px) {
    .steps-card {
        padding: 24px 12px 24px;
    }

    .steps-title {
        font-size: 26px;
    }

    .steps-subtitle {
        font-size: 13px;
    }

    .steps-item {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .steps-item--wide {
        padding: 20px 16px 0;
    }

    .steps-item__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .steps-item__text {
        font-size: 13px;
    }

    .steps-item__tag {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .steps-item__right {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 660px;
        margin: -15px auto 0;
        height: auto;
        display: block;
        z-index: 1;
    }

    .steps-item__img-wrap--book {
        margin-top: 20px;
        margin-bottom: -230px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .steps-item__img-wrap--book .steps-item__img {
        width: 65%;
        max-width: 250px;
    }

    .steps-item__img-wrap--pdf {
        margin-bottom: -16px;
        margin-left: -14px;
        margin-top: 10px;
    }

    .steps-item__img-wrap--pdf .steps-item__img {
        max-height: 120px;
    }

    .steps-item__img-wrap--building {
        margin-bottom: -20px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .steps-item__img-wrap--sign .steps-item__img {
        max-width: 160px;
    }
}

@media (max-width: 370px) {
    .steps-title {
        font-size: 24px;
    }

    .steps-item__title {
        font-size: 20px;
    }

    .steps-item__text {
        font-size: 12px;
    }
}

/* quiz section */
.quiz-section {
    position: relative;
    z-index: 1;
    padding: 80px 50px 80px;
}

.quiz-header {
    margin-bottom: 40px;
}

.quiz-title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.quiz-desc {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #FFFFFF;
    max-width: 740px;
}

/* quiz card styles */
.quiz-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 34px 36px 26px;
    box-shadow: 0px 14px 44px 0px rgba(0, 0, 0, 0.05);
    min-height: 682px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* quiz steps */
.quiz-step {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.quiz-step.active {
    display: flex;
}

.quiz-question {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: #272727;
    margin-bottom: 30px;
}

/* quiz options grid */
.quiz-options {
    display: grid;
    gap: 20px;
    flex: 1;
    align-content: start;
    min-height: 0;
}

.quiz-options--4 {
    grid-template-columns: repeat(4, 1fr);
}

.quiz-options--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.quiz-options--3 .quiz-option:last-child {
    grid-column: auto;
}

/* на ПК компенсацию убираем, чтобы шаг с 3 вариантами не был выше */
.quiz-step[data-step="4"] .quiz-options--3 {
    margin-bottom: 0;
}

/* quiz option item */
.quiz-option {
    display: flex;
    flex-direction: column;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.quiz-option:hover {
    transform: translateY(-4px);
}

.quiz-option__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 0.92;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}

.quiz-option__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.quiz-option:hover .quiz-option__img {
    transform: scale(1.03) translateY(-4px);
}

.quiz-option__label {
    padding: 12px 10px;
    background: #F8F5EE;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-right: 1px solid #E8E4DB;
    border-bottom: 1px solid #E8E4DB;
    border-left: 1px solid #E8E4DB;
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #040404;
    transition: background 0.2s;
}

.quiz-option:hover .quiz-option__label {
    background: #FFEABA;
}

/* blue variant */
.quiz-option__label--blue {
    background: #EEF5F8;
    border-color: #D8E8EF;
}

.quiz-option--blue:hover .quiz-option__label--blue {
    background: #D5EDF8;
}

/* progress bar */
.quiz-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #F0ECE4;
}

.quiz-back {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #A4937A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    color: #A4937A;
    background: none;
}

.quiz-back:disabled {
    opacity: 0.5;
    cursor: default;
}

.quiz-back:not(:disabled):hover {
    border-color: #DB9533;
    color: #DB9533;
}

.quiz-back__icon {
    width: 18px;
    height: 18px;
}

.quiz-progress__info {
    flex: 1;
}

.quiz-progress__text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.quiz-progress__label {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #272727;
}

.quiz-progress__percent {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: #E38E45;
}

.quiz-progress__bar {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: #F0ECE4;
    overflow: hidden;
}

.quiz-progress__fill {
    height: 100%;
    border-radius: 10px;
    background: #E38E45;
    transition: width 0.4s ease;
}

/* final step */
/* final background image */
.quiz-step--final {
    position: relative;
    min-height: unset;
    z-index: 1;
}

.quiz-step--final.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
}

.quiz-final-bg {
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -100px;
    z-index: 1;
    pointer-events: none;
}

.quiz-final-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-final-form {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 704px;
    border-radius: 40px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.41);
    backdrop-filter: blur(161px);
    -webkit-backdrop-filter: blur(161px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz-final-form__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
}

.quiz-final-form__input {
    width: 100%;
    height: 70px;
    border-radius: 6px;
    border: 1px solid #FFFFFF;
    background: #FAF4EF;
    padding: 20px 16px;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #272727;
    outline: none;
    transition: border-color 0.3s;
}

.quiz-final-form__input::placeholder {
    color: rgba(39, 39, 39, 0.4);
}

.quiz-final-form__input:focus {
    border-color: #FFC200;
}

.quiz-final-form__btn {
    width: 100%;
    height: 90px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.quiz-final-form__btn:hover {
    opacity: 0.9;
}

.quiz-final-form__btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.quiz-final-form__btn-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
}

.quiz-final-form__btn .span-mother {
    display: flex;
    overflow: hidden;
    height: 26px;
}

.quiz-final-form__btn .span-mother span {
    font-family: 'Involve', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transition: transform 0.2s;
}

.quiz-final-form__btn:hover .span-mother span {
    transform: translateY(1.4em);
}

.quiz-final-form__btn .span-mother span:nth-child(1) { transition-duration: 0.1s; }
.quiz-final-form__btn .span-mother span:nth-child(2) { transition-duration: 0.12s; }
.quiz-final-form__btn .span-mother span:nth-child(3) { transition-duration: 0.14s; }
.quiz-final-form__btn .span-mother span:nth-child(4) { transition-duration: 0.16s; }
.quiz-final-form__btn .span-mother span:nth-child(5) { transition-duration: 0.18s; }
.quiz-final-form__btn .span-mother span:nth-child(6) { transition-duration: 0.2s; }
.quiz-final-form__btn .span-mother span:nth-child(7) { transition-duration: 0.22s; }
.quiz-final-form__btn .span-mother span:nth-child(8) { transition-duration: 0.24s; }
.quiz-final-form__btn .span-mother span:nth-child(9) { transition-duration: 0.26s; }
.quiz-final-form__btn .span-mother span:nth-child(10) { transition-duration: 0.28s; }
.quiz-final-form__btn .span-mother span:nth-child(11) { transition-duration: 0.3s; }
.quiz-final-form__btn .span-mother span:nth-child(12) { transition-duration: 0.32s; }
.quiz-final-form__btn .span-mother span:nth-child(13) { transition-duration: 0.34s; }
.quiz-final-form__btn .span-mother span:nth-child(14) { transition-duration: 0.36s; }
.quiz-final-form__btn .span-mother span:nth-child(15) { transition-duration: 0.38s; }
.quiz-final-form__btn .span-mother span:nth-child(16) { transition-duration: 0.4s; }
.quiz-final-form__btn .span-mother span:nth-child(17) { transition-duration: 0.42s; }
.quiz-final-form__btn .span-mother span:nth-child(18) { transition-duration: 0.44s; }
.quiz-final-form__btn .span-mother span:nth-child(19) { transition-duration: 0.46s; }
.quiz-final-form__btn .span-mother span:nth-child(20) { transition-duration: 0.48s; }
.quiz-final-form__btn .span-mother span:nth-child(21) { transition-duration: 0.5s; }
.quiz-final-form__btn .span-mother span:nth-child(22) { transition-duration: 0.52s; }
.quiz-final-form__btn .span-mother span:nth-child(23) { transition-duration: 0.54s; }
.quiz-final-form__btn .span-mother span:nth-child(24) { transition-duration: 0.56s; }
.quiz-final-form__btn .span-mother span:nth-child(25) { transition-duration: 0.58s; }
.quiz-final-form__btn .span-mother span:nth-child(26) { transition-duration: 0.6s; }
.quiz-final-form__btn .span-mother span:nth-child(27) { transition-duration: 0.62s; }
.quiz-final-form__btn .span-mother span:nth-child(28) { transition-duration: 0.64s; }

.quiz-final-form__btn .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 26px;
    pointer-events: none;
}

.quiz-final-form__btn .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transform: translateY(-1.4em);
    transition: transform 0.2s;
}

.quiz-final-form__btn:hover .span-mother2 span {
    transform: translateY(0);
}

.quiz-final-form__btn .span-mother2 span:nth-child(1) { transition-duration: 0.1s; }
.quiz-final-form__btn .span-mother2 span:nth-child(2) { transition-duration: 0.12s; }
.quiz-final-form__btn .span-mother2 span:nth-child(3) { transition-duration: 0.14s; }
.quiz-final-form__btn .span-mother2 span:nth-child(4) { transition-duration: 0.16s; }
.quiz-final-form__btn .span-mother2 span:nth-child(5) { transition-duration: 0.18s; }
.quiz-final-form__btn .span-mother2 span:nth-child(6) { transition-duration: 0.2s; }
.quiz-final-form__btn .span-mother2 span:nth-child(7) { transition-duration: 0.22s; }
.quiz-final-form__btn .span-mother2 span:nth-child(8) { transition-duration: 0.24s; }
.quiz-final-form__btn .span-mother2 span:nth-child(9) { transition-duration: 0.26s; }
.quiz-final-form__btn .span-mother2 span:nth-child(10) { transition-duration: 0.28s; }
.quiz-final-form__btn .span-mother2 span:nth-child(11) { transition-duration: 0.3s; }
.quiz-final-form__btn .span-mother2 span:nth-child(12) { transition-duration: 0.32s; }
.quiz-final-form__btn .span-mother2 span:nth-child(13) { transition-duration: 0.34s; }
.quiz-final-form__btn .span-mother2 span:nth-child(14) { transition-duration: 0.36s; }
.quiz-final-form__btn .span-mother2 span:nth-child(15) { transition-duration: 0.38s; }
.quiz-final-form__btn .span-mother2 span:nth-child(16) { transition-duration: 0.4s; }
.quiz-final-form__btn .span-mother2 span:nth-child(17) { transition-duration: 0.42s; }
.quiz-final-form__btn .span-mother2 span:nth-child(18) { transition-duration: 0.44s; }
.quiz-final-form__btn .span-mother2 span:nth-child(19) { transition-duration: 0.46s; }
.quiz-final-form__btn .span-mother2 span:nth-child(20) { transition-duration: 0.48s; }
.quiz-final-form__btn .span-mother2 span:nth-child(21) { transition-duration: 0.5s; }
.quiz-final-form__btn .span-mother2 span:nth-child(22) { transition-duration: 0.52s; }
.quiz-final-form__btn .span-mother2 span:nth-child(23) { transition-duration: 0.54s; }
.quiz-final-form__btn .span-mother2 span:nth-child(24) { transition-duration: 0.56s; }
.quiz-final-form__btn .span-mother2 span:nth-child(25) { transition-duration: 0.58s; }
.quiz-final-form__btn .span-mother2 span:nth-child(26) { transition-duration: 0.6s; }
.quiz-final-form__btn .span-mother2 span:nth-child(27) { transition-duration: 0.62s; }
.quiz-final-form__btn .span-mother2 span:nth-child(28) { transition-duration: 0.64s; }

/* custom checkbox */
.quiz-final-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.quiz-final-form__checkbox input {
    display: none;
}

.quiz-final-form__checkmark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #FF8E30;
    flex-shrink: 0;
    position: relative;
    background: transparent;
    transition: background 0.2s;
}

.quiz-final-form__checkbox input:checked + .quiz-final-form__checkmark {
    background: #FF8E30;
}

.quiz-final-form__checkbox input:checked + .quiz-final-form__checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 6px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.quiz-final-form__checkbox-text {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
}

.quiz-final-form__checkbox-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* quiz media 1500px */
@media (max-width: 1500px) {
    .quiz-title {
        font-size: 52px;
    }

    .quiz-question {
        font-size: 26px;
    }

    .quiz-option__label {
        font-size: 16px;
    }

    .quiz-card {
        min-height: 620px;
    }
}

@media (min-width: 769px) {
    .quiz-step[data-step="4"] .quiz-options--3 {
        align-self: stretch;
    }

    .quiz-step[data-step="4"] .quiz-option__img-wrap {
        aspect-ratio: 1 / 0.78;
    }
}

/* quiz media 1250px */
@media (max-width: 1250px) {
    .quiz-title {
        font-size: 46px;
    }

    .quiz-desc {
        font-size: 18px;
    }

    .quiz-question {
        font-size: 24px;
    }

    .quiz-option__label {
        font-size: 15px;
        padding: 10px 8px;
    }

    .quiz-options {
        gap: 16px;
    }

    .quiz-card {
        min-height: 560px;
    }
}


/* quiz media 1100px */
@media (max-width: 1100px) {
    .quiz-section {
        padding: 60px 30px;
    }

    .quiz-title {
        font-size: 42px;
    }

    .quiz-desc {
        font-size: 16px;
    }

    .quiz-card {
        padding: 30px;
        min-height: 520px;
    }

    .quiz-question {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .quiz-option__label {
        font-size: 14px;
        padding: 10px 6px;
    }

    .quiz-options {
        gap: 12px;
    }

    .quiz-final-form__title {
        font-size: 32px;
    }

    .quiz-final-form__btn {
        height: 76px;
    }

    .quiz-final-form__btn .span-mother span,
    .quiz-final-form__btn .span-mother2 span {
        font-size: 22px;
    }
}

/* quiz media 950px */
@media (max-width: 950px) {
    .quiz-title {
        font-size: 38px;
    }

    .quiz-question {
        font-size: 20px;
    }

    .quiz-option__label {
        font-size: 13px;
    }

    .quiz-progress__label,
    .quiz-progress__percent {
        font-size: 16px;
    }

    .quiz-card {
        min-height: 480px;
    }
}

/* quiz mobile */
@media (max-width: 768px) {
    .quiz-section {
        padding: 50px 20px 40px;
    }

    .quiz-header {
        margin-bottom: 24px;
    }

    .quiz-title {
        font-size: 30px;
    }

    .quiz-desc {
        font-size: 14px;
    }

    .quiz-card {
        padding: 20px;
        height: 650px;
        min-height: 650px;
        overflow: hidden;
    }

    .quiz-question {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .quiz-options--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-options--3 {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .quiz-options--3 .quiz-option:last-child {
        grid-column: 1 / -1;
    }

    .quiz-step[data-step="1"] .quiz-options--4 {
        margin-top: 14px;
    }

    .quiz-step[data-step="4"] .quiz-options--3 {
        margin-bottom: 36px;
    }

    .quiz-options {
        gap: 12px;
    }

    .quiz-option:hover {
        transform: none;
    }

    .quiz-option:hover .quiz-option__img {
        transform: none;
    }

    .quiz-option__label {
        font-size: 11px;
        padding: 8px 4px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 115%;
        overflow: hidden;
    }

    .quiz-progress {
        margin-top: auto;
        padding-top: 16px;
    }

    .quiz-back {
        width: 42px;
        height: 42px;
    }

    .quiz-progress__label,
    .quiz-progress__percent {
        font-size: 16px;
    }

    .quiz-step--final {
        min-height: unset;
        border-radius: 10px;
    }

    .quiz-final-form {
        padding: 28px 20px;
        border-radius: 28px;
        max-width: 100%;
        gap: 16px;
    }

    .quiz-final-form__title {
        font-size: 26px;
    }

    .quiz-final-form__input {
        height: 60px;
        font-size: 18px;
    }

    .quiz-final-form__btn {
        height: 60px;
        border-radius: 14px;
        padding: 16px;
    }

    .quiz-final-form__btn-icon {
        width: 16px;
        height: 16px;
    }

    .quiz-final-form__btn-text {
        height: 16px;
    }

    .quiz-final-form__btn .span-mother,
    .quiz-final-form__btn .span-mother2 {
        height: 16px;
    }

    .quiz-final-form__btn .span-mother span,
    .quiz-final-form__btn .span-mother2 span {
        font-size: 16px;
    }

    .quiz-final-form__checkbox-text {
        font-size: 14px;
    }
}

/* quiz small mobile */
@media (max-width: 420px) {
    .quiz-section {
        padding: 40px 16px 30px;
    }

    .quiz-title {
        font-size: 26px;
    }

    .quiz-desc {
        font-size: 13px;
    }

    .quiz-card {
        padding: 20px;
        height: 620px;
        min-height: 620px;
        overflow: hidden;
    }

    .quiz-question {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .quiz-option__label {
        font-size: 13px;
        padding: 8px 6px;
    }

    .quiz-step[data-step="1"] .quiz-options--4 {
        margin-top: 12px;
    }

    .quiz-step[data-step="4"] .quiz-options--3 {
        margin-bottom: 28px;
    }

    .quiz-options {
        gap: 10px;
    }

    .quiz-final-form__title {
        font-size: 22px;
    }

    .quiz-final-form__btn-icon {
        width: 16px;
        height: 16px;
    }

    .quiz-final-form__btn-text {
        height: 14px;
    }

    .quiz-final-form__btn .span-mother,
    .quiz-final-form__btn .span-mother2 {
        height: 14px;
    }

    .quiz-final-form__btn .span-mother span,
    .quiz-final-form__btn .span-mother2 span {
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .quiz-title {
        font-size: 24px;
    }

    .quiz-question {
        font-size: 18px;
    }

    .quiz-option__label {
        font-size: 12px;
    }

    .quiz-final-form__title {
        font-size: 20px;
    }

    .quiz-card {
        height: 600px;
        min-height: 600px;
    }
}

/* progress bar on final step */
.quiz-card.quiz-card--final {
    background: url('../images/quiz/quiz-bg.webp') center / cover no-repeat;
    box-shadow: none;
}

.quiz-card.quiz-card--final .quiz-progress {
    position: relative;
    z-index: 3;
    border-top-color: rgba(255, 255, 255, 0.2);
}

.quiz-card.quiz-card--final .quiz-progress__label {
    color: #FFFFFF;
}

.quiz-card.quiz-card--final .quiz-progress__percent {
    color: #FFFFFF;
}

.quiz-card.quiz-card--final .quiz-progress__fill {
    background: #FFFFFF;
}

.quiz-card.quiz-card--final .quiz-progress__bar {
    background: rgba(255, 255, 255, 0.2);
}

.quiz-card.quiz-card--final .quiz-back {
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.quiz-card.quiz-card--final .quiz-back:not(:disabled):hover {
    border-color: #DB9533;
    color: #DB9533;
}

.quiz-card.quiz-card--final .quiz-final-bg {
    display: none;
}

/* guarantees section */
.guarantees-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 70px 40px 40px;
    margin-top: 10px;
    overflow: hidden;
}

.guarantees-header {
    text-align: center;
    margin-bottom: 40px;
}

.guarantees-title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    color: #1E1E1E;
    margin-bottom: 20px;
}

.guarantees-subtitle {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #1E1E1E;
    max-width: 700px;
    margin: 0 auto;
}

/* guarantees grid */
.guarantees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* guarantee item */
.guarantees-item {
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 569px;
}

.guarantees-item__tag {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.guarantees-item__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 16px;
}

.guarantees-item__text {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
}

/* beige theme */
.guarantees-item--beige {
    background: #F8F5EE;
    color: #2B241E;
}

.guarantees-item--beige .guarantees-item__tag { color: #2B241E; }

/* dark theme */
.guarantees-item--dark {
    background: #1F1F1F;
    color: #FFFFFF;
}

.guarantees-item--dark .guarantees-item__tag { color: #FFFFFF; }

/* orange theme */
.guarantees-item--orange {
    background: #B56126;
    color: #FFFFFF;
}

.guarantees-item--orange .guarantees-item__tag { color: #FFFFFF; }

.guarantees-item__orange-gradient {
    position: absolute;
    bottom: -60px;
    left: -100px;
    width: 1108px;
    height: 241px;
    background: #FF6B00;
    opacity: 0.8;
    mix-blend-mode: plus-lighter;
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* image wrapper */
.guarantees-item__img-wrap {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.guarantees-item__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* card 1 */
.guarantees-item--1 .guarantees-item__img-wrap {
    margin-right: -30px;
    margin-bottom: -30px;
    justify-content: flex-end;  
}

.guarantees-item--1 .guarantees-item__img {
    max-height: 320px;
}

/* card 2 */
.guarantees-item--2 .guarantees-item__img-wrap {
    margin-right: -30px;
    margin-bottom: -30px;
    justify-content: flex-end;
}

.guarantees-item--2 .guarantees-item__img {
    max-height: 310px;
}

/* card 3 */
.guarantees-item--3 .guarantees-item__img-wrap {
    margin-bottom: -10px;
    justify-content: flex-end;  
}

.guarantees-item--3 .guarantees-item__img {
    max-height: 260px;
}

/* card 4 */
.guarantees-item--4 .guarantees-item__img-wrap {
    margin-right: -30px;
    margin-bottom: -10px;
    justify-content: flex-end;
}

.guarantees-item--4 .guarantees-item__img {
    max-height: 280px;
}

/* wide card 5 */
.guarantees-item--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}

.guarantees-item--5-left {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.guarantees-item--5-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin: -30px -30px -30px 0;
    overflow: hidden;
}

.guarantees-item--5-right .guarantees-item__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* button styles */
.guarantees-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 356px;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    padding: 30px 30px 30px 20px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.guarantees-btn:hover {
    opacity: 0.9;
}

.guarantees-btn__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.guarantees-btn__text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
}

.guarantees-btn .span-mother {
    display: flex;
    overflow: hidden;
    height: 22px;
}

.guarantees-btn .span-mother span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transition: transform 0.2s;
}

.guarantees-btn:hover .span-mother span {
    transform: translateY(1.4em);
}

.guarantees-btn .span-mother span:nth-child(1) { transition-duration: 0.1s; }
.guarantees-btn .span-mother span:nth-child(2) { transition-duration: 0.13s; }
.guarantees-btn .span-mother span:nth-child(3) { transition-duration: 0.16s; }
.guarantees-btn .span-mother span:nth-child(4) { transition-duration: 0.19s; }
.guarantees-btn .span-mother span:nth-child(5) { transition-duration: 0.22s; }
.guarantees-btn .span-mother span:nth-child(6) { transition-duration: 0.25s; }
.guarantees-btn .span-mother span:nth-child(7) { transition-duration: 0.28s; }
.guarantees-btn .span-mother span:nth-child(8) { transition-duration: 0.31s; }
.guarantees-btn .span-mother span:nth-child(9) { transition-duration: 0.34s; }
.guarantees-btn .span-mother span:nth-child(10) { transition-duration: 0.37s; }
.guarantees-btn .span-mother span:nth-child(11) { transition-duration: 0.4s; }
.guarantees-btn .span-mother span:nth-child(12) { transition-duration: 0.43s; }
.guarantees-btn .span-mother span:nth-child(13) { transition-duration: 0.46s; }
.guarantees-btn .span-mother span:nth-child(14) { transition-duration: 0.49s; }
.guarantees-btn .span-mother span:nth-child(15) { transition-duration: 0.52s; }
.guarantees-btn .span-mother span:nth-child(16) { transition-duration: 0.55s; }
.guarantees-btn .span-mother span:nth-child(17) { transition-duration: 0.58s; }
.guarantees-btn .span-mother span:nth-child(18) { transition-duration: 0.61s; }

.guarantees-btn .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 22px;
    pointer-events: none;
}

.guarantees-btn .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transform: translateY(-1.4em);
    transition: transform 0.2s;
}

.guarantees-btn:hover .span-mother2 span {
    transform: translateY(0);
}

.guarantees-btn .span-mother2 span:nth-child(1) { transition-duration: 0.1s; }
.guarantees-btn .span-mother2 span:nth-child(2) { transition-duration: 0.13s; }
.guarantees-btn .span-mother2 span:nth-child(3) { transition-duration: 0.16s; }
.guarantees-btn .span-mother2 span:nth-child(4) { transition-duration: 0.19s; }
.guarantees-btn .span-mother2 span:nth-child(5) { transition-duration: 0.22s; }
.guarantees-btn .span-mother2 span:nth-child(6) { transition-duration: 0.25s; }
.guarantees-btn .span-mother2 span:nth-child(7) { transition-duration: 0.28s; }
.guarantees-btn .span-mother2 span:nth-child(8) { transition-duration: 0.31s; }
.guarantees-btn .span-mother2 span:nth-child(9) { transition-duration: 0.34s; }
.guarantees-btn .span-mother2 span:nth-child(10) { transition-duration: 0.37s; }
.guarantees-btn .span-mother2 span:nth-child(11) { transition-duration: 0.4s; }
.guarantees-btn .span-mother2 span:nth-child(12) { transition-duration: 0.43s; }
.guarantees-btn .span-mother2 span:nth-child(13) { transition-duration: 0.46s; }
.guarantees-btn .span-mother2 span:nth-child(14) { transition-duration: 0.49s; }
.guarantees-btn .span-mother2 span:nth-child(15) { transition-duration: 0.52s; }
.guarantees-btn .span-mother2 span:nth-child(16) { transition-duration: 0.55s; }
.guarantees-btn .span-mother2 span:nth-child(17) { transition-duration: 0.58s; }
.guarantees-btn .span-mother2 span:nth-child(18) { transition-duration: 0.61s; }

.guarantees-br-desktop {
    display: inline;
}

/* guarantees media 1500px */
@media (max-width: 1500px) {
    .guarantees-br-desktop {
        display: none;
    }

    .guarantees-card {
        padding: 60px 36px 36px;
    }

    .guarantees-title {
        font-size: 52px;
    }

    .guarantees-item {
        height: 520px;
    }

    .guarantees-item__title {
        font-size: 28px;
    }

    .guarantees-item__text {
        font-size: 20px;
    }

    .guarantees-item__tag {
        font-size: 20px;
    }
}

/* guarantees media 1250px */
@media (max-width: 1250px) {
    .guarantees-title {
        font-size: 46px;
    }

    .guarantees-subtitle {
        font-size: 18px;
    }

    .guarantees-item {
        height: 480px;
        padding: 28px;
    }

    .guarantees-item__title {
        font-size: 26px;
    }

    .guarantees-item__text {
        font-size: 18px;
    }

    .guarantees-item__tag {
        font-size: 18px;
    }

    .guarantees-item--1 .guarantees-item__img { max-height: 250px; }
    .guarantees-item--2 .guarantees-item__img { max-height: 240px; }
    .guarantees-item--3 .guarantees-item__img { max-height: 220px; }
    .guarantees-item--4 .guarantees-item__img { max-height: 240px; }

    .guarantees-item--1 .guarantees-item__img-wrap { margin-right: -28px; margin-bottom: -28px; }
    .guarantees-item--2 .guarantees-item__img-wrap { margin-right: -28px; margin-bottom: -28px; }
    .guarantees-item--3 .guarantees-item__img-wrap { margin-bottom: -28px; }
    .guarantees-item--4 .guarantees-item__img-wrap { margin-right: -28px; margin-bottom: -8px; }
    .guarantees-item--5-right { margin: -28px -28px -28px 0; }

    .guarantees-btn {
        width: 320px;
        height: 68px;
        padding: 24px 24px 24px 16px;
    }

    .guarantees-btn .span-mother span,
    .guarantees-btn .span-mother2 span {
        font-size: 20px;
    }
}

/* guarantees media 1100px */
@media (max-width: 1100px) {
    .guarantees-card {
        padding: 50px 30px 30px;
        border-radius: 30px;
    }

    .guarantees-title {
        font-size: 42px;
    }

    .guarantees-subtitle {
        font-size: 16px;
    }

    .guarantees-item {
        height: 440px;
        border-radius: 24px;
        padding: 24px;
    }

    .guarantees-item__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .guarantees-item__text {
        font-size: 16px;
    }

    .guarantees-item__tag {
        font-size: 16px;
    }

    .guarantees-item--1 .guarantees-item__img { max-height: 210px; }
    .guarantees-item--2 .guarantees-item__img { max-height: 200px; }
    .guarantees-item--3 .guarantees-item__img { max-height: 190px; }
    .guarantees-item--4 .guarantees-item__img { max-height: 200px; }

    .guarantees-item--1 .guarantees-item__img-wrap { margin-right: -24px; margin-bottom: -24px; }
    .guarantees-item--2 .guarantees-item__img-wrap { margin-right: -24px; margin-bottom: -24px; }
    .guarantees-item--3 .guarantees-item__img-wrap { margin-bottom: -24px; }
    .guarantees-item--4 .guarantees-item__img-wrap { margin-right: -24px; margin-bottom: -6px; }
    .guarantees-item--5-right { margin: -24px -24px -24px 0; }

    .guarantees-btn {
        width: 280px;
        height: 62px;
        padding: 20px 20px 20px 14px;
    }

    .guarantees-btn .span-mother span,
    .guarantees-btn .span-mother2 span {
        font-size: 18px;
    }
}

/* guarantees media 950px */
@media (max-width: 950px) {
    .guarantees-title {
        font-size: 38px;
    }

    .guarantees-item {
        height: 400px;
    }

    .guarantees-item__title {
        font-size: 22px;
    }

    .guarantees-item__text {
        font-size: 15px;
    }

    .guarantees-item__tag {
        font-size: 15px;
    }

    .guarantees-item--5-left {
        flex: 0 0 55%;
        max-width: 55%;
    }
}

/* guarantees mobile */
@media (max-width: 768px) {
    .guarantees-card {
        padding: 30px 16px 24px;
        border-radius: 24px;
        margin-top: 8px;
    }

    .guarantees-header {
        margin-bottom: 24px;
        text-align: center;
    }

    .guarantees-title {
        font-size: 30px;
    }

    .guarantees-title br {
        display: none;
    }

    .guarantees-subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .guarantees-subtitle br {
        display: none;
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guarantees-item {
        height: auto;
        border-radius: 20px;
        padding: 24px 20px;
    }

    .guarantees-item__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .guarantees-item__title br {
        display: none;
    }

    .guarantees-item__text {
        font-size: 14px;
    }

    .guarantees-item__tag {
        font-size: 14px;
    }

    .guarantees-item__img-wrap {
        justify-content: center;
        margin: 16px -20px -24px !important;
    }

    .guarantees-item--1 .guarantees-item__img,
    .guarantees-item--2 .guarantees-item__img,
    .guarantees-item--3 .guarantees-item__img,
    .guarantees-item--4 .guarantees-item__img {
        max-height: 200px;
    }

    .guarantees-item--wide {
        flex-direction: column;
        grid-column: 1;
    }

    .guarantees-item--5-left {
        flex: none;
        max-width: 100%;
    }

    .guarantees-item--5-right {
        margin: 16px -20px -24px;
        justify-content: center;
        height: 200px;
    }

    .guarantees-item--5-right .guarantees-item__img {
        object-position: center bottom;
    }

    .guarantees-btn {
        width: 100%;
        max-width: 320px;
        height: 62px;
        margin-top: 20px;
        padding: 20px;
    }

    .guarantees-btn .span-mother span,
    .guarantees-btn .span-mother2 span {
        font-size: 18px;
    }

    .guarantees-item__orange-gradient {
        width: 600px;
        height: 180px;
        bottom: -40px;
    }
}

/* guarantees small mobile */
@media (max-width: 420px) {
    .guarantees-card {
        padding: 24px 12px 20px;
    }

    .guarantees-title {
        font-size: 26px;
    }

    .guarantees-subtitle {
        font-size: 13px;
    }

    .guarantees-item {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .guarantees-item__title {
        font-size: 22px;
    }

    .guarantees-item__text {
        font-size: 13px;
    }

    .guarantees-item__tag {
        font-size: 13px;
    }

    .guarantees-item__img-wrap {
        margin: 14px -16px -20px !important;
    }

    .guarantees-item--3 .guarantees-item__img,
    .guarantees-item--4 .guarantees-item__img {
        max-height: 170px;
    }

    .guarantees-item--1 .guarantees-item__img {
        max-height: 200px;
    }

     .guarantees-item--2 .guarantees-item__img {
        max-height: 200px;
        margin-bottom: 15px;
    }

    .guarantees-item--5-right {
        margin: 14px -16px -20px;
        height: 170px;
    }

    .guarantees-btn {
        max-width: 100%;
        height: 58px;
    }

    .guarantees-btn .span-mother span,
    .guarantees-btn .span-mother2 span {
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .guarantees-title {
        font-size: 24px;
    }

    .guarantees-item__title {
        font-size: 20px;
    }

    .guarantees-item__text {
        font-size: 12px;
    }
}

/* говно с карточкой гарантия номер 1*/
@media (max-width: 1535px) and (min-width: 1411px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -30px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media (max-width: 1410px) and (min-width: 1251px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -50px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
}


@media (max-width: 795px) and (min-width: 768px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -40px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
        .guarantees-item--1 .guarantees-item__img {
        max-height: 170px;
    }
}

@media (max-width: 830px) and (min-width: 796px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -50px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media (max-width: 845px) and (min-width: 829px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -30px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media (max-width: 885px) and (min-width: 845px) {
    .guarantees-item--1 .guarantees-item__img-wrap {
        margin-top: -30px;
        margin-right: -30px;
        margin-bottom: -30px;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

/* cta form section */
.cta-section {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    height: calc(100vh - 20px);
    min-height: 680px;
    max-height: 1000px;
}

.cta-title-br {
    display: block;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    height: 100%;
    padding: 36px 50px;
}

.cta-form-wrap {
    width: 852px;
    max-width: 100%;
    border-radius: 40px;
    padding: 36px;
    background: rgba(0, 0, 0, 0.41);
    backdrop-filter: blur(161px);
    -webkit-backdrop-filter: blur(161px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 100%;
    color: #FFFFFF;
}

.cta-form__desc {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 141%;
    color: #FFFFFF;
}

/* internal quiz card */
.cta-quiz {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(161px);
    -webkit-backdrop-filter: blur(161px);
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-quiz__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-quiz__question {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
}

.cta-quiz__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* cta badges */
.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 60px;
    background: rgba(255, 137, 39, 0.1);
    border: 1px solid #FF8927;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, font-weight 0.2s;
    white-space: nowrap;
}

.cta-badge:hover {
    background: rgba(255, 137, 39, 0.25);
}

.cta-badge--active {
    background: #F57B15;
    border-color: #F57B15;
    font-weight: 600;
}

.cta-badge--active:hover {
    background: #F57B15;
}

/* submit area */
.cta-quiz__submit {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.cta-quiz__input {
    width: 100%;
    height: 64px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 20px 20px 16px;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.3s;
}

.cta-quiz__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-quiz__input:focus {
    border-color: #FFC200;
}

.cta-quiz__btn {
    width: 100%;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.cta-quiz__btn:hover {
    opacity: 0.9;
}

.cta-quiz__btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cta-quiz__btn-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}

.cta-quiz__btn .span-mother {
    display: flex;
    overflow: hidden;
    height: 24px;
}

.cta-quiz__btn .span-mother span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transition: transform 0.2s;
}

.cta-quiz__btn:hover .span-mother span {
    transform: translateY(1.4em);
}

.cta-quiz__btn .span-mother span:nth-child(1) { transition-duration: 0.1s; }
.cta-quiz__btn .span-mother span:nth-child(2) { transition-duration: 0.12s; }
.cta-quiz__btn .span-mother span:nth-child(3) { transition-duration: 0.14s; }
.cta-quiz__btn .span-mother span:nth-child(4) { transition-duration: 0.16s; }
.cta-quiz__btn .span-mother span:nth-child(5) { transition-duration: 0.18s; }
.cta-quiz__btn .span-mother span:nth-child(6) { transition-duration: 0.2s; }
.cta-quiz__btn .span-mother span:nth-child(7) { transition-duration: 0.22s; }
.cta-quiz__btn .span-mother span:nth-child(8) { transition-duration: 0.24s; }
.cta-quiz__btn .span-mother span:nth-child(9) { transition-duration: 0.26s; }
.cta-quiz__btn .span-mother span:nth-child(10) { transition-duration: 0.28s; }
.cta-quiz__btn .span-mother span:nth-child(11) { transition-duration: 0.3s; }
.cta-quiz__btn .span-mother span:nth-child(12) { transition-duration: 0.32s; }
.cta-quiz__btn .span-mother span:nth-child(13) { transition-duration: 0.34s; }
.cta-quiz__btn .span-mother span:nth-child(14) { transition-duration: 0.36s; }
.cta-quiz__btn .span-mother span:nth-child(15) { transition-duration: 0.38s; }
.cta-quiz__btn .span-mother span:nth-child(16) { transition-duration: 0.4s; }
.cta-quiz__btn .span-mother span:nth-child(17) { transition-duration: 0.42s; }
.cta-quiz__btn .span-mother span:nth-child(18) { transition-duration: 0.44s; }
.cta-quiz__btn .span-mother span:nth-child(19) { transition-duration: 0.46s; }
.cta-quiz__btn .span-mother span:nth-child(20) { transition-duration: 0.48s; }

.cta-quiz__btn .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 24px;
    pointer-events: none;
}

.cta-quiz__btn .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transform: translateY(-1.4em);
    transition: transform 0.2s;
}

.cta-quiz__btn:hover .span-mother2 span {
    transform: translateY(0);
}

.cta-quiz__btn .span-mother2 span:nth-child(1) { transition-duration: 0.1s; }
.cta-quiz__btn .span-mother2 span:nth-child(2) { transition-duration: 0.12s; }
.cta-quiz__btn .span-mother2 span:nth-child(3) { transition-duration: 0.14s; }
.cta-quiz__btn .span-mother2 span:nth-child(4) { transition-duration: 0.16s; }
.cta-quiz__btn .span-mother2 span:nth-child(5) { transition-duration: 0.18s; }
.cta-quiz__btn .span-mother2 span:nth-child(6) { transition-duration: 0.2s; }
.cta-quiz__btn .span-mother2 span:nth-child(7) { transition-duration: 0.22s; }
.cta-quiz__btn .span-mother2 span:nth-child(8) { transition-duration: 0.24s; }
.cta-quiz__btn .span-mother2 span:nth-child(9) { transition-duration: 0.26s; }
.cta-quiz__btn .span-mother2 span:nth-child(10) { transition-duration: 0.28s; }
.cta-quiz__btn .span-mother2 span:nth-child(11) { transition-duration: 0.3s; }
.cta-quiz__btn .span-mother2 span:nth-child(12) { transition-duration: 0.32s; }
.cta-quiz__btn .span-mother2 span:nth-child(13) { transition-duration: 0.34s; }
.cta-quiz__btn .span-mother2 span:nth-child(14) { transition-duration: 0.36s; }
.cta-quiz__btn .span-mother2 span:nth-child(15) { transition-duration: 0.38s; }
.cta-quiz__btn .span-mother2 span:nth-child(16) { transition-duration: 0.4s; }
.cta-quiz__btn .span-mother2 span:nth-child(17) { transition-duration: 0.42s; }
.cta-quiz__btn .span-mother2 span:nth-child(18) { transition-duration: 0.44s; }
.cta-quiz__btn .span-mother2 span:nth-child(19) { transition-duration: 0.46s; }
.cta-quiz__btn .span-mother2 span:nth-child(20) { transition-duration: 0.48s; }

/* cta media 1500px */
@media (max-width: 1500px) {
    .cta-form__title {
        font-size: 50px;
    }

    .cta-form-wrap {
        width: 760px;
        padding: 32px;
        gap: 18px;
    }

    .cta-quiz {
        padding: 26px 22px;
        gap: 20px;
    }

    .cta-inner {
        padding: 36px 44px;
    }
}

/* cta media 1250px */
@media (max-width: 1250px) {
    .cta-title-br {
        display: inline;
    }

    .cta-form__title {
        font-size: 44px;
    }

    .cta-form__desc {
        font-size: 16px;
    }

    .cta-form-wrap {
        width: 680px;
        padding: 30px;
    }

    .cta-quiz__question {
        font-size: 18px;
    }

    .cta-badge {
        font-size: 16px;
        padding: 12px 16px;
    }

    .cta-quiz__btn {
        height: 70px;
    }

    .cta-quiz__btn .span-mother span,
    .cta-quiz__btn .span-mother2 span {
        font-size: 22px;
    }

    .cta-quiz__input {
        height: 60px;
        font-size: 18px;
    }
}

/* cta media 1100px */
@media (max-width: 1100px) {
    .cta-section {
        height: auto;
        min-height: auto;
        max-height: none;
    }

    .cta-inner {
        justify-content: center;
        align-items: center;
        padding: 40px 30px;
    }

    .cta-form-wrap {
        width: 100%;
        max-width: 680px;
        border-radius: 36px;
        padding: 32px;
        gap: 18px;
        text-align: center;
        overflow-y: visible;
    }

    .cta-form__title {
        font-size: 42px;
    }

    .cta-form__title br {
        display: none;
    }

    .cta-quiz {
        text-align: left;
        padding: 26px 20px;
    }
}

/* cta media 950px */
@media (max-width: 950px) {
    .cta-form__title {
        font-size: 38px;
    }

    .cta-quiz__question {
        font-size: 17px;
    }

    .cta-badge {
        font-size: 15px;
        padding: 11px 14px;
    }
}

/* cta mobile */
@media (max-width: 768px) {
    .cta-section {
        margin-top: 8px;
    }

    .cta-inner {
        padding: 24px 16px;
    }

    .cta-form-wrap {
        border-radius: 28px;
        padding: 24px 18px;
        gap: 16px;
    }

    .cta-form__title {
        font-size: 30px;
    }

    .cta-form__desc {
        font-size: 13px;
    }

    .cta-quiz {
        padding: 20px 14px;
        gap: 20px;
        border-radius: 14px;
    }

    .cta-quiz__question {
        font-size: 16px;
        font-weight: 600;
    }

    .cta-quiz__badges {
        gap: 8px;
    }

    .cta-badge {
        font-size: 14px;
        padding: 10px 14px;
    }

    .cta-quiz__input {
        height: 56px;
        font-size: 17px;
    }

    .cta-quiz__btn {
        height: 62px;
    }

    .cta-quiz__btn .span-mother span,
    .cta-quiz__btn .span-mother2 span {
        font-size: 18px;
    }

    .cta-quiz__submit {
        margin-top: 4px;
    }
}

/* cta small mobile */
@media (max-width: 420px) {
    .cta-inner {
        padding: 20px 10px;
    }

    .cta-form-wrap {
        padding: 20px 14px;
        border-radius: 24px;
    }

    .cta-form__title {
        font-size: 26px;
    }

    .cta-quiz {
        padding: 18px 12px;
        gap: 18px;
    }

    .cta-badge {
        font-size: 13px;
        padding: 9px 12px;
    }

    .cta-quiz__input {
        height: 52px;
        font-size: 16px;
    }

    .cta-quiz__btn {
        height: 58px;
    }

    .cta-quiz__btn .span-mother span,
    .cta-quiz__btn .span-mother2 span {
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .cta-form__title {
        font-size: 24px;
    }

    .cta-badge {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (min-width: 1101px) {
    .cta-inner {
        align-items: center;
    }

    .cta-form-wrap {
        align-self: center;
    }
}

@media (min-width: 769px) {
    .cta-section {
        padding-top: 24px;
        padding-bottom: 24px;
        height: auto;
        min-height: 760px;
    }

    .cta-inner {
        align-items: center;
        min-height: 100%;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .cta-form-wrap {
        position: relative;
        z-index: 2;
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

/* footer section */
.footer {
    padding: 60px 50px 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* left column */
.footer__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.footer__logo-img {
    width: 208px;
    height: 40px;
}

.footer__tagline {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    color: #FFFFFF;
    text-transform: lowercase;
    padding-left: 2px;
}

/* center column */
.footer__center {
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.footer__phone {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.footer__phone .anim-text { height: 1em; }

.footer__phone .anim-text .span-mother span,
.footer__phone .anim-text .span-mother2 span {
    font: inherit;
    color: inherit;
}

/* right column */
.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
}

.footer__email {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.footer__email .anim-text { height: 1em; }

.footer__email .anim-text .span-mother span,
.footer__email .anim-text .span-mother2 span {
    font: inherit;
    color: inherit;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__nav-link {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}

.footer__nav-link .anim-text .span-mother span,
.footer__nav-link .anim-text .span-mother2 span {
    font: inherit;
    color: inherit;
}

/* bottom section */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.footer__copy {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: rgba(255, 255, 255, 0.7);
}

.footer__privacy {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer__privacy:hover {
    color: #FFFFFF;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 23px;
    border-radius: 7px;
    background: #FFCE43;
    padding: 4px;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.footer__badge:hover {
    opacity: 0.8;
}

.footer__badge-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 100%;
    color: #171614;
    text-align: center;
}

/* footer media 1500px */
@media (max-width: 1500px) {
    .footer__phone,
    .footer__email {
        font-size: 34px;
    }
}

/* footer media 1250px */
@media (max-width: 1250px) {
    .footer {
        padding: 50px 40px 36px;
    }

    .footer__phone,
    .footer__email {
        font-size: 30px;
    }

    .footer__nav-link {
        font-size: 16px;
    }
}

/* footer media 1100px */
@media (max-width: 1100px) {
    .footer {
        padding: 40px 30px 30px;
    }

    .footer__phone,
    .footer__email {
        font-size: 28px;
    }

    .footer__top {
        margin-bottom: 50px;
    }

    .footer__nav-link {
        font-size: 16px;
    }

    .footer__nav {
        gap: 12px;
    }
}

/* footer media 950px */
@media (max-width: 950px) {
    .footer__phone,
    .footer__email {
        font-size: 24px;
    }

    .footer__logo-img {
        width: 180px;
        height: 34px;
    }

    .footer__tagline {
        font-size: 15px;
    }

    .footer__nav-link {
        font-size: 15px;
    }

    .footer__copy,
    .footer__privacy {
        font-size: 14px;
    }
}

/* footer mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 30px;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer__left {
        gap: 6px;
    }

    .footer__logo-img {
        width: 200px;
        height: 38px;
    }

    .footer__tagline {
        font-size: 16px;
    }

    .footer__center {
        padding-top: 0;
    }

    .footer__phone {
        font-size: 32px;
    }

    .footer__right {
        gap: 10px;
    }

    .footer__email {
        font-size: 32px;
    }

    .footer__nav {
        margin-top: 16px;
        gap: 14px;
    }

    .footer__nav-link {
        font-size: 20px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer__badge {
        margin-bottom: 4px;
        order: -1;
    }

    .footer__copy {
        font-size: 15px;
    }

    .footer__privacy {
        font-size: 15px;
    }
}

/* footer small mobile */
@media (max-width: 420px) {
    .footer {
        padding: 32px 16px 24px;
    }

    .footer__phone,
    .footer__email {
        font-size: 28px;
    }

    .footer__nav-link {
        font-size: 18px;
    }

    .footer__copy,
    .footer__privacy {
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .footer__phone,
    .footer__email {
        font-size: 24px;
    }

    .footer__nav-link {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .footer {
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: space-between;
        row-gap: 60px;
    }

    .footer__top,
    .footer__bottom {
        display: contents;
    }

    .footer__left {
        grid-column: 1;
        grid-row: 1;
    }

    .footer__center {
        grid-column: 2;
        grid-row: 1;
    }

    .footer__right {
        grid-column: 3;
        grid-row: 1;
    }

    .footer__copy {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
    }

    .footer__privacy {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        justify-self: start;
    }

    .footer__badge {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
        align-self: end;
    }
}

/* popups */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

body.popup-open {
    overflow: hidden;
}

.popup {
    position: relative;
    width: 780px;
    max-width: 100%;
    border-radius: 40px;
    padding: 36px;
    background: #1D1D1D;
    backdrop-filter: blur(161px);
    -webkit-backdrop-filter: blur(161px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.popup__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(54px);
    -webkit-backdrop-filter: blur(54px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 5;
    padding: 0;
}

.popup__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.popup__close-icon {
    width: 18px;
    height: 18px;
}

.popup__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    color: #FFFFFF;
    padding-right: 70px;
}

.popup__desc {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 141%;
    color: #FFFFFF;
}

/* popup quiz styles */
.popup-quiz {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #171717;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.popup-quiz__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-quiz__question {
    font-family: 'Involve', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    color: #FFFFFF;
}

.popup-quiz__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 60px;
    background: rgba(255, 137, 39, 0.1);
    border: 1px solid #FF8927;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.popup-badge:hover {
    background: rgba(255, 137, 39, 0.25);
}

.popup-badge--active {
    background: #F57B15;
    border-color: #F57B15;
    font-weight: 600;
}

.popup-badge--active:hover {
    background: #F57B15;
}

.popup-quiz__submit {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.popup-quiz__input {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 20px 20px 16px;
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.3s;
}

.popup-quiz__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.popup-quiz__input:focus {
    border-color: #FFC200;
}

.popup-quiz__btn {
    width: 100%;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.popup-quiz__btn:hover { opacity: 0.9; }

.popup-quiz__btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.popup-quiz__btn-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 22px;
}

.popup-quiz__btn .span-mother {
    display: flex;
    overflow: hidden;
    height: 22px;
}

.popup-quiz__btn .span-mother span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transition: transform 0.2s;
}

.popup-quiz__btn:hover .span-mother span { transform: translateY(1.4em); }

.popup-quiz__btn .span-mother span:nth-child(1) { transition-duration: 0.1s; }
.popup-quiz__btn .span-mother span:nth-child(2) { transition-duration: 0.12s; }
.popup-quiz__btn .span-mother span:nth-child(3) { transition-duration: 0.14s; }
.popup-quiz__btn .span-mother span:nth-child(4) { transition-duration: 0.16s; }
.popup-quiz__btn .span-mother span:nth-child(5) { transition-duration: 0.18s; }
.popup-quiz__btn .span-mother span:nth-child(6) { transition-duration: 0.2s; }
.popup-quiz__btn .span-mother span:nth-child(7) { transition-duration: 0.22s; }
.popup-quiz__btn .span-mother span:nth-child(8) { transition-duration: 0.24s; }
.popup-quiz__btn .span-mother span:nth-child(9) { transition-duration: 0.26s; }
.popup-quiz__btn .span-mother span:nth-child(10) { transition-duration: 0.28s; }
.popup-quiz__btn .span-mother span:nth-child(11) { transition-duration: 0.3s; }
.popup-quiz__btn .span-mother span:nth-child(12) { transition-duration: 0.32s; }
.popup-quiz__btn .span-mother span:nth-child(13) { transition-duration: 0.34s; }
.popup-quiz__btn .span-mother span:nth-child(14) { transition-duration: 0.36s; }
.popup-quiz__btn .span-mother span:nth-child(15) { transition-duration: 0.38s; }
.popup-quiz__btn .span-mother span:nth-child(16) { transition-duration: 0.4s; }
.popup-quiz__btn .span-mother span:nth-child(17) { transition-duration: 0.42s; }
.popup-quiz__btn .span-mother span:nth-child(18) { transition-duration: 0.44s; }
.popup-quiz__btn .span-mother span:nth-child(19) { transition-duration: 0.46s; }
.popup-quiz__btn .span-mother span:nth-child(20) { transition-duration: 0.48s; }
.popup-quiz__btn .span-mother span:nth-child(21) { transition-duration: 0.5s; }
.popup-quiz__btn .span-mother span:nth-child(22) { transition-duration: 0.52s; }
.popup-quiz__btn .span-mother span:nth-child(23) { transition-duration: 0.54s; }
.popup-quiz__btn .span-mother span:nth-child(24) { transition-duration: 0.56s; }
.popup-quiz__btn .span-mother span:nth-child(25) { transition-duration: 0.58s; }
.popup-quiz__btn .span-mother span:nth-child(26) { transition-duration: 0.6s; }
.popup-quiz__btn .span-mother span:nth-child(27) { transition-duration: 0.62s; }
.popup-quiz__btn .span-mother span:nth-child(28) { transition-duration: 0.64s; }
.popup-quiz__btn .span-mother span:nth-child(29) { transition-duration: 0.66s; }

.popup-quiz__btn .span-mother2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 22px;
    pointer-events: none;
}

.popup-quiz__btn .span-mother2 span {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    transform: translateY(-1.4em);
    transition: transform 0.2s;
}

.popup-quiz__btn:hover .span-mother2 span { transform: translateY(0); }

.popup-quiz__btn .span-mother2 span:nth-child(1) { transition-duration: 0.1s; }
.popup-quiz__btn .span-mother2 span:nth-child(2) { transition-duration: 0.12s; }
.popup-quiz__btn .span-mother2 span:nth-child(3) { transition-duration: 0.14s; }
.popup-quiz__btn .span-mother2 span:nth-child(4) { transition-duration: 0.16s; }
.popup-quiz__btn .span-mother2 span:nth-child(5) { transition-duration: 0.18s; }
.popup-quiz__btn .span-mother2 span:nth-child(6) { transition-duration: 0.2s; }
.popup-quiz__btn .span-mother2 span:nth-child(7) { transition-duration: 0.22s; }
.popup-quiz__btn .span-mother2 span:nth-child(8) { transition-duration: 0.24s; }
.popup-quiz__btn .span-mother2 span:nth-child(9) { transition-duration: 0.26s; }
.popup-quiz__btn .span-mother2 span:nth-child(10) { transition-duration: 0.28s; }
.popup-quiz__btn .span-mother2 span:nth-child(11) { transition-duration: 0.3s; }
.popup-quiz__btn .span-mother2 span:nth-child(12) { transition-duration: 0.32s; }
.popup-quiz__btn .span-mother2 span:nth-child(13) { transition-duration: 0.34s; }
.popup-quiz__btn .span-mother2 span:nth-child(14) { transition-duration: 0.36s; }
.popup-quiz__btn .span-mother2 span:nth-child(15) { transition-duration: 0.38s; }
.popup-quiz__btn .span-mother2 span:nth-child(16) { transition-duration: 0.4s; }
.popup-quiz__btn .span-mother2 span:nth-child(17) { transition-duration: 0.42s; }
.popup-quiz__btn .span-mother2 span:nth-child(18) { transition-duration: 0.44s; }
.popup-quiz__btn .span-mother2 span:nth-child(19) { transition-duration: 0.46s; }
.popup-quiz__btn .span-mother2 span:nth-child(20) { transition-duration: 0.48s; }
.popup-quiz__btn .span-mother2 span:nth-child(21) { transition-duration: 0.5s; }
.popup-quiz__btn .span-mother2 span:nth-child(22) { transition-duration: 0.52s; }
.popup-quiz__btn .span-mother2 span:nth-child(23) { transition-duration: 0.54s; }
.popup-quiz__btn .span-mother2 span:nth-child(24) { transition-duration: 0.56s; }
.popup-quiz__btn .span-mother2 span:nth-child(25) { transition-duration: 0.58s; }
.popup-quiz__btn .span-mother2 span:nth-child(26) { transition-duration: 0.6s; }
.popup-quiz__btn .span-mother2 span:nth-child(27) { transition-duration: 0.62s; }
.popup-quiz__btn .span-mother2 span:nth-child(28) { transition-duration: 0.64s; }
.popup-quiz__btn .span-mother2 span:nth-child(29) { transition-duration: 0.66s; }

/* thank you popup */
.popup--thanks {
    width: 652px;
    text-align: center;
    align-items: center;
    gap: 30px;
}

.popup--thanks__title {
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    color: #FFFFFF;
}

.popup--thanks__desc {
    font-family: 'Involve', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 141%;
    color: #FFFFFF;
}

.popup--thanks__btn {
    width: 236px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(96.47deg, #FFC200 -29.57%, #FE7600 162.08%);
    border: none;
    cursor: pointer;
    font-family: 'Involve', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
    transition: opacity 0.3s;
}

.popup--thanks__btn:hover { opacity: 0.9; }

/* popup responsive */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 12px;
    }

    .popup {
        border-radius: 28px;
        padding: 28px 18px;
        gap: 16px;
    }

    .popup__close {
        width: 36px;
        height: 36px;
        top: 20px;
        right: 20px;
    }

    .popup__title {
        font-size: 32px;
        padding-right: 50px;
    }

    .popup__desc {
        font-size: 14px;
    }

    .popup-quiz {
        padding: 22px 14px;
        gap: 18px;
    }

    .popup-quiz__question {
        font-size: 16px;
        font-weight: 600;
    }

    .popup-badge {
        font-size: 14px;
        padding: 10px 14px;
    }

    .popup-quiz__input {
        height: 54px;
        font-size: 16px;
    }

    .popup-quiz__btn {
        height: 62px;
    }

    .popup-quiz__btn .span-mother span,
    .popup-quiz__btn .span-mother2 span {
        font-size: 18px;
    }

    .popup--thanks { width: 100%; }
    .popup--thanks__title { font-size: 40px; }
    .popup--thanks__desc { font-size: 15px; }
    .popup--thanks__btn { width: 100%; max-width: 260px; height: 60px; font-size: 20px; }
}

@media (max-width: 420px) {
    .popup {
        padding: 22px 14px;
        border-radius: 24px;
    }

    .popup__title {
        font-size: 28px;
    }

    .popup-quiz {
        padding: 18px 12px;
        gap: 16px;
    }

    .popup-badge {
        font-size: 13px;
        padding: 9px 12px;
    }

    .popup-quiz__btn .span-mother span,
    .popup-quiz__btn .span-mother2 span {
        font-size: 16px;
    }

    .popup--thanks__title { font-size: 34px; }
}


@media (max-width: 768px) {
    .span-mother span,
    .span-mother2 span {
        transition: none !important;
        transform: none !important;
    }

    .span-mother2 {
        display: none !important;
    }

    .guarantees-btn__icon,
    .cta-quiz__btn-icon,
    .calc-btn__icon,
    .popup-quiz__btn-icon  {
        margin-top: -5px;
    }
}

/* Мобильные стили */
@media (max-width: 950px) {
    .hero-card {
        height: calc(100vh - 12px);           /* фолбек */
        height: calc(var(--app-height, 100vh) - 12px); /* фикс */
    }
}

@media (max-width: 768px) {
    .hero-card {
        height: calc(100vh - 12px);
        height: calc(var(--app-height, 100vh) - 12px);
    }

    .hero__phone-img {
        height: 100vh;
        height: var(--app-height, 100vh);
    }

    @media (max-height: 750px) {
        .hero__phone-img {
            height: 80vh;
            height: calc(var(--app-height, 100vh) * 0.8);
        }
    }
}
