.nuwa-services {
  background: #ffffff;
  color: #4f6d55;
  font-family: var(--nuwa-font-primary);
}
.page-template-servicios header#site-header {
  background: #4d6652 !important;
  top: 0;
}

.nuwa-services-hero {
  min-height: 100vh;
  padding: 150px 0 92px;
  border-top: 6px solid #4f6d55;
}

.nuwa-services-hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.nuwa-services-hero__header {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}

.nuwa-services-hero__title {
  position: relative;
  margin: 0 auto 28px;
  color: #4d6652;
  font-size: 60px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nuwa-services-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: min(390px, 78%);
  height: 20px;
  background: rgba(159, 181, 169, 0.32);
  transform: translateX(-50%);
  z-index: -1;
}

.nuwa-services-hero__description {
  margin: 0 auto;
  color: #4d6652;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.nuwa-services-hero__description p {
  margin: 0;
}

.nuwa-services-hero__description p + p {
  margin-top: 22px;
}

.nuwa-services-grid {
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 34px;
}

.nuwa-service-card {
  position: relative;
  min-height: 404px;
  overflow: hidden;
  border-radius: 18px;
  background: #e2f0f5;
}

.nuwa-service-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nuwa-service-card__image--placeholder {
  background: #e2f0f5;
}

.nuwa-service-card__content {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(280px, calc(100% - 56px));
  min-height: 176px;
  padding: 30px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  transform: translateX(-50%);
}

.nuwa-service-card__title {
  margin: 0 0 22px;
  color: #355b6c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
.nuwa-service-card__description {
  margin: 0 0 22px;
  color: #355b6c;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0;
}

.nuwa-service-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #355b6c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}
.nuwa-service-card__button:hover {
  transform: translateY(-1px);
  color: #355b6c;
}

.nuwa-service-card__button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nuwa-service-card__button:hover,
.nuwa-service-card__button:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nuwa-featured-treatments {
  padding: 56px 0 96px;
  background: #a5c7d64a;
  color: #2c6172;
  font-family: var(--nuwa-font-primary);
}

.nuwa-featured-treatments__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.nuwa-featured-treatments__header {
  margin-bottom: 48px;
  text-align: center;
}

.nuwa-featured-treatments__eyebrow {
  margin: 0 0 12px;
  color: #355b6c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
}

.nuwa-featured-treatments__title {
  margin: 0;
  color: #355b6c;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.nuwa-featured-treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 86px);
}

.nuwa-featured-treatment-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 22px;
  background: #355b6c;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(31, 42, 35, 0.22);
}

.nuwa-featured-treatment-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nuwa-featured-treatment-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(47, 97, 113, 0.86);
}

.nuwa-featured-treatment-card__content {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.nuwa-featured-treatment-card__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.nuwa-featured-treatment-card__price {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.nuwa-featured-treatment-card:hover,
.nuwa-featured-treatment-card:focus {
  color: #ffffff;
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .nuwa-services-hero {
    padding: 120px 0 64px;
  }

  .nuwa-services-hero__inner {
    padding: 0 20px;
  }

  .nuwa-services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nuwa-service-card {
    min-height: 390px;
  }

  .nuwa-featured-treatments {
    padding: 42px 0 64px;
  }

  .nuwa-featured-treatments__inner {
    padding: 0 20px;
  }

  .nuwa-featured-treatments__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nuwa-featured-treatment-card {
    min-height: 360px;
  }

  .nuwa-featured-treatment-card__content {
    left: 28px;
    right: 28px;
    bottom: 30px;
  }
}
