/* ==========================================================================
   John Allcock Plumbing & Heating – theme styles
   Based on the original johnallcock.co.uk look: Gilmer headings, orange #FF5316,
   blue #1FAEEA, navy #1B2336, square buttons, full-width header and footer.
   ========================================================================== */

@font-face { font-family: "Gilmer"; src: url("../fonts/GilmerRegular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/GilmerMedium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/GilmerBold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
	--orange: #FF5316;
	--orange-dk: #E5440C;
	--blue: #1FAEEA;
	--navy: #1B2336;
	--navy-2: #232D44;
	--text: #4A5160;
	--muted: #7A8191;
	--line: #E6E8EC;
	--grey: #F5F6F8;
	--container: 1170px;
	--pad: 20px;
	--head: "Gilmer", "Helvetica Neue", Arial, sans-serif;
	--body: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--section: clamp(56px, 8vw, 100px);
	--side: max(var(--pad), calc(50% - var(--container) / 2));
}
@media (min-width: 768px) { :root { --pad: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--navy); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.ja-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; }
.ja-skip:focus { left: 8px; top: 8px; }
.ja-container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* Classic themes wrap group content in an inner container – flatten it so layouts apply to the group. */
.wp-block-group__inner-container { display: contents; }

/* ---------- Buttons ---------- */
.ja-btn, .wp-block-button__link {
	display: inline-block; padding: 15px 32px;
	font-family: var(--head); font-weight: 700; font-size: .95rem; line-height: 1.2;
	color: #fff; background: var(--orange); border: 0; border-radius: 0;
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.ja-btn:hover, .wp-block-button__link:hover { background: var(--navy); color: #fff; }
.ja-btn--navy, .is-style-navy .wp-block-button__link { background: var(--navy); }
.ja-btn--navy:hover, .is-style-navy .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.ja-btn--white, .is-style-white .wp-block-button__link { background: #fff; color: var(--orange); }
.ja-btn--white:hover, .is-style-white .wp-block-button__link:hover { background: var(--navy); color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.ja-readmore { font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--orange); }
.ja-readmore::before { content: ""; display: inline-block; width: 14px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ---------- Header (full width) ---------- */
.ja-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(27,35,54,.06); }
.ja-topbar { background: var(--blue); color: #fff; font-size: .82rem; }
.ja-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px var(--pad); }
.ja-topbar a { color: #fff; }
.ja-topbar a:hover { color: var(--navy); }
.ja-topbar__fb { display: inline-flex; }
.ja-topbar__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.ja-topbar__contact li { margin: 0; }
@media (max-width: 640px) { .ja-topbar__contact li:first-child { display: none; } .ja-topbar__contact { gap: 4px 14px; } }

.ja-header__main { display: flex; align-items: stretch; justify-content: space-between; min-height: 76px; padding-left: var(--pad); }
.ja-logo { display: flex; align-items: center; flex: none; padding: 12px 0; }
.ja-logo img { width: 190px; }
.ja-burger { margin-left: auto; width: 76px; border: 0; background: var(--grey); cursor: pointer; position: relative; }
.ja-burger span:first-child, .ja-burger span:first-child::before, .ja-burger span:first-child::after { position: absolute; width: 24px; height: 2px; background: var(--navy); transition: transform .2s, background .2s; }
.ja-burger span:first-child { top: 50%; left: 50%; margin-left: -12px; }
.ja-burger span:first-child::before, .ja-burger span:first-child::after { content: ""; left: 0; }
.ja-burger span:first-child::before { top: -8px; }
.ja-burger span:first-child::after { top: 8px; }
.ja-burger[aria-expanded="true"] span:first-child { background: transparent; }
.ja-burger[aria-expanded="true"] span:first-child::before { transform: translateY(8px) rotate(45deg); }
.ja-burger[aria-expanded="true"] span:first-child::after { transform: translateY(-8px) rotate(-45deg); }
.ja-callback { display: none; }

.ja-menu { list-style: none; margin: 0; padding: 0; }
.ja-menu li { margin: 0; }
.ja-menu a { display: block; font-family: var(--head); font-weight: 500; color: var(--navy); }
.ja-menu a:hover, .ja-menu .current-menu-item > a, .ja-menu .current-menu-ancestor > a { color: var(--orange); }
.ja-sub-toggle { background: none; border: 0; padding: 6px; color: var(--navy); cursor: pointer; }

@media (max-width: 1099px) {
	.ja-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 14px 30px rgba(27,35,54,.12); max-height: calc(100vh - 120px); overflow-y: auto; }
	.ja-nav.is-open { display: block; }
	.ja-menu > li { position: relative; border-bottom: 1px solid var(--line); }
	.ja-menu > li > a { padding: 15px var(--pad); }
	.ja-menu .ja-sub-toggle { position: absolute; right: calc(var(--pad) - 6px); top: 10px; padding: 10px; }
	.ja-menu .ja-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.ja-menu .sub-menu { display: none; list-style: none; padding: 0 0 10px; margin: 0; background: var(--grey); }
	.ja-menu .sub-menu.is-open { display: block; }
	.ja-menu .sub-menu a { padding: 10px calc(var(--pad) + 16px); font-size: .95rem; }
}
@media (min-width: 1100px) {
	.ja-header__main { min-height: 92px; }
	.ja-logo img { width: 220px; }
	.ja-burger { display: none; }
	.ja-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
	.ja-menu { display: flex; align-items: center; gap: 4px; }
	.ja-menu > li { position: relative; display: flex; align-items: center; }
	.ja-menu > li > a { padding: 34px 14px; font-size: .98rem; white-space: nowrap; }
	.ja-menu .ja-sub-toggle { margin-left: -12px; padding: 4px; }
	.ja-menu .sub-menu {
		position: absolute; left: 0; top: 100%; min-width: 240px; list-style: none; margin: 0; padding: 12px 0;
		background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 14px 30px rgba(27,35,54,.12);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.ja-menu li:hover > .sub-menu, .ja-menu li:focus-within > .sub-menu, .ja-menu .sub-menu.is-open { opacity: 1; visibility: visible; transform: none; }
	.ja-menu .sub-menu a { padding: 8px 24px; font-size: .93rem; }
	.ja-callback { display: flex; align-items: center; justify-content: center; flex: none; padding: 0 36px; background: var(--grey); color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 1rem; white-space: nowrap; }
	.ja-callback:hover { background: var(--orange); color: #fff; }
}
@media (min-width: 1400px) { .ja-menu > li > a { padding-left: 18px; padding-right: 18px; } .ja-callback { padding: 0 48px; } }

/* ---------- Page banner (inner pages) ---------- */
.ja-banner {
	position: relative; color: #fff; text-align: center;
	background: linear-gradient(rgba(31,174,234,.84), rgba(31,174,234,.84)), url("/wp-content/uploads/2022/11/testallcock-scaled-e1677077370118.jpg") center/cover no-repeat, var(--blue);
	padding: clamp(60px, 9vw, 110px) var(--pad);
}
.ja-banner__title { color: #fff; margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.ja-breadcrumb { margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.92); }
.ja-breadcrumb a { color: #fff; }
.ja-breadcrumb a:hover { color: var(--navy); }

/* ---------- Generic full-width sections built from group blocks ---------- */
.ja-full { width: 100%; padding: var(--section) var(--side); }
.ja-full.ja-tight { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.ja-bg-grey { background: var(--grey); }
.ja-center { text-align: center; }
.ja-title { margin-bottom: 44px !important; }
.ja-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin: 0; }
.wp-block-column { flex: 1 1 300px; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (min-width: 900px) { .wp-block-columns { flex-wrap: nowrap; gap: 70px; } }
.wp-block-image { margin: 0 0 1.4em; }
.wp-block-columns .wp-block-image { margin: 0; }
.wp-block-columns .wp-block-image img { width: 100%; }
.ja-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Home: hero slider (matches the original Slider Revolution design) ---------- */
.ja-hero { position: relative; overflow: hidden; background: #3E9FD3; display: grid; min-height: clamp(560px, 82vh, 830px); }
.ja-slide {
	position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 90px var(--side) 90px; color: #fff;
	background: var(--slide-img, none) center/cover no-repeat;
	opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
}
.ja-slide::before { content: ""; position: absolute; inset: 0; background: rgba(12, 44, 72, .18); }
.ja-slide > *, .ja-slide > .wp-block-group__inner-container > * { position: relative; z-index: 1; }
.ja-slide.is-active, .ja-hero:not(.is-ready) .ja-slide:first-child { opacity: 1; visibility: visible; }
.ja-slide--1 { --slide-img: url("/wp-content/uploads/2023/02/Man-fixing-boiler-2-scaled.jpg"); }
.ja-slide--2 { --slide-img: url("/wp-content/uploads/2023/01/young-engineer-adjusting-autonomous-heating-edited-scaled.jpg"); }
.ja-slide--center { align-items: center; text-align: center; padding-bottom: 190px; }
.ja-slide .ja-slide__kicker { display: inline-block; margin: 0 0 26px; padding: 6px 16px; background: rgba(0,0,0,.2); font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.375rem); color: #fff; line-height: 1.4; }
.ja-slide .ja-slide__title { color: #fff; font-size: clamp(2.4rem, 6.2vw, 5.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .45em; max-width: 1050px; text-shadow: 0 2px 24px rgba(0,0,0,.12); }
.ja-slide--2 .ja-slide__title { max-width: 900px; }
.ja-slide .wp-block-buttons { margin-top: .6em; }
.ja-slide--center .wp-block-buttons { justify-content: center; }
.ja-slide .wp-block-button__link { font-size: 1.125rem; padding: 18px 38px; }
.ja-slide .wp-block-button__link:hover { background: #fff; color: var(--orange); }
.ja-hero__badges {
	position: absolute !important; left: var(--side); right: var(--side); bottom: 56px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; text-align: left;
}
.ja-hero__award { display: flex; align-items: center; gap: 14px; max-width: 330px; }
.ja-hero__award img { width: 64px; height: 64px; flex: none; }
.ja-hero__award p { margin: 0; font-size: .94rem; line-height: 1.45; color: #fff; }
.ja-hero__logos { display: flex; align-items: center; gap: 18px; }
.ja-hero__logos img { height: 61px; width: auto; }
.ja-hero__logos .ja-badge-white { background: #fff; }
.ja-hero__arrow { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.ja-hero__arrow:hover { background: var(--orange); }
.ja-hero__arrow--prev { left: 0; }
.ja-hero__arrow--next { right: 0; }
@media (max-width: 800px) {
	.ja-slide--center { padding-bottom: 250px; }
	.ja-hero__badges { bottom: 30px; justify-content: center; }
	.ja-hero__award { max-width: none; }
	.ja-hero__logos img { height: 50px; }
	.ja-hero__arrow { display: none; }
}

/* ---------- Orange call-to-action band ---------- */
.ja-ctaband { background: var(--orange); color: #fff; }
.ja-ctaband .wp-block-columns { gap: 20px 40px; }
.ja-ctaband h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.ja-ctaband p { color: #fff; margin: 10px 0 0; }
.ja-ctaband .wp-block-buttons { margin: 0; }
@media (min-width: 900px) { .ja-ctaband .wp-block-column:last-child { flex: 0 0 auto; } .ja-ctaband .wp-block-buttons { justify-content: flex-end; } }

/* ---------- Intro text (area pages) ---------- */
.ja-intro h2 { margin-bottom: .5em; }

/* ---------- Services grid ---------- */
.ja-services { display: grid; gap: 24px; }
@media (min-width: 640px) { .ja-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ja-services { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.ja-service { position: relative; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ja-service:hover { box-shadow: 0 18px 40px rgba(27,35,54,.1); transform: translateY(-4px); }
.ja-service .wp-block-image { margin: 0; overflow: hidden; }
.ja-service .wp-block-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.ja-service:hover .wp-block-image img { transform: scale(1.04); }
.ja-service h3 { margin: 26px 28px 10px; font-size: 1.25rem; }
.ja-service h3 a { color: var(--navy); }
.ja-service h3 a::after { content: ""; position: absolute; inset: 0; }
.ja-service:hover h3 a { color: var(--orange); }
.ja-service p { margin: 0 28px 16px; color: var(--muted); font-size: .95rem; }
.ja-service p.ja-readmore { margin: auto 28px 28px; }

/* ---------- Why service your boiler ---------- */
.ja-why { display: grid; }
@media (min-width: 900px) { .ja-why { grid-template-columns: 1fr 1fr; } }
.ja-why__box { background: var(--orange); color: #fff; padding: clamp(36px, 5vw, 60px); }
.ja-why__box h2 { color: #fff; }
.ja-why__box .wp-block-buttons { margin-top: 1.2em; }
ul.ja-checks { list-style: none; padding: 0; margin: 1.4em 0; }
ul.ja-checks li { position: relative; padding: 12px 0 12px 30px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
ul.ja-checks li:last-child { border-bottom: 0; }
ul.ja-checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.ja-why__media { position: relative; min-height: 380px; }
.ja-why__media .wp-block-image { margin: 0; height: 100%; position: absolute; inset: 0; }
.ja-why__media img { width: 100%; height: 100%; object-fit: cover; }
.ja-why__media .ja-why__badge { position: absolute; right: 0; bottom: 0; margin: 0; background: #fff; color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.3; padding: 22px 30px; max-width: 280px; border-left: 4px solid var(--orange); }

/* ---------- Testimonials ---------- */
.ja-reviews { display: grid; gap: 24px; }
@media (min-width: 640px) { .ja-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ja-reviews { grid-template-columns: repeat(4, 1fr); } }
.ja-review { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 32px 28px; }
.ja-review h3 { margin: 0; font-size: 1.15rem; }
.ja-review .ja-review__role { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin: 2px 0 16px; font-weight: 700; }
.ja-review p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Brand logos band ---------- */
.ja-brands-band { background: var(--orange); }
.ja-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 700px) { .ja-brands { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.ja-brands .wp-block-image { margin: 0; background: #fff; height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; }
.ja-brands img { max-height: 60px; width: auto; object-fit: contain; }

/* ---------- Blog ---------- */
.wp-block-latest-posts.ja-latest { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; }
@media (min-width: 800px) { .wp-block-latest-posts.ja-latest { grid-template-columns: repeat(3, 1fr); } }
.wp-block-latest-posts.ja-latest li { margin: 0; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; text-align: center; padding-bottom: 28px; }
.wp-block-latest-posts.ja-latest .wp-block-latest-posts__featured-image { margin: 0 0 22px; }
.wp-block-latest-posts.ja-latest .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.wp-block-latest-posts.ja-latest .wp-block-latest-posts__post-title { padding: 0 26px; font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.15rem; line-height: 1.35; }
.wp-block-latest-posts.ja-latest .wp-block-latest-posts__post-title:hover { color: var(--orange); }
.wp-block-latest-posts.ja-latest .wp-block-latest-posts__post-date { order: 1; margin-top: 10px; color: var(--orange); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ja-postgrid { display: grid; gap: 30px; }
@media (min-width: 700px) { .ja-postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ja-postgrid { grid-template-columns: repeat(3, 1fr); } }
.ja-postcard { background: #fff; border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; }
.ja-postcard__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ja-postcard__body { padding: 0 26px 28px; }
.ja-postcard__date { display: inline-block; background: #fff; color: var(--orange); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 8px 18px; margin: -18px 0 14px; position: relative; box-shadow: 0 6px 18px rgba(27,35,54,.08); }
.ja-postcard__title { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.ja-postcard__title a { color: var(--navy); }
.ja-postcard__title a:hover { color: var(--orange); }
.ja-section { padding: var(--section) 0; }
.ja-pagination { margin-top: 44px; }
.ja-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ja-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); font-weight: 700; padding: 0 12px; }
.ja-pagination .page-numbers.current, .ja-pagination a.page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.ja-seolinks { font-size: .9rem; text-align: center; margin: 0; }
.ja-seolinks a { color: var(--navy); }
.ja-seolinks a:hover { color: var(--orange); }

/* ---------- Pages with the quote sidebar ---------- */
.ja-withside { display: grid; gap: 50px; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: var(--section) var(--pad); }
@media (min-width: 1000px) { .ja-withside { grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; } }
.ja-prose { font-size: 1.02rem; }
.ja-prose > :first-child { margin-top: 0; }
.ja-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.5em; }
.ja-prose h3 { margin-top: 1.4em; }
.ja-prose .wp-block-image img { width: 100%; max-height: 520px; object-fit: cover; }
.ja-prose .wp-block-image { margin: 2em 0; }
.ja-prose ol li::marker { color: var(--orange); font-weight: 700; }
.ja-prose ul li::marker { color: var(--orange); }
.ja-postdate { color: var(--orange); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.ja-article-image img { width: 100%; margin-bottom: 30px; }
.ja-postnav { display: grid; gap: 14px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); font-family: var(--head); font-weight: 700; }
@media (min-width: 700px) { .ja-postnav { grid-template-columns: 1fr 1fr; } .ja-postnav__next { text-align: right; } }
.ja-postnav a { color: var(--navy); }
.ja-postnav a:hover { color: var(--orange); }

.ja-quotebox { background: var(--navy); color: #C9CED8; padding: 36px 30px; }
@media (min-width: 1000px) { .ja-quotebox { position: sticky; top: 24px; } }
.ja-quotebox__title { color: #fff; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.ja-quotebox__sub { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin: 26px 0 14px; }
.ja-quotebox__phone { margin: 0 0 12px; font-family: var(--head); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.ja-quotebox__phone span { display: block; font-family: var(--body); font-size: .72rem; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.ja-quotebox__phone a { color: #fff; }
.ja-quotebox__phone a:hover { color: var(--orange); }
.ja-quotebox .wpcf7 label { color: #C9CED8; font-weight: 400; }
.ja-quotebox .wpcf7 input[type="text"], .ja-quotebox .wpcf7 input[type="email"], .ja-quotebox .wpcf7 input[type="tel"], .ja-quotebox .wpcf7 textarea { background: var(--navy-2); border-color: #34405A; color: #fff; }
.ja-quotebox .wpcf7 textarea { min-height: 110px; }
.ja-quotebox .wpcf7 input[type="submit"]:hover { background: #fff; color: var(--navy); }

/* ---------- Contact ---------- */
.ja-contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.ja-contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ja-contact-list li:first-child { border-top: 1px solid var(--line); }
.ja-contact-list strong { display: block; font-family: var(--head); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.ja-contact-list a { color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.ja-contact-list a:hover { color: var(--orange); }
.ja-map iframe { display: block; width: 100%; height: 440px; border: 0; }
.ja-full.ja-map-section { padding: 0; }
.ja-contact .wp-block-columns { align-items: flex-start; }

/* ---------- Gallery ---------- */
.wp-block-gallery.ja-gallery { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
@media (min-width: 800px) { .wp-block-gallery.ja-gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.wp-block-gallery.ja-gallery .wp-block-image { margin: 0; width: auto !important; }
.wp-block-gallery.ja-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 form { display: grid; gap: 14px; }
.wpcf7 p { margin: 0; }
.wpcf7 .ja-f2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .wpcf7 .ja-f2 { grid-template-columns: 1fr 1fr; } }
.ja-quotebox .wpcf7 .ja-f2 { grid-template-columns: 1fr; }
.wpcf7 label { display: block; font-size: .9rem; color: var(--navy); font-weight: 700; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; margin-top: 6px; min-height: 50px; padding: 12px 14px;
	font: 400 1rem var(--body); color: var(--navy);
	background: var(--grey); border: 1px solid var(--line); border-radius: 0;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.ja-quotebox .wpcf7 input:focus, .ja-quotebox .wpcf7 textarea:focus { background: var(--navy-2); }
.wpcf7 input[type="submit"] { justify-self: start; padding: 15px 40px; border: 0; border-radius: 0; background: var(--orange); color: #fff; font: 700 .95rem var(--head); cursor: pointer; transition: background .2s, color .2s; }
.wpcf7 input[type="submit"]:hover { background: var(--navy); }
.wpcf7-not-valid-tip { color: #d32f2f; font-size: .85rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 14px; font-size: .92rem; }

/* ---------- Footer (full width) ---------- */
.ja-footer { color: #AEB5C3; font-size: .93rem; }
.ja-footer a { color: inherit; }
.ja-footer a:hover { color: #fff; }
.ja-footer__areas { position: relative; overflow: hidden; background: var(--orange); color: #fff; text-align: center; padding: 60px var(--pad) 56px; }
.ja-footer__areas::before, .ja-footer__areas::after { content: ""; position: absolute; width: 520px; height: 220px; background: rgba(255,255,255,.07); transform: skewX(-35deg); pointer-events: none; }
.ja-footer__areas::before { left: -260px; top: 60px; }
.ja-footer__areas::after { right: -260px; bottom: 40px; }
.ja-footer__strap { position: relative; font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #fff; margin: 0 0 18px; }
.ja-footer__strap a { color: #FFE0D3; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ja-footer__strap a:hover { color: #fff; }
.ja-footer__areas-title { position: relative; color: #fff; font-size: 1.3rem; margin: 0 0 22px; }
.ja-footer__areas-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 700px) { .ja-footer__areas-grid { grid-template-columns: repeat(3, 1fr); } }
.ja-footer__areas-grid ul { list-style: none; margin: 0; padding: 0; }
.ja-footer__areas-grid li { margin: 0; }
.ja-footer__areas-grid a { display: block; padding: 4px 0; color: #fff; }
.ja-footer__areas-grid a:hover { color: var(--navy); }
.ja-footer__main { background: var(--navy); display: grid; gap: 36px; padding: 64px var(--pad) 44px; }
@media (min-width: 700px) { .ja-footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ja-footer__main { grid-template-columns: 1.4fr 1fr 1fr auto; padding-left: var(--side); padding-right: var(--side); } }
.ja-footer__head { color: #fff; font-size: 1.2rem; margin-bottom: 20px; }
.ja-footer__list { list-style: none; margin: 0; padding: 0; }
.ja-footer__list li { margin: 0 0 10px; }
.ja-footer__fb { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-top: 12px; background: var(--navy-2); color: #fff !important; }
.ja-footer__fb:hover { background: var(--orange); }
.ja-footer__badges img { background: #fff; padding: 6px; }
.ja-footer__bottom { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 20px var(--pad); font-size: .82rem; }
.ja-footer__bottom p { margin: 0; }

/* 404 */
.ja-404 { text-align: center; }
.ja-404 .ja-btnrow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.wpcf7-form-control-wrap { display: block; }

/* ---------- Mega menu (Heating Services) ---------- */
.ja-menu .ja-mega-col > a { pointer-events: none; font-family: var(--head); font-weight: 700; color: var(--navy); }
.ja-mega__promos { display: none; }
@media (max-width: 1099px) {
	.ja-menu .ja-mega-col > a { padding: 14px calc(var(--pad) + 16px) 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
	.ja-menu .ja-mega-col > .sub-menu { display: block; padding: 0; }
	.ja-menu .sub-menu .sub-menu a { padding-left: calc(var(--pad) + 16px); }
}
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega { position: static; }
	.ja-menu > li.ja-mega > .sub-menu {
		left: 0; right: 0; width: 100%; min-width: 0;
		display: grid; grid-template-columns: 360px 210px 220px 1fr; gap: 0 40px; align-items: start;
		padding: 40px var(--side) 44px;
		background: var(--navy); border-top: 0; box-shadow: 0 24px 40px rgba(27,35,54,.25);
	}
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a { color: #fff; font-size: 1.45rem; padding: 0 0 14px; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0; min-width: 0; display: block; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a { color: #D7DCE6; font-family: var(--body); font-weight: 400; font-size: .98rem; padding: 6px 0; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a:hover, .ja-menu > li.ja-mega .sub-menu .sub-menu .current-menu-item > a { color: var(--orange); background: none; }
	.ja-mega__promos { display: flex; justify-content: flex-end; gap: 18px; }
	.ja-mega__promo { display: flex; flex-direction: column; width: 230px; background: #fff; color: var(--navy) !important; padding: 0 !important; font-family: var(--head) !important; overflow: hidden; }
	.ja-mega__promo-img { display: block; height: 130px; background-size: cover; background-position: center; transition: transform .4s; }
	.ja-mega__promo:hover .ja-mega__promo-img { transform: scale(1.04); }
	.ja-mega__promo-text { display: block; padding: 14px 16px 16px; position: relative; background: #fff; }
	.ja-mega__promo-text strong { display: block; font-size: 1.05rem; color: var(--navy); }
	.ja-mega__promo-text span { font-family: var(--body); font-size: .88rem; color: var(--orange); }
}

/* Boilers is the lead column: wider, two-column list, orange heading rule */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > a { color: var(--orange); }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu { columns: 2; column-gap: 30px; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu > li { break-inside: avoid; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu > li > a { font-size: 1.02rem; color: #fff; font-weight: 500; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a { border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; }
}
@media (min-width: 1100px) and (max-width: 1199px) { .ja-mega__promos { display: none; } }
@media (min-width: 1100px) { .ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a { white-space: nowrap; } .ja-menu > li.ja-mega .sub-menu .sub-menu a { white-space: nowrap; } }
@media (min-width: 1100px) and (max-width: 1299px) { .ja-menu > li.ja-mega > .sub-menu { grid-template-columns: 330px 200px 210px; } }
@media (min-width: 1100px) { .ja-mega__promos { min-width: 0; } }

/* Top bar icons */
.ja-topbar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.ja-ti { flex: none; opacity: .95; }
.ja-topbar__fb { width: 30px; height: 30px; align-items: center; justify-content: center; }

/* Services panel – wider layout */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega > .sub-menu {
		grid-template-columns: minmax(340px, 1.7fr) minmax(220px, 1fr) minmax(240px, 1fr) auto !important;
		gap: 0 clamp(36px, 4vw, 72px);
		padding: 48px max(40px, calc(50% - 780px)) 52px;
	}
	.ja-menu > li.ja-mega .sub-menu .sub-menu a { font-size: 1.02rem; padding: 8px 0; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu { column-gap: 48px; }
	.ja-mega__promo { width: 250px; }
	.ja-mega__promo-img { height: 140px; }
}
@media (min-width: 1100px) and (max-width: 1659px) { .ja-mega__promo:last-child { display: none; } }
@media (min-width: 1660px) { .ja-mega__promo:last-child { display: flex; } }
@media (min-width: 1100px) and (max-width: 1249px) { .ja-mega__promos { display: none; } }
@media (min-width: 1100px) { .ja-mega__promo { flex: none; } }

/* Homepage boiler focus additions */
.ja-slide .ja-slide__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #fff; max-width: 680px; margin: 0 auto 1em; }
.ja-slide--2 .ja-slide__sub { margin-left: 0; }
ul.ja-ticklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 8px; }
ul.ja-ticklist li { position: relative; padding-left: 28px; margin: 0; font-weight: 700; color: var(--navy); }
ul.ja-ticklist li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ja-also { text-align: center; margin: 40px auto 0; max-width: 760px; color: var(--muted); }
.ja-also a { color: var(--navy); font-weight: 700; }
.ja-also a:hover { color: var(--orange); }
.ja-full.ja-quote-section { padding-top: 0; }

/* Header "Request a Quote" button (rounded) */
.ja-quote-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: 999px; background: var(--orange); color: #fff !important; font-family: var(--head); font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap; transition: background .2s, transform .2s; }
.ja-quote-btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.ja-nav .ja-quote-btn { display: none; }
.ja-quote-btn--mobile { align-self: center; margin-left: auto; margin-right: 12px; padding: 11px 18px; font-size: .88rem; }
@media (max-width: 1099px) {
	.ja-burger { margin-left: 0; }
	.ja-nav.is-open .ja-quote-btn { display: none; }
}
@media (max-width: 380px) { .ja-quote-btn--mobile { padding: 10px 14px; font-size: .82rem; margin-right: 8px; } }
@media (min-width: 1100px) {
	.ja-quote-btn--mobile { display: none; }
	.ja-nav .ja-quote-btn { display: inline-flex; margin-left: 18px; }
	.ja-nav { justify-content: flex-end; padding-right: var(--pad); }
}
@media (max-width: 640px) {
	.ja-tl { display: none; }
	.ja-topbar__contact { flex-wrap: nowrap; gap: 16px; }
	.ja-topbar__inner { padding-top: 5px; padding-bottom: 5px; }
	.ja-logo img { width: 150px; }
	.ja-header__main { min-height: 66px; }
	.ja-burger { width: 62px; }
}
@media (max-width: 360px) { .ja-logo img { width: 128px; } }

/* ---------- Hero v2: navy text panel + real photo collage ---------- */
.ja-hero2 { display: grid; background: var(--navy); color: #C9CED8; }
@media (min-width: 1000px) { .ja-hero2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; } }
.ja-hero2__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 7vw, 90px) var(--pad); }
@media (min-width: 1000px) { .ja-hero2__text { padding-left: max(var(--pad), calc(50vw - var(--container) / 2)); padding-right: clamp(40px, 5vw, 80px); } }
.ja-hero2 .ja-hero2__kicker { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--orange); font-family: var(--head); font-weight: 500; font-size: 1rem; color: var(--blue); }
.ja-hero2 .ja-hero2__title { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; }
.ja-hero2 .ja-hero2__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; max-width: 520px; margin: 0; color: #D7DCE6; }
.ja-hero2 .wp-block-buttons { margin-top: 32px; }
.ja-hero2 .wp-block-button__link { padding: 18px 30px; font-size: 1rem; }
.is-style-outline-white .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.is-style-outline-white .wp-block-button__link:hover { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px #fff; }
.ja-hero2__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.ja-hero2__logos li { margin: 0; background: #fff; height: 64px; padding: 6px 12px; display: flex; align-items: center; }
.ja-hero2__logos img { height: 52px; width: auto; }

.ja-hero2__photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 340px; border-left: 6px solid var(--orange); }
.ja-hero2__photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ja-hero2__p1 { grid-row: 1 / 3; }
@media (max-width: 999px) {
	.ja-hero2__photos { order: -1; border-left: 0; border-bottom: 6px solid var(--orange); height: 300px; min-height: 0; }
}
@media (max-width: 560px) { .ja-hero2__photos { height: 230px; } .ja-hero2__logos li { height: 54px; } .ja-hero2__logos img { height: 42px; } }

/* ---------- Services dropdown: all text white ---------- */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a,
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > a { color: #fff !important; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a,
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu > li > a { color: #fff; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a:hover,
	.ja-menu > li.ja-mega .sub-menu .sub-menu .current-menu-item > a { color: var(--orange); }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > a { border-bottom-color: var(--orange); }
}

/* Hero photo grid: keep photos inside their box at all sizes */
.ja-hero2__photos { grid-template-rows: repeat(2, minmax(0, 1fr)); overflow: hidden; }
.ja-hero2__photos > img { min-height: 0; min-width: 0; }

/* Top bar contact details in bold */
.ja-topbar__contact a { font-weight: 700; }

/* Services dropdown – orange panel, white text, navy hover */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega > .sub-menu { background: var(--orange); box-shadow: 0 24px 40px rgba(27,35,54,.22); }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a { border-bottom-color: rgba(255,255,255,.35) !important; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a:hover,
	.ja-menu > li.ja-mega .sub-menu .sub-menu .current-menu-item > a { color: var(--navy) !important; }
	.ja-mega__promo-text span { color: var(--orange); }
	.ja-mega__promo { box-shadow: 0 10px 24px rgba(0,0,0,.14); }
}

/* ---------- Hero v3: light, text left, framed real photo right ---------- */
.ja-hero3 { background: #EEF6FC; padding: clamp(44px, 7vw, 96px) var(--pad); overflow: hidden; }
.ja-hero3__inner { max-width: var(--container); margin: 0 auto; display: grid; gap: 50px; align-items: center; }
@media (min-width: 1000px) { .ja-hero3__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 70px; } }
.ja-hero3 .ja-hero3__kicker { margin: 0 0 16px; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--orange); }
.ja-hero3 .ja-hero3__title { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; color: var(--navy); margin: 0 0 22px; }
.ja-hero3 .ja-hero3__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text); max-width: 540px; margin: 0; }
.ja-hero3 .wp-block-buttons { margin-top: 32px; }
.ja-hero3 .wp-block-button__link { padding: 18px 30px; font-size: 1rem; }
.ja-hero3__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin: 42px 0 0; padding: 26px 0 0; border-top: 1px solid #D3E3EF; }
.ja-hero3__logos li { margin: 0; }
.ja-hero3__logos img { height: 46px; width: auto; mix-blend-mode: multiply; }

.ja-hero3__media { position: relative; max-width: 500px; width: 100%; justify-self: center; margin: 0 22px 22px 0; }
.ja-hero3__media::before { content: ""; position: absolute; right: -22px; bottom: -22px; width: 72%; height: 78%; background: var(--orange); }
.ja-hero3__photo { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 24px 50px rgba(27,35,54,.18); }
.ja-hero3__note { position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 14px; max-width: 300px; padding: 14px 18px; background: #fff; box-shadow: 0 14px 34px rgba(27,35,54,.16); }
.ja-hero3__note img { width: 84px; height: auto; flex: none; }
.ja-hero3__note p { margin: 0; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.ja-hero3__note strong { display: block; font-family: var(--head); font-size: .95rem; color: var(--navy); }
@media (max-width: 999px) { .ja-hero3__media { max-width: 420px; } .ja-hero3__note { left: 12px; } }
@media (max-width: 560px) { .ja-hero3__note { position: relative; left: 0; bottom: 0; margin-top: -40px; max-width: none; } .ja-hero3__media::before { right: -14px; bottom: -14px; } .ja-hero3__media { margin: 0 14px 14px 0; } }

/* ---------- Header button: square corners ---------- */
.ja-quote-btn { border-radius: 0; }

/* ---------- Header & footer content brought in to the page width (backgrounds stay full width) ---------- */
.ja-topbar__inner,
.ja-header__main,
.ja-footer__bottom { padding-left: var(--side); padding-right: var(--side); }
@media (min-width: 1100px) { .ja-nav { padding-right: 0; } }
@media (max-width: 1099px) { .ja-header__main { padding-right: 0; } }
.ja-footer__main { padding-left: var(--side) !important; padding-right: var(--side) !important; }

/* ---------- Top bar contact details (refined) ---------- */
.ja-topbar { font-size: .86rem; }
.ja-topbar__inner { min-height: 44px; padding-top: 0; padding-bottom: 0; }
.ja-topbar__contact { gap: 0; flex-wrap: nowrap; }
.ja-topbar__contact li { display: flex; align-items: center; }
.ja-topbar__contact li + li { border-left: 1px solid rgba(255,255,255,.35); }
.ja-tc { display: inline-flex !important; align-items: center; gap: 9px; padding: 0 20px; font-weight: 400 !important; letter-spacing: .01em; }
.ja-topbar__contact li:last-child .ja-tc { padding-right: 0; }
.ja-tc__ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--blue); transition: background .2s, color .2s; }
.ja-tc .ja-tl { opacity: .85; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.ja-tc strong { color: #fff; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .01em; }
.ja-tc:hover .ja-tc__ico { background: var(--navy); color: #fff; }
.ja-tc:hover strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ja-topbar__fb { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ja-topbar__fb:hover { background: var(--navy); color: #fff; }
.ja-topbar__fb svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .ja-tc--email { display: none !important; } .ja-topbar__contact li:nth-child(2) { border-left: 0; } }
@media (max-width: 640px) { .ja-tc { padding: 0 12px; } .ja-tc__ico { width: 22px; height: 22px; } .ja-tc strong { font-size: .86rem; } .ja-topbar__inner { min-height: 40px; } }
@media (max-width: 380px) { .ja-tc__ico { display: none; } }

/* ---------- Hero v4: real-photo collage background + overlay + content ---------- */
.ja-hero4 { position: relative; overflow: hidden; background: var(--navy); min-height: clamp(560px, 76vh, 760px); display: flex; align-items: center; }
.ja-hero4__collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.ja-hero4__collage img { width: 100%; height: 100%; object-fit: cover; display: block; min-width: 0; min-height: 0; }
.ja-hero4__collage img:nth-child(1) { grid-row: 1 / 3; }
.ja-hero4__collage img:nth-child(2) { grid-row: 1 / 3; }
.ja-hero4__collage img:nth-child(3) { grid-column: 3 / 5; }
.ja-hero4__collage img:nth-child(4) { grid-column: 3; grid-row: 2; }
.ja-hero4__collage img:nth-child(5) { grid-column: 4; grid-row: 2; }
.ja-hero4::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,35,54,.94) 0%, rgba(27,35,54,.86) 42%, rgba(27,35,54,.55) 75%, rgba(27,35,54,.35) 100%); }
.ja-hero4__content { position: relative; z-index: 1; width: 100%; padding: clamp(60px, 9vw, 110px) var(--side); }
.ja-hero4__content > *, .ja-hero4__content > .wp-block-group__inner-container > * { max-width: 680px; }
.ja-hero4 .ja-hero4__kicker { display: inline-block; margin: 0 0 22px; padding: 7px 14px; background: var(--orange); font-family: var(--head); font-weight: 700; font-size: .95rem; color: #fff; }
.ja-hero4 .ja-hero4__title { color: #fff; font-size: clamp(2.6rem, 5.8vw, 5rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 22px; }
.ja-hero4 .ja-hero4__sub { color: #DCE2EC; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; margin: 0; max-width: 600px; }
.ja-hero4 .wp-block-buttons { margin-top: 34px; }
.ja-hero4 .wp-block-button__link { padding: 18px 30px; font-size: 1rem; }
.ja-hero4__logos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; }
.ja-hero4__logos li { margin: 0; background: #fff; height: 60px; padding: 6px 12px; display: flex; align-items: center; }
.ja-hero4__logos img { height: 48px; width: auto; }
@media (max-width: 900px) {
	.ja-hero4__collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
	.ja-hero4__collage img:nth-child(n) { grid-column: auto; grid-row: auto; }
	.ja-hero4__collage img:nth-child(5) { display: none; }
	.ja-hero4::after { background: rgba(27,35,54,.84); }
}
@media (max-width: 560px) { .ja-hero4__logos li { height: 50px; } .ja-hero4__logos img { height: 38px; } }
/* Labels styled the same as the numbers */
.ja-tc .ja-tl { opacity: 1; text-transform: none; letter-spacing: .01em; font-family: var(--head); font-weight: 700; font-size: .95rem; color: #fff; }
@media (max-width: 640px) { .ja-tc .ja-tl { font-size: .86rem; } }

/* Hero: the original site's hero photo as a single background, content spread wider */
.ja-hero4--photo { background: var(--navy) url("/wp-content/uploads/2023/02/Man-fixing-boiler-2-scaled.jpg") center right / cover no-repeat; }
.ja-hero4--photo::after { background: linear-gradient(90deg, rgba(27,35,54,.9) 0%, rgba(27,35,54,.78) 45%, rgba(27,35,54,.35) 80%, rgba(27,35,54,.15) 100%); }
.ja-hero4__content > *, .ja-hero4__content > .wp-block-group__inner-container > * { max-width: 980px; }
.ja-hero4 .ja-hero4__title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.ja-hero4 .ja-hero4__sub { max-width: 820px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
@media (max-width: 900px) { .ja-hero4--photo::after { background: rgba(27,35,54,.78); } .ja-hero4--photo { background-position: 70% center; } }
.ja-hero4__content > *, .ja-hero4__content > .wp-block-group__inner-container > * { max-width: var(--container); }
.ja-hero4 .ja-hero4__title { font-size: clamp(2.6rem, 5.6vw, 5rem); }
@media (min-width: 1100px) { .home .ja-hero4 .ja-hero4__title { white-space: nowrap; } }
.ja-hero4 .ja-hero4__sub { max-width: 900px; }

/* Facebook icon – same style as the phone/email icons */
.ja-topbar__fb { width: 26px !important; height: 26px !important; border-radius: 50%; background: #fff !important; color: var(--blue) !important; display: inline-grid !important; place-items: center; transition: background .2s, color .2s; }
.ja-topbar__fb svg { width: 14px !important; height: 14px !important; }
.ja-topbar__fb:hover { background: var(--navy) !important; color: #fff !important; }

/* Services dropdown – content matches the header width, smaller type */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega > .sub-menu {
		padding: 34px var(--side) 38px !important;
		grid-template-columns: 300px 200px 210px 1fr !important;
		gap: 0 36px !important;
	}
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col > a { font-size: 1.1rem !important; padding-bottom: 10px !important; margin-bottom: 10px !important; }
	.ja-menu > li.ja-mega .sub-menu .sub-menu a { font-size: .9rem !important; padding: 5px 0 !important; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu { column-gap: 28px !important; }
	.ja-mega__promo { width: 220px !important; }
	.ja-mega__promo:last-child { display: none !important; }
	.ja-mega__promo-img { height: 110px !important; }
	.ja-mega__promo-text { padding: 12px 14px 14px !important; }
	.ja-mega__promo-text strong { font-size: .95rem !important; }
	.ja-mega__promo-text span { font-size: .82rem !important; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .ja-mega__promos { display: none !important; } .ja-menu > li.ja-mega > .sub-menu { grid-template-columns: 300px 200px 210px !important; } }

/* ---------- Hero slider (installation / servicing / repairs) ---------- */
.ja-hero4--slider { display: grid; align-items: stretch; background: var(--navy); }
.ja-hero4--slider::after { display: none; }
.ja-hero4__slide { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 100px) var(--side) 170px; background: var(--navy) center right / cover no-repeat; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.ja-hero4__slide--1 { background-image: url("/wp-content/uploads/2023/02/Man-fixing-boiler-2-scaled.jpg"); }
.ja-hero4__slide--2 { background-image: url("/wp-content/uploads/2023/01/young-engineer-adjusting-autonomous-heating-edited-scaled.jpg"); }
.ja-hero4__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,35,54,.9) 0%, rgba(27,35,54,.78) 45%, rgba(27,35,54,.35) 80%, rgba(27,35,54,.15) 100%); }
.ja-hero4__slide > *, .ja-hero4__slide > .wp-block-group__inner-container > * { position: relative; z-index: 1; max-width: var(--container); }
.ja-hero4__slide.is-active, .ja-hero4--slider:not(.is-ready) .ja-hero4__slide:first-child { opacity: 1; visibility: visible; }
.ja-hero4--slider .ja-hero4__logos { position: relative; z-index: 2; grid-area: 1 / 1; align-self: end; margin: 0; padding: 0 var(--side) 48px; }
.ja-hero4__nav { position: absolute; z-index: 3; right: var(--side); bottom: 56px; display: flex; align-items: center; gap: 10px; }
.ja-hero4__dot { width: 38px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; }
.ja-hero4__dot.is-active { background: var(--orange); }
.ja-hero4__arrow { width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.ja-hero4__arrow:hover { background: var(--orange); }
@media (max-width: 900px) {
	.ja-hero4__slide::before { background: rgba(27,35,54,.8); }
	.ja-hero4__slide { background-position: 70% center; padding-bottom: 190px; }
	.ja-hero4__nav { left: var(--side); right: auto; bottom: 22px; }
	.ja-hero4--slider .ja-hero4__logos { padding-bottom: 70px; }
	.ja-hero4__arrow { display: none; }
}
@media (max-width: 560px) { .ja-hero4__slide { padding-bottom: 220px; } }
.ja-hero4__slide .ja-hero4__kicker { align-self: flex-start; }
/* Bold menu items */
.ja-menu > li > a { font-weight: 700; }
/* Lighter overlay so more of the photo shows */
.ja-hero4__slide::before { background: linear-gradient(90deg, rgba(27,35,54,.72) 0%, rgba(27,35,54,.5) 40%, rgba(27,35,54,.15) 75%, rgba(27,35,54,0) 100%); }
.ja-hero4__slide .ja-hero4__title, .ja-hero4__slide .ja-hero4__sub { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
@media (max-width: 900px) { .ja-hero4__slide::before { background: rgba(27,35,54,.58); } }

/* Accreditation logos – solid white bar along the bottom of the hero */
.ja-hero4--slider .ja-hero4__logos { padding: 0 var(--side) 36px; gap: 0; }
.ja-hero4--slider .ja-hero4__logos { display: flex; flex-wrap: wrap; align-items: stretch; }
.ja-hero4--slider .ja-hero4__logos li { height: auto; padding: 14px 24px; background: #fff; display: flex; align-items: center; gap: 12px; }
.ja-hero4--slider .ja-hero4__logos li + li { border-left: 1px solid #E6E8EC; }
.ja-hero4--slider .ja-hero4__logos li:first-child { border-left: 4px solid var(--orange); }
.ja-hero4--slider .ja-hero4__logos img { height: 56px; width: auto; }
.ja-hero4--slider .ja-hero4__logos { filter: drop-shadow(0 14px 28px rgba(0,0,0,.22)); }
.ja-hero4__award span { font-size: .82rem; line-height: 1.35; color: var(--text); max-width: 210px; }
.ja-hero4__award strong { display: block; font-family: var(--head); font-size: .95rem; color: var(--navy); }
.ja-hero4__slide { padding-bottom: 200px; }
.ja-hero4__nav { bottom: 62px; }
@media (max-width: 900px) {
	.ja-hero4--slider .ja-hero4__logos li { padding: 10px 14px; }
	.ja-hero4--slider .ja-hero4__logos img { height: 44px; }
	.ja-hero4__award { flex-basis: 100%; border-left: 4px solid var(--orange) !important; border-top: 1px solid #E6E8EC; }
	.ja-hero4__award span { max-width: none; }
	.ja-hero4__slide { padding-bottom: 290px; }
	.ja-hero4--slider .ja-hero4__logos { padding-bottom: 60px; }
}
@media (max-width: 560px) { .ja-hero4--slider .ja-hero4__logos img { height: 36px; } .ja-hero4--slider .ja-hero4__logos li { padding: 8px 10px; } .ja-hero4__slide { padding-bottom: 300px; } }

/* Service cards: "Read More" as an orange button */
.ja-service p.ja-readmore { align-self: flex-start; display: inline-block; margin: auto 28px 28px; padding: 11px 22px; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 700; font-size: .88rem; line-height: 1.2; transition: background .2s; }
.ja-service p.ja-readmore::before { display: none; }
.ja-service:hover p.ja-readmore { background: var(--navy); }

/* ---------- Boiler brands we install ---------- */
.ja-full.ja-brands-section { padding-top: clamp(50px, 6vw, 80px); padding-bottom: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ja-brands-section .ja-brands-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.ja-brands-section .ja-brands-sub { max-width: 640px; margin: 0 auto 36px; color: var(--muted); }
.ja-brandrow { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border: 1px solid var(--line); }
@media (min-width: 760px) { .ja-brandrow { grid-template-columns: repeat(4, 1fr); } }
.ja-brandrow li { margin: 0; display: flex; align-items: center; justify-content: center; height: 120px; padding: 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.ja-brandrow li:hover { background: var(--grey); }
@media (min-width: 760px) { .ja-brandrow li { border-bottom: 0; } .ja-brandrow li:last-child { border-right: 0; } }
@media (max-width: 759px) { .ja-brandrow li:nth-child(2n) { border-right: 0; } .ja-brandrow li:nth-last-child(-n+2) { border-bottom: 0; } }
.ja-brandrow img { max-height: 50px; max-width: 100%; width: auto; height: auto; }

/* Footer: popular services links (moved from the homepage) */
.ja-footer__popular { background: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding: 18px var(--side); border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.ja-footer__popular span { color: #fff; font-family: var(--head); font-weight: 700; }
.ja-footer__popular ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.ja-footer__popular li { margin: 0; }
.ja-footer__popular li + li::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.3); }
.ja-footer__popular a { color: #AEB5C3; }
.ja-footer__popular a:hover { color: #fff; }

/* ==========================================================================
   Footer v2
   ========================================================================== */
.ja-footer { background: var(--navy); color: #AEB5C3; font-size: .93rem; }
.ja-footer a { color: inherit; }
.ja-footer a:hover { color: #fff; }

/* CTA strip */
.ja-footer__cta { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.ja-footer__cta::after { content: ""; position: absolute; right: -120px; top: -40px; width: 420px; height: 220px; background: rgba(255,255,255,.08); transform: skewX(-35deg); pointer-events: none; }
.ja-footer__cta-inner { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; padding: clamp(34px, 4vw, 48px) var(--side); }
@media (min-width: 900px) { .ja-footer__cta-inner { grid-template-columns: 1fr auto; gap: 40px; } }
.ja-footer__cta-title { margin: 0 0 6px; font-family: var(--head); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.25; color: #fff; }
.ja-footer__cta-title a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.5); }
.ja-footer__cta-title a:hover { color: #fff; text-decoration-color: #fff; }
.ja-footer__cta-text { margin: 0; color: rgba(255,255,255,.9); }
.ja-footer__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ja-footer .ja-btn--navy { color: #fff; }
.ja-footer .ja-btn--navy:hover { background: #fff; color: var(--navy); }
.ja-footer .ja-btn--white { color: var(--orange); }
.ja-footer .ja-btn--white:hover { background: var(--navy); color: #fff; }

/* Main columns */
.ja-footer__main { display: grid; gap: 40px; padding: clamp(52px, 6vw, 72px) var(--side) !important; background: none; }
@media (min-width: 700px) { .ja-footer__main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ja-footer__main { grid-template-columns: 1.35fr .8fr .8fr 1.25fr; gap: 50px; } }
.ja-footer__logo { display: inline-block; background: #fff; padding: 12px 16px; margin-bottom: 18px; }
.ja-footer__logo img { width: 190px; height: auto; }
.ja-footer__about { margin: 0 0 22px; max-width: 360px; line-height: 1.65; }
.ja-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ja-footer__contact li { margin: 0; }
.ja-footer__contact li, .ja-footer__contact a { display: flex; align-items: center; gap: 12px; }
.ja-footer__contact small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #7F8AA0; line-height: 1.3; }
.ja-footer__contact a span:last-child, .ja-footer__contact li > span:last-child { color: #fff; font-family: var(--head); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.ja-fi { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--orange); transition: background .2s, color .2s; }
.ja-footer__contact a:hover .ja-fi { background: var(--orange); color: #fff; }
.ja-footer__head { color: #fff; font-size: 1.1rem; margin: 6px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); display: inline-block; }
.ja-footer__links { list-style: none; margin: 0; padding: 0; }
.ja-footer__links li { margin: 0 0 9px; }
.ja-footer__links a { transition: color .2s, padding .2s; }
.ja-footer__links a:hover { color: #fff; padding-left: 4px; }
.ja-footer__links--areas { columns: 2; column-gap: 20px; }
.ja-footer__links--areas li { break-inside: avoid; }
.ja-footer__badges { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.ja-footer__badges img { background: #fff; padding: 6px 8px; height: 48px; width: auto; }

/* Popular services + bottom bar */
.ja-footer__popular { background: none; border-top: 1px solid rgba(255,255,255,.08); }
.ja-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px var(--side) !important; background: #141B2A; border-top: 0; font-size: .82rem; }
.ja-footer__bottom p { margin: 0; }
.ja-footer__bottom-right { display: flex; align-items: center; gap: 16px; }
.ja-footer__bottom .ja-footer__fb { display: grid; place-items: center; width: 32px; height: 32px; margin: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff !important; }
.ja-footer__bottom .ja-footer__fb:hover { background: var(--orange); }

/* Boiler brands section – header blue background */
.ja-full.ja-brands-section { background: var(--blue); border: 0; }
.ja-brands-section .ja-brands-title { color: #fff; }
.ja-brands-section .ja-brands-sub { color: rgba(255,255,255,.92); }
.ja-brandrow { border: 0; box-shadow: 0 18px 40px rgba(12,60,90,.22); }

/* Footer logos – no white boxes, sit directly on the navy */
.ja-footer__logo { background: none; padding: 0; margin-bottom: 20px; }
.ja-footer__logo img { width: 220px; }
.ja-footer__badges { gap: 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.ja-footer__badges img { background: none !important; padding: 0 !important; width: auto; }
.ja-footer__badges img:first-child { height: 54px; }
.ja-footer__badges img:last-child { height: 30px; opacity: .95; }
.ja-footer__badges img:last-child { height: 38px; }

/* Hero: logos + slider controls sit higher, closer to the content, with space beneath */
@media (min-width: 901px) {
	.ja-hero4__slide { justify-content: flex-start; padding-top: clamp(70px, 9vh, 110px); padding-bottom: 250px; }
	.ja-hero4--slider .ja-hero4__logos { align-self: start; margin-top: var(--ja-logos-top, 470px); padding-bottom: 0; }
	.ja-hero4__nav { top: calc(var(--ja-logos-top, 470px) + 22px); bottom: auto; }
	.ja-hero4--slider { min-height: 680px; }
}
@media (min-width: 901px) { .ja-hero4--slider { min-height: calc(var(--ja-logos-top, 470px) + 210px); } .ja-hero4__slide { padding-bottom: 60px; } }
.ja-brandrow li:hover { background: transparent; }
.ja-brands-section .ja-brands-sub { font-weight: 700; }

/* Hero – everything one size down */
.ja-hero4__slide .ja-hero4__kicker { font-size: .85rem; padding: 6px 12px; margin-bottom: 18px; }
.ja-hero4__slide .ja-hero4__title { font-size: clamp(2.2rem, 4.6vw, 4.1rem); margin-bottom: 18px; }
.ja-hero4__slide .ja-hero4__sub { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 780px; }
.ja-hero4--slider .wp-block-buttons { margin-top: 28px; }
.ja-hero4--slider .wp-block-button__link { padding: 15px 26px; font-size: .95rem; }
.ja-hero4--slider .ja-hero4__logos li { padding: 11px 20px; }
.ja-hero4--slider .ja-hero4__logos img { height: 46px; }
.ja-hero4__award strong { font-size: .88rem; }
.ja-hero4__award span { font-size: .76rem; max-width: 190px; }
.ja-hero4__arrow { width: 36px; height: 36px; }
.ja-hero4__dot { width: 32px; }
@media (min-width: 901px) { .ja-hero4--slider { min-height: calc(var(--ja-logos-top, 430px) + 170px); } }
@media (max-width: 900px) {
	.ja-hero4--slider .ja-hero4__logos { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
	.ja-hero4--slider .ja-hero4__logos li { justify-content: center; }
	.ja-hero4--slider .ja-hero4__award { grid-column: 1 / -1; border-left: 4px solid var(--orange) !important; }
	.ja-hero4--slider .ja-hero4__logos li:nth-child(2), .ja-hero4--slider .ja-hero4__logos li:nth-child(3) { border-left: 1px solid #E6E8EC; }
}
@media (max-width: 560px) { .ja-hero4--slider .ja-hero4__logos img { height: 34px; } }

/* ==========================================================================
   Inner pages – new style
   ========================================================================== */
/* Banner (matches the homepage hero) */
.ja-pagehero { position: relative; background: var(--navy) center right / cover no-repeat; color: #fff; }
.ja-pagehero--1 { background-image: url("/wp-content/uploads/2023/02/Man-fixing-boiler-2-scaled.jpg"); }
.ja-pagehero--2 { background-image: url("/wp-content/uploads/2023/01/young-engineer-adjusting-autonomous-heating-edited-scaled.jpg"); }
.ja-pagehero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,35,54,.82) 0%, rgba(27,35,54,.6) 45%, rgba(27,35,54,.2) 80%, rgba(27,35,54,.05) 100%); }
.ja-pagehero__inner { position: relative; padding: clamp(56px, 7vw, 92px) var(--side) clamp(44px, 5vw, 64px); }
.ja-pagehero__inner > * { max-width: 820px; }
.ja-pagehero__kicker { display: inline-block; margin: 0 0 16px; padding: 6px 12px; background: var(--orange); font-family: var(--head); font-weight: 700; font-size: .85rem; color: #fff; }
.ja-pagehero__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.ja-pagehero__sub { margin: 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; color: #E6EBF2; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.ja-pagehero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ja-pagehero__btns .ja-btn { padding: 15px 26px; font-size: .95rem; }
.ja-btn--ghostwhite { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.ja-btn--ghostwhite:hover { background: #fff; color: var(--navy); }
.ja-pagehero .ja-breadcrumb { margin-top: 26px; font-size: .82rem; color: rgba(255,255,255,.8); }
.ja-pagehero .ja-breadcrumb a { color: #fff; }
.ja-pagehero .ja-breadcrumb a:hover { color: var(--orange); }
@media (max-width: 900px) { .ja-pagehero::before { background: rgba(27,35,54,.68); } .ja-pagehero { background-position: 70% center; } }

/* Page content */
.ja-prose { font-size: 1.03rem; color: var(--text); }
.ja-prose h2 { position: relative; padding-top: 18px; }
.ja-prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--orange); }
.ja-prose > h2:first-child { margin-top: 0; }
.ja-prose .wp-block-image img { box-shadow: 0 16px 34px rgba(27,35,54,.12); }
.ja-prose ol { counter-reset: n; list-style: none; padding: 0; }
.ja-prose ol > li { counter-increment: n; position: relative; padding: 0 0 0 44px; margin-bottom: 14px; }
.ja-prose ol > li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 700; font-size: .85rem; }
.ja-prose ul:not([class]) , .ja-prose ul.ja-ticks { list-style: none; padding: 0; }
.ja-prose ul:not([class]) > li, .ja-prose ul.ja-ticks > li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ja-prose ul:not([class]) > li::before, .ja-prose ul.ja-ticks > li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ja-prose > p:first-child { font-size: 1.15rem; color: var(--navy); line-height: 1.65; }

/* Sidebar */
.ja-quotebox { background: var(--navy); color: #C9CED8; padding: 32px 26px; border-top: 4px solid var(--orange); }
.ja-quotebox__kicker { margin: 0 0 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.ja-quotebox__title { color: #fff; font-size: 1.45rem; text-transform: none; letter-spacing: -.01em; margin-bottom: 10px; }
.ja-quotebox > p { font-size: .95rem; }
.ja-quotebox__phones { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.ja-quotebox__phones li { margin: 0; }
.ja-quotebox__phones a { display: block; padding: 12px 14px; background: rgba(255,255,255,.06); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.08rem; transition: background .2s; }
.ja-quotebox__phones a:hover { background: var(--orange); color: #fff; }
.ja-quotebox__phones span { font-weight: 500; color: #AEB5C3; margin-right: 4px; }
.ja-quotebox__phones a:hover span { color: #fff; }
.ja-quotebox .jaq-quick { grid-template-columns: 1fr !important; gap: 8px; }
.ja-quotebox .jaq-quick button { padding: 12px 14px; }
.ja-quotebox .jaq-quick svg { width: 30px; height: 30px; }
.ja-quotebox .jaq-quick strong { font-size: .95rem; }
.ja-quotebox .jaq-quick small { font-size: .8rem; }

/* Related services under service pages */
.ja-related .ja-title { margin-bottom: 36px !important; }

/* "We also offer" mini slider */
.ja-mini { margin-top: 56px; }
.ja-mini__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ja-mini__title { margin: 0; font-size: 1.35rem; }
.ja-mini__nav { display: flex; gap: 8px; }
.ja-mini__btn { width: 40px; height: 40px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.ja-mini__btn:hover { background: var(--orange); }
.ja-mini__btn:disabled { opacity: .35; cursor: default; background: var(--navy); }
.ja-mini__track { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ja-mini__track::-webkit-scrollbar { display: none; }
@media (max-width: 1099px) { .ja-mini__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 640px) { .ja-mini__track { grid-auto-columns: 62%; gap: 12px; } }
.ja-mini__card { margin: 0; scroll-snap-align: start; }
.ja-mini__card a { display: block; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: box-shadow .2s, transform .2s; }
.ja-mini__card a:hover { box-shadow: 0 12px 24px rgba(27,35,54,.1); transform: translateY(-3px); color: var(--orange); }
.ja-mini__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ja-mini__card span { display: block; padding: 12px 14px 14px; font-family: var(--head); font-weight: 700; font-size: .95rem; line-height: 1.3; border-top: 3px solid var(--orange); }
/* Mega menu: never let long labels overlap the next column */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega .sub-menu .sub-menu a { white-space: normal !important; line-height: 1.35; }
	.ja-menu > li.ja-mega > .sub-menu > li.ja-mega-col:first-child > .sub-menu > li { padding-right: 8px; }
}

/* ---------- Service page text + images ---------- */
.ja-prose { font-size: 1.05rem; line-height: 1.8; color: #3E4554; }
.ja-prose p { margin-bottom: 1.15em; }
.ja-prose h2 { clear: both; margin-top: 1.7em; margin-bottom: .55em; font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.ja-prose h3, .ja-prose h4 { color: var(--navy); }
.ja-prose strong { color: var(--navy); }
.ja-prose a:not(.wp-block-button__link) { color: var(--orange); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ja-prose::after { content: ""; display: block; clear: both; }
.ja-prose figure.wp-block-image { margin: 1.6em 0; }
.ja-prose figure.wp-block-image img { width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 14px 30px rgba(27,35,54,.12); }
@media (min-width: 800px) {
	.ja-prose figure.wp-block-image { float: right; width: 44%; margin: 6px 0 22px 34px; position: relative; }
	.ja-prose figure.wp-block-image:nth-of-type(even) { float: left; margin: 6px 34px 22px 0; }
	.ja-prose figure.wp-block-image::after { content: ""; position: absolute; z-index: -1; right: -10px; bottom: -10px; width: 60%; height: 60%; background: var(--orange); }
	.ja-prose figure.wp-block-image:nth-of-type(even)::after { right: auto; left: -10px; }
	.ja-prose figure.wp-block-image img { position: relative; }
	.ja-prose ol, .ja-prose ul { overflow: hidden; }
}
.ja-prose > p:first-child { font-size: 1.18rem; line-height: 1.65; color: var(--navy); font-weight: 500; padding-left: 18px; border-left: 4px solid var(--orange); }
/* let text flow beside the photos */
.ja-prose h2 { clear: none; }
.ja-prose h2::before { width: 44px; }
@media (min-width: 800px) { .ja-prose ul.ja-ticks li { font-weight: 700; color: var(--navy); } }

/* ---------- Service content components ---------- */
/* Boiler type cards inside the content column */
.ja-typecards { clear: both; display: grid; gap: 16px; margin: 1.2em 0 1.8em; }
@media (min-width: 640px) { .ja-typecards { grid-template-columns: repeat(3, 1fr); } }
.ja-typecard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none !important; font-weight: 400 !important; color: var(--text) !important; transition: box-shadow .2s, transform .2s; }
.ja-typecard:hover { box-shadow: 0 14px 28px rgba(27,35,54,.1); transform: translateY(-3px); }
.ja-typecard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ja-typecard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; border-top: 3px solid var(--orange); flex: 1; }
.ja-typecard__body strong { font-family: var(--head); font-size: 1.05rem; color: var(--navy); line-height: 1.3; }
.ja-typecard__body span { font-size: .9rem; line-height: 1.55; color: var(--muted); }
.ja-typecard__body em { margin-top: auto; padding-top: 8px; font-style: normal; font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--orange); }

/* Common questions */
.ja-faq { clear: both; margin: 2em 0; }
.ja-faq h2 { margin-top: 0; }
.ja-faq .wp-block-details { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); margin: 0 0 10px; }
.ja-faq .wp-block-details summary { cursor: pointer; list-style: none; padding: 15px 50px 15px 18px; font-family: var(--head); font-weight: 700; color: var(--navy); position: relative; line-height: 1.4; }
.ja-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ja-faq .wp-block-details summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .2s; }
.ja-faq .wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ja-faq .wp-block-details p { padding: 0 18px 16px; margin: 0; font-size: .98rem; }

/* Inline call-to-action box */
.ja-inline-cta { clear: both; margin: 2.2em 0 0; padding: 30px 30px 32px; background: var(--navy); color: #C9CED8; border-left: 5px solid var(--orange); }
.ja-inline-cta h3 { color: #fff; font-size: 1.4rem; margin: 0 0 8px; }
.ja-inline-cta p { margin: 0; color: #C9CED8; }
.ja-inline-cta .wp-block-buttons { margin-top: 20px; }
.ja-prose .ja-inline-cta a.wp-block-button__link { text-decoration: none; font-weight: 700; color: #fff; }
.ja-prose .ja-typecards a, .ja-prose .ja-faq summary { text-decoration: none; }

/* lists inside content flow beside floated images */
.ja-prose ul.ja-ticks { display: flow-root; }
.ja-prose .wp-block-gallery.ja-gallery { clear: both; }

/* ---------- About page ---------- */
.ja-about__intro .wp-block-columns { align-items: center; }
.ja-about__kicker { margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--orange); }
.ja-about__intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: 18px; }
.ja-about__lead { font-size: 1.15rem; line-height: 1.65; color: var(--navy); }
.ja-about__photo { position: relative; margin: 0 22px 22px 0 !important; }
.ja-about__photo::before { content: ""; position: absolute; right: -22px; bottom: -22px; width: 70%; height: 70%; background: var(--orange); z-index: 0; }
.ja-about__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 20px 40px rgba(27,35,54,.16); }
.ja-about__photo--left { margin: 0 0 22px 22px !important; }
.ja-about__photo--left::before { right: auto; left: -22px; background: var(--blue); }
.ja-about__photo--left img { aspect-ratio: 4 / 5; }

.ja-statband { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--navy); padding: 0 var(--side); }
@media (min-width: 900px) { .ja-statband { grid-template-columns: repeat(4, 1fr); } }
.ja-statband__item { padding: 34px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.ja-statband__item:last-child { border-right: 0; }
@media (max-width: 899px) { .ja-statband__item:nth-child(2) { border-right: 0; } .ja-statband__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); } }
.ja-statband__item strong { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--orange); }
.ja-statband__item span { display: block; margin-top: 6px; color: #C9CED8; font-size: .92rem; }

.ja-accred { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .ja-accred { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ja-accred { grid-template-columns: repeat(4, 1fr); } }
.ja-accred li { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.ja-accred img { height: 56px; width: auto; max-width: 150px; object-fit: contain; margin-bottom: 8px; }
.ja-accred strong { font-family: var(--head); color: var(--navy); font-size: 1.05rem; }
.ja-accred span { color: var(--muted); font-size: .92rem; line-height: 1.55; }
/* About: accreditations on the header blue */
.ja-accred-section { background: var(--blue); }
.ja-accred-section .ja-title { color: #fff; }
.ja-accred-section .ja-accred li { border: 0; border-top: 3px solid var(--orange); box-shadow: 0 14px 30px rgba(12,60,90,.18); }

/* ---------- Facebook feed section ---------- */
.ja-fbfeed { align-items: flex-start !important; }
.ja-fbfeed h2 { margin-bottom: 12px; }
.ja-fbfeed__pics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.ja-fbfeed__pics img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ja-fbfeed__frame { background: #fff; box-shadow: 0 18px 40px rgba(27,35,54,.12); border-top: 4px solid var(--orange); max-width: 500px; margin-left: auto; }
.ja-fbfeed__frame iframe { display: block; width: 100%; max-width: 500px; }
@media (min-width: 900px) { .ja-fbfeed .wp-block-column:last-child { flex: 0 0 500px; } }
@media (max-width: 899px) { .ja-fbfeed__frame { margin: 0 auto; } }
/* Latest Work: the feed on its own, centred */
.ja-fbsolo { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.ja-fbfeed__frame--solo { margin: 0 auto; }
/* About facts band – brand orange */
.ja-statband { background: var(--orange); }
.ja-statband__item { border-right-color: rgba(255,255,255,.3) !important; border-bottom-color: rgba(255,255,255,.3) !important; }
.ja-statband__item strong { color: #fff; }
.ja-statband__item span { color: rgba(255,255,255,.92); font-weight: 700; }

/* ---------- Facebook photo gallery (Latest Work) ---------- */
.ja-fbgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ja-fbgrid__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--text); transition: box-shadow .25s, transform .25s; }
.ja-fbgrid__item:hover { box-shadow: 0 18px 36px rgba(27,35,54,.12); transform: translateY(-4px); color: var(--text); }
.ja-fbgrid__img { display: block; overflow: hidden; aspect-ratio: 1; background: var(--grey); }
.ja-fbgrid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ja-fbgrid__item:hover .ja-fbgrid__img img { transform: scale(1.04); }
.ja-fbgrid__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-top: 3px solid var(--orange); flex: 1; }
.ja-fbgrid__date { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.ja-fbgrid__text { font-size: .93rem; line-height: 1.55; color: var(--text); }
.ja-fbgrid__more { margin-top: auto; padding-top: 6px; font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--navy); }
.ja-fbgrid__item:hover .ja-fbgrid__more { color: var(--orange); }
.ja-fbgrid__follow { text-align: center; margin: 40px 0 0; }

/* ---------- Facebook-style feed (Latest Work) ---------- */
.ja-fbsolo { background: #F0F2F5 !important; }
.ja-fbfeed2 { columns: 1; column-gap: 20px; }
@media (min-width: 700px) { .ja-fbfeed2 { columns: 2; } }
@media (min-width: 1100px) { .ja-fbfeed2 { columns: 3; } }
.ja-fbpost { break-inside: avoid; margin: 0 0 20px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.2); overflow: hidden; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #050505; display: inline-block; width: 100%; }
.ja-fbpost__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px 0; }
.ja-fbpost__avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E4E6EB; background: #fff; object-fit: contain; padding: 4px; }
.ja-fbpost__head strong { display: block; font-size: .94rem; font-weight: 600; line-height: 1.25; color: #050505; }
.ja-fbpost__meta { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: #65676B; }
.ja-fbpost__logo { margin-left: auto; color: #1877F2; display: flex; }
.ja-fbpost__logo svg { width: 20px; height: 20px; }
.ja-fbpost__text { padding: 10px 16px 12px; font-size: .94rem; line-height: 1.4; color: #050505; white-space: normal; word-wrap: break-word; }
.ja-fbpost__tag { color: #1877F2; }
.ja-fbpost__img { display: block; background: #F0F2F5; }
.ja-fbpost__img img { width: 100%; height: auto; display: block; }
.ja-fbpost__foot { border-top: 1px solid #CED0D4; margin: 0 16px; padding: 4px 0; }
.ja-fbpost__foot a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; border-radius: 6px; font-size: .92rem; font-weight: 600; color: #65676B; }
.ja-fbpost__foot a:hover { background: #F2F2F2; color: #1877F2; }
.ja-fbpost__head + .ja-fbpost__img { margin-top: 12px; }

/* centred "View more" buttons */
.wp-block-buttons.ja-center-btns { justify-content: center; margin-top: 36px; }
.ja-fblatest .wp-block-latest-posts__post-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Homepage Facebook cards: show the whole picture (no cropping) */
.ja-fblatest .wp-block-latest-posts__featured-image { background: #F0F2F5; }
.ja-fblatest .wp-block-latest-posts__featured-image img { aspect-ratio: 4 / 3 !important; object-fit: contain !important; }

/* Homepage: 3 Facebook-style cards in a row */
.ja-fbrow { display: grid; gap: 20px; }
@media (min-width: 800px) { .ja-fbrow { grid-template-columns: repeat(3, 1fr); } }
.ja-fbrow .ja-fbpost { display: flex; flex-direction: column; margin: 0; }
.ja-fbrow .ja-fbpost__text { flex: 0 0 auto; min-height: calc(1.4em * 3 + 22px); }
.ja-fbrow .ja-fbpost__img { margin-top: auto; }
.ja-fbrow .ja-fbpost__img img { aspect-ratio: 1; object-fit: contain; background: #F0F2F5; }
.ja-fbrow .ja-fbpost__text { min-height: 0; height: calc(1.4em * 4 + 22px); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; padding-bottom: 0; margin-bottom: 12px; }
.ja-fbrow .ja-fbpost__img { margin-top: 0; }
.ja-fbrow .ja-fbpost__text { height: calc(1.4em * 4 + 10px); }

/* ---------- Reviews slider ---------- */
.ja-revs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ja-revs__summary { margin: 0; font-size: .95rem; color: var(--text); }
.ja-revs__fb { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; color: var(--navy); }
.ja-revs__count { color: var(--muted); }
.ja-revs__track { grid-auto-columns: calc((100% - 2 * 18px) / 3) !important; }
@media (max-width: 1099px) { .ja-revs__track { grid-auto-columns: calc((100% - 16px) / 2) !important; } }
@media (max-width: 640px) { .ja-revs__track { grid-auto-columns: 86% !important; } }
.ja-rev { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 26px 24px 22px; }
.ja-rev__stars { color: #FBBC05; letter-spacing: 2px; margin-bottom: 8px; }
.ja-rev__text { margin: 0 0 18px; font-size: .97rem; line-height: 1.65; color: var(--text); }
.ja-rev__who { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.35; }
.ja-rev__who strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1rem; }
.ja-rev__who span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.ja-revs__more { text-align: center; margin: 28px 0 0; }
.ja-revs__more a { font-family: var(--head); font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.ja-revs__more a:hover { color: var(--orange); }
.ja-rev.ja-mini__card span { padding: 0; border: 0; font-family: var(--body); font-weight: 400; font-size: .8rem; line-height: 1.35; display: inline-flex; color: var(--muted); }
.ja-rev.ja-mini__card .ja-rev__stars { display: block; font-size: 1rem; color: #FBBC05; }
.ja-revs__summary { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ja-revs__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--navy); }
.ja-revs__badge strong { font-family: var(--head); font-size: 1.05rem; }
.ja-revs__stars { color: #FBBC05; letter-spacing: 1px; }
.single-post .ja-prose ul.ja-ticks li { font-weight: 400; color: var(--text); }

/* Recent work galleries on service pages */
.ja-recentwork { clear: both; margin: 2.2em 0; }
.ja-prose .ja-recentwork .wp-block-gallery.ja-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .ja-prose .ja-recentwork .wp-block-gallery.ja-gallery { grid-template-columns: repeat(3, 1fr); } }
.ja-prose .ja-recentwork figure.wp-block-image { float: none !important; width: auto !important; margin: 0 !important; }
.ja-prose .ja-recentwork figure.wp-block-image::after { display: none; }
.ja-prose .ja-recentwork figure.wp-block-image img { aspect-ratio: 1 !important; box-shadow: none; }
.ja-prose .wp-block-gallery figure.wp-block-image { float: none !important; width: auto !important; margin: 0 !important; }
.ja-prose .wp-block-gallery figure.wp-block-image::after { display: none; }

/* Hero on phones/tablets: logos + nomination sit right under the buttons (no big gap) */
@media (max-width: 900px) {
	.ja-hero4--slider { min-height: var(--ja-hero-h, 640px) !important; }
	.ja-hero4__slide { justify-content: flex-start; padding-top: 44px; padding-bottom: 40px !important; }
	.ja-hero4--slider .ja-hero4__logos { align-self: start; margin-top: var(--ja-logos-top, 420px); padding-bottom: 0 !important; }
	.ja-hero4__nav { top: auto; bottom: 20px; }
}

/* Mobile menu: Boilers / Heating / Bathrooms & Plumbing as proper sub-headers (tap to open) */
@media (max-width: 1099px) {
	.ja-menu .ja-mega > .sub-menu { padding: 0; background: #fff; }
	.ja-menu .ja-mega-col { border-top: 1px solid var(--line); }
	.ja-menu .ja-mega-col > a {
		position: relative; pointer-events: auto; cursor: pointer;
		padding: 14px calc(var(--pad) + 40px) 14px calc(var(--pad) + 16px) !important;
		font-family: var(--head); font-size: 1rem !important; font-weight: 700; text-transform: none !important; letter-spacing: 0 !important;
		color: var(--navy) !important; background: #EEF6FC;
	}
	.ja-menu .ja-mega-col > a::before { content: ""; position: absolute; left: calc(var(--pad) + 2px); top: 50%; width: 4px; height: 18px; margin-top: -9px; background: var(--orange); }
	.ja-menu .ja-mega-col > a::after { content: ""; position: absolute; right: calc(var(--pad) + 8px); top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
	.ja-menu .ja-mega-col.is-open > a::after { transform: rotate(-135deg); margin-top: -2px; }
	.ja-menu .ja-mega-col > .sub-menu { display: none !important; background: #fff; padding: 4px 0 10px !important; }
	.ja-menu .ja-mega-col.is-open > .sub-menu { display: block !important; }
	.ja-menu .ja-mega-col > .sub-menu a { padding: 10px calc(var(--pad) + 30px) !important; font-size: .97rem; color: var(--text); font-weight: 500; }
}
/* Mobile: smaller orange label in the hero / page banners */
@media (max-width: 640px) {
	.ja-hero4__slide .ja-hero4__kicker, .ja-pagehero__kicker { font-size: .72rem; padding: 4px 9px; margin-bottom: 14px; }
}

/* Services dropdown: open on click only (no hover) */
@media (min-width: 1100px) {
	.ja-menu > li.ja-mega:hover > .sub-menu,
	.ja-menu > li.ja-mega:focus-within > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }
	.ja-menu > li.ja-mega > .sub-menu.is-open { opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto; }
	.ja-menu > li.ja-mega > .sub-menu:not(.is-open) { pointer-events: none; }
	.ja-menu > li.ja-mega > a { cursor: pointer; }
	.ja-menu > li.ja-mega.is-open > a { color: var(--orange); }
	.ja-menu > li.ja-mega .ja-sub-toggle svg { transition: transform .2s; }
	.ja-menu > li.ja-mega.is-open .ja-sub-toggle svg { transform: rotate(180deg); }
}

/* ---------- Area (location) pages: local content ---------- */
.ja-trio { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 900px) { .ja-trio { grid-template-columns: repeat(3, 1fr); } }
.ja-trio__card { background: var(--grey); border-top: 3px solid var(--orange); padding: 28px 26px 22px; display: flex; flex-direction: column; }
.ja-trio__card h3 { margin: 0 0 .6em; font-size: 1.2rem; line-height: 1.3; color: var(--navy); }
.ja-trio__card p { margin: 0 0 1em; font-size: .98rem; }
.ja-trio__card .ja-readmore { margin-top: auto; margin-bottom: 0; font-weight: 700; }
.ja-areainfo .ja-local { gap: 40px; align-items: flex-start; margin-bottom: 40px; }
.ja-areainfo .ja-local h2 { margin-top: 0; }
.ja-coverage { background: #fff; border-left: 3px solid var(--orange); padding: 28px 28px 30px; }
.ja-coverage h3 { margin: 0 0 .4em; font-size: 1.15rem; color: var(--navy); }
.ja-coverage ul.ja-ticklist { grid-template-columns: 1fr 1fr; column-gap: 14px; font-size: .95rem; }
.ja-coverage ul.ja-ticklist li { font-weight: 500; }
.ja-coverage__pc { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.ja-nearby-wrap { margin-bottom: 36px; }
.ja-nearby-wrap h3 { font-size: 1.1rem; color: var(--navy); margin: 0 0 14px; }
ul.ja-nearby { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.ja-nearby li { margin: 0; }
ul.ja-nearby a { display: block; padding: 9px 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); font: 500 .92rem var(--head); }
ul.ja-nearby a:hover { border-color: var(--orange); color: var(--orange); }
ul.ja-townlist { list-style: none; padding: 0; margin: 24px 0 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { ul.ja-townlist { grid-template-columns: repeat(3, 1fr); } }
ul.ja-townlist li { margin: 0; }
ul.ja-townlist a { display: block; padding: 12px 16px; background: #fff; border-left: 3px solid var(--orange); color: var(--navy); font: 700 .95rem var(--head); }
ul.ja-townlist a:hover { color: var(--orange); }
.ja-areainfo .ja-faq { margin-bottom: 0; }
@media (max-width: 600px) { .ja-coverage ul.ja-ticklist { grid-template-columns: 1fr; } .ja-coverage { padding: 22px 20px; } }
.ja-area-intro { max-width: 900px; text-align: left; }
.ja-area-intro h1 { margin-top: 0; }
.ja-areainfo + .ja-quote-section { padding-top: var(--section); }
