.service-card { position: relative; }
.service-more { text-decoration: none; }
.service-windows { padding-block: 0; margin-block: 0; }
.service-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
#services .service-more:focus-visible { outline: 3px solid #af741f; outline-offset: 4px; }
.service-detail {
  display: none; color: #17382e; background: #fcfaf5; padding: clamp(20px, 4vw, 42px);
  border-radius: 20px; scroll-margin-top: 106px; overflow-wrap: anywhere;
}
.service-detail:target, .service-dialog .service-detail, [data-preview-services] .service-detail { display: block; }
.service-detail:target, [data-preview-services] .service-detail { margin-top: 20px; }
.service-detail-header { max-width: 70ch; margin-bottom: 20px; }
.service-detail-header h2 { margin: 0 0 10px; font-size: clamp(27px,4vw,40px); line-height: 1.12; }
.service-detail-header h2:focus { outline: none; }
.service-detail-header p, .service-detail-body p { margin: 0 0 12px; }
.service-detail-header .eyebrow { color: #3e6c58; margin: 0 0 6px; }
.service-detail-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.service-detail-body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.service-detail-body a { color: #185342; text-decoration: underline; text-underline-offset: 3px; }
.service-detail-body ul { padding-inline-start: 22px; margin: 0 0 16px; }
.service-detail-body li { margin: 4px 0; }
.service-enquiry { padding: 16px; border: 1px solid #d8e1d5; border-radius: 14px; background: #edf3eb; }
.service-enquiry form { display: grid; gap: 9px; }
.service-enquiry label { display: block; font-size: 14px; }
.service-enquiry :is(input:not([type=checkbox]), textarea) {
  box-sizing: border-box; display: block; width: 100%; padding: 10px 12px; margin-top: 4px;
  border: 1px solid #9caf9f; border-radius: 7px; background: #fffdf9; color: #17382e; font: inherit; font-size: 16px;
}
.service-enquiry label.service-consent { display: flex; align-items: flex-start; gap: 8px; }
.service-consent input { flex: 0 0 auto; margin-top: 4px; }
.service-enquiry .lead-announcement {
  position: static; width: auto; height: auto; margin: 0; overflow: visible;
  clip-path: none; white-space: normal; font-size: 14px; font-weight: 650;
}
.service-enquiry .lead-announcement:empty { display: none; }
.service-enquiry .btn { justify-content: center; min-width: 0; white-space: normal; }
.service-dialog {
  box-sizing: border-box; width: min(900px, calc(100vw - 36px)); max-height: calc(100dvh - 44px);
  border: 0; border-radius: 20px; padding: 0; background: #fcfaf5; color: #17382e; overflow: auto;
  overscroll-behavior: contain;
}
.service-dialog::backdrop { background: rgb(9 39 27 / .68); }
.service-dialog-close {
  position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #96afa0;
  border-radius: 50%; background: #fcfaf5; color: #17382e; font: 25px/1 system-ui; cursor: pointer;
}
.service-dialog .service-detail-header { padding-inline-end: 34px; }
body:has(.service-dialog[open]) { overflow: hidden; }
@media (max-width: 670px) {
  .service-detail-body { grid-template-columns: 1fr; gap: 14px; }
  .service-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .service-dialog .service-detail { padding: 18px; }
}
