@charset "UTF-8";

header {
    width: 100%;
}

main {
    padding-top: 0 !important;
}

section {
    padding: 5vmax 0;
}

section#hero {
    position: relative;
    padding: 0;
}

section#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

section#hero video {
    display: block;
    width: 100%;
    min-height: 600px;
    -o-object-fit: cover;
    object-fit: cover;
}

section#hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    width: 90%;
    max-width: 1901px;
    text-align: center;
    min-height: 90%;
}

section#hero .hero-content .central-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section#hero .hero-content:before {
    content: "";
    display: block;
}

section#hero .hero-content h1 {
    font-size: 0;
}

section#hero .hero-content a {
    margin-top: 40px;
    color: #fff;
    border-color: #fff;
}

section#hero .hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#hero .hero-bottom img {
    display: block;
}

@media (max-width: 850px) {
    section#hero .hero-bottom {
        bottom: 3vmax;
    }
}

section#hero .hero-bottom a {
    box-shadow: 0 0 0 1px #fff inset;
    display: inline-flex;
    font-size: clamp(24px, 2vw, 32px);
    width: clamp(60px, 5vw, 80px);
    height: clamp(60px, 5vw, 80px);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.2s;
}

section#hero .hero-bottom a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

section#services {
    position: relative;
    overflow: hidden;
}

@media (min-width: 1200px) {
    section#services:before {
        content: "Наши услуги";
        writing-mode: vertical-rl;
        text-orientation: sideways;
        display: block;
        position: absolute;
        font-family: "Wix";
        font-size: clamp(60px, 13vw, 120px);
        white-space: nowrap;
        top: 50%;
        transform: translateY(-50%) rotate(180deg);
        color: #EDEDED;
        line-height: 1em;
        z-index: -1;
    }
}

section#services .service-list {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: bold;
    line-height: 2em;
}

section#services .left-image-wrapper, section#services .right-image-wrapper {
    position: relative;
}

section#services .left-image-wrapper:before, section#services .right-image-wrapper:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: -40px;
    left: -40px;
    border: 1px solid black;
    padding: clamp(5px, 2vw, 8px);
    line-height: 1em;
    font-size: clamp(9px, 2vw, 12px);
}

section#services .left-image-wrapper:not(:last-of-type), section#services .right-image-wrapper:not(:last-of-type) {
    margin-bottom: clamp(20px, 2vmax, 60px);
}

@media (max-width: 850px) {
    section#services .left-image-wrapper, section#services .right-image-wrapper {
        width: calc(100% - 40px);
        margin-left: 40px;
    }
}

@media (max-width: 850px) {
    section#services .right-image-wrapper {
        margin-left: 0;
        margin-right: 40px;
    }
}

@media (max-width: 600px) {
    section#services .right-image-wrapper {
        margin-left: 40px;
        margin-right: 0;
        margin-top: 40px;
    }
}

section#services .right-image-wrapper:before {
    left: unset;
    right: -40px;
    text-align: right;
}

@media (max-width: 600px) {
    section#services .right-image-wrapper:before {
        text-align: left;
        right: unset;
        left: -40px;
    }
}

@media (max-width: 1200px) {
    section#services .service-content {
        margin-top: 4vmax;
    }
}

@media (max-width: 600px) {
    section#services .service-content {
        margin-top: 0;
    }
}

section#services .service-head {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 60px;
}

section#services .mobile-price-button {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
}

section#team {
    text-align: center;
    padding-top: 0;
}

section#team .team-member img {
    display: block;
    min-width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 850px) {
    section#team .team-member img {
        aspect-ratio: 1/1;
        -o-object-position: top center;
        object-position: top center;
        -o-object-fit: cover;
        object-fit: cover;
    }
}

section#team .team-member p {
    margin: 0;
}

section#team .team-member .name {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: bold;
}

section#team .team-member .rank {
    color: #9e9e9e;
}

section#link2school {
    padding-top: 12vmax;
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

section#link2school .slider-col {
    position: relative;
    z-index: 1;
}

@media (max-width: 850px) {
    section#link2school .slider-col {
        margin-top: 4vmax;
    }
}

section#link2school .slider-col .extra-header {
    position: absolute;
    top: -8vmax;
    left: 4vmax;
    line-height: 1em;
    font-size: clamp(70px, 12vw, 270px);
    text-transform: uppercase;
    color: #ededed;
    font-family: "Wix";
    z-index: -1;
}

@media (max-width: 850px) {
    section#link2school .slider-col .extra-header {
        display: none;
    }
}

section#link2school .slider-col::before {
    content: "";
    display: block;
    background-color: #7A91CB;
    position: absolute;
    bottom: -2vw;
    left: 3vw;
    width: calc(100% - 1vw);
    height: 80%;
}

@media (max-width: 600px) {
    section#link2school .slider-col::before {
        display: none;
    }
}

section#link2school .section-intro {
    width: clamp(400px, 20vw, 550px);
    max-width: 100%;
}

@media (max-width: 850px) {
    section#link2school .section-intro {
        width: 100%;
    }
}

section#link2school .bttn {
    gap: 10px;
    display: inline-flex;
    align-items: center;
}

section#link2school .slider-container {
    margin-bottom: 10vh;
}

section#link2school .slider-container .swiper-slide {
    position: relative;
}

section#link2school .slider-container .swiper-slide:before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("/assets/img/video-icon.svg");
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

section#link2school .slider-container .swiper-slide:hover img {
    transform: scale(0.9);
}

section#link2school .slider-container .swiper-slide img {
    width: 100%;
    aspect-ratio: 6/8;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.3s ease;
}

section#link2school .points-container .school-point {
    padding-right: 20%;
}

@media (max-width: 600px) {
    section#link2school .points-container .school-point {
        padding-right: 0;
    }
}

section#link2school .points-container .extra {
    padding: 62px 0;
    padding-left: clamp(10px, 16vw, 80px);
    border-left: 1px solid #333;
}

@media (max-width: 1800px) {
    section#link2school .points-container .extra {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #333;
        margin-top: 62px;
    }
}

section#brands {
    text-align: center;
    color: #fff;
    background-color: black;
    background-size: 120% auto;
}

section#brands h2 {
    font-size: clamp(18px, 2vw, 32px);
}

section#brands img {
    display: block;
    width: 100%;
}

@media (max-width: 850px) {
    section#brands {
        background-size: cover;
    }
}

section#folio {
    text-align: center;
}

section#folio .tabs .tab a {
    color: #333;
}

section#folio .tabs .tab a.active {
    color: #7A91CB;
}

section#folio .tabs .tab a:focus {
    background-color: rgba(122, 145, 203, 0.1);
}

section#folio .tabs .indicator {
    background-color: #7A91CB;
}

section#folio .folio-content {
    margin-top: clamp(20px, 2vmax, 60px);
}

section#folio .folio-content .folio-page-trigger {
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 2vw, 20px);
}

section#folio .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

section#folio .grid .folio-image {
    width: 25%;
    position: relative;
    cursor: pointer;
}

@media (max-width: 1200px) {
    section#folio .grid .folio-image {
        width: 33.3333%;
    }
}

@media (max-width: 850px) {
    section#folio .grid .folio-image {
        width: 50%;
    }
}

section#folio .grid .folio-image img {
    width: 100%;
    aspect-ratio: 1/1;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 850px) {
    section#folio .grid .folio-image:hover {
        z-index: 2;
    }

    section#folio .grid .folio-image:hover img {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px #7A91CB;
    }
}

section#folio .collapsible .collapsible-header {
    display: flex;
    justify-content: space-between;
}

section#folio .collapsible .collapsible-header i {
    margin: 0;
    transition: transform 0.4s;
}

section#folio .collapsible .collapsible-body {
    padding: clamp(5px, 2vw, 30px);
}

section#folio .collapsible .active .collapsible-header i {
    transform: rotate(90deg);
}

section#folio .gallery-more {
    margin-top: 2vmax;
    text-align: center;
}

@media (min-width: 850px) {
    section#folio {
        overflow: hidden;
        position: relative;
        padding-bottom: clamp(180px, 20vw, 315px);
    }

    section#folio:before {
        content: "Наши работы";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-45%) translateY(-20%);
        font-size: clamp(180px, 20vw, 315px);
        line-height: 1em;
        color: #EDEDED;
        font-weight: 800;
        white-space: nowrap;
        font-family: "Wix";
        z-index: -1;
    }
}

section ~ .stories-modal {
    position: relative;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

section ~ .stories-modal .stories-close {
    padding: 0.5em;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: clamp(21px, 3vw, 32px);
}

section ~ .stories-modal .stories-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

section ~ .stories-modal video {
    height: 80vh;
    aspect-ratio: 9/16;
}

section ~ .stories-modal .stories-container {
    position: relative;
}

section ~ .stories-modal .stories-container .stories-prev, section ~ .stories-modal .stories-container .stories-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translate(120%, -100%);
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    aspect-ratio: 1/1;
    font-size: clamp(18px, 4vw, 46px);
    color: #fff;
}

@media (max-width: 850px) {
    section ~ .stories-modal .stories-container .stories-prev, section ~ .stories-modal .stories-container .stories-next {
        transform: translate(100%, -100%);
        right: 0px;
    }
}

section ~ .stories-modal .stories-container .stories-prev:hover, section ~ .stories-modal .stories-container .stories-next:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

section ~ .stories-modal .stories-container .stories-next {
    transform: translate(120%, 0%);
}

@media (max-width: 850px) {
    section ~ .stories-modal .stories-container .stories-next {
        transform: translate(100%, 0%);
        right: 0px;
    }
}

section ~ .stories-modal .stories-container .swiper-slide {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    height: -moz-fit-content;
    height: fit-content;
}

section ~ .stories-modal .stories-container .swiper-slide .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

section ~ .stories-modal .stories-container .swiper-slide .video-progress {
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    box-sizing: border-box;
}

section ~ .stories-modal .stories-container .swiper-slide .video-progress .video-buffer-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    transition: width 0.2s;
    background-color: rgba(255, 255, 255, 0.2);
}

section ~ .stories-modal .stories-container .swiper-slide .video-progress-bar {
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: width 0.2s;
}

section ~ .stories-modal .stories-container .swiper {
    transform: translateY(120%);
    transition: transform 0.4s;
    height: 80vh;
}

section ~ .stories-modal .stories-container .swiper .swiper-wrapper .swiper-slide {
    height: -moz-fit-content !important;
    height: fit-content !important;
}

section ~ .stories-modal .stories-container video {
    width: 100%;
    max-width: 70vw;
    aspect-ratio: 9/16;
    -o-object-fit: cover;
    object-fit: cover;
}

section ~ .stories-modal .stories-container .title {
    position: absolute;
    bottom: 2vmax;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    line-height: 1em;
    border-radius: clamp(6px, 1vw, 12px);
}

section ~ .stories-modal.active {
    opacity: 1;
    pointer-events: all;
}

section ~ .stories-modal.active .stories-container .swiper {
    transform: none;
}

#price .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

#price .modal-header h3 {
    margin: 0;
}

#price .modal-header a {
    font-size: 32px;
    color: #333;
}

#price .collapsible > .active i {
    transform: rotate(90deg);
}

#price .collapsible-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

#price .collapsible-header i {
    margin: 0;
    transition: transform 0.4s;
}

#price .collapsible-body {
    padding: clamp(0px, 2vw, 2rem);
}

#price .col {
    margin-bottom: 20px;
}

#price .section-head {
    border-bottom: 1px solid #333;
    font-weight: bold;
}

#price .kv-pair {
    display: flex;
    justify-content: space-between;
}

#price .kv-pair > * {
    padding: 6px 12px;
}

#price .kv-pair .price {
    white-space: nowrap;
}

#price .kv-pair:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    #price .kv-pair {
        display: block;
        padding: 10px;
    }

    #price .kv-pair > * {
        padding: 0;
    }

    #price .kv-pair .name {
        font-size: 14px;
    }

    #price .kv-pair .price {
        font-size: 18px;
        font-weight: bold;
    }
}