/* Services overview: split introduction, image cards, and a small-space feature. */
.services-overview { background: #f7f9f7; padding: 64px 0 72px; }
.services-overview-inner { width: min(1280px, 100%); margin: 0 auto; padding: 0 28px; }
.services-overview-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 42px; margin-bottom: 30px; }
.services-overview-intro-copy { padding: 12px 0 12px 20px; }
.services-overview .services-overview-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--color-brand-dark); text-align: left; }
.services-overview h2 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.04; letter-spacing: -.04em; font-weight: 750; color: #090e0b; }
.services-overview-intro-copy > p:not(.services-overview-eyebrow) { margin: 18px 0; color: #525252; font-size: 15px; line-height: 1.7; text-align: left; }
.services-overview-intro-image { position: relative; }
.services-overview-intro-image::before { content: ''; position: absolute; z-index: 1; left: -12px; top: 16px; width: 46px; height: 46px; border-left: 3px solid #2d8c42; border-top: 3px solid #2d8c42; pointer-events: none; }
.services-overview-intro-image img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 18px; }
.services-overview-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.5; font-weight: 650; color: #145c2b; text-decoration: underline; text-underline-offset: 4px; }
.services-overview-link:hover { color: #0c3b1a; }
.services-overview a:focus-visible, .services-overview summary:focus-visible { outline: 3px solid #2d8c42; outline-offset: 4px; border-radius: 4px; }
.services-overview-guide { display: grid; grid-template-columns: 54px .9fr 1.35fr; align-items: center; gap: 24px; padding: 22px 26px; margin-bottom: 20px; border: 1px solid #c9d9ce; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px #0d130c09; }
.services-overview-guide-icon { color: #226b34; }
.services-overview-guide h3 { margin: 0; color: #0d130c; font-size: 20px; line-height: 1.3; font-weight: 700; }
.services-overview .services-overview-guide p { margin: 0; padding-left: 26px; border-left: 1px solid #c9d9ce; color: #525252; font-size: 13px; line-height: 1.65; text-align: left; }
.services-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; scroll-margin-top: 100px; }
.services-overview-card { display: flex; flex-direction: column; min-width: 0; padding: 5px; border: 1px solid #d5e1d8; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px #0d130c0b; }
.services-overview-card > img { display: block; width: 100%; height: 230px; object-fit: cover; border-radius: 11px 11px 5px 5px; }
.services-overview-card-body { padding: 17px 16px 15px; flex: 1; }
.services-overview-card h3 { display: flex; align-items: baseline; gap: 16px; margin: 0 0 10px; color: #0d130c; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.services-overview-number { color: #226b34; font-size: 19px; }
.services-overview-features { display: grid; gap: 7px; list-style: none; padding: 0; margin: 0 0 13px 39px; }
.services-overview .services-overview-features li { display: flex; align-items: baseline; gap: 10px; color: #525252; font-size: 13px; line-height: 1.45; text-align: left; }
.services-overview-features li > span { flex-shrink: 0; color: #226b34; font-weight: 700; }
.services-overview-card-body > a { margin-left: 39px; }
.services-overview-question { margin: 0; border-radius: 12px; background: #f0f5f1; color: #404040; }
.services-overview-question summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 14px; list-style: none; cursor: pointer; font-size: 12px; line-height: 1.5; }
.services-overview-question summary::-webkit-details-marker { display: none; }
.services-question-icon { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border-radius: 50%; background: #226b34; color: #fff; font-size: 11px; font-weight: 700; }
.services-question-chevron { margin-left: auto; color: #226b34; font-size: 23px; line-height: 1; }
.services-overview-question[open] .services-question-chevron { transform: rotate(90deg); }
.services-overview .services-overview-question p { padding: 0 16px 16px 43px; margin: 0; font-size: 13px; line-height: 1.65; color: #404040; text-align: left; }
.services-overview-question:hover { background: #e2f7e7; }
.services-overview-small { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; overflow: hidden; border-radius: 16px; background: #124e2c; color: #fff; }
.services-overview-small > img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.services-overview-small-body { padding: 28px 32px; }
.services-overview .services-overview-small-eyebrow { margin: 0 0 9px; color: #a7efb8; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.services-overview-small h3 { margin: 0 0 10px; font-size: 27px; font-weight: 700; line-height: 1.2; }
.services-overview-small-body > p:not(.services-overview-small-eyebrow) { margin: 0 0 16px; color: #eef9f1; font-size: 14px; line-height: 1.6; text-align: left; }
.services-overview-small .services-overview-features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 18px; gap: 9px 18px; }
.services-overview-small .services-overview-features li { color: #fff; font-size: 12px; }
.services-overview-small .services-overview-features li > span { color: #a7efb8; }
.services-overview-small-link { display: inline-flex; align-items: center; gap: 15px; padding: 9px 16px; border: 1px solid #bedbc6; border-radius: 30px; font-weight: 600; font-size: 13px; color: #fff; }
.services-overview-small-link:hover { background: #226b34; }
.services-overview-small .services-overview-question { margin-top: 18px; }
@media (max-width: 900px) {
  .services-overview-intro { gap: 26px; }
  .services-overview-intro-copy { padding-left: 0; }
  .services-overview-guide { grid-template-columns: 38px 1fr; gap: 16px; padding: 20px; }
  .services-overview .services-overview-guide p { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid #c9d9ce; }
  .services-overview-card > img { height: 190px; }
  .services-overview-small-body { padding: 24px; }
  .services-overview-small .services-overview-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-overview { padding: 40px 0 48px; }
  .services-overview-inner { padding: 0 20px; }
  .services-overview-intro, .services-overview-grid, .services-overview-small { grid-template-columns: 1fr; }
  .services-overview-intro-image img { height: 240px; }
  .services-overview h2 { font-size: 34px; line-height: 1.1; }
  .services-overview-card > img { height: auto; aspect-ratio: 1.8; }
  .services-overview-small > img { height: 230px; min-height: 0; }
  .services-overview-small h3 { font-size: 25px; }
}

/* Clear button treatment for the service card links. */
.services-overview-card-body > .services-overview-link {
  justify-content: center;
  min-height: 44px;
  max-width: calc(100% - 39px);
  padding: 10px 18px;
  border: 1px solid #226b34;
  border-radius: 8px;
  background: #226b34;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(34, 107, 52, .16);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.services-overview-card-body > .services-overview-link:hover {
  background: #174b25;
  border-color: #174b25;
  color: #fff;
  box-shadow: 0 5px 12px rgba(34, 107, 52, .24);
}
.services-overview-card-body > .services-overview-link > span { flex-shrink: 0; }
.services-overview-small-link { min-height: 44px; border-radius: 8px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .services-overview-card-body > .services-overview-link { transition: none; }
}

/* Service questions stay visible with a permanent light green background. */
.services-overview-question,
.services-overview-question:hover { background: #e2f7e7; }
.services-overview-question-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  color: #404040;
  font-size: 12px;
  line-height: 1.5;
}

/* Shared rows keep each pair of answers aligned without fixed text heights. */
@supports (grid-template-rows: subgrid) {
  .services-overview-grid > .services-overview-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 0;
  }
}
