@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Unbounded:wght@600;700&display=swap');

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.p24-services-page {
  background-color: #f4f5f6;
  background-image: repeating-linear-gradient(-18deg, transparent 0 22px, rgba(22, 28, 34, 0.035) 22px 23px);
  background-attachment: fixed;
}
body.p24-services-page .site-content-fullwidth {
  background: transparent;
  padding: 0;
}
body.p24-services-page .entry-content {
  max-width: none;
  margin: 0;
  padding: 0;
}
body.p24-services-page .site-content-fullwidth .entry-content > .svc {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.p24-services-page .svc {
  font-family: Manrope, system-ui, sans-serif;
  color: #17211c;
}
body.p24-services-page .svc h1,
body.p24-services-page .svc h2 {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.04em;
}

/* ——— Full-bleed hero ——— */
.svc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  /* clear fixed glass header: pad + bar height + content gap */
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 28px) 0 56px;
  min-height: 420px;
  color: #f4f7f5;
  background: #101613;
  border-radius: 0 0 32px 32px;
}
.svc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* soft fade into dark left — no hard vertical cut */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
}
.svc-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* focus on faces (duo sits mid-right with headroom) */
  object-position: 70% 42%;
}
.svc-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #101613 0%, #101613 32%, rgba(16, 22, 19, 0.9) 46%, rgba(16, 22, 19, 0.35) 66%, rgba(16, 22, 19, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 22, 19, 0.18) 0%, transparent 48%, rgba(16, 22, 19, 0.28) 100%);
}
.svc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.svc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: rgba(244, 247, 245, 0.62); font-size: 14px; }
.svc-crumbs a { color: #8ddeb0; text-decoration: none; }
.svc-hero__eye { margin: 0 0 8px; color: #8ddeb0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.svc-hero h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 46px); line-height: 1.05; color: #fff; }
.svc-hero__lead { margin: 0; max-width: 680px; color: rgba(244, 247, 245, 0.78); font-size: 17px; line-height: 1.5; }
.svc-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.svc-stats li {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-stats strong { display: block; font-size: 20px; }
.svc-stats span { color: rgba(244, 247, 245, 0.62); font-size: 13px; }

/* ——— Category row ——— */
.svc-cats {
  width: 100%;
  margin: 0;
  padding: 22px 0 8px;
}
.svc-cats__inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.svc-cats__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid #e3e8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 22, 19, 0.04);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.svc-cats__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.08);
}
.svc-cats__title {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #101613;
}
.svc-cats__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef1ef;
  color: #3d4942;
  font-size: 12px;
  font-weight: 800;
}
.svc-cats__item.is-on {
  background: #101613;
  border-color: #101613;
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.18);
}
.svc-cats__item.is-on .svc-cats__title { color: #fff; }
.svc-cats__item.is-on .svc-cats__count {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ——— Filter + list ——— */
.svc-wrap {
  max-width: 1450px;
  margin: 18px auto 22px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  box-sizing: border-box;
}
.svc-side {
  position: sticky;
  top: 92px;
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(16, 22, 19, 0.06);
}
.svc-side__toggle { display: none; }
.svc-search input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border: 1px solid #e3e8e5;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: #f7f8f8;
}
.svc-group { margin-top: 16px; }
.svc-group p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d776f;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid #e3e8e5;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #17211c;
}
.svc-chips button span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f0f2f1;
  color: #5d675f;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.svc-chips button.is-on { background: #101613; color: #fff; border-color: #101613; }
.svc-chips button.is-on span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.svc-reset {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #146b3a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.svc-count { margin: 0 0 12px; color: #6d776f; font-weight: 700; }
.svc-grid { display: grid; gap: 14px; }
.svc-none, .svc-empty { margin: 12px 0 0; color: #5d675f; }

/* ——— SEO text ——— */
.svc-seo {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto 64px;
  padding: 0 24px;
  box-sizing: border-box;
}
.svc-seo__inner {
  padding: 28px 24px 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.05);
}
.svc-seo h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: #101613;
}
.svc-seo h3 {
  margin: 22px 0 10px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.03em;
  color: #101613;
}
.svc-seo p {
  margin: 0 0 10px;
  max-width: 820px;
  line-height: 1.65;
  color: #243028;
  font-size: 16px;
}
.svc-seo a {
  color: #146b3a;
  font-weight: 700;
  text-decoration: none;
}
.svc-seo a:hover { text-decoration: underline; }
.svc-seo__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  max-width: 820px;
}
.svc-seo__links li { margin: 0; }
.svc-seo__links a {
  display: inline-block;
  padding: 4px 0;
  font-weight: 700;
  color: #101613;
}
.svc-seo__links a:hover { color: #146b3a; }

.svc-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 22, 19, 0.1);
}
.svc-card__link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.svc-card__media {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #eef1ef;
}
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card__media--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f6ee;
  color: #146b3a;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.svc-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.svc-pin {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef1ef;
  color: #3d4942;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.svc-card__rating {
  color: #146b3a;
  font-size: 13px;
  font-weight: 800;
}
.svc-card h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
  color: #101613;
}
.svc-card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #17824a;
  font-weight: 800;
  font-size: 14px;
}
.svc-card__go span { transition: transform 0.15s ease; }
.svc-card:hover .svc-card__go span { transform: translateX(3px); }

@media (max-width: 1200px) {
  .svc-cats__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .svc-hero { min-height: 380px; }
  /* full photo on mobile — soft veil like home hero */
  .svc-hero__media {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .svc-hero__media img { object-position: 58% 32%; }
  .svc-hero__shade {
    background:
      linear-gradient(180deg,
        rgba(16, 22, 19, 0.52) 0%,
        rgba(16, 22, 19, 0.4) 30%,
        rgba(16, 22, 19, 0.55) 58%,
        rgba(16, 22, 19, 0.78) 100%),
      linear-gradient(115deg,
        rgba(16, 22, 19, 0.48) 0%,
        rgba(16, 22, 19, 0.28) 42%,
        rgba(16, 22, 19, 0.12) 72%,
        rgba(16, 22, 19, 0.06) 100%);
  }
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-side__toggle {
    display: flex;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #101613;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  .svc-side__body { display: none; margin-top: 12px; }
  .svc-side.is-open .svc-side__body { display: block; }
  .svc-cats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .svc-cats__item { min-height: 92px; padding: 14px; }
  .svc-cats__title { font-size: 13px; }
  .svc-seo__links { grid-template-columns: 1fr; }
  .svc-seo__inner { border-radius: 22px; padding: 22px 18px 26px; }
}
