/* The approved homepage service cards, reused on service and suburb templates. */
.st .hm-services { --hm-orange:var(--st-orange); --hm-muted:var(--st-muted); --hm-ink:var(--st-ink); --hm-navy:var(--st-navy); }
.hm-services { background: #f7f6f3; }
.hm-services > .hm-lede { max-width: 600px; margin-bottom: 8px; }
.hm-services__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 28px; align-items: stretch; }
.hm-svc { grid-column: span 2; }
.hm-svc:nth-child(4) { grid-column: 2 / span 2; }
.hm-svc:nth-child(5) { grid-column: 4 / span 2; }
.hm-svc { background: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(16,40,59,.07); display: flex; flex-direction: column; position: relative; cursor: pointer; min-width: 0; }
.hm-svc.is-active { outline: 2px solid var(--hm-orange); box-shadow: 0 16px 36px rgba(16,40,59,.14); }
.hm-svc__media { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px 8px 0 0; background: #e7ece8; }
.hm-svc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-svc__price { position: absolute; top: 14px; right: 14px; z-index: 2; margin: 0; display: inline-flex; align-items: baseline; gap: 5px; background: var(--hm-orange); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1; padding: 7px 11px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hm-svc__price strong { font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: none; }
.hm-svc__icon { position: relative; z-index: 2; align-self: flex-start; width: 76px; height: 76px; margin: -38px 0 0 18px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(16,40,59,.16); display: grid; place-items: center; overflow: hidden; }
.hm-svc__icon img { width: 78%; height: 78%; object-fit: contain; display: block; }
.hm-svc__body { padding: 10px 22px 22px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hm-svc__body h3 { margin: 0 0 10px; }
.hm-svc__body p { margin: 0 0 18px; color: var(--hm-muted); font-size: 14px; line-height: 1.4; flex: 1; }
.hm-svc__more { appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-orange); display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.hm-svc__more svg { width: 16px; height: 16px; }
.hm-svc-detail { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; border-radius: 12px; background: #fff; border: 1px solid transparent; position: relative; }
.hm-svc-detail.is-open { max-height: 1800px; opacity: 1; margin-top: 28px; border-color: #e4e6e1; box-shadow: 0 12px 32px rgba(16,40,59,.1); }
.hm-svc-detail__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--hm-ink); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.12); cursor: pointer; }
.hm-svc-detail__close svg { width: 18px; height: 18px; }
.hm-svc-detail__grid { display: grid; grid-template-columns: 1fr 1.2fr; }
.hm-svc-detail__media { position: relative; min-height: 360px; overflow: hidden; border-radius: 12px 0 0 12px; }
.hm-svc-detail__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.hm-svc-detail__tag { position: absolute; left: 24px; bottom: 24px; margin: 0; background: var(--hm-orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 4px; }
.hm-svc-detail__body { padding: 40px 56px 40px 40px; }
.hm-svc-detail__body .hm-kicker { margin-bottom: 8px; }
#main-content .st .hm-svc-detail h3 { font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.1 !important; margin: 0 0 12px !important; }
.hm-svc-detail__lead { margin: 0 0 22px; color: var(--hm-muted); font-size: 15px; line-height: 1.55; }
.hm-svc-detail__label { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hm-svc-detail__checks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.hm-svc-detail__checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.hm-svc-detail__checks svg { width: 18px; height: 18px; color: var(--hm-orange); flex: 0 0 18px; margin-top: 1px; }
.hm-svc-detail__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e4e6e1; border-radius: 8px; overflow: hidden; margin: 0 0 10px; }
.hm-svc-detail__meta div { background: #f6f5f2; padding: 14px 16px; }
.hm-svc-detail__meta dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-muted); }
.hm-svc-detail__meta dd { margin: 6px 0 0; font-size: 16px; font-weight: 800; color: var(--hm-navy, #10283b); }
.hm-svc-detail__note { margin: 0 0 20px; color: #71808a; font-size: 12px; line-height: 1.4; }
.hm-svc-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-svc-detail__explore { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 18px; border: 1px solid #d7ddd8; border-radius: 4px; color: var(--hm-ink); font-size: 13px; font-weight: 750; text-decoration: none; background: #fff; }


@media (max-width:1023px) {
 .hm-services__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
 .hm-svc, .hm-svc:nth-child(-n+3), .hm-svc:nth-child(n+4) { grid-column: auto; }
 .hm-svc:last-child { grid-column: 1 / -1; }
 .hm-svc-detail__grid { grid-template-columns: 1fr; }
 .hm-svc-detail__media, .hm-svc-detail__media img { min-height: 220px; height: 220px; border-radius: 12px 12px 0 0; }
 .hm-svc-detail__body { padding: 24px 24px 28px; }
 .hm-svc-detail__checks { grid-template-columns: 1fr; }
}

@media (max-width:639px) {
 .hm-services__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
 .hm-svc, .hm-svc:nth-child(-n+3), .hm-svc:nth-child(n+4) { grid-column: auto; }
 .hm-svc__icon { width: 64px; height: 64px; margin: -32px 0 0 14px; }
 .hm-svc__body { padding: 8px 16px 18px; }
 .hm-svc__price { top: 10px; right: 10px; }
 .hm-svc-detail__meta { grid-template-columns: 1fr; }
 .hm-svc-detail__actions .hm-btn, .hm-svc-detail__explore { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion:no-preference) {
 .hm-svc, .hm-svc__media img, .hm-svc-detail { transition: transform .3s ease, box-shadow .3s ease, max-height .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease, margin-top .55s cubic-bezier(.2,.7,.2,1); }
 .hm-svc:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(16,40,59,.12); }
 .hm-svc:hover .hm-svc__media img { transform: scale(1.04); }
}

.st .hm-svc__body h3 { margin:0 0 10px; }
.st .hm-svc__body p { margin:0 0 18px; }
.st .hm-svc__price,.st .hm-svc-detail__tag { margin:0; }
.st .hm-svc-detail__checks { margin:0 0 24px; padding:0; }
.st .hm-svc-detail__lead { margin:0 0 22px; }
.st .hm-svc-detail__label { margin:0 0 12px; }
.st .hm-svc-detail__note { margin:0 0 20px; }
.st .hm-svc-detail .hm-kicker { color:var(--st-orange);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px; }
.st .hm-svc-detail .hm-btn { display:inline-flex;align-items:center;justify-content:center;background:var(--st-orange);color:#fff;border:0;border-radius:4px;min-height:46px;padding:12px 22px;font:inherit;font-size:13px;font-weight:800;cursor:pointer; }
.st .hm-svc__more:focus-visible,.st .hm-svc-detail :is(button,a):focus-visible { outline:3px solid var(--st-orange);outline-offset:4px; }
