/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* Hero секція */
.services-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  border-radius: 0 0 56px 56px;
  overflow: hidden;
}

/* .services-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 100%;
  height: 100vh;
  background: url(../../img/hero/main__bg.svg) center top no-repeat;
  z-index: 1;
} */

.services-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 56px 56px;
  position: absolute;
  top: 0%;
  left: 0%;
}

.services-hero__xl,
.services-hero__xs {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 56px 56px;
}

.services-hero__xs {
  display: none;
}

.services-hero__container {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; */
  position: relative;
  z-index: 2;
  padding: 98px 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.services-hero .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.services-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-hero__title {
  margin-bottom: 32px;
  text-align: left;
}

.services-hero__description p {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 42px;
}

.services-hero .primary-btn span {
  padding: 14px 24px;
}

/* Elementor секція */
.services-elementor {
  padding-bottom: 108px;
}

/* Elementor Image widget — базові стилі */
.services-elementor .elementor-image img,
.services-elementor .elementor-widget-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.services-content {
  padding: 108px 0;
}

.services-content__placeholder {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-content__title {
  color: #18181a;
}

.services-content__title span {
  color: rgba(24, 24, 26, 0.24);
}

.services-content__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  counter-reset: item;
}

.services-content__item {
  padding: 48px;
  display: flex;
  gap: 47px;
  counter-increment: item;
  background: #faf9f9;
  padding: 48px;
}

.services-content__counter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 89px;
  height: 89px;
  min-width: 89px;
  min-height: 89px;
  border-radius: 50%;
  background:
    radial-gradient(43.98% 45.27% at 7.86% 89.29%, #008947 0%, rgba(0, 137, 71, 0) 100%),
    linear-gradient(360deg, rgba(52, 215, 184, 0) 0%, #34d7b8 100%),
    radial-gradient(73.32% 118.97% at 94.82% 25%, #019e75 0%, rgba(1, 158, 117, 0) 100%),
    radial-gradient(42.31% 42.65% at 91.3% 100%, #00be69 0%, rgba(0, 163, 120, 0) 100%), #00c37b;
  position: relative;
  z-index: 0;
}

.services-content__counter::before {
  content: counter(item, decimal-leading-zero);
  font-weight: 600;
  font-size: 48px;
  line-height: 117%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}

.services-content__counter::after {
  content: "";
  width: 104px;
  height: 104px;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background:
    radial-gradient(43.98% 45.27% at 7.86% 89.29%, #008947 0%, rgba(0, 137, 71, 0) 100%),
    linear-gradient(360deg, rgba(52, 215, 184, 0.1) 0%, rgba(52, 215, 184, 0.1) 100%),
    radial-gradient(73.32% 118.97% at 94.82% 25%, #019e75 0%, rgba(1, 158, 117, 0) 100%),
    radial-gradient(42.31% 42.65% at 91.3% 100%, #00be69 0%, rgba(0, 163, 120, 0) 100%);
  opacity: 0.2;
}

.services-content__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-content__text a {
  color: #00a95c;
  text-decoration: underline;
  position: relative;
  text-decoration: underline;
}

@media (any-hover: hover) {
  .single-content__text a:hover {
    text-decoration: none;
  }
}

.services-content__text h1,
.services-content__text h2,
.services-content__text h3,
.services-content__text h5,
.services-content__text h6 {
  font-weight: 600;
  line-height: 156%;
  letter-spacing: -0.03em;
  color: #18181a;
  margin: 0;
}

.services-content__text h1 {
  font-size: 64px;
}

.services-content__text h2 {
  font-size: 56px;
}

.services-content__text h3 {
  font-size: 48px;
}

.services-content__text h4 {
  font-size: 20px;
}

.services-content__text h5 {
  font-size: 24px;
}

.services-content__text h6 {
  font-size: 20px;
}

.services-content__text h3 span {
  color: rgba(24, 24, 26, 0.24);
}

.services-content__text p,
.services-content__text li {
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  letter-spacing: -0.01em;
  color: rgba(24, 24, 26, 0.48);
  margin: 0;
}

.services-content__text {
  font-size: 18px;
}

.services-content__text ol,
.services-content__text ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: item;
  padding-left: 0;
}

.services-content__text ul {
  padding-left: 15px;
}

.services-content__text ol {
  padding-left: 18px;
}

/* .services-content__text ol {
  gap: 24px;
} */

.services-content__text li {
  position: relative;
  color: rgba(24, 24, 26, 0.48);
}

.services-content__text ol li {
  /* list-style-type: decimal; */
  list-style: none;
  counter-increment: item;
}

.services-content__text ol li::before {
  content: counter(item) ".";
  display: inline-block;
  /* margin-right: 5px; */
  position: absolute;
  right: calc(100% + 5px);
  top: 0;
}

.services-content__text ul li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  background: url(../../img/common/list_square.webp) center center / cover no-repeat;
  position: absolute;
  top: 8px;
  left: -15px;
}

.services-content__text ol li::marker {
  font-weight: 500;
  font-size: 18px;
  line-height: 156%;
  letter-spacing: -0.02em;
  color: #18181a;
}

.services-content__text h4 {
  margin-bottom: 10px;
}

/* Responsive */
@media (min-height: 992px) or (max-height: 768px) {
  .services-hero {
    min-height: 762px;
  }
}

@media (max-width: 991px) {
  .services-content {
    padding: 64px 0;
  }

  .services-content__placeholder {
    gap: 32px;
  }

  .services-content__item {
    gap: 24px;
    padding: 38px;
  }

  .services-content__counter::before {
    font-size: 40px;
  }

  .services-content__counter {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
  }

  .services-content__counter::after {
    width: 78px;
    height: 78px;
    min-width: 78px;
    min-height: 78px;
  }

  .services-content__text h3 {
    font-size: 38px;
  }

  .services-content__text h1 {
    font-size: 48px;
  }

  .services-content__text h2 {
    font-size: 42px;
  }

  .services-content__text h4 {
    font-size: 28px;
  }

  .services-content__text h5 {
    font-size: 22px;
  }

  .services-content__text h6 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* .services-hero::after {
    background: url("../../img/hero/main__bg-mob.svg") 0 0/contain no-repeat;
    width: 375px;
    height: 762px;
    right: 50%;
    transform: translateX(48%);
    top: -2%;
  } */

  .services-hero__xl {
    display: none;
  }

  .services-hero__xs {
    display: block;
  }

  .services-hero__container {
    padding-bottom: 140px;
  }

  .services-hero__description {
    margin-bottom: 32px;
  }

  .services-content {
    padding: 48px 0;
  }

  .services-content__placeholder {
    gap: 24px;
  }

  .services-content__item {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .services-content__text {
    gap: 16px;
    font-size: 18px;
  }

  .services-content__text h1 {
    font-size: 32px;
  }

  .services-content__text h2 {
    font-size: 28px;
  }

  .services-content__text h3 {
    font-size: 24px;
  }

  .services-content__text h4 {
    font-size: 20px;
  }

  .services-content__text h5 {
    font-size: 18px;
  }

  .services-content__text h6 {
    font-size: 16px;
  }

  .services-content__text h1,
  .services-content__text h2,
  .services-content__text h3,
  .services-content__text h4,
  .services-content__text h5,
  .services-content__text h6 {
    margin-bottom: 12px;
  }

  .services-content__text p,
  .services-content__text li {
    font-size: 16px;
  }

  .services-content__counter {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .services-content__counter::before {
    font-size: 24px;
  }

  .services-content__counter::after {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .services-content__text h4,
  .services-content__text ol li::marker {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .services-hero__container {
    padding-bottom: 54px;
  }
}
