/* Scoped to the homepage; other service pages retain their existing styles. */
.home-services { padding: 100px 0 72px; background: radial-gradient(ellipse at 0 0, #e9f7ed 0, transparent 42%), radial-gradient(ellipse at 100% 100%, #f0ecff 0, transparent 38%), #fafbf8; color: #173d2b; }
.home-services-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; margin-bottom: 44px; }
.home-services-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 7px 12px; border: 1px solid #d3e8d7; border-radius: 50px; background: #edf8ed; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .15em; }
.home-services-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #27ae60; }
.home-services h2 { margin: 0; color: #173d2b; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.home-services h2 span { color: #278248; }
.home-services .home-services-heading > p { max-width: 400px; margin: 0 0 3px; color: #58635c !important; font-size: 17px; font-weight: 400 !important; line-height: 1.7; }
.home-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-service-card { --service-accent: #257348; --service-tint: #eaf6e9; --service-border: #bcdcc5; display: flex; flex-direction: column; padding: 30px; border: 1px solid #e3e9e2; border-radius: 22px; background: #fff; color: #173d2b; box-shadow: 0 4px 20px #173d2b04; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-service-card--blue { --service-accent: #2865a3; --service-tint: #eaf3ff; --service-border: #bfd6f4; }
.home-service-card--peach { --service-accent: #a14f2f; --service-tint: #fff0e7; --service-border: #f1cfb9; }
.home-service-card--lavender { --service-accent: #7450a5; --service-tint: #f2ecfc; --service-border: #d6c5ed; }
.home-service-card--amber { --service-accent: #926114; --service-tint: #fff6dc; --service-border: #e9d6a1; }
.home-service-card--rose { --service-accent: #a33e64; --service-tint: #ffedf3; --service-border: #edc1d2; }
.home-service-card:hover { transform: translateY(-5px); border-color: var(--service-border); color: #173d2b; box-shadow: 0 16px 32px #173d2b0d; }
.home-service-card:focus-visible, .home-services-footer a:focus-visible { outline: 3px solid #278248; outline-offset: 5px; }
.home-service-top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 144px; margin: -16px -16px 25px; overflow: hidden; border-radius: 14px; background: var(--service-tint); }
.home-service-top::before, .home-service-top::after { content: ""; position: absolute; width: 145px; height: 145px; border: 1px solid var(--service-border); border-radius: 50%; pointer-events: none; }
.home-service-top::before { right: -65px; top: -80px; }
.home-service-top::after { left: -75px; bottom: -105px; width: 180px; height: 180px; }
.home-service-illustration { position: relative; display: grid; width: 120px; height: 120px; place-items: center; }
.home-service-illustration img { display: block; width: 88px; height: 88px; object-fit: contain; transition: transform .25s ease; }
.home-service-card--mint .home-service-illustration img { width: 120px; height: 120px; }
.home-service-card:hover .home-service-illustration img { transform: translateY(-3px) rotate(-3deg); }
.home-service-number { position: absolute; top: 14px; right: 16px; color: var(--service-accent); font-family: var(--font-body); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.home-service-card h3 { margin: 0 0 13px; color: inherit; font-size: 26px; line-height: 1.18; letter-spacing: -.02em; }
.home-services .home-service-card > p { flex: 1; margin: 0 0 24px; color: #58635c !important; font-size: 16px; font-weight: 400 !important; line-height: 1.65; }
.home-service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; }
.home-service-tags li { padding: 5px 10px; border-radius: 6px; background: var(--service-tint); color: var(--service-accent); font-family: var(--font-body); font-size: 12px; line-height: 1.4; }
.home-service-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid #e7ebe4; font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.home-service-arrow { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--service-tint); color: var(--service-accent); transition: background-color .2s ease, transform .2s ease; }
.home-service-arrow svg, .home-services-footer svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-service-card:hover .home-service-arrow { transform: rotate(-40deg); background: var(--service-border); }
.home-services-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 24px 28px; border: 1px solid #d5e8d5; border-radius: 18px; background: linear-gradient(110deg, #eaf6e9, #f4f9eb); }
.home-services-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.home-services .home-services-footer p { margin: 0; color: #173d2b !important; font-size: 15px; font-weight: 600 !important; }
.home-services-footer p span { color: #637166; font-weight: 400; }
.home-services-footer a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 12px; padding: 13px 19px; border: 1px solid #237a42; border-radius: 10px; background: #237a42; color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 600; transition: background-color .2s ease; }
.home-services-actions i { font-size: 22px; line-height: 1; }
.home-services-footer a:hover { color: #fff; background: #195d31; border-color: #195d31; }
.home-services-footer .home-services-call { background: transparent; color: #237a42; }
.home-services-footer .home-services-call:hover { background: #e0efdf; color: #195d31; border-color: #195d31; }

@media (max-width: 1199px) {
  .home-service-card { padding: 24px; }
  .home-services-heading { gap: 36px; }
}
@media (max-width: 991px) {
  .home-services { padding: 72px 0 48px; }
  .home-services-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .home-services .home-services-heading > p { max-width: 540px; }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services-footer { align-items: center; padding: 22px; }
  .home-services-footer p span { display: block; }
}
@media (max-width: 575px) {
  .home-services { padding: 56px 0 40px; }
  .home-services .container { padding-inline: 20px; }
  .home-services-eyebrow { margin-bottom: 16px; font-size: 11px; }
  .home-services h2 { font-size: clamp(33px, 8.5vw, 44px); }
  .home-services .home-services-heading > p { font-size: 16px; }
  .home-services-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-service-card { padding: 25px; border-radius: 16px; }
  .home-service-top { margin-bottom: 22px; }
  .home-service-card h3 { font-size: 27px; }
  .home-services-footer { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 26px; padding: 22px 18px; }
  .home-services-actions { flex-direction: column; }
  .home-services-footer a { flex-shrink: 1; gap: 9px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-service-card, .home-service-arrow, .home-service-illustration img, .home-services-footer a { transition: none; }
  .home-service-card:hover, .home-service-card:hover .home-service-arrow, .home-service-card:hover .home-service-illustration img { transform: none; }
}
