/* Services listing — unique catalog. Banner/tickers/footer reuse home + contact banner */

body.page-services .offer-sec {
  background: #fff;
  padding: 4.25rem 0 0;
}

body.page-services .offer-sec .container {
  width: min(100% - 2.5rem, var(--header-max));
  padding-bottom: 3.85rem;
}

body.page-services .offer-sec__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 2.75rem;
}

body.page-services .offer-sec__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #14241c;
}

body.page-services .offer-sec__intro h2 {
  margin: 0;
  max-width: 16ch;
  color: #14241c;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body.page-services .offer-grid {
  display: grid;
  gap: 1.35rem;
}

body.page-services .offer {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-height: 100%;
  padding: 0.95rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(20, 36, 28, 0.045);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.page-services .offer img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 1.05rem;
  filter: grayscale(1) contrast(1.08);
}

body.page-services .offer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.35rem 0.45rem 0.55rem;
}

body.page-services .offer h3 {
  margin: 0 0 0.55rem;
  color: #14241c;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

body.page-services .offer p {
  margin: 0 0 1.05rem;
  color: #6c7570;
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

body.page-services .offer__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: #14241c;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

body.page-services .offer__more svg {
  width: 0.95rem;
  height: 0.95rem;
}

body.page-services .offer__more:hover {
  color: #14241c;
}

@media (hover: hover) and (pointer: fine) {
  body.page-services .offer:hover,
  body.page-services .offer:focus-within {
    background: var(--header-lime);
    border-color: var(--header-lime);
  }

  body.page-services .offer:hover p,
  body.page-services .offer:focus-within p {
    color: #1b3022;
  }
}

@media (hover: none) {
  body.page-services .offer:active {
    background: var(--header-lime);
    border-color: var(--header-lime);
  }
}

body.page-services .offer.is-extra {
  display: none;
}

body.page-services .offer-grid.is-expanded .offer.is-extra {
  display: flex;
}

body.page-services .offer-more {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

body.page-services .offer-more .btn {
  min-height: 3.05rem;
  padding: 0.8rem 1.85rem;
  background: #1b3022;
  color: #fff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

body.page-services .offer-more .btn:hover {
  background: #243d2c;
  color: #fff;
  transform: none;
}

body.page-services .offer-sec.is-complete .offer-more {
  display: none;
}

@media (min-width: 768px) {
  body.page-services .offer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.45rem;
  }

  body.page-services .offer-grid .offer:nth-child(3n + 2) {
    flex-direction: column-reverse;
  }
}

@media (max-width: 639px) {
  body.page-services .offer-sec .container {
    width: min(100% - 2rem, var(--header-max));
    padding-bottom: 3.15rem;
  }

  body.page-services .offer-sec {
    padding-top: 3.15rem;
  }

  body.page-services .offer-sec__intro h2 {
    max-width: 14ch;
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
  }

  body.page-services .offer {
    padding: 0.8rem;
    border-radius: 1.25rem;
  }

  body.page-services .offer-more .btn {
    width: min(100%, 16.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-services .offer {
    transition: none;
  }
}
