.s-cat-title-area {
  padding-top: 70px;
  overflow: hidden;
}

.breadcrumbs-list {
  padding-left: 0;
}

.services-subcat-list {
  padding-top: 84px;
}

.services-subcat-list-title-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.services-subcat-list-subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.services-subcat-list-title {
  font-size: 52px;
  max-width: 90%;
  font-weight: 600;
  line-height: 1;
}

.services-subcat-links {
  padding-top: 32px;
}

.services-subcat-items {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px;
  border-radius: 40px;
  background: #f0f0f0;
  display: flex;
  align-self: flex-start;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  list-style: none;
  margin: 0;
}

.services-subcat-items::-webkit-scrollbar {
  /*display: none;*/
}

.services-subcut-item {
  display: block;
  color: var(--color-1);
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 32px;
  border-radius: 44px;
  line-height: 1;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
}



.services-subcut-item:hover,
.services-subcut-item.active {
  background-color: #010109;
  color: #fff;
}

.service-about {
  padding: 32px 0 4px;
}

.service-about-content {
  background: var(--color-2);
  padding: 30px 40px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #000;
}

.service-about-title-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-about-title {
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
}

.service-about-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}

.service-about-text-area {
  display: flex;
  gap: 20px;
  width: 100%;
}

.service-about-desc,
.service-about-info {
  background: #fff;
  padding: 32px;
}

.service-about-desc-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-about-info {
  width: calc(40% - 10px);
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.service-about-desc {
  width: calc(60% - 10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-about-desc h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.service-about-desc p {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.service-about-desc .cta-btn {
  margin-top: 12px;
  color: #010109;
  box-shadow: 0px 0px 0px 1px #010109 inset;
  -webkit-box-shadow: 0px 0px 0px 1px #010109 inset;
  -moz-box-shadow: 0px 0px 0px 1px #010109 inset;
  background: transparent;
}

.service-about-facts {
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
}

.service-about-fact {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-about-fact dt {
  font-size: 14px;
  line-height: 1.1;
  font-weight: 400;
}

.service-about-fact dd {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .services-subcat-list {
    padding: 62px 0 0;
  }
  
  .services-subcat-list-subtitle {
      font-size: 20px;
  }
  
  .services-subcat-list-title {
      font-size: 32px;
  }
  
  .services-subcat-links {
      padding-top: 16px;
  }
  
  .service-about-content {
      padding: 28px 14px;
      gap: 24px;
  }
  
  .service-about-title {
      font-size: 28px;
  }
  
  .service-about-text-area {
      flex-direction: column;
      gap: 8px;
  }
  
  .service-about-info, .service-about-desc {
      width: 100%;
  }
}

@media (max-width: 820px) {
  .services-subcat-list-subtitle {
    font-size: 20px;
  }

  .services-subcat-list-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .services-subcat-list {
    padding: 54px 0 24px;
  }

  .services-subcat-list-subtitle {
    font-size: 16px;
  }

  .services-subcat-list-title {
    font-size: 28px;
  }
  
  .services-subcut-item {
      font-size: 12px;
      padding: 12px 20px;
  }
  
  .service-about {
      padding-top: 0;
  }
  
  .service-about-content {
      padding: 24px 8px;
  }
  
  .service-about-title {
      font-size: 24px;
  }
  
  .service-about-info, .service-about-desc {
      padding: 24px 12px;
  }
  
  .service-about-facts {
      flex-direction: column;
  }
  
  .service-about-fact {
      width: 100%;
  }
}

.services-single-page .cases {
  padding: 84px 0;
  background: var(--color-2);
}



/* SERVICE ABOUT ACCORDION ITEMS */

.about-accordion {
  padding-bottom: 32px;
}

.about-accordion-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-item {
  background: var(--color-2);
  padding: 30px 40px 24px 40px;
  display: flex;
  flex-direction: column;
}

.accordion-title {
  display: flex;
  gap: 26px;
  width: 100%;
  align-items: center;
  cursor: pointer;
}

.accordion-item-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.accordion-item-icon {
  width: 14px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 14px;
  color: #010109;
  transform: translateY(-2px);
}

.accordion-item-icon:before {
  content: "+";
}

.accordion-item.is-active .accordion-item-icon:before {
  content: "-";
}

.accordion-item-content {
  background: #fff;
  overflow: hidden;
  height: 0;
  padding: 0 32px;
  opacity: 0;
  margin-top: 0;
  transition: height 320ms ease, padding 320ms ease, opacity 200ms ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item.is-active .accordion-item-content {
  padding: 32px;
  margin-top: 30px;
  opacity: 1;
}

@media (max-width: 1024px) {
    .accordion-item {
        padding: 28px 14px;
    }
}

@media (max-width: 767px) {
    .accordion-item {
        padding: 24px 8px;
    }
    
    .accordion-item-title {
        font-size: 20px;
    }
    
    .accordion-item.is-active .accordion-item-content {
        padding: 24px 12px;
    }
}

/* CASES */

.cases {
  padding-bottom: 84px;
  overflow: hidden;
}

.cases-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cases-title-area {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cases-filters {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px;
  border-radius: 40px;
  background: #f0f0f0;
  display: flex;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.cases-filters::-webkit-scrollbar {
  display: none;
}

.cases-filters-item {
  border-radius: 44px;
  background-color: #fff;
  color: var(--color-1);
  padding: 20px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, color 0.2s ease-in-out;
  white-space: nowrap;
}

.cases-filters-item.is-active,
.cases-filters-item:hover {
  background-color: #010109;
  color: #fff;
}

.cases-slider-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases-slider {
  width: 100%;
  overflow: visible;
}

.cases-slider .swiper-slide {
  width: auto;
}

.cases-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.cases-item-image-area {
  height: 325px;
  position: relative;
  overflow: hidden;
}

.cases-item-image {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.cases-item-title {
  background-color: #fff;
  padding: 15px;
  text-decoration: none;
  color: #000;
  display: flex;
  gap: 27px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.cases-item-title:hover {
  filter: brightness(0.97);
}

.cases-item-title p {
  /*font-size: 24px;*/
  font-weight: 600;
  line-height: 1.1;
  max-width: 80%;
  text-align: left;
}

.cases-item-title span {
  font-size: 37px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.cases-category {
  padding: 14px 24px;
  width: fit-content;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0c0f20;
  border-radius: 44px;
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 16px;
  font-weight: 500;
  z-index: 2;
}

@media (max-width: 1024px) {
  .cases {
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .cases {
    padding-bottom: 64px;
  }

  .cases-content {
    gap: 22px;
  }

  .slider-navigation-btn {
    width: 40px;
    height: 40px;
  }

  .cases-title {
    max-width: 50%;
  }

  .cases-filters {
    font-size: 12px;
    padding: 4px;
  }

  .cases-filters-item {
    padding: 12px 20px;
  }

  .cases-slider-content {
    gap: 22px;
  }

  .cases-category {
    font-size: 12px;
    padding: 12px 20px;
    top: 11px;
    left: 11px;
  }

  .cases-item-title {
    gap: 20px;
  }

  .cases-item-title p {
    /*font-size: 18px;*/
  }

  .all-cases-btn {
    font-size: 12px;
    padding: 16px 20px;
  }
}

/* Cases filter fade */
#casesSwiper .swiper-slide {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
}

#casesSwiper .swiper-slide.is-fading-out {
  opacity: 0;
  transform: translateY(8px);
}

#casesSwiper .swiper-slide.is-hidden {
  display: none;
}

/* --- CASES --- */

/* REVIEWS SECTION */

.reviews {
  padding: 84px 0 100px;
  background: var(--color-5);
  overflow: hidden;
}

.reviews-content {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.reviews-title-area {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.reviews-slider {
  overflow: visible;
}

.reviews-item {
  padding: 22px 46px 22px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /*height: 422px;*/
  user-select: none;
}

.reviews-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reviews-author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.reviews-author-avatar img {
  position: absolute;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.reviews-author-name {
  font-size: 16px;
  font-weight: 500;
  color: #242424;
  text-transform: uppercase;
  opacity: 0.5;
}

.reviews-text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
}

.reviews-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reviews-services-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reviews-services-item {
  padding: 12px 20px;
  text-decoration: none;
  background: rgba(36, 36, 36, 0.09);
  font-size: 11px;
  color: #242424;
  width: fit-content;
  text-transform: uppercase;
}

.reviews-slider .swiper-slide {
  width: auto;
}

@media (max-width: 1024px) {
  .reviews {
    padding: 54px 0 100px;
  }
}

@media (max-width: 820px) {
  .reviews-item {
    gap: 20px;
    padding: 20px;
  }

  .reviews-author {
    gap: 10px;
  }

  .reviews-author-name {
    font-size: 14px;
  }

  .reviews-text {
    font-size: 20px;
  }

  .reviews-services-title {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .reviews {
    padding: 54px 0;
  }

  .reviews-title {
    max-width: 50%;
  }

  .reviews-author-name {
    font-size: 12px;
  }

  .reviews-item {
    padding: 18px;
  }

  .reviews-text {
    font-size: 18px;
  }
}

/* equal-height review cards (desktop + tablet) */
@media (min-width: 768px) {
  #reviewsSwiper .swiper-wrapper {
    align-items: stretch;
  }
  #reviewsSwiper .swiper-slide {
    height: auto;
  }
  #reviewsSwiper .reviews-item {
    height: 100%;
  }
  
  #reviewsSwiper .reviews-services {
    margin-top: auto;
  }
}
/* --- REVIEWS SECTION --- */

/* CTA */

.cta {
  height: 100vh;
  background: #6c2f16;
  position: relative;
}

.inner-cta {
  padding: 92px 0;
}

.inner-cta .cta-content {
  width: 100%;
  background: red;
  position: relative;
  overflow: hidden;
  max-height: 640px;
}

.cta-bg {
  background: #6c2f16;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-content {
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
}

.cta-slogan {
  color: #fff;
  font-size: 76px;
  line-height: 1;
  max-width: 1000px;
  text-align: center;
  font-weight: 600;
  z-index: 3;
}

.cta-btn {
  background-color: transparent;
  box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.1) inset;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 1) inset;
  -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 1) inset;
  z-index: 3;
}

@media (max-width: 1024px) {
  .cta {
    height: 50vh;
  }

  .cta-slogan {
    font-size: 64px;
  }

  .inner-cta {
    padding: 64px 0;
  }
  
  .cta-content {
      max-height: 50vh;
  }
}

@media (max-width: 820px) {
  .cta-slogan {
    font-size: 54px;
  }

  .inner-cta .cta-content {
    max-height: 480px;
  }
}

@media (max-width: 767px) {
  .cta-slogan {
    font-size: 44px;
  }

  .cta-btn {
    font-size: 12px;
    padding: 20px;
  }

  .inner-cta {
    padding: 44px 0;
  }

  .inner-cta .cta-content {
    max-height: 300px;
  }
  
  .cta-content {
      max-height: 50vh;
  }

  .inner-cta .cta-slogan {
    font-size: 32px;
    max-width: 90%;
  }
}

/* --- CTA --- */

/* ===== Specialists in service accordion ===== */

/* Grid layout: 3 / 2 / 1 */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  row-gap: 20px;
}

/* Team card */
.specialists-grid .team-item {
  display: flex;
  flex-direction: column;
}

.specialists-grid .team-item-photo-area {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  position: relative;
  overflow: hidden;
}

.specialists-grid .team-item-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.specialists-grid .team-item-info {
  width: 100%;
  background: #fff;
  padding: 14px 17px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #000;
}

.specialists-grid .team-item-name {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.specialists-grid .team-item-desc {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  min-height: 60px;
}

.specialists-grid .team-item-link {
  opacity: 0.5;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  color: #000;
}

.specialists-grid .team-item-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialists-grid .team-item-name {
    font-size: 20px;
  }

  .specialists-grid .team-item-desc,
  .specialists-grid .team-item-link {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .specialists-grid .team-item-desc {
    min-height: 70px;
  }
}

@media (max-width: 767px) {
  .specialists-grid {
    grid-template-columns: 1fr;
  }

  .specialists-grid .team-item-desc {
    min-height: 0;
  }
}

/* reviews read-more / collapse */
.reviews-text-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* clamp enabled only when JS adds .has-clamp (no JS = full text) */
.reviews-item.has-clamp .reviews-text {
  display: -webkit-box;
  -webkit-line-clamp: var(--reviews-clamp, 6);
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-item.has-clamp.is-expanded .reviews-text {
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}

.reviews-readmore {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #16342D;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.reviews-readmore:hover {
  opacity: 0.6;
}
.reviews-readmore[hidden] {
  display: none;
}

/* each card by its own content height (no stretch to tallest) */
#reviewsSwiper .swiper-slide {
  height: auto;
}
