.hero {
    padding: 180px 0 133px;
    background: url(../images/hero-bg.webp) no-repeat;
    background-size: cover;
    margin-top: -110px;
    .wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        .top {
            .text-banner {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 40px;
                width: 100%;
                max-width: 958px;
                padding: 30px 30px 45px;
                background: var(--bg-4);
                backdrop-filter: blur(8px);
                border: var(--border-2);
                border-radius: 20px;
                h1 {
                    font-size: 50px;
                    font-weight: 800;
                    color: var(--text-2);
                    line-height: 50px;
                    span {
                        font-size: 50px;
                        font-weight: 800;
                        color: var(--text-4);
                    }
                }
                p {
                    font-size: 18px;
                }
                .marker {
                    border-radius: 8px;
                    background: var(--bg-5);
                    padding: 6px 12px;
                    color: var(--text-4);
                    font-size: 12px;
                    font-weight: 500;
                    text-transform: uppercase;
                }
                .buttons {
                    display: flex;
                    gap: 16px;
                    .btn {
                        &::after {
                            content: '\f000';
                        }
                    }
                }
            }
            .banner {
                position: absolute;
                right: 0;
                display: flex;
                justify-content: flex-end;
                gap: 40px;
                width: 100%;
                max-width: 340px;
                height: 140px;
                padding: 20px 15px;
                background: var(--bg-4);
                backdrop-filter: blur(8px);
                border: var(--border-2);
                border-radius: 20px;
                &:nth-child(2) {
                    top: 95px;
                }
                &:nth-child(3) {
                    top: 280px;
                    img {
                        width: 161px;
                        left: 13px;
                        bottom: 13px;
                    }
                }
                img {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 186px;
                }
                p {
                    padding-top: 15px;
                    color: var(--text-2);
                    font-size: 16px;
                    width: 144px;
                    text-transform: uppercase;
                    b {
                        font-weight: 800;
                        color: var(--text-2);
                        font-size: 16px;
                    }
                }
                .text {
                    width: 212px;
                    height: 98px;
                    background: url(../images/text.svg) top;
                    background-size: cover;
                    padding: 20px 35px 10px 55px;
                    font-weight: 700;
                    text-align: center;
                    position: relative;
                    text-transform: uppercase;
                    color: var(--text-3);
                    margin: -10px -20px 0 0;
                }
            }
        }
    }
}
.advantages {
    padding: 120px 20px;
    background: var(--bg-5);
    .head {
        margin-bottom: 40px;
        text-align: center;
        .marker {
            display: inline-block;
            padding: 8px 12px;
            margin-bottom: 16px;
            border-radius: 8px;
            background: var(--bg-6);
            color: var(--text-6);
            font-size: 12px;
            font-weight: 500;
            line-height: 12px;
            text-transform: uppercase;
        }
        h2 {
            color: var(--text-2);
            font-size: 40px;
            font-weight: 800;
            line-height: 40px;
            letter-spacing: -0.8px;
            span {
                font-size: inherit;
                font-weight: inherit;
                line-height: inherit;
                background: var(--gradient-1);
                background-clip: text;
                color: transparent;
            }
        }
    }
    .cards {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        .item {
            position: relative;
            min-width: 0;
            padding: 20px;
            border-radius: 24px;
            background: var(--bg-1);
            box-shadow: var(--shadow-4);
            overflow: hidden;
            background-image: url(../images/hydra-half.svg);
            background-position: left top;
            background-repeat: no-repeat;
            &:nth-child(even) {
                background-position: right top;
                background-image: url(../images/hydra-half-2.svg);
            }
            &.calendar {
                .icon {
                    &::before {
                        content: '\f002';
                    }
                }
            }
            &.file-text {
                .icon {
                    &::before {
                        content: '\f003';
                    }
                }
            }
            &.shield {
                .icon {
                    &::before {
                        content: '\f004';
                    }
                }
            }
            &.lock {
                .icon {
                    &::before {
                        content: '\f005';
                    }
                }
            }
            .icon {
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                width: 48px;
                height: 48px;
                margin-bottom: 20px;
                border-radius: 12px;
                background: var(--gradient-2);
                &::before {
                    font-size: 22px;
                    font-family: icon;
                    color: var(--text-6);
                }
            }
            .text {
                position: relative;
                overflow-wrap: anywhere;
                h3 {
                    color: var(--text-5);
                    font-size: 22px;
                    font-weight: 800;
                    line-height: 28px;
                }
                p {
                    margin-top: 8px;
                    font-size: 16px;
                    line-height: 24px;
                }
            }
        }
    }
}
.brands {
    padding: 120px 0 60px;
    background: var(--bg-5);
    border-bottom: var(--border-4);
    .wrapper {
        padding: 0;
    }
    .head {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
        p {
            line-height: 18px;
            &:first-child {
                text-transform: uppercase;
            }
            &:last-child {
                color: var(--text-2);
                font-weight: 500;
            }
        }
        .line {
            flex: 1;
            border-top: var(--border-5);
        }
    }
    .slider-viewport {
        overflow: hidden;
    }
    .slider-track {
        display: flex;
        align-items: center;
        gap: 30px;
        width: max-content;
    }
    .slider-slide {
        flex-shrink: 0;
        padding: 30px 60px;
        border-radius: 16px;
        background: var(--bg-1);
        img {
            width: auto;
            height: 28px;
        }
    }
}
.reviews {
    padding: 60px 20px 120px;
    background: var(--bg-5);
    .head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 48px;
        .text {
            width: 100%;
            max-width: 600px;
            .marker {
                display: inline-block;
                padding: 8px 12px;
                margin-bottom: 12px;
                border-radius: 8px;
                background: var(--bg-6);
                color: var(--text-6);
                font-size: 12px;
                font-weight: 500;
                line-height: 12px;
                text-transform: uppercase;
            }
            h2 {
                color: var(--text-5);
                font-size: 40px;
                font-weight: 800;
                line-height: 40px;
                letter-spacing: -0.8px;
            }
        }
        .buttons {
            display: flex;
            flex-shrink: 0;
            gap: 12px;
            .btn-link {
                flex-shrink: 0;
                margin: 0;
                border: none;
                &::before {
                    transform: none;
                }
                &[data-slider-prev] {
                    &::before {
                        transform: rotate(180deg);
                    }
                }
                &:disabled {
                    cursor: default;
                    background: var(--bg-8);
                    &::before {
                        color: var(--text-1);
                        opacity: 0.5;
                    }
                }
                &:focus-visible {
                    outline: var(--border-1);
                    outline-offset: 4px;
                }
            }
        }
    }
    .slider-viewport {
        overflow: hidden;
    }
    .slider-track {
        display: flex;
        align-items: stretch;
        gap: 20px;
    }
    .item {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        gap: 24px;
        width: calc((100% - 40px) / 3);
        min-width: 0;
        padding: 30px;
        border-radius: 24px;
        background: var(--bg-1);
        .top {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            .author {
                min-width: 0;
                overflow-wrap: anywhere;
                h3 {
                    color: var(--text-5);
                    font-size: 18px;
                    font-weight: 800;
                    line-height: 23px;
                }
                time {
                    display: block;
                    margin-top: 4px;
                    color: var(--text-7);
                    font-size: 12px;
                    line-height: 15px;
                }
            }
            .rating {
                display: flex;
                flex-shrink: 0;
                gap: 4px;
                .star {
                    width: 16px;
                    height: 16px;
                    opacity: 0.25;
                    &.active {
                        opacity: 1;
                    }
                    &::before {
                        font-family: icon;
                        font-size: 16px;
                        content: '\f010';
                        background: var(--gradient-2);
                        background-clip: text;
                        color: transparent;
                    }
                }
            }
        }
        .body {
            overflow-wrap: anywhere;
            &, * {
                color: var(--text-7);
                font-size: 16px;
                line-height: 1.6;
            }
            p + p {
                margin-top: 12px;
            }
        }
        .attachments {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-top: auto;
            a {
                display: block;
                position: relative;
                min-width: 0;
                height: 70px;
                border-radius: 16px;
                overflow: hidden;
                &:focus-visible {
                    outline: var(--border-1);
                    outline-offset: 2px;
                }
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
                &.video {
                    &::before {
                        content: '';
                        position: absolute;
                        inset: 0;
                        background: var(--bg-9);
                    }
                }
                .play {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 32px;
                    height: 32px;
                    border-radius: 16px;
                    background: var(--bg-10);
                    box-shadow: var(--shadow-7);
                    transform: translate(-50%, -50%);
                    &::before {
                        font-family: icon;
                        font-size: 14px;
                        content: '\f011';
                        color: var(--text-4);
                    }
                }
            }
        }
    }
}
.faq {
    padding: 60px 20px 120px;
    background: var(--bg-1);
    .head {
        margin-bottom: 40px;
        text-align: center;
        .marker {
            display: inline-block;
            padding: 8px 12px;
            margin-bottom: 16px;
            border-radius: 8px;
            background: var(--bg-6);
            color: var(--text-6);
            font-size: 12px;
            font-weight: 500;
            line-height: 12px;
            text-transform: uppercase;
        }
        h2 {
            color: var(--text-5);
            font-size: 40px;
            font-weight: 800;
            line-height: 40px;
            letter-spacing: -0.8px;
        }
    }
    .items {
        display: flex;
        flex-direction: column;
        gap: 12px;
        .item {
            padding: 19px;
            border: 1px solid transparent;
            border-radius: 16px;
            background: var(--bg-5);
            .question {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 20px;
                width: 100%;
                border: none;
                background: none;
                color: var(--text-5);
                font-size: 18px;
                font-weight: 700;
                line-height: 23px;
                text-align: left;
                overflow-wrap: anywhere;
                &:focus-visible {
                    outline: var(--border-1);
                    outline-offset: 4px;
                    border-radius: 4px;
                }
                .arrow {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-shrink: 0;
                    width: 32px;
                    height: 32px;
                    border-radius: 10px;
                    background: var(--bg-8);
                    &::before {
                        content: '\f000';
                        font-family: icon;
                        font-size: 16px;
                        font-weight: 400;
                        color: var(--text-2);
                        transform: rotate(90deg);
                        transition: transform 0.4s;
                    }
                }
            }
            .answer {
                display: none;
                margin-top: 16px;
                color: var(--text-7);
                line-height: 21px;
                overflow-wrap: anywhere;
            }
            &.open {
                border-color: var(--bg-6);
                box-shadow: var(--shadow-6);
                .question {
                    .arrow {
                        background: var(--bg-3);
                        &::before {
                            color: var(--text-6);
                            transform: rotate(-90deg);
                        }
                    }
                }
                .answer {
                    display: block;
                }
            }
        }
    }
}
@media screen and (max-width: 1240px) {
    .hero {
        margin-top: -70px;
        padding: 100px 20px 60px;
        .wrapper {
            .top {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 30px 20px;
                .text-banner {
                    grid-column: 1 / -1;
                    max-width: none;
                    gap: 24px;
                    h1 {
                        font-size: 40px;
                        line-height: 42px;
                        span {
                            font-size: inherit;
                            line-height: inherit;
                        }
                    }
                }
                .banner {
                    position: relative;
                    right: auto;
                    max-width: none;
                    &:nth-child(2), &:nth-child(3) {
                        top: auto;
                    }
                }
            }
        }
    }
    .advantages {
        .cards {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    .brands {
        .wrapper {
            padding-left: 20px;
            padding-right: 20px;
        }
        .head {
            flex-wrap: wrap;
            .line {
                display: none;
            }
        }
    }
    .reviews {
        .item {
            width: calc((100% - 20px) / 2);
        }
    }
}
@media screen and (max-width: 768px) {
    .hero {
        padding: 90px 16px 60px;
        min-height: 1080px;
        background-position: right top;
        .wrapper {
            .top {
                grid-template-columns: minmax(0, 1fr);
                gap: 20px;
                .text-banner {
                    grid-column: auto;
                    gap: 20px;
                    padding: 18px;
                    h1 {
                        font-size: 28px;
                        line-height: 28px;
                        span {
                            font-size: inherit;
                            line-height: inherit;
                        }
                    }
                    p {
                        font-size: 16px;
                        line-height: 20px;
                    }
                    .marker {
                        max-width: 100%;
                        border-radius: 6px;
                        font-size: 10px;
                        line-height: 12px;
                    }
                    .buttons {
                        flex-direction: column;
                        gap: 12px;
                        width: 100%;
                        .btn, .btn-2 {
                            justify-content: center;
                            width: 100%;
                            min-height: 48px;
                            padding: 12px;
                            white-space: normal;
                        }
                    }
                }
                .banner {
                    align-items: center;
                    height: 114px;
                    padding: 18px 24px;
                    border-radius: 16px;
                    img {
                        width: min(156px, 42%);
                    }
                    &:nth-child(3) {
                        img {
                            width: min(127px, 36%);
                            left: 13px;
                            bottom: 11px;
                        }
                    }
                    p {
                        width: 144px;
                        max-width: 50%;
                        padding-top: 0;
                        line-height: 19px;
                    }
                    .text {
                        flex-shrink: 0;
                        max-width: 65%;
                    }
                }
            }
        }
    }
    .services, .advantages, .reviews, .faq {
        padding-left: 16px;
        padding-right: 16px;
        .head {
            margin-bottom: 30px;
            h2, .text h2, .bottom h2 {
                font-size: 20px;
                line-height: 22px;
                letter-spacing: -0.4px;
            }
            .marker, .text .marker {
                font-size: 10px;
                line-height: 10px;
            }
        }
    }
    .advantages {
        padding-top: 60px;
        padding-bottom: 60px;
        .cards {
            grid-template-columns: minmax(0, 1fr);
            gap: 10px;
            .item {
                background-size: 88px 182px;
                background-position: -4px center;
                &:nth-child(even) {
                    background-position: right -4px center;
                }
                .text {
                    h3 {
                        font-size: 18px;
                        line-height: 23px;
                    }
                    p {
                        font-size: 14px;
                        line-height: 21px;
                    }
                }
            }
        }
    }
    .brands {
        padding-top: 60px;
        .wrapper {
            padding-left: 16px;
            padding-right: 16px;
        }
        .head {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 30px;
        }
        .slider-slide {
            padding-left: 30px;
            padding-right: 30px;
        }
    }
    .reviews {
        padding-bottom: 60px;
        .head {
            flex-wrap: wrap;
            gap: 20px;
            .text {
                min-width: 0;
            }
            .buttons {
                margin-left: auto;
            }
        }
        .item {
            width: 100%;
            padding: 20px;
            .body {
                &, * {
                    font-size: 14px;
                    line-height: 21px;
                }
            }
        }
    }
    .faq {
        padding-bottom: 60px;
        .items {
            .item {
                padding: 16px;
                .question {
                    gap: 12px;
                    font-size: 16px;
                    line-height: 22px;
                }
            }
        }
    }
}