.tabsHeadPlace{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}
.tabsHeadPlace span,
.tabsHeadPlace>a{
  color: #7a7a7a;
  position: relative;
  transition: color 0.5s ease;
  cursor: pointer;
}
.projectsHead>a{
  line-height: 50.4px;
}
.tabsHead{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 30px;
  position: relative;
}
.tabsHead::after,
.tabsHeadPlace>a::after,
.tabsHead>span::after{
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -15px;
  left: 0px;
  background-color: #7a7a7a;
  transition: background-color 0.5s ease;
}
.tabsHeadPlace>a:hover::after,
.tabsHead>span:hover::after,
.tabsHead>span.active::after{
  background-color: #fff;
  z-index: 1;
}
.tabsHeadPlace>a:hover,
.tabsHead>span:hover,
.tabsHead>span.active{
  color: #fff;
}
#tabsCarousel {
  margin-top: 50px;
  --f-carousel-spacing: 40px;
}
/* .tabsContentPlace{
  margin-top: 50px;
  width: 100%;
  height: 513px;
  position: relative;
  overflow: hidden;
} */
.tabs__panel{
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  justify-content: flex-start;
  gap:40px;
  transition: opacity 1s ease-in-out;
}
.tabContentItem{
  width: calc((100% - 120px) / 4);
  min-height: 513px;;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}
.tabContentItem>img{
  width: 100%;
  height: 260px;
  object-fit: cover;   
}
.tabDescription{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 260px);
  padding: 20px;
}
.tabDescription>div>span{
  display: inline-block;
  margin-bottom: 2px;
  color:#7a7a7a;
}
.tabDescription>div>p{
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
}
.tabContentButton{
  display: block;
  width: 100%;
  height: 35px;
  font-size: 14px;
  line-height: 35px;
  text-align: center;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.5s ease-in-out;
}
.tabContentButton.black{
  margin-top: 29px;
  background-color: #1d1d1d;
  color: #fff;
}
.tabContentButton.black:hover{
  background-color: #fff;
  color: #1d1d1d;
}
.tabContentButton.white{
  margin-top: 10px;
  color: #1d1d1d;
}
.tabContentButton.white:hover{
  background-color: #1d1d1d;
  color: #fff;
}
/* .tabs__panel{
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
  overflow: hidden;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  justify-content: flex-start;
  gap:40px;
  transition: opacity 1s ease-in-out;
}
.tabs__panel.active{
  opacity: 1;
}
.tabContentItem{
  width: calc((100% - 120px) / 4);
  height: 513px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}
.tabContentItem>img{
  width: 260px;
  height: 200px;
  object-fit: cover;   
}
.tabDescription{
  padding: 20px;
}
.tabDescription>span{
  display: inline-block;
  margin-bottom: 2px;
  color:#7a7a7a;
}
.tabDescription>p{
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
}
.tabContentButton{
  display: block;
  width: 100%;
  height: 35px;
  font-size: 14px;
  line-height: 35px;
  text-align: center;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}
.tabContentButton.black{
  margin-top: 29px;
  background-color: #1d1d1d;
  color: #fff;
}
.tabContentButton.white{
  margin-top: 10px;
  color: #1d1d1d;
} */

.tciButton{
  display: none;
}
.tabs__panel{
  position: relative;
}
@media (max-width: 1200px){
  #tabsCarousel{
    --f-carousel-spacing: 20px;
  }
  .tabs__panel{
    gap: 20px;
  }
  .tabContentItem{
    width: calc((100% - 60px) / 4);
  }
}
@media (max-width: 960px){
  .tabsHeadPlace{
    flex-wrap: wrap;
    gap: 40px;
  }
  .tabs__panel{
    flex-wrap: wrap;
  }
  .tabContentItem{
    width: calc((100% - 20px) / 2);
  }
  .tabContentItem img {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .tabs__panel{
    flex-wrap: nowrap;
  }
  .tabContentItem {
    width: calc((100% - 120px));
  }
  .tabContentItem.hidden{
    display: none;
  }
  .tciButton{
    width: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .tciButton.prev svg {
    transform: rotate(90deg);
  }
  .tciButton.next svg {
    transform: rotate(270deg);
  }
  .tciButton svg {
    opacity: 0.5;
    transition: opacity 0.5s ease;
    width: 200px;
    height: 40px;
  }
  .tciButton:hover svg {
    opacity: 1;
  }
}
@media (max-width:480px){
  .tabsHead{
    gap: 20px;
  }
  .tabs__panel{
    gap: 10px;
  }
  .tciButton{
    width: 30px;
  }
  .tabContentItem{
    width: calc((100% - 80px));
  }
}

/** --- проекты на главной --- **/
.projectsHead{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
}
.projectsHead>a{
  color: #7a7a7a;
  position: relative;
  transition: color 0.5s ease;
  cursor: pointer;
}
.projectsHead>a{
  line-height: 50.4px;
}
.projectsHead>a::after{
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: #7a7a7a;
  transition: background-color 0.5s ease;
}
.projectsHead>a:hover{
  color: #fff;
}
.projectsHead>a:hover::after{
  background-color: #fff;
}
.projectsList{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  border-top: 2px solid #7a7a7a;
}
.projectsListItem{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 220px;
  padding: 20px 0px;
  border-bottom: 2px solid #7a7a7a;
}
.projectsListItem .piNum{
  font-size: 42px;
  font-weight: 500;
  color: #7a7a7a;
}
.projectsListItem .pi{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  gap:40px;
}
.projectsListItem .pi .piDescription>a{
  display: inline-block;
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  cursor: default;
}
.projectsListItem .pi .piDescription>p{
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.projectsListItem .pi .piImage a{
  cursor: default;
}
.projectsListItem .pi .piImage{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 350px;
  flex-shrink: 0;
}
.projectsListItem .pi .piImage img{
  width: 260px;
  height: 260px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 1200px){
  .projectsListItem .pi .piImage{
    max-width: 300px;
  }
}
@media (max-width: 960px){
  .projectsHead{
    flex-direction: column;
    margin-bottom: 65px;
  }
  .projectsHead>h2{
    margin-bottom: 20px;
  }
  .projectsListItem{
    gap: 40px;
  }
  .projectsListItem .piNum{
    font-size: 25px;
  }
  .projectsListItem .pi .piDescription>a{
    margin-top: 4px;
    font-size: 18px;
    margin-bottom: 21px;
  }
  .projectsListItem .pi .piImage img{
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 640px){
  .projectsListItem .pi .piImage{
    max-width: 140px;
  }
  .projectsListItem .pi .piImage svg{
    display: none;
  }
  .projectsListItem .pi .piImage img{
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 480px){
  .projectsListItem{
    gap: 20px;
  }
  .projectsListItem .pi{
    flex-direction: column;
    gap: 10px;
  }
  .projectsListItem .piNum{
    position: absolute;
  }
  .projectsListItem .piDescription > a{
    margin-left: 60px;
  }
  .projectsListItem .pi .piImage{
    max-width: unset;
  }
  .projectsListItem .pi .piImage img{
    width: 100%;
    height: 100%;
  }
}

/** -- services & steps -- **/
#servicesCarousel{
  --f-carousel-slide-width: calc((100% - 40px) / 2);
  --f-carousel-slide-height: 430px;
  --f-carousel-spacing: 40px;
}
#stepsCarousel{
  --f-carousel-slide-width: calc((100% - 80px) / 3);
  --f-carousel-slide-height: 472px;
  --f-carousel-spacing: 40px;
}
#servicesCarousel .f-carousel__nav,
#stepsCarousel .f-carousel__nav{
  position: absolute;
  top: -75px;
  right: 0px;
}
#servicesCarousel .f-carousel__nav .f-button.is-next, 
#servicesCarousel .fancybox__nav .f-button.is-next,
#stepsCarousel .f-carousel__nav .f-button.is-next, 
#stepsCarousel .fancybox__nav .f-button.is-next{
  right: 0px!important;
  width: 30px!important;
  height: 30px!important;
}
#servicesCarousel .f-button.is-next svg, 
#servicesCarousel .fancybox__nav .f-button.is-next svg,
#stepsCarousel .f-button.is-next svg, 
#stepsCarousel .fancybox__nav .f-button.is-next svg{
  transform: rotate(270deg);
}
#servicesCarousel .f-carousel__nav .f-button.is-prev, 
#servicesCarousel .fancybox__nav .f-button.is-prev,
#stepsCarousel .f-carousel__nav .f-button.is-prev, 
#stepsCarousel .fancybox__nav .f-button.is-prev {
  left: -90px!important;
  width: 30px!important;
  height: 30px!important;
}
#servicesCarousel .f-carousel__nav .f-button.is-prev svg, 
#servicesCarousel .fancybox__nav .f-button.is-prev svg,
#stepsCarousel .f-carousel__nav .f-button.is-prev svg, 
#stepsCarousel .fancybox__nav .f-button.is-prev svg{
  transform: rotate(90deg);
}
#servicesCarousel .f-carousel__nav .f-button.is-next:hover svg path, 
#servicesCarousel .fancybox__nav .f-button.is-next:hover svg path,
#servicesCarousel .f-carousel__nav .f-button.is-prev:hover svg path,
#servicesCarousel .fancybox__nav .f-button.is-prev:hover svg path,
#stepsCarousel .f-carousel__nav .f-button.is-next:hover svg path, 
#stepsCarousel .fancybox__nav .f-button.is-next:hover svg path,
#stepsCarousel .f-carousel__nav .f-button.is-prev:hover svg path,
#stepsCarousel .fancybox__nav .f-button.is-prev:hover svg path{
  stroke: #fff;
}
#servicesCarousel .f-carousel__slide,
#stepsCarousel .f-carousel__slide{
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#servicesCarousel .f-carousel__slide{
  border: 1px solid #fff;
  background-color: #1d1d1d;
}
#stepsCarousel .f-carousel__slide{
  background-color: #fff;
}
#servicesCarousel .f-carousel__slide .slideContent,
#stepsCarousel .f-carousel__slide .slideContent{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  padding: 20px;
}
#servicesCarousel .f-carousel__slide > img{
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 260px;
  border-radius: 10px;
  object-fit: cover;
}
#stepsCarousel .f-carousel__slide > img{
  width: 100%;
  height: 100%;
  max-width: 360px;
  max-height: 250px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
}
#servicesCarousel .f-carousel__slide .slideContent>p,
#stepsCarousel .f-carousel__slide .slideContent>p{
  font-size: 27px;
  font-weight: 500;
  text-transform: uppercase;
}
#servicesCarousel .f-carousel__slide .slideContent>p{
  color:#fff;
}
#stepsCarousel .f-carousel__slide .slideContent>p{
  color: #1d1d1d;
}
#stepsCarousel .f-carousel__slide .slideContent>p>span{
  display: inline-block;
  font-size: 18px;
  margin-bottom: 10px;
  color: #7a7a7a;
}
#servicesCarousel .f-carousel__slide .slideContent>a,
#stepsCarousel .f-carousel__slide .slideContent>a{
  width: 220px;
  line-height: 35px;
  border: 1px solid #fff;
  border-radius: 10px;
  text-align: center;
  background-color: #fff;
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1d;
  transition: all 0.5s ease-in-out;
}
#servicesCarousel .f-carousel__slide .slideContent>a:hover,
#stepsCarousel .f-carousel__slide .slideContent>a:hover{
  background-color: #1d1d1d;
  color: #fff;
}
#stepsCarousel .f-carousel__slide .slideContent>a{
  border: 1px solid #1d1d1d;
  background-color: #1d1d1d;
  color: #fff;
}
#stepsCarousel .f-carousel__slide .slideContent>a:hover{
  background-color: #fff;
  color: #1d1d1d;
}
@media (max-width: 1200px){
  #servicesCarousel {
    --f-carousel-slide-width: calc((100% - 20px) / 2);
    --f-carousel-slide-height: 430px;
    --f-carousel-spacing: 20px;
  }
  #stepsCarousel {
    --f-carousel-slide-width: calc((100% - 40px) / 3);
    --f-carousel-slide-height: 472px;
    --f-carousel-spacing: 20px;
  }
}
@media (max-width: 960px){
  #servicesCarousel,
  #stepsCarousel {
    --f-carousel-slide-height: auto;
  }
  #stepsCarousel {
    --f-carousel-slide-width: calc((100% - 20px) / 2);
  }
  #servicesCarousel .f-carousel__nav, 
  #stepsCarousel .f-carousel__nav{
    top: -64px;
  }
  #servicesCarousel .f-carousel__slide > img{
    height: 260px;
    max-width: unset;
    max-height: unset;
    flex-shrink: 0;
  }
  #stepsCarousel .f-carousel__slide > img{
    max-width: unset;
  }
  #servicesCarousel .f-carousel__slide .slideContent,
  #stepsCarousel .f-carousel__slide .slideContent{
    gap: 20px;
  }
  #servicesCarousel .f-carousel__slide .slideContent>p, 
  #stepsCarousel .f-carousel__slide .slideContent>p{
    font-size: 18px;
  }
}
@media (max-width: 640px){
  #servicesCarousel,
  #stepsCarousel {
    --f-carousel-slide-width: 300px;
  }
}
@media (max-width: 480px){
  .mainServices h2,
  .mainSteps h2{
    margin-bottom: 92px;
  }
  #servicesCarousel .f-carousel__nav, 
  #stepsCarousel .f-carousel__nav{
    top: -54px;
    right: unset;
    left: 80px;
  }
  #servicesCarousel,
  #stepsCarousel {
    --f-carousel-slide-width: 100%;
  }
  
}

/** --- advantages --- **/
.advantages {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
}
.advantages .advItem{
  width: calc((100% - 80px) / 3);
  height: 210px;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}
.advantages .advItem.advWhite{
  background-color: #fff;
  color: #1d1d1d;
}
.advantages .advItem.advBlack{
  background-color: #1d1d1d;
  color: #fff;
}
.advantages .advItem .advHead{
  margin-bottom: 10px;
}
.advantages .advItem .advHead svg{
  position: absolute;
  top: 20px;
  right: 20px;
}
.advantages .advItem.advBlack .advHead svg{
  display: none;
}
.advantages .advItem .advHead>p{
  font-size: 27px;
  font-weight: 500;
  text-transform: uppercase;
}
.advantages .advItem .advBody{
  font-size: 16px;
  font-weight: 400;
}
.advantages .advItem .advBody>ul{
  margin: 5px;
}
.advantages .advItem .advBody>ul>li{
  display: block;
  position: relative;
}
.advantages .advItem .advBody>ul>li::before{
  content: '\2022';
  display: inline-block;
  width: 20px;
  height: 20px;
  color: #fff;
}

@media (max-width: 1200px){
  .advantages{
    gap: 20px;
  }
  .advantages .advItem{
    width: calc((100% - 40px) / 3);
  }
}
@media (max-width: 960px){
  .advantages .advItem{
    width: calc((100% - 20px) / 2);
  }
  .advantages .advItem .advHead>p{
    font-size: 18px;
    display: inline-block;
    width: calc(100% - 15px);
  }
}
@media (max-width: 640px){
  .advantages .advItem{
    width: 100%;
    height: 100%;
    min-height: 170px;
  }
}
@media (max-width: 480px){
  .advantages .advItem{
    min-height: 210px;
  }
}

/** --- FAQ --- **/
.accordion {
  border-top: 2px solid #7a7a7a;
}
.accordion .accordion-item {
  background-color: #1d1d1d;
  border-bottom: 2px solid #7a7a7a;
}
.accordion .accordion-item button[aria-expanded='true'] {
  background-color: #1d1d1d;
}
.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 20px 0px;
  border: none;
  background: none;
  outline: none;
}
.accordion button .accordion-title {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;

  display: flex;
  flex-direction: row;
  gap: 37px;
  margin-right: 26px;
  line-height: 24px;
}
.accordion button .accordion-title>span{
  color: #7a7a7a;
  display: inline-block;
  /* width: 72px; */
}
.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0px;
  width: 30px;
  height: 30px;
  transition: all 0.5s ease-in-out;
}
.accordion button .icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 14px;
  left: 0px;
  width: 30px;
  height: 2px;
  background: #fff;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 0px;
  left: 14px;
  width: 2px;
  height: 30px;
  background: #fff;
}
/* .accordion button[aria-expanded='true'] .icon::after {
  width: 0;
} */
.accordion button[aria-expanded='true'] .icon{
  transform: rotate(45deg);
}
.accordion button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 45em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 40px 20px 72px;
  color: #fff;
}
@media (max-width: 960px){
  .accordion button .accordion-title>span{
    font-size: 25px;
    line-height: 22px;
  }
  .accordion button .accordion-title{
    font-size: 18px;
  }
  .accordion button .icon{
    width: 20px;
    height: 20px;
    top: 25px;
  }
  .accordion button .icon::before{
    top: 9px;
    left: 0px;
    width: 20px;
  }
  .accordion button .icon::after{
    top: 0px;
    left: 9px;
    width: 2px;
    height: 20px;
  }
  .accordion button[aria-expanded='true'] + .accordion-content{
    max-height: 80em;
  }
}
@media (max-width: 640px){
  .accordion button[aria-expanded='true'] + .accordion-content{
    max-height: 80em;
  }
}
@media (max-width: 480px) {
  .accordion button[aria-expanded='true'] + .accordion-content {
    max-height: 80em;
  }
}

