/* Boiler-first layer (22 Oct 2026): Gas Safe logo, WhatsApp, boiler service cards + detail panels, instant quote, reviews carousel, before/after. */

/* ---------- Gas Safe logo ---------- */
.gs-logo { width: 40px; height: 40px; border-radius: 4px; flex: none; display: block; }
.header-gs { display: inline-flex; align-items: center; }
.hero-badge .gs-logo { width: 26px; height: 26px; border-radius: 3px; }
.hero-badge.has-logo { padding: 6px 16px 6px 6px; }
.gas-safe-badge.has-logo { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; }
.gas-safe-badge.has-logo .gs-logo { width: 26px; height: 26px; }
.footer-gs { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: #cbd5e1; font-size: 14px; }
.footer-gs .gs-logo { width: 52px; height: 52px; }

/* ---------- WhatsApp ---------- */
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: var(--pill); background: #25d366; color: #fff; font: 600 15px/1.2 var(--body); box-shadow: 0 6px 18px rgba(37, 211, 102, .3); transition: transform .3s var(--ease); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa i { font-size: 20px; }
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: var(--pill); background: #25d366; color: #fff; font: 600 15px var(--body); box-shadow: 0 10px 28px rgba(0, 0, 0, .22); transition: transform .3s var(--ease); }
.wa-float i { font-size: 26px; }
.wa-float:hover { transform: translateY(-3px); }
.header-wa { color: #25d366; font-size: 26px; line-height: 1; }
.enquiry-wa { margin-top: 12px; width: 100%; }

/* ---------- boiler services ---------- */
.boiler-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.boiler-svc { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; padding: 0; font: inherit; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.boiler-svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.boiler-svc .bs-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.boiler-svc .bs-img > img, .boiler-svc .bs-img > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; aspect-ratio: auto; transition: transform .6s var(--ease); }
.boiler-svc:hover .bs-img img { transform: scale(1.05); }
.boiler-svc .bs-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: var(--pill); background: rgba(10, 22, 40, .72); color: #fff; font: 600 12px var(--body); backdrop-filter: blur(6px); }
.boiler-svc .bs-tag.is-top { background: var(--grad); }
.boiler-svc .bs-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.boiler-svc h3 { margin: 0 0 8px; font-size: 21px; }
.boiler-svc p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.boiler-svc .bs-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.boiler-svc .bs-price { font: 700 18px var(--head); color: var(--ink); }
.boiler-svc .bs-price small { display: block; font: 500 12px var(--body); color: var(--muted); }
.boiler-svc .bs-more { color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; }
.boiler-svc.is-feature { grid-column: span 2; flex-direction: row; }
.boiler-svc.is-feature .bs-img { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.boiler-svc.is-feature .bs-body { flex: 1; padding: 32px; justify-content: center; }
.boiler-svc.is-feature h3 { font-size: 28px; }
.boiler-svc.is-feature .bs-cta { margin-top: 16px; align-self: flex-start; }

.type-pick { margin-top: 64px; }
.type-pick h3 { text-align: center; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.type-pick > p { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.type-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-pick-card { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 22px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); cursor: pointer; font: inherit; color: inherit; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.type-pick-card:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-3px); }
.type-pick-card > i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 18px; }
.type-pick-card strong { display: block; font: 700 18px var(--head); color: var(--ink); margin-bottom: 4px; }
.type-pick-card span { color: var(--muted); font-size: 14px; }
.type-pick-card em { display: block; margin-top: 8px; color: var(--blue); font: 600 13px var(--body); }

.also-row { margin-top: 64px; }
.also-row h3 { text-align: center; font-size: 22px; margin: 0 0 24px; }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.also-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .3s, transform .3s var(--ease); }
.also-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.also-card i { color: var(--blue); font-size: 20px; width: 24px; text-align: center; }
.also-card strong { display: block; color: var(--ink); font: 600 15px var(--head); }
.also-card span { font-size: 13px; color: var(--muted); }

/* types on the boiler page become clickable */
button.type-card { font: inherit; color: inherit; text-align: inherit; cursor: pointer; border: 0; width: 100%; }
.type-card .type-more { display: inline-block; margin-top: 12px; color: #93c5fd; font: 600 14px var(--body); }

/* ---------- detail panel + instant quote dialogs ---------- */
.svc-sheet, .iq { border: 0; padding: 0; border-radius: 24px; width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--text); background: #fff; }
.svc-sheet::backdrop, .iq::backdrop { background: rgba(10, 22, 40, .7); backdrop-filter: blur(4px); }
.svc-close { position: absolute; right: 14px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.svc-sheet-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.svc-media { position: relative; margin: 0; min-height: 100%; background: var(--navy); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }
.svc-media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: var(--pill); background: rgba(10, 22, 40, .7); color: #e2e8f0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.svc-media-icon { display: grid; place-items: center; background: linear-gradient(160deg, var(--navy), #1e3a8a); }
.svc-media-icon i { font-size: 120px; color: rgba(147, 197, 253, .9); }
.svc-copy { padding: 40px 36px 32px; }
.svc-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); }
.svc-intro { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.svc-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.svc-points li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.svc-points i { flex: none; margin-top: 3px; color: var(--blue); width: 18px; text-align: center; }
.svc-price { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius); background: var(--blue-soft); margin-bottom: 20px; }
.svc-price span { font: 600 12px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.svc-price strong { font: 700 28px var(--head); color: var(--ink); }
.svc-price small { color: var(--muted); font-size: 13px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-more { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 600; }

.iq { width: min(720px, calc(100vw - 32px)); }
.iq-head { padding: 22px 28px 0; }
.iq-brand { display: flex; align-items: center; gap: 10px; font: 700 15px var(--head); color: var(--ink); }
.iq-brand img { border-radius: 3px; }
.iq-progress { margin-top: 16px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.iq-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.iq-body { padding: 24px 28px 30px; }
.iq-count { margin: 0 0 6px; color: var(--blue); font: 600 13px var(--body); letter-spacing: .04em; text-transform: uppercase; }
.iq-body h2 { margin: 0 0 22px; font-size: clamp(24px, 3.4vw, 32px); }
.iq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iq-opts-many { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.iq-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 92px; padding: 16px 12px; border: 2px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: 600 15px var(--body); text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.iq-opt i { font-size: 24px; color: var(--blue); }
.iq-opt:hover, .iq-opt.is-picked { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.iq-back { margin-top: 18px; border: 0; background: none; color: var(--muted); font: 600 14px var(--body); cursor: pointer; padding: 6px 0; }
.iq-form { display: grid; gap: 14px; }
.iq-form label { display: grid; gap: 6px; font: 600 14px var(--body); color: var(--ink); }
.iq-form input, .iq-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; }
.iq-form .qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.iq-form .qf-trap { position: absolute; left: -9999px; }
.iq-form .qf-note, .iq-result .qf-note { margin: 0; color: var(--muted); font-size: 13px; }
.iq-form .qf-status { margin: 0; font-weight: 600; color: var(--blue); }
.iq-price { display: grid; gap: 2px; padding: 20px 22px; margin: 0 0 20px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #1e3a8a); color: #fff; }
.iq-price span { font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; }
.iq-price strong { font: 700 44px/1.1 var(--head); }
.iq-price strong small { font-size: 18px; font-weight: 600; color: #cbd5e1; }
.iq-price em { font-style: normal; font-size: 14px; color: #cbd5e1; }
.iq-tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 24px; margin-bottom: 12px; }
.iq-result .svc-actions { margin-bottom: 14px; }

/* ---------- reviews carousel ---------- */
.rv-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 36px; }
.rv-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); font: 600 14px var(--body); color: var(--ink); }
.rv-badge b { font: 700 18px var(--head); }
.rv-src { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 800 13px var(--head); flex: none; }
.rv-src.ct { background: #e5332a; }
.rv-src.gg { background: #fff; border: 1px solid var(--line); color: #4285f4; }
.rv-carousel { position: relative; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-md); }
.rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rv-score { font: 700 15px var(--head); color: var(--ink); }
.rv-score .rv-stars { color: var(--star); letter-spacing: 2px; margin-right: 6px; }
.rv-card h3 { margin: 0 0 8px; font-size: 16px; }
.rv-card blockquote { margin: 0 0 18px; flex: 1; }
.rv-card blockquote p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.rv-card figcaption { font-size: 13px; color: var(--muted); }
.rv-card figcaption strong { color: var(--ink); font-family: var(--head); }
.rv-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.rv-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.rv-nav button:hover { border-color: var(--blue); color: var(--blue); }
.is-dark .rv-badge { background: var(--navy-2); color: #e2e8f0; border-color: rgba(255, 255, 255, .1); }
.is-dark .rv-card { background: var(--navy-2); }
.is-dark .rv-card h3, .is-dark .rv-score, .is-dark .rv-card figcaption strong { color: #fff; }
.is-dark .rv-card blockquote p { color: #cbd5e1; }

/* ---------- before / after ---------- */
.ba-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin: 0 0 40px; }
.ba-feature .work-photo { aspect-ratio: 1; }
.ba-labels { display: flex; gap: 10px; margin: 0 0 14px; }
.ba-labels span { padding: 5px 14px; border-radius: var(--pill); font: 600 12px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.ba-labels span:first-child { background: rgba(148, 163, 184, .2); color: #cbd5e1; }
.ba-labels span:last-child { background: var(--grad); color: #fff; }
.ba-feature h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.ba-feature p { color: #94a3b8; margin: 0 0 20px; }

@media (max-width: 960px) {
  .boiler-svc-grid, .type-pick-grid { grid-template-columns: 1fr 1fr; }
  .boiler-svc.is-feature { grid-column: span 2; }
  .also-grid { grid-template-columns: 1fr 1fr; }
  .rv-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .svc-sheet-body { grid-template-columns: 1fr; }
  .svc-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .svc-media-icon { min-height: 180px; }
  .ba-feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .boiler-svc-grid, .type-pick-grid, .also-grid { grid-template-columns: 1fr; }
  .boiler-svc.is-feature { grid-column: auto; flex-direction: column; }
  .boiler-svc.is-feature .bs-img { min-height: 0; aspect-ratio: 16 / 10; }
  .boiler-svc.is-feature .bs-body { padding: 22px 24px 24px; }
  .rv-track { grid-auto-columns: 86%; }
  .svc-copy { padding: 28px 20px 24px; }
  .iq-head { padding: 18px 18px 0; }
  .iq-body { padding: 20px 18px 24px; }
  .iq-form .qf-row { grid-template-columns: 1fr; }
  .svc-actions > * { flex: 1 1 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; left: 16px; bottom: 16px; }
  .header-wa, .header-gs { display: none; }
}

/* Trust strip (Gas Safe + ratings) under the stats bar — moved out of the header 22 Oct */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; padding: 22px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.ts-item { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.ts-item b { color: var(--ink); font-family: var(--head); }
.ts-item .gs-logo { width: 40px; height: 40px; }
/* WhatsApp button waits until the visitor has scrolled past the hero */
.wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-shown:hover { transform: translateY(-3px); }

/* ---------- animated service icons (22 Oct) ---------- */
.bs-icon { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 22px; box-shadow: 0 10px 24px rgba(10, 22, 40, .35), 0 0 0 4px rgba(255, 255, 255, .85); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.boiler-svc:hover .bs-icon { transform: scale(1.12) rotate(-8deg); }

.ai-flame i { transform-origin: 50% 90%; }
.ai-wiggle i { transform-origin: 50% 50%; }
.ai-drip i { transform-origin: 50% 100%; }
.ai-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-light); opacity: 0; }

.is-visible .ai-flame i { animation: ai-flame 1.6s ease-in-out infinite; }
.is-visible .ai-wiggle i { animation: ai-wiggle 3.2s ease-in-out infinite; }
.is-visible .ai-pulse i { animation: ai-zap 2.4s ease-in-out infinite; }
.is-visible .ai-pulse::after { animation: ai-ring 2.4s ease-out infinite; }
.is-visible .ai-drip i { animation: ai-drip 2.2s ease-in-out infinite; }
.is-visible .ai-rise i { animation: ai-rise 2.6s ease-in-out infinite; }

@keyframes ai-flame { 0%, 100% { transform: scale(1, 1) rotate(0); } 25% { transform: scale(1.08, .94) rotate(-4deg); } 50% { transform: scale(.95, 1.1) rotate(3deg); } 75% { transform: scale(1.04, .97) rotate(-2deg); } }
@keyframes ai-wiggle { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-22deg); } 74% { transform: rotate(16deg); } 82% { transform: rotate(-10deg); } 90% { transform: rotate(4deg); } }
@keyframes ai-zap { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.25); } 82% { transform: scale(.92); } 88% { transform: scale(1.08); } }
@keyframes ai-ring { 0%, 65% { transform: scale(1); opacity: 0; } 70% { opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ai-drip { 0%, 100% { transform: translateY(-2px) scale(1, 1); } 45% { transform: translateY(3px) scale(1.06, .92); } 60% { transform: translateY(-4px) scale(.96, 1.06); } }
@keyframes ai-rise { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }

/* type pickers: gentle float, spin on hover */
.type-pick.is-visible .type-pick-card > i { animation: ai-float 3.4s ease-in-out infinite; }
.type-pick-card:nth-child(2) > i { animation-delay: -1.1s !important; }
.type-pick-card:nth-child(3) > i { animation-delay: -2.2s !important; }
.type-pick-card > i { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.type-pick-card:hover > i { animation-play-state: paused; transform: rotate(360deg) scale(1.1); }
@keyframes ai-float { 0%, 100% { transform: translateY(0); box-shadow: 0 6px 14px rgba(37, 99, 235, .25); } 50% { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(37, 99, 235, .18); } }

/* "We also look after" icons pop on hover */
.also-card i { transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), color .3s; }
.also-card:hover i { transform: scale(1.3) rotate(-10deg); color: var(--blue-dark); }

@media (prefers-reduced-motion: reduce) {
  .bs-icon i, .ai-pulse::after, .type-pick-card > i { animation: none !important; }
}
/* image area keeps its 16:10 height inside the flex card (it collapsed once the media became absolutely positioned) */
.boiler-svc .bs-img { flex: none; width: 100%; }
.boiler-svc.is-feature .bs-img { flex: 1.2 1 0; width: auto; align-self: stretch; }
@media (max-width: 640px) { .boiler-svc.is-feature .bs-img { flex: none; width: 100%; } }
/* smaller icons (founder 22 Oct: "too big") */
.bs-icon { width: 40px; height: 40px; font-size: 16px; right: 12px; bottom: 12px; box-shadow: 0 6px 16px rgba(10, 22, 40, .3), 0 0 0 3px rgba(255, 255, 255, .85); }
.boiler-svc:hover .bs-icon { transform: scale(1.1) rotate(-8deg); }
.type-pick-card > i { width: 38px; height: 38px; font-size: 15px; }
.also-card i { font-size: 17px; }
/* real powerflush photo in the Up Close panel */
.upclose-item > .upclose-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }
.svc-media img[src*="lgm-job-17"] { object-position: 50% 70%; }

/* ===== Review round 22 Oct: calmer colours, premium work grid, pro contact buttons ===== */

/* Checkatrade: brand navy/blue instead of red */
.rv-src.ct { background: var(--navy); color: #fff; }
.is-dark .rv-src.ct { background: var(--blue); }
.rv-src.gg { color: var(--blue); }

/* Gas Safe: only the hero badge stays in colour; footer version is quiet */
.footer-gs .gs-logo { filter: grayscale(1) brightness(1.6); opacity: .55; width: 40px; height: 40px; }
.footer-gs { color: #94a3b8; font-size: 13px; }

/* Our Work: uniform, graded, animated */
.work .work-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work .work-photos figure { margin: 0; position: relative; }
.work .work-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--navy-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); isolation: isolate; }
.work .work-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.06) brightness(.92); transform: scale(1.02); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.work .work-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 22, 40, 0) 45%, rgba(10, 22, 40, .85) 100%); opacity: .75; transition: opacity .5s ease; }
.work .work-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; transition: box-shadow .5s ease; }
.work .work-photo > span { position: absolute; z-index: 3; right: 16px; top: 16px; bottom: auto; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 600 13px var(--body); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .4s ease; }
.work .work-photos figcaption { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 18px; margin: 0; color: #fff; font: 600 16px/1.35 var(--head); transform: translateY(6px); transition: transform .5s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.work .work-photos figcaption::before { content: "Real install"; display: block; margin-bottom: 6px; color: #93c5fd; font: 600 11px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.work .work-photo:hover img, .work .work-photo:focus-visible img { transform: scale(1.09); filter: saturate(1) contrast(1.04) brightness(1); }
.work .work-photo:hover::before { opacity: 1; }
.work .work-photo:hover::after { box-shadow: inset 0 0 0 2px rgba(96, 165, 250, .55); }
.work .work-photo:hover > span { opacity: 1; transform: none; }
.work .work-photos figure:hover figcaption { transform: translateY(-2px); }
/* gentle staggered rise as the grid scrolls in */
.work .work-photos figure { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.work .work-photos.is-in figure { opacity: 1; transform: none; }
.work .work-photos.is-in figure:nth-child(2) { transition-delay: .1s; }
.work .work-photos.is-in figure:nth-child(3) { transition-delay: .2s; }
.work .work-photos.is-in figure:nth-child(4) { transition-delay: .3s; }
.work .work-photos.is-in figure:nth-child(5) { transition-delay: .4s; }
.work .work-photos.is-in figure:nth-child(6) { transition-delay: .5s; }
/* before/after feature gets the same finish */
.ba-feature .work-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.ba-feature .work-photo img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.9) contrast(1.05); }
.ba-feature .work-photo:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 960px) { .work .work-photos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work .work-photos { grid-template-columns: 1fr; } .work .work-photo { aspect-ratio: 4 / 3; } .work .work-photo > span { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .work .work-photos figure { opacity: 1; transform: none; transition: none; } }

/* Contact: two matching pills, WhatsApp as a quiet secondary */
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 6px; }
.enquiry-actions .button { width: auto; padding: 14px 26px; }
.enquiry .enquiry-wa, .enquiry-actions .btn-wa { width: auto; margin: 0; padding: 13px 24px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; }
.enquiry-actions .btn-wa i { color: #25d366; font-size: 19px; }
.enquiry-actions .btn-wa:hover { border-color: #25d366; box-shadow: 0 6px 18px rgba(37, 211, 102, .18); }

/* Floating WhatsApp: compact round icon, not a big pill */
.wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.wa-float span { display: none; }
.wa-float i { font-size: 28px; }
@media (max-width: 640px) { .wa-float { width: 50px; height: 50px; padding: 0; } }
/* footer Gas Safe back in full colour (founder 22 Oct) */
.footer-gs .gs-logo { filter: none; opacity: 1; width: 44px; height: 44px; }
.footer-gs { color: #cbd5e1; font-size: 14px; }
