.frontpage-slider {
    position: relative;
    height: 628px;
}

.frontpage-slider .swiper {
    height: 100%;
}

.frontpage-slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 112px;
    background: rgba(0, 0, 0, .6);
    z-index: 5;
}

.frontpage-slider__overlay-content {
    position: relative;
    height: 100%;
}

.frontpage-slider__overlay-header {
    font-size: 80px;
    font-weight: 700;
    line-height: 97.52px;
    text-align: center;
    color: var(--ui-text-white);
}

.frontpage-slider__overlay-header,
.frontpage-slider__overlay-header-sub,
.frontpage-slider__overlay-btn-grp {
    position: relative;
    z-index: 1;
}

.frontpage-slider__overlay-header em {
    font-style: normal;
    color: var(--ui-primary);
}   

.frontpage-slider__overlay-header-sub {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: var(--ui-text-white);
}

.frontpage-slider__overlay-btn-grp {
    margin: 32px auto 0;
    display: flex;
    justify-content: center;
}

.frontpage-slider__overlay-btn:not(:last-child) {
    margin-right: 16px;
}

.frontpage-slider__overlay-btn {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: var(--border-radius-m);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    font-size: 24px;
    font-weight: 500;
    line-height: 29.26px;
    color: var(--ui-text-white);
    cursor: default;

    text-wrap: balance;
}

.frontpage-slider__overlay-btn a {
    text-decoration: none;
}

.frontpage-slider__overlay-btn .icon {
    margin-right: 12px;
    font-size: 22px;
}

.frontpage-slider__overlay-btn .path1:before {
    color: var(--ui-primary);
}

.frontpage-slider__overlay-btn .path2:before {
    color: rgba(0, 0, 0, .6);
}

.frontpage-slider__nav-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.frontpage-slider__nav {
    top: initial;
    bottom: 48px;
    gap: 20px;
}

.frontpage-slider__nav .ui-arrow-left,
.frontpage-slider__nav .ui-arrow-right {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.frontpage-slider__nav .ui-arrow-left::after,
.frontpage-slider__nav .ui-arrow-right::after {
    position: relative;
    top: -1px;
    font-size: 32px;
}

.frontpage-slider__nav .ui-arrow-left:disabled,
.frontpage-slider__nav .ui-arrow-right:disabled {
    background: var(--color-dark);
}

.frontpage-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.frontpage__projects-our section {
    padding-top: 0;
    margin-bottom: var(--section-padding-bottom);
}

.frontpage__page-services .page-services {
    margin-bottom: 0;
    row-gap: var(--section-padding-bottom);
}


.quality-section__content {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--bs-gutter-x);
    grid-gap: var(--bs-gutter-x);
}

.quality-section__header {
    overflow-wrap: break-word;
    hyphens: auto;
}

.quality-section__col:first-child {
    padding-left: 40px;
    grid-column: 1 / span 4;
    display: flex;
    flex-direction: column;
}

.quality-section__col:last-child {
    padding-left: calc(56px - var(--bs-gutter-x));
    padding-right: 40px;
    grid-column: 5 / span 8;
}

.quality-section__image {
    flex: 100% 1 1;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    object-fit: cover;
}

.quality-section__pros {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-gap: 40px;
}

.youtube-section {
    padding: 60px 0;
    background: white;
}

.youtube-section__content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--bs-gutter-x);
    grid-gap: var(--bs-gutter-x);
}

.youtube-section__col:first-child {
    grid-column: 1 / span 8;
}

.youtube-section__col:last-child {
    grid-column: 9 / span 4;
}

.youtube-section__video {
    margin-bottom: 24px;
    width: 100%;
    height: 512px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ui-secondary);
}

.youtube-section__video iframe {
    height: 100%;
}

.youtube-section__video-title {
    margin-bottom: 16px;
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 29.26px;
    color: var(--ui-text-primary);
    text-decoration: none;
}

.youtube-section__channel {
    display: flex;
    gap: 16px;
}

.youtube-section__logo {
    width: 40px;
    height: 40px;
    padding: 5px 5px 5px 7.4px;
    background-color: #2b2e33;
    border-radius: 50%;
    overflow: hidden;
}

.youtube-section__logo img {
    height: 25px;
}

.youtube-seciton__company-name {
    padding-top: 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--ui-text-primary);
}

.youtube-seciton__channel-name {
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--ui-text-secondary);
}

.youtube-section__list {
    max-height: 512px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.youtube-section__list::-webkit-scrollbar {
	width: 8px;
	border-radius: 10px;
}
.youtube-section__list::-webkit-scrollbar-track {
	background: var(--ui-background);
}
.youtube-section__list::-webkit-scrollbar-thumb {
	background: var(--ui-primary);
}
.youtube-section__list::-webkit-scrollbar-thumb:hover {
	background: var(--ui-primary);
}

.youtube-section__list-video {
    margin-bottom: 16px;
    display: flex;
    cursor: pointer;
    transition: background .4s;
}

.youtube-section__list-video:hover {
    background: var(--ui-text-white);
}


.youtube-section__list-image {
    flex-shrink: 0;
    margin-right: 12px;
    width: 208px;
    height: 125px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

.youtube-section__list-desc {
    padding-right: 16px;
    display: flex;
    flex-direction: column;
}

.youtube-section__list-title {
    max-height: 66px;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: var(--ui-text-primary);
    overflow: hidden;
}

.youtube-section__list-desc-text {
    margin-top: auto;
    max-height: 54px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--ui-text-secondary);
    overflow: hidden;
}

.section-catalog__content {
    padding: 32px;
}

.section-catalog__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 32px;
    gap: 32px;
}

.section-catalog__title-grp {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.section-catalog__link {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: var(--ui-text-primary);
    text-decoration: none;
    background: var(--neutrals-200);
    border-radius: var(--border-radius-l);
    transition: background .4s;
}

.section-catalog__link:hover {
    background: var(--neutrals-300);
}

.section-catalog__image {
    flex-grow: 1;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-catalog__image img {
    max-width: 320px;
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.section-catalog__title {
    margin-right: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-catalog__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 24px;
    border-radius: 50%;
    background: #EBEDF0;
}

.section-catalog ~ .projects-our {
    padding-top: 0;
}



@media (max-width: 1399px) {

    .youtube-section__col:first-child {
        grid-column: 1 / span 7;
    }
    
    .youtube-section__col:last-child {
        grid-column: 8 / span 5;
    }
}


@media (max-width: 1199px) {

    .frontpage-slider {
        height: 560px;
    }

    .frontpage-slider__overlay-header {
        font-size: 64px;
        line-height: 78px;
    }

    .frontpage-slider__overlay-header-sub {
        font-size: 18px;
        line-height: 28px;
    }

    .frontpage-slider__overlay-btn {
        font-size: 18px;
        line-height: 22px;
    }

    .quality-section__content {
        display: block;
        padding: 40px 32px;
    }

    .quality-section__col:first-child {
        margin-bottom: 56px;
        padding-left: 0;
    }

    .quality-section__col:last-child {
        padding: 0;
    }

    .quality-section__image {
        max-height: 336px;
    }

    .section-catalog__list {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 288px;
    }

    .section-catalog__image img {
        max-width: 100%;
        max-height: 200px;
        width: 408px;
        height: 100%;
    }

    .section-catalog__link:not(:last-child) {
        margin-bottom: 32px;
    }

    .youtube-section {
        padding: 40px 0;
    }

    .youtube-section__content {
        display: block;
    }

    .youtube-section__col:first-child {
        margin-bottom: 56px;
    }

    .youtube-section__video {
        height: 100%;
        aspect-ratio: 16 / 9;
    }

    .youtube-section__list {
        display: flex;
        overflow-x: auto;
    }

    .youtube-section__list::-webkit-scrollbar {
        height: 8px;
    }

    .youtube-section__list-video {
        flex-direction: column;
    }

    .youtube-section__list-image {
        margin-bottom: 12px;
        width: 244px;
        height: 148px;
    }

    .youtube-section__list-desc {
        flex-grow: 1;
    }

    .youtube-section__list-title {
        margin-bottom: 4px;
    }
}


@media (max-width: 767px) {

    .frontpage-slider {
        min-height: 620px;
    }

    .frontpage-slider__overlay-header {
        font-size: 42px;
        line-height: 52px;
    }

    .frontpage-slider__overlay-btn-grp {
        flex-direction: column;
        max-width: 360px;
    }

    .frontpage-slider__overlay-btn:nth-child(n) {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .frontpage-slider__nav {
        /* display: none; */
        position: absolute;
        left: 0;
        justify-content: center;
        bottom: 32px;
    }

    .quality-section__pros {
        display: block;
    }

    .section-catalog__content {
        padding: 32px 16px;
    }

    .youtube-seciton .ui-h3,
    .section-catalog__content .ui-h3 {
        font-size: 32px;
        line-height: 40px;
    }
}


@media (max-width: 575px) {
    .quality-section__header {
        font-size: 32px;
        line-height: 40px;
    }

    .quality-section__content {
        padding: 24px 16px;
    }

    .quality-section__image {
        margin-top: -16px;
    }

    .quality-section__col:first-child {
        margin-bottom: 16px;
    }

    .section-catalog__content {
        display: block;
    }

    .section-catalog__list {
        display: block;
    }
}

@media (max-width: 375px) {
    .frontpage-slider__nav {
        bottom: 16px;
    }
}