/*!
Theme Name: Арсен Карапетян
Author: Sergei Saltykov
Description: Сайт Арсена Карапетяна
Version: 0.1
Text Domain: arsen
*/


:root {
    --ak-primary: #35276A;
    --ak-black: #000000;
    --ak-white: #FFFEFC;
    --ak-white-50: rgba(255, 254, 252, 0.50);
    --ak-white-rgb: 255, 254, 252;
    --ak-red: #AF3F29;
    --ak-arrow: url('data:image/svg+xml,<svg width="32" height="8" viewBox="0 0 32 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M31.3052 4.3052C31.4738 4.13664 31.4738 3.86336 31.3052 3.6948L28.5584 0.948021C28.3899 0.779465 28.1166 0.779465 27.948 0.948021C27.7795 1.11658 27.7795 1.38986 27.948 1.55842L30.3896 4L27.948 6.44158C27.7795 6.61014 27.7795 6.88342 27.948 7.05198C28.1166 7.22053 28.3899 7.22053 28.5584 7.05198L31.3052 4.3052ZM0 4V4.43161H31V4V3.56839H0V4Z" fill="%23AF3F29"/></svg>');

    scroll-behavior: unset !important;
}

body {
    background-color: var(--ak-black);
    color: var(--ak-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    font-size: 18px;
    overflow-x: hidden;
}

#rider {
    scroll-margin-top: 40vh;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1;
    font-weight: 700;
}

ol, ul {
    padding-left: 1rem;
}

.container {
    --bs-gutter-x: 20px;
}


.ratio-2x3 {
    --bs-aspect-ratio: 150%;
}

.ratio-3x2 {
    --bs-aspect-ratio: 66.7%;
}

.ratio-3x4 {
    --bs-aspect-ratio: 133.33%;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio-9x16 {
    --bs-aspect-ratio: 177.77%;
}

/* buttons */
.btn {
    --bs-btn-padding-x: 28px;
    --bs-btn-padding-y: 8px;
    --bs-btn-font-size: 12px;
    --bs-btn-font-weight: 500;
    --bs-btn-line-height: 1;
    --bs-btn-border-radius: 0;
    --bs-btn-border-width: 2px;
    --bs-btn-disabled-opacity: 0.4;
    text-transform: uppercase;
}

.btn-primary {
    --bs-btn-box-shadow: unset;
    --bs-btn-focus-box-shadow: unset;
    --bs-btn-color: var(--ak-white);
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: var(--ak-white);
    --bs-btn-hover-bg: var(--ak-red);
    --bs-btn-border-color: var(--ak-white);
    --bs-btn-hover-border-color: var(--ak-red);
    --bs-btn-active-border-color: var(--ak-red);
    --bs-btn-active-color: var(--ak-white);
    --bs-btn-active-bg: var(--ak-red);
    --bs-btn-disabled-color: var(--ak-white);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--ak-white);
}


.btn-secondary {
    --bs-btn-box-shadow: unset;
    --bs-btn-focus-box-shadow: unset;
    --bs-btn-color: var(--ak-black);
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: var(--ak-white);
    --bs-btn-hover-bg: var(--ak-red);
    --bs-btn-border-color: var(--ak-black);
    --bs-btn-hover-border-color: var(--ak-red);
    --bs-btn-active-border-color: var(--ak-red);
    --bs-btn-active-color: var(--ak-white);
    --bs-btn-active-bg: var(--ak-red);
    --bs-btn-disabled-color: var(--ak-black);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--ak-black);
}


.color-invert {
    background-color: var(--ak-white);
    color: var(--ak-black);
}

.section-name {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--ak-white-50);
    text-align: center;
}


#intro {
    min-height: 500px;
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
}

.header-info {
    z-index: 1;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 35px;
}

a.link, a.section-name {
    transition: .15s linear color;
}

a.link:hover, a.section-name:hover {
    color: var(--ak-red) !important;
}

.header-info a.link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ak-white);
    transition: .15s linear color;
}

.header-info .row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info .row-middle {
    display: flex;
    align-items: center;
}

.header-info a.link-left {
    rotate: 180deg;
    writing-mode: vertical-lr;
}

.header-info a.link-right {
    writing-mode: vertical-lr;
}

.header-info .first-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-left: 290px;
    margin-right: auto;
}

.header-info .last-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-left: 135px;
}

.header-info .row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-info .subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.bg-photo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.bg-blur {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: rgba(0, 0, 0, 0.01);
    -webkit-backdrop-filter: blur(17px);
    backdrop-filter: blur(17px);
}

#why {
    padding-top: 150px;
    padding-bottom: 130px;
}

.why-row {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 40px;
}

.why-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.why-item .question {
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.50);
    margin-bottom: 30px;
    color: rgba(0, 0, 0, 0.50);

}

.why-item .answer-primary {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.why-item .answer-secondary {
    color: rgba(0, 0, 0, 0.50);
}

#person {
    padding-top: 70px;
    padding-bottom: 130px;
}

.person-slider {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    min-height: 1000px;
    z-index: 1;
}

.person-slider .arrow-left {
    display: block;
    position: absolute;
    top: 520px;
    left: 16.5%;
    width: 45px;
    height: 10px;
    background-image: var(--ak-arrow);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(180deg);
    z-index: -1;
}

.person-slider .arrow-right {
    display: block;
    position: absolute;
    top: 520px;
    right: 16.5%;
    width: 45px;
    height: 10px;
    background-image: var(--ak-arrow);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}

.person-slide {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease-out, filter 0.5s ease-out;
    will-change: transform, filter;
}

.person-slide.slide-active {
    position: absolute;
    transform: translateX(0%);
    z-index: 3;
}

.person-slide.slide-prev {
    transform: translateX(-75%) scale(0.45);
    position: absolute;
    z-index: 2;
}

.person-slide.slide-next {
    transform: translateX(75%) scale(0.45);
    position: absolute;
    z-index: 2;
}

.person-slider.direction-right .person-slide.slide-next,
.person-slider.direction-left .person-slide.slide-prev {
    z-index: 1;
}

.person-slide__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 110px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 27.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: -0.4em;
    z-index: 1;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Simplified transition */
    will-change: opacity, transform;
}

.person-slide__photo {
    width: 420px;
    margin: 0 auto 64px auto;
    transition: filter 0.5s ease-out;
    filter: grayscale(1);
}

.person-slide__quote {
    position: relative;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-slide__quote:before {
    content: "[";
    color: var(--ak-red);
    font-size: 32px;
}

.person-slide__quote:after {
    content: "]";
    color: var(--ak-red);
    font-size: 32px;
}

.person-slide__text {
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transform-origin: top center;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

.person-slide__link {
    display: block;
    text-decoration: none;
    color: var(--ak-black);
    margin: 30px auto 0 auto;
}

.slide-active .person-slide__photo {
    filter: grayscale(0);
}

.slide-prev .person-slide__title,
.slide-next .person-slide__title {
    transform: scale(0.5);
    opacity: 0;
}

.slide-prev .person-slide__text,
.slide-next .person-slide__text {
    transform: scale(0);
    opacity: 0;
}

#showreel {
    padding-top: 205px;
    position: relative;
    height: 1030px;
}

#showreel .bg-50 {
    position: absolute;
    right: 50%;
    top: 0;
    z-index: -1;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.showreel-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.showreel {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 50px;
}

.showreel .btn-play {
    position: absolute;
    top: calc(50% - 27px);
    left: calc(50% - 27px);
    width: 54px;
    height: 54px;
    fill: var(--ak-white);
    opacity: .7;
    transition: opacity .5s;
}

.showreel-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: transform .5s;
}

.showreel:hover .btn-play {
    opacity: 1;
}

.showreel:hover .showreel-bg {
    transform: scale(1.1);
}


#gallery {
    padding-top: 70px;
    padding-bottom: 70px;
}

#gallery .section-name {
    margin-bottom: 100px;
}

.gallery-grid {
    display: grid;
    gap: 40px;
    grid-template-rows: 402px 395px 292px 474px minmax(0, 1fr);
    grid-template-columns: 1fr 261px 1fr;
    max-width: 1080px;
    margin: 0 auto;
}

.gallery-item img {
    filter: grayscale(1);
    transition: .2s linear filter;
}

.gallery-item:hover img {
    filter: grayscale(0);
}

.gallery-item:nth-child(3) {
    grid-row: span 2;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4),
.gallery-item:nth-child(7),
.gallery-item:nth-child(10) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:first-child, .gallery-item:last-child {
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}

.gallery-item:first-child:before {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: -24px;
    border-top: 2px solid var(--ak-red);
    border-left: 2px solid var(--ak-red);
}

.gallery-item:first-child:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0;
    left: -24px;
    border-left: 2px solid var(--ak-red);
    border-bottom: 2px solid var(--ak-red);
}

.gallery-item:last-child:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: -24px;
    border-right: 2px solid var(--ak-white);
    border-top: 2px solid var(--ak-white);
}

.gallery-item:last-child:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border-right: 2px solid var(--ak-white);
    border-bottom: 2px solid var(--ak-white);
    bottom: 0;
    right: -24px;
}

#rider {
    padding-top: 30px;
    padding-bottom: 70px;
    text-align: center;
}

#rider .section-name {
    color: var(--ak-white);
    text-decoration: none;
}

#reviews {
    padding-top: 135px;
    padding-bottom: 135px;
    overflow: hidden;
}

#reviews .tns-ovh {
    overflow: unset;
    display: flex;
    width: 100%;
}

#reviews .tns-outer {
    display: flex;
    width: 100%;
}

#reviews .tns-inner {
    height: 100%;
}

#reviews .tns-slider {
    height: 100%;
}

.reviews-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 70px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.50);
}

.reviews-slider {
    display: grid;
}

.review-item {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    user-select: none;
    width: 440px;
    flex-shrink: 0;
    padding-right: 40px;
}

.review-author {
    margin-top: 20px;
    flex-shrink: 0;
    line-height: 1;
    font-size: 16px;
}

.review-author .name {
    margin-bottom: 5px;
}

.review-author .post {
    color: rgba(0, 0, 0, 0.50);
    min-height: 32px;
}

#companies {
    padding-bottom: 150px;
}

.partners-list {
    position: relative;
    margin-bottom: 80vh;
}

.portfolio {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: sticky;
    top: 0;
    text-align: center;
    z-index: 100;
    filter: drop-shadow(1px 2px 10px black);
}

.portfolio .section-name {
    margin-bottom: 30px;
}

.portfolio .title {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.portfolio .cta-text {
    color: var(--ak-white-50);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.partner-item {
    width: 250px;
    position: absolute;
}

.partner-item .partner-logo {
    width: 250px;
    height: 250px;
    padding: 32px 42px;
    border: 1px solid var(--ak-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item .partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-item .partner-text {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-top: 5px;
}

.partner-item .partner-text .title {
    color: var(--ak-white);
}

.partner-item .partner-text .period {
    color: var(--ak-red);
}

#contacts {
    height: 100vh;
    min-height: 400px;
    position: relative;
}

.contacts-bg {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    background-color: var(--ak-black);
}

.contacts-bg img {
    position: absolute;
    height: 100%;
    width: auto;
}


.contacts-info {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

.contacts-info .row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 70px;
}

.contacts-info .row-bottom a.link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ak-black);
}

.quote {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: "Cormorant Garamond", serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-top: auto;
    margin-bottom: auto;
}

.quote .text-start {
    margin-right: 54px;
}

.quote .text-end {
    display: block;
    margin-left: auto;
    margin-right: 54px;
}

.quote .quote-sign {
    margin-left: auto;
    margin-right: 12px;
    margin-top: 10px;
}

.footer-menu {
    padding-top: 70px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
}

.footer-menu .menu-title {
    margin-bottom: 15px;
    color: var(--ak-white);
    font-weight: 500;
    line-height: 1;
}

.footer-menu .menu-elems {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-menu .menu-elems .menu-item .nav-link {
    color: var(--ak-white-50);
}

.footer-menu .menu-elems .menu-item .nav-link:hover {
    color: var(--ak-white);
}

.footer-text {
    padding: 25px 0;
    line-height: 1;
    font-size: 12px;
    color: var(--ak-white-50);
    --bs-link-color-rgb: var(--ak-white-rgb);
    --bs-link-hover-color: var(--ak-white-rgb);
    --bs-link-hover-color-rgb: var(--ak-white-rgb);
    --bs-link-opacity: 0.5;
    border-top: 1px solid var(--ak-white);
}

footer a {
    text-decoration: none;
}

footer a:hover {
    --bs-link-opacity: 1;
}


.footer-title {
    color: var(--ak-white);
    text-transform: uppercase;
    margin: auto;
    display: block;
    text-align: center;
}

.footer-copyright {
    display: block;
    margin-left: auto;
}


.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.reviews-slider .swiper-wrapper {
    transform: translate3d(0, 0, 0); /* триггер GPU */
    will-change: transform; /* улучшение плавности */
}

@media (max-width: 1399.98px) {

    body {
        font-size: 16px;
    }

    .header-info .last-name {
        font-size: 74px;
        margin-left: 95px;
    }

    #why {
        padding-top: 145px;
        padding-bottom: 100px;
    }

    .why-item .question {
        margin-bottom: 20px;
    }

    .why-item .answer-primary {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .showreel-title {
        font-size: 74px;
    }

    .gallery-grid {
        gap: 36px;
        max-width: 962px;
        grid-template-rows: 355px 349px 258px 419px 1fr;
        grid-template-columns: 1fr 230px 1fr;
    }

    .reviews-title {
        margin-bottom: 50px;
    }

    .contacts-info .row-bottom {
        padding-right: 60px;
    }

    .footer-menu {
        font-size: 18px;
    }

    .person-slide__title {
        font-size: 100px;
        letter-spacing: 25px;
    }

    .person-slider .arrow-left {
        left: 17%;
    }

    .person-slider .arrow-right {
        right: 17%;
    }
}

@media (max-width: 1199.98px) {

    .container {
        max-width: 840px;
    }

    .header-info .last-name {
        font-size: 48px;
        margin-left: 93px;
    }

    .header-info .first-name {
        margin-left: 235px;
        font-size: 28px;
    }

    .header-info a.link {
        font-size: 10px;
    }

    .header-info .subtitle {
        font-size: 16px;
    }

    #why {
        padding-top: 135px;
    }

    .why-item .question {
        font-size: 14px
    }

    .why-item .answer-primary {
        font-size: 24px;
    }

    .why-item .answer-secondary {
        font-size: 14px;
    }

    #showreel {
        padding-top: 190px;
        height: 760px;
    }

    .showreel-title {
        font-size: 60px;
        margin-bottom: 30px;
    }

    .showreel {
        margin-bottom: 30px;
    }

    .showreel .btn-play {
        top: calc(50% - 20px);
        left: calc(50% - 20px);
        width: 40px;
        height: 40px;
    }

    #gallery .section-name {
        margin-bottom: 70px;
    }

    .gallery-grid {
        gap: 26px;
        max-width: 722px;
        grid-template-rows: 265px 260px 192px 312px minmax(0, 1fr);
        grid-template-columns: 1fr 172px 1fr;
    }

    #rider {
        padding-top: 0;
    }

    #reviews {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .reviews-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .review-item {
        width: 400px;
    }

    .review-text {
        font-size: 14px;
    }

    .review-author {
        font-size: 12px;
    }

    .portfolio .section-name {
        margin-bottom: 20px;
    }

    .portfolio .title {
        font-size: 44px;
        margin-bottom: 40px;
    }

    .partner-item {
        width: 200px;
    }

    .partner-item .partner-logo {
        width: 200px;
        height: 200px;
        padding: 24px 34px;
    }

    .partner-item .partner-text {
        font-size: 10px;
    }

    .partners-list {
        position: relative;
        /*margin-bottom: 260px;*/
    }

    #companies {
        padding-bottom: 10px;
    }


    #contacts {
        max-height: 620px;
    }

    .quote {
        font-size: 36px;
    }

    .quote .text-end, .quote .text-start {
        margin-right: 20px;
    }

    .quote-sign {
        width: 176px
    }

    .quote-sign svg {
        max-width: 100%;
        height: auto;
    }

    .contacts-info {
        padding-bottom: 20px;
    }

    .contacts-info .row-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .footer-menu {
        font-size: 16px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .btn {
        font-size: 10px;
    }

    .footer-text {
        padding: 20px 0;
    }

    .person-slide__photo {
        width: 100%;
    }

    .person-slide__title {
        font-size: 80px;
        letter-spacing: 20px;
    }

    .person-slide__quote {
        font-size: 16px;
    }

    .person-slide__quote:before,
    .person-slide__quote:after {
        font-size: 22px;
    }

    .person-slider .arrow-left {
        top: 490px;
        left: 18.3%;
    }

    .person-slider .arrow-right {
        top: 490px;
        right: 18.3%;
    }

}

@media (max-width: 991.98px) {

    .container {
        max-width: 648px;
    }

    .header-info .last-name {
        font-size: 42px;
        margin-left: 40px;
    }

    .header-info .first-name {
        margin-left: auto;
        margin-right: 40px;
        font-size: 20px;
    }

    .header-info .subtitle {
        font-size: 14px;
    }

    #why {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .why-item .question {
        font-size: 12px;
        min-height: 29px;
        display: block;
        padding-bottom: 5px;
    }

    .why-item .answer-primary {
        font-size: 16px;
    }

    .why-item .answer-secondary {
        font-size: 12px;
    }

    #showreel {
        padding-top: 127px;
        height: 600px;
    }

    .showreel-title {
        font-size: 54px;
        margin-bottom: 20px;
    }

    .showreel {
        margin-bottom: 20px;
    }

    .gallery-grid {
        max-width: 530px;
    }

    .gallery-item:last-child:after,
    .gallery-item:last-child:before,
    .gallery-item:first-child:after,
    .gallery-item:first-child:before {
        width: 32px;
        height: 32px;
    }

    .section-name {
        font-size: 16px;
    }

    .review-item {
        width: 380px;
    }

    .partner-item {
        width: 160px;
    }

    .partner-item .partner-logo {
        width: 160px;
        height: 160px;
        padding: 20px 30px;
    }

    .quote {
        font-size: 24px;
    }

    .quote-sign {
        width: 126px;
    }

    .contacts-info {
        padding-top: 80px
    }

    .footer-menu {
        font-size: 14px;
    }

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

    .footer-text .row {
        align-items: center;
    }


    .person-slide__photo {
        margin-bottom: 26px;
    }

    .person-slide__title {
        font-size: 60px;
        letter-spacing: 15px;
    }

    .person-slide__quote {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .person-slide__quote:before,
    .person-slide__quote:after {
        font-size: 16px;
    }

    .person-slide__description {
        font-size: 12px;
    }

    #person {
        padding-bottom: 100px;
    }

    .person-slider {
        min-height: 720px;
    }

    .person-slide__link {
        margin-top: 20px;
        font-size: 14px;
    }

    .person-slider .arrow-left {
        top: 375px;
        left: 16.5%;
    }

    .person-slider .arrow-right {
        top: 375px;
        right: 16.5%;
    }
}

@media (max-width: 767.98px) {

    .container {
        --bs-gutter-x: 24px;
    }

    .btn-primary {
        --bs-btn-border-color: var(--ak-red);
        --bs-btn-color: var(--ak-white);
        --bs-btn-bg: var(--ak-red);
    }


    .header-info .last-name {
        font-size: 36px;
    }

    .header-info .first-name {
        margin-left: auto;
        font-size: 18px;
    }

    .why-row {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        --bs-gutter-y: 50px;
    }

    .why-item {
        padding-top: 0;
        padding-bottom: 0;
    }

    .why-item .question {
        min-height: unset;
        margin-bottom: 15px;
    }

    .why-item .answer-primary {
        margin-bottom: 20px;
    }


    #showreel .bg-50 {
        display: none;
    }

    .showreel-title {
        font-size: 46px;
        text-align: center;
    }

    #showreel {
        padding-top: 120px;
        height: auto;
        text-align: center;
        padding-bottom: 120px;
    }

    .showreel {
        margin-bottom: 90px;
    }

    .gallery-item:first-child, .gallery-item:last-child {
        padding: 0;
    }

    .gallery-item:last-child:after, .gallery-item:last-child:before, .gallery-item:first-child:after, .gallery-item:first-child:before {
        content: unset;
    }

    .gallery-grid {
        gap: 20px;
        grid-template-rows: 180px 200px 190px 200px minmax(0, 1fr);
        grid-template-columns: 1fr 1fr 1fr;
    }

    #companies {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .portfolio {
        height: auto;
        position: relative;
        top: unset;
    }

    .portfolio .title {
        font-size: 30px;
        margin-bottom: 50px;
    }

    .only-desktop {
        display: none !important;
    }

    .partners-list {
        margin-bottom: 50px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 32px 20px;
    }

    .partner-item {
        width: auto;
        max-width: 25%;
        position: relative;
    }

    .partner-item .partner-logo {
        padding: 0;
        border: 0;
        width: auto;
        height: 50px;
    }

    .partner-item .partner-text {
        display: none;
    }

    #contacts {
        min-height: unset;
        height: auto;
        max-height: unset;
        display: flex;
        flex-direction: column-reverse;
        overflow: hidden;
    }

    .contacts-bg {
        position: relative;
        width: 100%;
        padding-top: 100%;
        left: 0;
    }

    .contacts-bg img {
        top: -10%;
        left: -10%;
        width: 120%;
        height: 120%;
        object-fit: cover;
        object-position: top center;
        pointer-events: none;
        user-select: none;
    }

    .contacts-info {
        width: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .quote {
        font-size: 24px;
        max-width: 260px;
        margin: auto;
        position: relative;
    }

    .quote .text-end, .quote .text-start {
        margin-right: 0;
    }

    .quote .quote-sign {
        width: 130px;
        position: absolute;
        right: -60px;
        top: 100%;
        margin: 0;
    }

    .contacts-container {
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        background: linear-gradient(1deg, var(--ak-black), transparent);
    }

    .contacts-container .link {
        color: var(--ak-white);
        text-decoration: none;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-menu {
        font-size: 12px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-text {
        padding: 10px 0;
        font-size: 8px;
    }

    .header-info .subtitle {
        font-size: 12px;
    }

    .section-name {
        font-size: 12px;
    }

    .btn {
        font-size: 12px;
    }

    .person-slide__title {
        font-size: 48px;
        letter-spacing: 12px;
    }

    #person {
        padding-bottom: 70px;
    }

    .person-slider .arrow-left {
        top: 325px;
        left: 16.5%;
    }

    .person-slider .arrow-right {
        top: 325px;
        right: 16.5%;
    }
}

@media (max-width: 575.98px) {

    .header-info .row-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .header-info .row-middle {
        position: relative;
        top: 6vw;
    }

    .header-info .row-top .btn,
    .header-info .row-bottom .link,
    .header-info .row-middle .link {
        display: none;
    }

    .header-info a.link {
        font-size: 12px;
    }

    .header-info .last-name {
        margin-left: 0;
        font-size: 7.5vw;
    }

    .header-info .first-name {
        margin-left: 32vw;
        margin-right: 0;
        font-size: 16px;
    }

    .review-item {
        width: 80vw;
        padding-right: 0;
    }

    .gallery-grid {
        gap: 12px;
        grid-template-rows: 150px 180px 150px 160px 200px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #person {
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .person-slider {
        min-height: unset;
        overflow-x: scroll;
        -webkit-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }

    .person-slide.slide-next, .person-slide.slide-prev, .person-slide.slide-active {
        position: relative;
        transform: unset;
        width: 100%;
        left: unset;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .person-slide__title, .person-slide__text {
        transform: unset !important;
        opacity: 1 !important;
        position: relative;
        top: unset;
        left: unset;
    }

    .person-slide__photo {
        width: 60%;
        margin: 0 auto 30px auto;
        filter: unset;
        position: relative;
    }

    .person-slide__link {
        font-size: 12px;
    }

    .slide-1:after,
    .slide-2:after {
        content: "";
        display: block;
        position: absolute;
        top: 180px;
        right: 5%;
        width: 30px;
        height: 10px;
        background-image: var(--ak-arrow);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .slide-3:before,
    .slide-2:before {
        content: "";
        display: block;
        position: absolute;
        top: 180px;
        left: 5%;
        width: 30px;
        height: 10px;
        background-image: var(--ak-arrow);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        rotate: 180deg;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
        grid-auto-rows: 50vw;
    }

    .gallery-item:nth-child(1) {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
    }

    .gallery-item:nth-child(3) {
        grid-row: 1 / 3;
    }

    .gallery-item:nth-child(5),
    .gallery-item:nth-child(8),
    .gallery-item:nth-child(6) {
        display: none;
    }

    .gallery-item:nth-child(9) {
        grid-column: 2 / 3;
        grid-row: 6 / 8;
    }

    .gallery-item:nth-child(10) {
        grid-column: span 1;
        grid-row: 7/8;
    }

    .person-slider .arrow-left,
    .person-slider .arrow-right {
        display: none;
    }

}

@media (max-width: 360px) {
    .quote .quote-sign {
        right: -20px;
    }

    .person-slide__title {
        font-size: 36px;
        letter-spacing: 10px;
    }
}