/* services.css — Home services section */

.services {
  max-width: 1440px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--page-px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.services__heading {
  font-size: 42px;
  font-weight: var(--fw-light);
  line-height: 51px;
  letter-spacing: -0.21px;
  color: var(--color-forest);
}

.services__layout {
  display: flex;
  gap: clamp(40px, 10vw, 132px);
  align-items: flex-start;
}

/* ---- Left: intro + CTA ---- */
.services__intro {
  flex: 0 1 410px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
  justify-content: center;
}

.services__desc {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 27px;
  color: var(--color-forest);
}

/* ---- Right: service list ---- */
.services__list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.services__item {
  display: flex;
  flex-direction: column;
  gap: var(--md);
}

.services__divider {
  border: none;
  border-top: 1px solid var(--color-forest);
/*   opacity: 0.25; */
  width: 100%;
  margin-bottom: var(--space-md);
}

.services__item-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.services__item-text {
  flex: 0 1 302px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.services__item-title {
  font-size: 36px;
  font-weight: var(--fw-extralight);
  line-height: 45px;
  letter-spacing: -0.72px;
  color: var(--color-forest);
  margin-bottom: 9px;
}

.services__item-sub {
  font-size: 18px;
  font-weight: var(--fw-regular);
/*   line-height: 27px; */
  color: var(--color-forest);
}

.services__item-img {
  flex: 1 1 0;
  min-width: 0;
  height: 240px;
  overflow: hidden;
}

.services__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .services__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .services__layout {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .services__intro {
    flex: none;
    width: 100%;
  }

  .services__item-text {
    flex: 0 0 auto;
    min-width: 200px;
  }

  .services__item-img {
    flex: 1 1 auto;
    height: 200px;
  }

  .services__item-title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .services__heading {
    font-size: 26px;
    line-height: 34px;
  }

  .services__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .services__item-inner {
    flex-direction: column;
    gap: 16px;
  }

  .services__item-text {
    flex: none;
    width: 100%;
  }

  .services__item-img {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .services__item-title {
    font-size: 24px;
    line-height: 32px;
  }

  .services__item-sub {
    font-size: 16px;
    line-height: 24px;
  }
}
