* {
    box-sizing: border-box;
}

*:before, *:after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Montserrat;
    font-weight: normal;
    color: #fff;
    background: #212429;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
    --transition-time: 200ms;
    transition: color 0.4s ease-in;
}

img, video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

a:hover {
    color: #9c42f5;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.a-center {
    align-items: center;
}

.a-start {
    align-items: flex-start;
}

.a-end {
    align-items: flex-end;
}

.j-between {
    justify-content: space-between;
}

.j-center {
    justify-content: center;
}

.j-end {
    justify-content: flex-end;
}

.container-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1320px;
    padding: 0 20px;
}

.contact-button {
    position: relative;
    border-radius: 72px;
    box-shadow: 0 8px 8px -4px rgba(156, 66, 245, 0.12),
    0 16px 24px 0 rgba(156, 66, 245, 0.24),
    0 2px 4px -1px rgba(27, 10, 82, 0.12),
    0 0 1px 0 rgba(156, 66, 245, 0.24);
    padding: 12px 24px;
    color: #fff;
    overflow: hidden;
    transition: color 0.4s ease-in;
    z-index: 2;
    display: block;
    width: fit-content;
    background: linear-gradient(135deg, #5d2de1 0%, #f0a 50.18%, #9c42f5 100%);
}

.contact-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0a 0%, #9c42f5 50.18%, #5d2de1 100%);
    transition: opacity 0.4s ease-in;
    z-index: -1;
}

.contact-button:hover::before {
    opacity: 0;
}

.contact-button:hover {
    color: #fff;
}

.contact-button_service{
    font-size: 21px;
    padding: 12px 30px;
    font-weight: 600;
}

.header {
    box-shadow: 0 8px 8px -4px rgba(9, 13, 20, 0.24), 0 2px 4px -1px rgba(9, 13, 20, 0.24), 0 0 1px 0 rgba(9, 13, 20, 0.4);
    background: #282a2e;
    z-index: 10;
    position: relative;
}

.header__container {
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 30px;
}

.header__nav, .header__contacts, .header__left{
    gap: 50px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: 0;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background: white;
    transition: all 0.3s;
}

/* Burger menu overlay */
.burger-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    background-color: rgba(0, 0, 0, 0.9);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.burger-overlay.burger-overlay--active {
    right: 0;
}

.burger-nav a:not(.contact-button) {
    display: block;
    padding: 15px 0;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

.burger-nav a.contact-button{
    margin-top: 15px;
}

.main-banner__heading {
    gap: 10px;
    flex-direction: column;
    width: 100%;
}

.main-banner {
    position: relative;
}

.main-banner__name {
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.main-banner__text {
    font-weight: 500;
    font-size: 20px;
    line-height: 175%;
    color: white;
}

.main-banner__desc {
    width: 100%;
    backdrop-filter: blur(30px);
    box-shadow: 8px 8px 24px 0 rgba(9, 13, 20, 0.4), -4px -4px 8px 0 rgba(224, 224, 255, 0.04), 0 1px 1px 0 rgba(9, 13, 20, 0.4);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.12) 0%, rgba(245, 247, 250, 0.06) 52.14%, rgba(245, 247, 250, 0) 100%);
    border: 1px solid rgba(245, 247, 250, 0.06);
    border-radius: 40px;
    padding: 40px;
    flex-direction: row;
    gap: 45px;
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
}

.main-banner__videos {
    width: 100%;
}

.main-banner__video {
    max-width: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.main-banner__video:nth-child(1) {
    margin-left: -120px;
    margin-right: 120px;
}

.main-banner__video:nth-child(2) {
    margin-top: -15px;
    z-index: 2;
}

.main-banner__video:nth-child(3) {
    margin-left: -80px;
    margin-right: 80px;
    margin-top: -15px;
}

.main-banner__container {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    justify-content: flex-end;
}

.main-banner__background{
    border-radius: 40px;
    overflow: hidden;
    width: 100%;
}

.main-banner__spline {
    position: absolute;
    max-width: 1000px;
    z-index: -1;
}

.main-banner__spline:nth-child(1) {
    top: 0;
    right: -150px;
}

.main-banner__spline:nth-child(2) {
    top: 0;
    left: -100px;
}

.carousel-wrapper {
    position: relative;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.carousel-item {
    width: calc(100% / 3 - 20px);
    flex-shrink: 0;
    height: 100%;
    display: flex;
    font-size: 1.5rem;
    margin: 0 10px;
    box-shadow: 8px 8px 24px 0 rgba(9, 13, 20, 0.4), -4px -4px 8px 0 rgba(224, 224, 255, 0.04), 0 1px 1px 0 rgba(9, 13, 20, 0.4);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.12) 0%, rgba(245, 247, 250, 0.06) 52.14%, rgba(245, 247, 250, 0) 100%);
    border: 1px solid rgba(245, 247, 250, 0.06);
    position: relative;
    border-radius: 40px;
    overflow: hidden;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: 2px solid #fff;
    background: none;
    border-radius: 100%;
    cursor: pointer;
}

button.prev {
    left: -15px;
    padding: 18px 21px 18px 19px;
}

button.prev svg {
    transform: rotate(-180deg);
}

button.next {
    right: -15px;
    padding: 18px 19px 18px 21px;
}

.service__title{
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
}

.service__text{
    font-weight: 600;
    font-size: 18px;
    line-height: 144%;
    letter-spacing: -0.02em;
    color: #fff;
}

.service__heading{
    gap: 20px;
}

.service{
    padding-top: 65px;
    padding-bottom: 40px;
}

.service__price{
    max-width: 950px;
    box-shadow: 8px 8px 24px 0 rgba(9, 13, 20, 0.4), -4px -4px 8px 0 rgba(224, 224, 255, 0.04), 0 1px 1px 0 rgba(9, 13, 20, 0.4);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.12) 0%, rgba(245, 247, 250, 0.06) 52.14%, rgba(245, 247, 250, 0) 100%);
    border: 1px solid rgba(245, 247, 250, 0.06);
    border-radius: 40px;
    padding: 10px 30px;
}

.service__container{
    gap: 30px;
}

.service-item__desc{
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    width: 100%;
    gap: 6px;
}

.service-item__title{
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.04em;
}

.service-item__text{
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: -0.04em;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.play-icon, .pause-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.custom-video{
    position: relative;
}

.custom-video:not(:hover) .play-button.active{
    display: none !important;
}

.logo{
    max-width: 50px;
}

.logo_main-banner{
    max-width: 150px;
}

.contacts__heading{
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
}

.contacts__links{
    gap: 40px;
}

.contacts__link{
    max-width: 100px;
}

.contacts__container{
    border-radius: 40px;
    padding: 70px;
    box-shadow: 8px 8px 24px 0 rgba(9, 13, 20, 0.4), -4px -4px 8px 0 rgba(224, 224, 255, 0.04), 0 1px 1px 0 rgba(9, 13, 20, 0.4);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.12) 0%, rgba(245, 247, 250, 0.06) 52.14%, rgba(245, 247, 250, 0) 100%), url(/assets/img/contacts-bg.png) right no-repeat;
}

.contacts{
    padding: 25px 20px;
}