/* Service pages: light split hero with a tone panel + trust card, brand logos, FAQ split */

.svc-hero { --tone: var(--red); --tone-2: #9e0a10; position: relative; isolation: isolate; overflow: hidden; background: #f6f7fb; padding: clamp(28px, 4vw, 48px) 0 clamp(44px, 6vw, 80px); }
.svc-hero--navy { --tone: var(--navy-700); --tone-2: var(--navy-900); }
.svc-hero--blue { --tone: var(--blue); --tone-2: #0d4bb0; }
.svc-hero--green { --tone: var(--green); --tone-2: #157528; }
/* dotted texture on the light side */
.svc-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(11, 26, 92, .09) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
/* angled colour panel on the right */
.svc-hero-panel { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 42%; background: linear-gradient(160deg, var(--tone), var(--tone-2)); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.svc-hero-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; }
.svc-hero-mark { position: absolute; right: -6%; bottom: -14%; color: #fff; opacity: .1; }
.svc-hero-mark .icon { width: clamp(260px, 30vw, 440px); height: auto; stroke-width: 1.1; animation: svc-float 9s ease-in-out infinite; }
@keyframes svc-float { 50% { transform: translateY(-14px) rotate(-4deg); } }

.svc-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc-hero .crumbs { color: var(--muted); }
.svc-hero .crumbs a { color: var(--navy); }
.svc-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); box-shadow: 0 4px 14px rgba(11, 26, 92, .06); }
.svc-tag-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone); color: #fff; }
.svc-tag-ic .icon { width: 17px; height: 17px; }
.svc-hero h1 { color: var(--navy); font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; max-width: 16ch; margin-bottom: 18px; }
.svc-hero .lead { color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.svc-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.svc-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.svc-points .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.4; }

/* trust card sitting on the colour panel */
.svc-card { position: relative; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px rgba(6, 15, 58, .22); display: grid; gap: 18px; transition: transform .35s var(--ease-out, ease), box-shadow .35s ease; }
.svc-card:hover { transform: scale(1.025); box-shadow: 0 30px 70px rgba(6, 15, 58, .28); }
.svc-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -8px; height: 8px; border-radius: 8px 8px 0 0; background: var(--tone); opacity: .9; }
.svc-card-score { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.svc-card-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.svc-card-score > span:last-child { display: grid; gap: 3px; }
.svc-card-meta { font-size: .88rem; color: var(--muted); }
.svc-card-score:hover .svc-card-meta { color: var(--blue); text-decoration: underline; }
.svc-card-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.svc-card-facts li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); line-height: 1.3; }
.svc-card-facts b { display: block; color: var(--navy); font-size: .95rem; }
.svc-card-facts img { width: 38px; height: 38px; border-radius: 8px; flex: none; }
.svc-card-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: #eef1f9; color: var(--navy); }
.svc-card-ic .icon { width: 19px; height: 19px; }
.svc-card-label { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
  .svc-hero-in { grid-template-columns: 1fr; }
  .svc-hero { padding-bottom: 0; }
  .svc-hero-panel { display: none; }
  /* full-bleed colour band behind the card, from just above it to the bottom of the hero */
  .svc-card { margin-bottom: 36px; box-shadow: 0 0 0 100vmax var(--tone), 0 24px 60px rgba(6, 15, 58, .22); clip-path: inset(-36px -100vmax -36px -100vmax); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero-mark .icon { animation: none; }
  .svc-card, .svc-card:hover { transform: none; }
}
.svc-card-facts img.svc-card-refcom { width: 38px; height: 38px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }

/* Map hero (area pages) */
.map-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #dfe4fb; padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); min-height: 520px; }
.map-hero-map { position: absolute; inset: 0; z-index: -2; }
.map-hero-map iframe { width: 140%; height: calc(100% + 300px); margin-top: -150px; border: 0; pointer-events: none; filter: saturate(.9); }
.map-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 15, 58, .96) 0%, rgba(6, 15, 58, .88) 38%, rgba(6, 15, 58, .35) 70%, rgba(6, 15, 58, .1) 100%); }
.map-hero-in { position: relative; }
.map-hero .crumbs, .map-hero .crumbs a { color: #aeb6dc; }
.map-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: #fff; backdrop-filter: blur(6px); }
.map-tag .icon { width: 16px; height: 16px; color: #ff6b70; }
.map-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; max-width: 15ch; margin-bottom: 16px; }
.map-hero .lead { color: #c7cff0; max-width: 50ch; margin-bottom: 26px; }
.map-hero .svc-points li { color: #fff; }
@media (max-width: 900px) {
  .map-hero { min-height: 0; }
  .map-hero-map iframe { width: 100%; }
  .map-hero::before { background: linear-gradient(180deg, rgba(6, 15, 58, .82), rgba(6, 15, 58, .94)); }
}

/* Photo hero (about / contact) - same treatment as the home hero */
.photo-hero .map-hero-map img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.photo-hero::before { background: linear-gradient(90deg, rgba(6, 15, 58, .92) 0%, rgba(6, 15, 58, .78) 45%, rgba(6, 15, 58, .3) 100%); }
.map-tag .icon { flex: none; }
.svc-card-logos { display: flex; gap: 6px; flex: none; }
.svc-card-logos img { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
/* brands section: own tint so it separates from the soft steps section above */
.section--brands { background: #e9eef9; border-top: 1px solid #d6def2; border-bottom: 1px solid #d6def2; }
.section--brands .logo-row img, .section--brands .logo-row li { background-color: #fff; }
/* widescreen photo under the last text block on service pages */
.prose-photo { margin: 1.8em 0 0; border-radius: var(--radius, 16px); overflow: hidden; box-shadow: 0 14px 36px rgba(11, 26, 92, .12); }
.prose-photo img { display: block; width: 100%; height: auto; }

/* service page section colours */
.section--areas { background: #e8f1fe; border-top: 1px solid #d3e3fb; }
/* ASHP: green colour coding to match the hero */
.sec-tone--green.section--soft, .sec-tone--green.section--areas { background: #eaf7ec; border-color: #cfead4; }
.sec-tone--green.section--brands { background: #e1f3e4; border-color: #c7e6cd; }
.sec-tone--green .eyebrow { color: var(--green-700, #1d8a33); }
.sec-tone--green .eyebrow::before { background: var(--green); }
.sec-tone--green .st-n { border-color: var(--green); color: #1d8a33; }
.sec-tone--green .steps2 li:hover .st-n { background: var(--green); color: #fff; }
.sec-tone--green .steps2::before { background: #bfe3c6; }
.sec-tone--green .area-list a { border-color: #1d8a33; }
.sec-tone--green .area-list .icon { color: #1d8a33; }
.sec-tone--green .area-list a:hover { background: #1d8a33; color: #fff; }
.sec-tone--green .area-list a:hover .icon { color: #fff; }
/* Emergency: pale red steps with red items */
.sec-tone--red.section--soft { background: #fdeeee; }
.sec-tone--red .eyebrow::before { background: var(--red); }
.sec-tone--red .st-n { border-color: var(--red); color: var(--red); }
.sec-tone--red .steps2 li:hover .st-n { background: var(--red); color: #fff; }
.sec-tone--red .steps2::before { background: #f6c5c7; }
.sec-tone--red .steps2 h3 { color: #a80c12; }
.sec-tone--red.section--areas { background: #e8f1fe; }
