:root {
    --bs-dark-rgb: 26, 25, 24;
    --bs-primary-rgb: 227, 30, 36;
    --bs-light-rgb: 252, 245, 238;
    --bs-font-sans-serif: "Roboto", sans-serif;
    --anim: 0.4s ease;
}

a, button {
    color: inherit;
}

img, svg {
    max-width: 100%;
    height: auto;
}

svg {
    fill: currentColor;
}

.accordion__item {
    background-color: rgb(249, 236, 220, 1);
}

.accordion__descr {
    display: none;
}

.accordion__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background-color: rgb(var(--bs-dark-rgb), 0.2);
    width: 50px;
    height: 20px;
    border-radius: 50px;
}

.accordion__icon::before, .accordion__icon::after {
    content: '';
    width: 12px;
    height: 1px;
    background-color: currentColor;
}

.accordion__icon::after {
    position: absolute;
    rotate: 90deg;
}

.accordion__item--active .accordion__icon::after {
    height: 0;
}

.accordion__item--active .accordion__icon {
    background-color: rgb(var(--bs-dark-rgb));
    color: rgb(var(--bs-white-rgb));
}

.accordion__caption {
    font-size: 20px;
}

.accordion__item--active .accordion__descr {
    display: block;
}
.content *:last-child {
    margin-bottom: 0px;
}

.title {
    font-size: 42px;
    font-weight: 500;
}

.slider-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgb(var(--bs-white-rgb), 0.2);
}

.slider-arrow.swiper-button-disabled {
    opacity: 0.2;
}

.slider-arrow.swiper-button-locked {
    display: none;
}

.slider-pagination {
    display: flex;
}

.slider-pagination__el {
    flex: 1 0 auto;
    background-color: rgba(249, 236, 220, 1);
    height: 4px;
    margin-top: 24px;
    position: relative;
}

.slider-pagination__el::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: rgb(var(--bs-dark-rgb)); */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--anim);
}

.slider-pagination__el--active::before {
    transform: scaleX(1);
}

.slider-progress {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: black;
    pointer-events: none;
    transition: width var(--anim);
}

.burger {
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 12px;
    gap: 4px;
    border: none;
    background-color: rgb(var(--bs-dark-rgb));
}

.burger::before, .burger::after, .burger__line {display: block;width: 100%;height: 2px;background-color: white;border-radius: 50px;}

.burger::before, .burger::after {
    content: '';
}

.burger::before {
    width: 70%;
}

.burger::after {
    width: 50%;
}

.burger--active .burger__line {rotate: 45deg;}

.burger--active::before {
    position: absolute;
    width: 20px;
    rotate: -45deg;
}

.burger--active::after {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgb(var(--bs-white-rgb));
    font-weight: 600;
    background-color: rgb(var(--bs-primary-rgb));
    border: 1px solid transparent;
    text-decoration: none;
}

.button--border {
    background-color: transparent;
    border-color: currentColor;
}

.button--white {
    color: rgb(var(--bs-white-rgb));
}

.picture-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.picture-bg--dark::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.52) 100%);
}

.socials__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(var(--bs-white-rgb), 0.2);
    border-radius: 50%;
}

.socials__item img {
    width: 16px;
}

.header {
    z-index: 100;
    transition: backdrop-filter var(--anim), background-color var(--anim);
}

.header--active {
    background-color: rgb(var(--bs-dark-rgb), 0.5);
    backdrop-filter: blur(20px);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background-color: rgb(var(
    --bs-white-rgb), 0.2);
}

.header__socials .socials__item {
    width: 44px;
    height: 44px;
    background: rgb(var(--bs-white-rgb), 0.2);
    border: none;
    border-radius: 0;
    backdrop-filter: blur(12px)
}

.menu__link:not(:last-child) {
    margin-right: 30px;
    opacity: 0.75;
}

.header__contact {
    font-size: 14px;
}

.hero {
    min-height: 600px;
}

.hero__bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.62) 100%);
}

.hero__title {
    font-size: 64px;
}

.hero__description {
    font-size: 22px;
}

/*.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 41%;
    height: 100%;
    background-color: rgb(var(--bs-dark-rgb));
    z-index: 1;
}*/

.services__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgb(var(--bs-dark-rgb));
    z-index: 2;
}

.services-item {
    background-color: rgb(var(--bs-white-rgb), 0.05);
}

.services-item__wrapper {
    height: auto;
}

.services-item__name {
    font-size: 18px;
    line-height: 1.2;
}

.catalog-item {
    background-color: rgba(249, 236, 220, 1);
}

.catalog-item__name {
    font-size: 24px;
}

.catalog-item__more {
    width: 27px;
    height: 27px;
    padding: 0;
    border: none;
    background-color: rgb(var(--bs-dark-rgb));
    color: rgb(var(--bs-white-rgb));
    transition: background-color var(--anim);
}

.catalog-item__more:hover {
    background-color: rgb(var(--bs-primary-rgb));
}

.portfolio-item__arrows .slider-arrow {
    --offset-x: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgb(var(--bs-white-rgb));
    width: 40px;
    height: 40px;
}

.portfolio-item__arrows .slider-arrow--prev {
    left: var(--offset-x);
}

.portfolio-item__arrows .slider-arrow--next {
    right: var(--offset-x);
}

.about-advantage__value {
    font-size: 72px;
}

.about-advantage::before {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background-color: rgb(var(--bs-dark-rgb), 0.2);
    transition: background-color var(--anim);
}

.about-advantage {
    padding-top: 10px;
    transition: padding var(--anim), background-color var(--anim), color var(--anim);
}

.about-advantage:hover {
    padding: 10px;
    background-color: rgb(var(--bs-dark-rgb));
    color: rgb(var(--bs-white-rgb));
}

.about-advantage:hover::before {
    background-color: rgb(var(--bs-white-rgb), 0.2);
}

.team-item {
    background-color: rgba(37, 37, 36, 1);
}

.team-item__position {
    font-size: 14px;
}

.offer__wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px);
}

.offer__title {
    font-size: 24px;
    line-height: 1.2;
}

.reviews-item {
    border-left: 1px solid rgb(var(--bs-dark-rgb), 0.2);
}

.reviews-item__name {
    font-size: 24px;
}

.reviews-item__image {
    max-width: 72px;
}

.feedback__manager {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feedback__manager-avatar {
    flex: 0 0 auto;
    width: 90px;
}

.feedback__wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px);
}

.form-file {
    display: flex;
    cursor: pointer;
}

.form-file__caption {
    flex: 1 0 auto;
    width: 160px;
    background-color: rgb(var(--bs-white-rgb));
    color: rgb(var(--bs-dark-rgb), 0.7);
}

.form-file__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
}

.form-file__caption::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(270deg, rgb(var(--bs-white-rgb)), transparent);
}

.form-file__caption {
    position: relative;
}

.footer-contact {
    min-height: 240px;
    padding-top: 10px;
    border-top: 1px solid rgb(var(--bs-white-rgb), 0.2);
}

.mobmenu {
    position: fixed;
    z-index: 1000;
    top: 87px;
    width: 100%;
    height: 100%;
    display: none;
}

.mobmenu--active {
    display: block;
}

.mobmenu__list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.mobmenu__content {
    background-color: rgb(var(--bs-dark-rgb), 0.5);
    backdrop-filter: blur(20px);
    padding: 15px;
    color: rgb(var(--bs-white-rgb));
}

@media (min-width: 1400px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1344px;
    }
}

@media (max-width: 1199px) {
    .title {
        font-size: 38px;
    }
    
    .header::after {
        width: calc(100% - 30px);
    }
    
    .hero__title {
        font-size: 52px;
    }
    
    .services-item {
        min-height: 360px;
    }
    
    .services-item__name, 
    .catalog-item__name, 
    .reviews-item__name,
    .offer__title {
        font-size: 22px;
    }
}



@media (max-width: 991px) {
    .title {
        font-size: 36px;
    }
    
    .hero__title {
        font-size: 52px;
    }
    
    .services-item__name, 
    .catalog-item__name, 
    .reviews-item__name,
    .offer__title {
        font-size: 20px;
    }
    
    .footer-contact {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .hero__title {
        font-size: 42px;
    }
    
    .hero__description {
        font-size: 18px;
    }
    
    .services-item {
        min-height: auto;
    }
    
    .services-item__name, 
    .catalog-item__name, 
    .reviews-item__name,
    .offer__title,
    .accordion__caption {
        font-size: 18px;
    }
    
    .about-advantage__value {
        font-size: 52px;
    }
    
    .mobmenu {
        top: 83px;
    }
    
    .mobmenu__list {
        flex-direction: column;
    }
    
    .mobmenu__phone {
        font-size: 18px;
    }
}