/**** SERVICES CATEGORY PAGE ****/

/* SERVICES-CAT TITLE AREA */

.s-cat-title-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #4b2c5e;
  overflow: hidden;
  position: relative;
}

.s-cat-title-area-content {
  display: flex;
  position: relative;
  height: 320px;
}

.s-cat-title-area-text {
  width: 70%;
  background: #4b2c5e;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.s-cat-title-element-item {
  width: 100%;
  position: relative;
  height: 34px;
  background: #c9b6f4;
}

.s-cat-title-element-item:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: -100%;
  background: #c9b6f4;
}

.s-cat-title {
  font-size: 77px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  /*padding-left: 38px;*/
  padding-right: 38px;
  padding-bottom: 36px;
  max-width: 600px;
}

.s-cat-title-element {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #4b2c5e;
}

.s-cat-title-element-item-top {
  position: relative;
  height: 137px;
  background: #c9b6f4;
  width: 100%;
}

.s-cat-title-element-item-top:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: -100%;
  right: -100%;
  background: #c9b6f4;
}

.s-cat-title-element-item-bottom {
  position: relative;
  height: 34px;
  background: transparent;
  width: 100%;
}

.s-cat-title-element-item-bottom:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  right: -100%;
  background: #c9b6f4;
}

@media (max-width: 1240px) {
  .s-cat-title {
    font-size: 64px;
  }
}

@media (max-width: 1024px) {
  .s-cat-title {
    font-size: 60px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 32px;
  }
}

@media (max-width: 820px) {
  .s-cat-title-area-content {
    height: 260px;
  }

  .s-cat-title {
    font-size: 44px;
    max-width: 480px;
  }

  .s-cat-title-element-item,
  .s-cat-title-element-item-bottom {
    height: 27px;
  }
}

@media (max-width: 767px) {
  .s-cat-title-area-content {
    height: 200px;
  }

  .s-cat-title {
    font-size: 28px;
    padding: 0 16px 16px 0px;
  }

  .s-cat-title-element-item {
    height: 16px;
  }

  .s-cat-title-element-item-top {
    height: 80px;
  }

  .s-cat-title-element-item,
  .s-cat-title-element-item-bottom {
    height: 16px;
  }
}

/* breadcrumbs */

.services-title-area-breadcrumbs {
  background: #f2f2f2;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 21px 0 21px 0px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.breadcrumbs-item {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
  opacity: 0.3;
  text-transform: uppercase;
}

.breadcrumbs-item a {
  color: inherit;
  text-decoration: none;
  padding: 21px 0;
}

.breadcrumbs-item a:hover {
  text-decoration: underline;
}

.breadcrumbs-item + .breadcrumbs-item::before {
  content: "|";
  margin-right: 12px;
  color: #000;
  opacity: 0.3;
}

.breadcrumbs-current {
  opacity: 1;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .breadcrumbs-list {
    padding-left: 24px;
  }
}

@media (max-width: 767px) {
  .breadcrumbs-list {
    padding: 17px 0 17px 0px;
    gap: 8px;
  }

  .breadcrumbs-item {
    font-size: 12px;
  }

  .breadcrumbs-item + .breadcrumbs-item::before {
    margin-right: 8px;
  }
}

/* -- breadcrumbs -- */

/* --- SERVICES-CAT TITLE AREA --- */

/* SERVICE-CAT LISTING */

.services-cat-list {
  padding: 67px 0 84px;
}

.services-cat-list-items {
  padding: 22px 18px 65px 18px;
  background: #c9b6f4;
}

.services-cat-list-items,
.s-cat-list-item-services {
  list-style: none;
}

.s-cat-list-item {
  background: #fff;
  padding: 36px;
}

.s-cat-list-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  padding-bottom: 36px;
}

.s-cat-list-item-title-text {
  max-width: 50%;
}

.s-cat-list-item-title-link {
  padding: 15px 21px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  border: 1px solid #000;
  text-transform: uppercase;
  transition: opacity 0.2s ease-in-out;
}

.s-cat-list-item-title-link:hover {
    opacity: 0.4;
}

.s-cat-list-item-services {
  display: grid;
  gap: 12px;
}

.s-cat-list-item-services a {
  text-decoration: none;
  font-size: 18px;
  color: inherit;
  font-weight: 600;
  opacity: 0.5;
}

.s-cat-list-item-services a:hover {
  opacity: 1;
  text-decoration: underline;
  color: #3275ff;
}

@media (min-width: 1241px) {
  .services-cat-list-items {
    column-count: 2;
    column-gap: 16px;
  }

  .s-cat-list-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 16px;
  }
}

@media (max-width: 1240px) {
  .services-cat-list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 12px 45px 12px;
  }
}

@media (max-width: 1024px) {
  .services-cat-list {
    padding: 0px 0 67px;
  }
}

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

  .services-cat-list-items {
    padding: 6px 6px 15px 6px;
    gap: 6px;
  }

  .s-cat-list-item {
    padding: 24px;
    position: relative;
    padding-bottom: 90px;
  }

  .s-cat-list-item-title {
    font-size: 18px;
    padding-bottom: 16px;
    display: block;
  }

  .s-cat-list-item-title-link {
    position: absolute;
    bottom: 24px;
    left: 24px;
  }
}

/* --- SERVICE-CAT LISTING --- */

/* OTHER CAT */

.other-cat {
  background: #c9b6f4;
  padding: 74px 0 114px;
  overflow: hidden;
}

.other-cat-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.other-cat-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.other-cat-title-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.other-cat-subtitle {
  font-size: 28px;
  color: #000;
  opacity: 0.4;
}

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

.other-cat-item {
  background: #ffffff;
  padding: 24px;
  height: 226px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  box-shadow: 0px 0px 0px 1px rgba(205, 205, 205, 1) inset;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(205, 205, 205, 1) inset;
  -moz-box-shadow: 0px 0px 0px 1px rgba(205, 205, 205, 1) inset;
}

.other-cat-item:hover {
    filter: brightness(0.97);
}

.other-cat-item-arrow {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .other-cat {
    padding: 64px 0 84px;
  }

  .other-cat-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .other-cat {
    padding: 36px 0 120px;
  }

  .other-cat-content {
    position: relative;
  }

  .other-cat-slider-navigation {
    position: absolute;
    bottom: -80px;
    left: 0;
  }

  .other-cat-item {
    height: 155px;
    font-size: 16px;
    padding: 16px;
  }

  .other-cat-item-arrow {
    font-size: 24px;
  }

  .other-cat-subtitle {
    font-size: 18px;
  }
}

/* --- OTHER CAT --- */

/* 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 --- */
