/*
Theme Name: Elite Services 2026
Theme URI: https://eliteservicesgroup.com.au/
Author: Elite Services Group
Description: Block theme for Elite Services Group, built from the approved 2026 design. Bright logo colours, rounded panels, every section an editable pattern. No page builder.
Version: 1.0.33
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-services
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
	--sky: #5BA3DB;
	--leaf: #A6C94B;
	--orange: #E8873A;
	--orange-dark: #D9762A;
	--deep: #2A74AB;
	--navy: #0F2238;
	--sky-t: #E7F1FA;
	--leaf-t: #EDF4E0;
	--orange-t: #FDF3EA;
	--peach: #F3B47E;
	--muted: #45566A;
	--line: #CFE1F1;
	--field: #F6FAFD;
	--white: #fff;
	--max: 1280px;
	--gut: 20px;
	--sec: clamp(56px, 8vw, 88px);
	--r-panel: 44px;
	--r-card: 28px;
	--r-input: 16px;
	--shadow: 0 20px 50px rgba(15, 34, 56, .16);
	--head: var(--wp--preset--font-family--heading);
}

/* ==========================================================================
   1. Base
   ========================================================================== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.screen-reader-text:focus { z-index: 100000; }
::selection { background: var(--leaf); color: var(--navy); }

/* The theme's components set their own spacing with flex and grid gaps,
   so WordPress's automatic gaps between blocks are switched off inside them. */
[class*="esg-"]:not(.esg-content):not(.esg-main):not(.esg-article):not(.esg-page-title):not(.esg-text) > * { margin-block: 0; }

.esg-main { margin-block: 0 !important; }
.esg-page-title { padding: 48px var(--gut) 0; }
.esg-content:not(:has(> .esg-sec)) { padding: 24px var(--gut) var(--sec); }
.esg-article { padding: 48px var(--gut) var(--sec); }

/* Sections: centred at 1280px with a 20px gutter, 88px apart. */
.esg-sec {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--max) + var(--gut) * 2) !important;
	margin-inline: auto !important;
	padding-inline: var(--gut);
}
.esg-content > .esg-sec,
.is-root-container > .esg-sec { margin-block-start: var(--sec) !important; }
.esg-content > .esg-sec:first-child,
.is-root-container > .esg-sec:first-child { margin-block-start: 20px !important; }
.esg-content > .esg-sec.esg-sec--near,
.is-root-container > .esg-sec.esg-sec--near { margin-block-start: 40px !important; }
.esg-content > .esg-sec:last-child { margin-block-end: var(--sec); }

/* Big rounded coloured panels. */
.esg-panel {
	position: relative;
	box-sizing: border-box;
	border-radius: var(--r-panel);
	padding: clamp(28px, 4.5vw, 52px) clamp(20px, 4vw, 52px);
	overflow: hidden;
}

/* Headings and text helpers. */
.esg-eyebrow { font-family: var(--head); font-weight: 700; font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.esg-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; max-width: 600px; }
.esg-muted { color: var(--muted); }
.esg-small { font-size: 15px !important; }
.esg-hl { background: #fff; border-radius: 16px; padding: 0 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.esg-crumbs { font-size: 15px; font-weight: 600; }
.esg-crumbs a { color: inherit; font-weight: 600; text-decoration: underline; }
.esg-stars { color: var(--orange); letter-spacing: 2px; }
.esg-ph { font-weight: 700; opacity: .85; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Links that read as "See all ->" */
.esg-more a, a.esg-more { font-family: var(--head); font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; }

/* Icons */
.esg-ico, .esg-ico-box {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
}
.esg-ico-box { width: 48px; height: 48px; border-radius: 16px; background: var(--deep); color: #fff; }
.esg-ico-box svg { width: 24px; height: 24px; }

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; box-sizing: border-box; text-align: center; transition: background-color .15s, transform .15s, box-shadow .15s; }
.wp-block-button__link svg { width: 20px; height: 20px; flex: none; }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-buttons { gap: 12px; }
.is-style-navy .wp-block-button__link { background: var(--navy); color: #fff; }
.is-style-navy .wp-block-button__link:hover { background: #1d3654; color: #fff; }
.is-style-white .wp-block-button__link { background: #fff; color: var(--navy); }
.is-style-white .wp-block-button__link:hover { background: var(--sky-t); color: var(--navy); }
.is-style-outline .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.is-style-green .wp-block-button__link { background: var(--leaf); color: var(--navy); }
.is-style-green .wp-block-button__link:hover { background: #98BB3E; color: var(--navy); }
.esg-btn-glow .wp-block-button__link { box-shadow: 0 6px 16px rgba(232, 135, 58, .35); }
.esg-btn-big .wp-block-button__link { min-height: 60px; font-size: 19px; font-weight: 800; padding-inline: 30px; }
.esg-btn-wide { flex: 1 1 100%; }
.esg-btn-wide .wp-block-button__link { width: 100%; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.esg-header { position: relative; z-index: 30; background: #fff; }
.esg-util__in {
	max-width: var(--max); margin: 0 auto; padding: 10px var(--gut); box-sizing: border-box;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px;
	font-size: 14px; font-weight: 600;
}
.esg-util .esg-stars { color: var(--peach); letter-spacing: 1px; margin-right: 4px; }
.esg-util__mid { color: var(--line); }
.esg-util__urgent a { display: inline-flex; align-items: center; gap: 8px; color: var(--peach); font-weight: 800; text-decoration: none; }
.esg-util__urgent a::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--orange); }
.esg-util__urgent a:hover { color: #fff; }

.esg-bar {
	max-width: var(--max); margin: 0 auto; padding: 14px var(--gut); box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.esg-logo { flex: none; }
.esg-logo img { display: block; height: 66px; width: auto; border-radius: 0 !important; }
.esg-nav { font-weight: 700; font-size: 16px; }
.esg-nav .wp-block-navigation__container { gap: 4px 26px; }
.esg-nav .wp-block-navigation-item__content { color: var(--navy); text-decoration: none; padding: 12px 0; }
.esg-nav .wp-block-navigation-item__content:hover { color: var(--deep); }
.esg-nav .wp-block-navigation__submenu-icon { margin-left: 6px; width: 12px; height: 12px; }
.esg-nav .wp-block-navigation__submenu-icon svg { stroke-width: 3px; }
.esg-nav .wp-block-navigation__submenu-container {
	background: #fff !important; color: var(--navy) !important; border: 0 !important; border-radius: 22px;
	padding: 10px !important; box-shadow: var(--shadow); min-width: 250px !important; top: calc(100% + 4px) !important;
}
.esg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px !important; border-radius: 12px; font-size: 16px; }
.esg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--sky-t); color: var(--navy); }
.esg-nav .esg-nav__quote { display: none; }
.esg-nav .wp-block-navigation__responsive-container-open {
	width: 48px; height: 48px; border-radius: 16px; background: var(--navy); color: #fff; justify-content: center; align-items: center;
}
.esg-nav .wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }
.esg-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--gut) !important; background: #fff !important; color: var(--navy) !important; }
.esg-nav .is-menu-open .wp-block-navigation__container { gap: 4px; font-family: var(--head); }
.esg-nav .is-menu-open .wp-block-navigation-item__content { font-size: 22px; padding: 10px 0 !important; }
.esg-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: 0 0 8px 12px !important; min-width: 0 !important; }
.esg-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 17px; padding: 6px 0 !important; font-family: var(--wp--preset--font-family--body); }
.esg-nav .is-menu-open .esg-nav__quote { display: block; margin-top: 16px; }
.esg-nav .is-menu-open .esg-nav__quote .wp-block-navigation-item__content { display: inline-flex; background: var(--orange); border-radius: 999px; padding: 14px 26px !important; font-size: 18px; }
.esg-nav .wp-block-navigation__responsive-container-close { width: 48px; height: 48px; border-radius: 16px; background: var(--sky-t); display: flex; align-items: center; justify-content: center; }

.esg-bar__actions { display: flex; align-items: center; gap: 12px 16px; flex: none; }
.esg-call { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.esg-call__ico { width: 48px; height: 48px; border-radius: 999px; background: var(--sky-t); color: var(--deep); display: flex; align-items: center; justify-content: center; flex: none; }
.esg-call__text { display: flex; flex-direction: column; line-height: 1.1; }
.esg-call__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.esg-call__num { font-family: var(--head); font-weight: 800; font-size: 21px; }
.esg-call:hover .esg-call__ico { background: var(--deep); color: #fff; }
.esg-bar__quote .wp-block-button__link { min-height: 52px; padding: 0 26px; font-size: 17px; }

.esg-stripe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 5px; }
.esg-stripe span:nth-child(1) { background: var(--sky); }
.esg-stripe span:nth-child(2) { background: var(--leaf); }
.esg-stripe span:nth-child(3) { background: var(--orange); }
.esg-stripe span:nth-child(4) { background: var(--deep); }

/* The menu turns into the menu button below 1024px (core switches at 600px). */
/* Laptop widths: keep the menu on one line by dropping the "Call Warrick" words (the round phone button stays). */
.esg-nav .wp-block-navigation__container { flex-wrap: nowrap; }
.esg-nav .wp-block-navigation-item__content { white-space: nowrap; }
@media (max-width: 1240px) {
	.esg-bar .esg-call__text { display: none; }
	.esg-bar { gap: 14px 22px; }
	.esg-nav .wp-block-navigation__container { gap: 4px 20px; }
}
@media (max-width: 1100px) {
	.esg-util__mid { display: none; }
	.esg-nav .wp-block-navigation__container { gap: 4px 16px; }
	.esg-nav { font-size: 15px; }
}
@media (max-width: 1023px) {
	.esg-bar { gap: 12px; }
	.esg-bar .esg-bar__quote, .esg-bar .esg-call__text { display: none; }
	.esg-nav { order: 3; }
	.esg-bar__actions { margin-left: auto; }
	.esg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.esg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.esg-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; }
}
@media (max-width: 700px) {
	.esg-logo img { height: 52px; }
	.esg-util__in { justify-content: center; text-align: center; font-size: 13px; padding-block: 8px; }
}

/* Urgent pages: orange phone banner above the header. */
.esg-urgentbar { position: relative; z-index: 31; }
.esg-urgentbar__line { max-width: var(--max); margin: 0 auto !important; padding: 12px var(--gut); box-sizing: border-box; text-align: center; }
.esg-urgentbar__line a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; color: var(--navy); text-decoration: none; }
.esg-urgentbar__q, .esg-urgentbar__note { font-weight: 800; font-size: 17px; }
.esg-urgentbar__num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.esg-urgentbar__num svg { width: 32px; height: 32px; }

/* ==========================================================================
   4. Footer and the phone call bar
   ========================================================================== */
.esg-footer-wrap { margin-top: var(--sec); }
.esg-foot { border-radius: 40px 40px 0 0; padding: 56px var(--gut) 28px; font-size: 16px; }
.esg-foot__grid, .esg-foot__bottom { max-width: var(--max); margin-inline: auto !important; }
.esg-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 36px; }
.esg-foot__col { display: flex; flex-direction: column; gap: 12px; }
.esg-foot__logo { align-self: flex-start; background: #fff; border-radius: 22px !important; padding: 10px 16px; }
.esg-foot__logo img { display: block; height: 56px; width: auto; border-radius: 0 !important; }
.esg-foot__about, .esg-foot__guide { color: #CFDCE9; line-height: 1.5; }
.esg-foot__phone a { font-family: var(--head); font-weight: 800; font-size: 28px; color: var(--peach); text-decoration: none; }
.esg-foot__phone a:hover { color: #fff; }
.esg-foot__hours { color: #CFDCE9; font-size: 15px; }
.esg-foot__social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.esg-foot__social a { color: #fff; font-size: 15px; }
.esg-foot__h { font-family: var(--head); font-weight: 700 !important; font-size: 18px !important; letter-spacing: 0; color: var(--leaf) !important; }
.esg-foot__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.esg-foot__links a { color: #fff; font-weight: 500; text-decoration: none; }
.esg-foot__links a:hover { color: var(--peach); text-decoration: underline; }
.esg-foot__bottom { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: #CFDCE9; }
.esg-foot__bottom a { color: #fff; font-weight: 500; }
.esg-foot .wpcf7 { margin: 0; }

.esg-mbar { display: none; }
@media (max-width: 700px) {
	body { padding-bottom: 84px; }
	.esg-mbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(15, 34, 56, .16);
	}
	.esg-mbar__btns { display: flex; flex-wrap: nowrap; gap: 8px; }
	.esg-mbar__btns .wp-block-button { flex: 1; }
	.esg-mbar__btns .esg-mbar__quote { flex: 1.4; }
	.esg-mbar__btns .wp-block-button__link { width: 100%; min-height: 54px; padding: 0 12px; font-size: 17px; }
	.esg-foot { border-radius: 32px 32px 0 0; padding-top: 40px; }
}

/* ==========================================================================
   5. Shared pieces: pills, badges, heads, chips, cards
   ========================================================================== */
.esg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.esg-pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px; line-height: 1.2; }
.esg-pill a { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 700; text-decoration: none; }
.esg-pill strong { font-family: var(--head); font-weight: 800; font-size: 17px; }
.esg-pill--white { background: #fff; color: var(--navy); }
.esg-pill--navy { background: var(--navy); color: #fff; }
.esg-pill--leaf { background: var(--leaf); color: var(--navy); }
.esg-pill--sm { align-self: flex-start; font-size: 13px; padding: 7px 14px; }
.esg-badge { align-self: flex-start; display: inline-flex; border-radius: 999px; font-weight: 800; font-size: 12px !important; letter-spacing: .02em; text-transform: uppercase; padding: 4px 10px; line-height: 1.3; white-space: nowrap; }
.esg-badge--navy { background: var(--navy); color: #fff; }
.esg-badge--leaf { background: var(--leaf); color: var(--navy); }
.esg-badge--orange { background: var(--orange); color: var(--navy); padding: 6px 11px; }
.esg-badge--white { background: #fff; color: var(--navy); }

.esg-h2 { font-size: clamp(30px, 4vw, 44px) !important; line-height: 1.06; }
.esg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.esg-head__text { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.esg-head__sub { font-size: 17px; font-weight: 600; color: var(--muted); }
.esg-head .esg-more a { color: var(--deep); font-size: 17px; }
.esg-head .esg-more a:hover { color: var(--navy); }

.esg-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.esg-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.esg-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }

.esg-ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 15px; }
.esg-ticks li { display: flex; align-items: center; gap: 8px; }
.esg-ticks li::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Before / after placeholders (swap for real photos: add an Image block). */
.esg-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.esg-ba__b, .esg-ba__a { aspect-ratio: 3 / 4; box-sizing: border-box; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.esg-ba__b { border-radius: 20px 6px 6px 20px; background: #D8E3EC; }
.esg-ba__a { border-radius: 6px 20px 20px 6px; background: var(--sky-t); }
.esg-ba__cap { font-size: 13px !important; font-weight: 700; color: var(--muted); line-height: 1.3; position: relative; z-index: 1; }
.esg-ba .wp-block-image { position: absolute; inset: 0; margin: 0; border-radius: inherit; }
.esg-ba .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit !important; }
.esg-ba .esg-badge { position: relative; z-index: 1; }

/* Review cards */
.esg-review { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.esg-review__stars { color: var(--orange); font-size: 22px; letter-spacing: 2px; line-height: 1; }
.esg-review__q { font-size: 18px; line-height: 1.5; }
.esg-review__who { margin-top: auto !important; font-weight: 500; }
.esg-review__who strong { font-weight: 700; }
.has-orange-tint-background-color.esg-review { background: #FBE9DA !important; }

/* Closing call-to-action band */
.esg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 40px; border-radius: 40px; }
.esg-cta__left { flex: 1 1 460px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.esg-cta__text { display: flex; flex-direction: column; gap: 10px; flex: 1 1 300px; }
.esg-cta__h { font-size: clamp(30px, 4.2vw, 48px) !important; line-height: 1.05; }
.esg-cta__sub { font-size: 19px; font-weight: 600; }
.esg-cta__left.esg-cta__text { align-items: flex-start; }
.esg-cta__photo { flex: none; width: 112px; height: 112px; margin: 0; }
.esg-cta__photo img { width: 112px; height: 112px; border-radius: 999px !important; object-fit: cover; object-position: 70% 20%; border: 5px solid #fff; box-sizing: border-box; }
.esg-cta__btns .wp-block-button__link { min-height: 60px; padding: 0 28px; font-size: 19px; }
.esg-sec--cta { margin-bottom: 0; }

/* FAQs */
.esg-faqs { display: flex; flex-direction: column; gap: 18px; }
.esg-faq { border-radius: 22px; }
.esg-faq summary { font-family: var(--head); font-weight: 700; font-size: 18px; cursor: pointer; line-height: 1.35; }
.esg-faq summary:hover { color: var(--deep); }
.esg-faq[open] summary { margin-bottom: 10px; }
.esg-faq > p { font-size: 17px; line-height: 1.55; }
.esg-faq--orange { background: var(--orange-t) !important; }
.esg-faq--leaf { background: var(--leaf-t) !important; }
.esg-faq--white { background: #fff !important; }

/* ==========================================================================
   6. Home page
   ========================================================================== */
.esg-hero {
	display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
	padding: 60px 52px 120px !important; isolation: isolate;
}
.esg-hero::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -330px; height: 420px; border-radius: 50%; border-top: 22px solid #8FC1E8; z-index: -1; }
.esg-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 999px; background: #7FB6E3; z-index: -1; }
.esg-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.esg-hero__h { font-size: clamp(40px, 5.6vw, 72px) !important; line-height: 1.02 !important; letter-spacing: -.025em; }
.esg-hero .esg-lead { font-size: 20px; }
.esg-hero__media { flex: 1 1 360px; min-width: 0; position: relative; max-width: 440px; margin-inline: auto !important; }
.esg-hero__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 260px 260px 44px 44px !important; overflow: hidden; border: 8px solid #fff; background: var(--sky-t); box-shadow: 0 24px 48px rgba(15, 34, 56, .25); }
.esg-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; display: block; border-radius: 0 !important; }
.esg-float { position: absolute; background: #fff; color: var(--navy); border-radius: 22px; padding: 14px 18px; box-shadow: 0 12px 28px rgba(15, 34, 56, .18); display: flex; flex-direction: column; line-height: 1.1; z-index: 2; }
.esg-float__n { font-family: var(--head); font-weight: 800; font-size: 32px; color: var(--deep); }
.esg-float__l { font-weight: 700; font-size: 14px; }
.esg-float--years { left: -36px; top: 90px; }
.esg-float--jobs { right: -24px; top: 250px; background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(15, 34, 56, .25); }
.esg-float--jobs .esg-float__n { color: var(--peach); font-size: 28px; }
.esg-float--hi { left: -20px; bottom: 34px; background: var(--leaf); font-weight: 600; font-size: 16px; line-height: 1.3; }
.esg-float--hi strong { font-weight: 800; }

/* Quick quote card overlapping the hero. */
.esg-qq {
	position: relative; z-index: 2; max-width: 1120px; margin: -72px auto 0 !important; background: #fff; border-radius: 32px; padding: 24px;
	box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 4fr); gap: 14px; align-items: end;
}
.esg-qq__head { display: flex; flex-direction: column; gap: 4px; align-self: center; }
.esg-qq__t { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1.1; }
.esg-qq__s { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Trust row */
.esg-trusts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.esg-trust { display: flex; align-items: center; gap: 14px; background: var(--sky-t); border-radius: 24px; padding: 18px 20px; }
.esg-trust__t { font-weight: 700; font-size: 16px; line-height: 1.3; }
.esg-trust--leaf { background: var(--leaf-t); }
.esg-trust--leaf .esg-ico-box { background: var(--leaf); color: var(--navy); }

/* Service groups */
.esg-groups { display: flex; flex-direction: column; gap: 28px; }
.esg-groups .esg-h2 { font-size: clamp(32px, 4vw, 48px) !important; }
.esg-big { border-radius: 40px; padding: 40px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.esg-big__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.esg-big__h { font-size: 44px !important; line-height: 1.02; font-weight: 800 !important; }
.esg-big__p { font-size: 18px; line-height: 1.5; max-width: 520px; }
.esg-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.esg-chip a { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--navy); text-decoration: none; border-radius: 20px; padding: 8px 14px 8px 8px; font-weight: 700; transition: transform .15s, box-shadow .15s; }
.esg-chip a:hover { box-shadow: 0 8px 18px rgba(15, 34, 56, .15); }
.esg-chip img, .esg-chip__more { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; }
.esg-chip__more { background: var(--sky-t); color: var(--deep); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; }
.esg-big .esg-more a { font-size: 17px; }
.esg-big__media { flex: 1 1 320px; min-width: 0; position: relative; }
.esg-big__photo { margin: 0; aspect-ratio: 1; border-radius: 32px !important; overflow: hidden; border: 6px solid #fff; background: var(--sky-t); }
.esg-big__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.esg-big__tag { position: absolute; left: 16px; bottom: 16px; }

.esg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.esg-tile { border-radius: 32px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.esg-tile h3 { font-size: 28px !important; font-weight: 800 !important; color: inherit; }
.esg-tile__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.esg-tile__tag { font-size: 15px; font-weight: 600; color: #3E5410; }
.esg-tile--trades .esg-tile__tag { color: var(--deep); font-weight: 700; }
.esg-tile__list { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.35; }
.esg-tile__note { font-size: 15px; color: var(--line); }
.esg-tile__more { margin-top: auto !important; }
.esg-tile--urgent .esg-tile__more, .esg-tile--urgent .wp-block-buttons { margin-top: 0 !important; }
.esg-tile--urgent .wp-block-buttons { margin-top: auto !important; }
.esg-tile--urgent .wp-block-button__link { min-height: 52px; font-weight: 800; font-size: 19px; }
.esg-tile--unsure { background: #fff; border: 3px dashed var(--orange); }
.esg-tile--unsure p { font-size: 17px; line-height: 1.45; }
.esg-tile__end { margin-top: auto !important; }
.esg-tile__end .wp-block-button__link { min-height: 52px; font-size: 17px; }
.esg-ico-box--orange { width: 56px; height: 56px; border-radius: 18px; background: var(--orange); color: var(--navy); }
.esg-tile .esg-more a, .esg-tile .esg-more a:hover { color: inherit; }

/* Recent jobs */
.esg-jobs { display: flex; flex-direction: column; gap: 28px; padding: 48px 40px !important; border-radius: 40px; }
.esg-jobs__note { font-weight: 600; color: #3E5410; }
.esg-job { background: #fff; border-radius: var(--r-card); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.esg-job__text { padding: 0 8px 8px; }
.esg-job__t { font-family: var(--head); font-weight: 700; font-size: 19px; }
.esg-job__s { font-size: 15px; color: var(--muted); }

/* How it works */
.esg-how { display: flex; flex-direction: column; gap: 30px; padding: 52px 40px !important; border-radius: 40px; }
.esg-how > h2 { color: #fff; }
.esg-step { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.esg-step h3 { font-size: 23px !important; }
.esg-step p:last-child { font-size: 17px; line-height: 1.45; }
.esg-step__n { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 24px !important; }
.esg-step__n--sky { background: var(--sky); }
.esg-step__n--leaf { background: var(--leaf); }
.esg-step__n--orange { background: var(--orange); }
/* How it works: a little drawing for each step, the number as a badge, arrows between steps */
.esg-step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.esg-step__ill { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: var(--navy); }
.esg-step__ill svg { width: 60px; height: 60px; }
.esg-step__ill .w { fill: #fff; }
.esg-step__ill--sky { background: var(--sky-t); }
.esg-step__ill--sky .a { fill: var(--sky); }
.esg-step__ill--leaf { background: var(--leaf-t); }
.esg-step__ill--leaf .a { fill: var(--leaf); }
.esg-step__ill--orange { background: var(--orange-t); }
.esg-step__ill--orange .a { fill: var(--orange); }
.esg-how .esg-step__n { width: 40px; height: 40px; font-size: 19px !important; color: var(--navy); }
.esg-how .esg-step { position: relative; }
@media (min-width: 1024px) {
	.esg-how .esg-step:not(:last-child)::after { content: "\2192"; position: absolute; top: 50%; right: -23px; z-index: 2; width: 30px; height: 30px; margin-top: -15px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; line-height: 30px; text-align: center; box-shadow: 0 0 0 4px var(--deep); }
}
@media (prefers-reduced-motion: no-preference) {
	.esg-how .esg-step__ill { transition: transform .2s; }
	.esg-how .esg-step:hover .esg-step__ill { transform: rotate(-4deg) scale(1.04); }
}

/* Reviews */
.esg-reviews { display: flex; flex-direction: column; gap: 28px; }

/* Areas */
.esg-areas { display: flex; flex-wrap: wrap; gap: 32px; padding: 48px 40px !important; border-radius: 40px; }
.esg-areas__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.esg-areas__p { font-size: 18px; line-height: 1.5; }
.esg-areas .esg-more a { color: var(--deep); font-size: 17px; }
.esg-subs { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.esg-sub a { display: inline-block; background: #fff; color: var(--navy); text-decoration: none; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 16px; }
.esg-sub a:hover { background: var(--navy); color: #fff; }
.esg-sub--navy a { background: var(--navy); color: #fff; }

@media (max-width: 700px) {
	.esg-hero { padding: 28px 20px 96px !important; border-radius: 32px; gap: 32px; }
	.esg-float--years, .esg-float--jobs { display: none; }
	.esg-float--hi { left: -8px; bottom: 24px; }
	.esg-qq { grid-template-columns: 1fr; margin-top: -64px !important; padding: 18px; border-radius: 26px; }
	.esg-big, .esg-jobs, .esg-how, .esg-areas, .esg-cta { padding: 28px 20px !important; border-radius: 32px; }
	.esg-big__h { font-size: 38px !important; }
	.esg-tile { padding: 24px; }
}

/* ==========================================================================
   7. Forms (Contact Form 7)
   ========================================================================== */
.esg-quote .wpcf7 form { margin: 0; }
.wpcf7 .hidden-fields-container { display: none; }
.esg-f { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy); }
.esg-f__l em { display: block; font-style: normal; font-weight: 600; font-size: 13px; color: var(--muted); margin-top: 2px; }
.esg-f__l em.esg-req { color: #B4561A; }
.esg-f .wpcf7-form-control-wrap { display: block; }
.esg-f input[type="text"], .esg-f input[type="tel"], .esg-f input[type="email"], .esg-f select, .esg-f textarea {
	width: 100%; box-sizing: border-box; min-height: 54px; border-radius: var(--r-input); border: 2px solid var(--line); padding: 0 14px;
	font: inherit; font-weight: 500; font-size: 16px; color: var(--navy); background: var(--field); transition: border-color .15s, background .15s;
}
.esg-f textarea { padding: 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.esg-f select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2238' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.esg-f input:focus, .esg-f select:focus, .esg-f textarea:focus { outline: none; border-color: var(--deep); background: #fff; }
.esg-f ::placeholder { color: #7E8C9B; opacity: 1; }
.esg-f--submit input[type="submit"], .esg-quote .wpcf7-submit {
	width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--orange); color: var(--navy);
	font-family: var(--head); font-weight: 800; font-size: 17px; padding: 0 22px; cursor: pointer; transition: background .15s;
}
.esg-quote .wpcf7-submit:hover { background: var(--orange-dark); }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-submit { opacity: .7; }
.wpcf7-not-valid-tip { display: block; font-size: 13px; font-weight: 700; color: #B42318; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; border: 0; font-weight: 600; font-size: 15px; background: var(--leaf-t); color: var(--navy); grid-column: 1 / -1; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { background: #FDECEA; color: #8A1C12; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }

/* Quick quote: four fields in a row */
.esg-qqf { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end; }
.esg-qq .wpcf7 form > .wpcf7-response-output { margin-top: 12px; }

/* Free guide sign-up in the footer */
.esg-guidef { display: flex; flex-direction: column; gap: 14px; }
.esg-guidef .esg-f { color: #fff; }
.esg-guidef .esg-f input { background: #fff; border-color: #fff; min-height: 48px; }
.esg-guidef input[type="submit"] { width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--leaf); color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 16px; cursor: pointer; }
.esg-guidef input[type="submit"]:hover { background: #98BB3E; }
.esg-foot .wpcf7 form .wpcf7-response-output { background: rgba(255, 255, 255, .1); color: #fff; }

@media (max-width: 700px) {
	.esg-hide-sm { display: none !important; }
}

/* ==========================================================================
   8. Inner pages: shared
   ========================================================================== */
.esg-h2s { font-size: clamp(28px, 3.4vw, 36px) !important; }
.esg-h3s { font-size: clamp(24px, 2.6vw, 28px) !important; }
.esg-stack { display: flex; flex-direction: column; gap: 20px; }
.esg-content > .esg-sec.esg-sec--stack, .is-root-container > .esg-sec.esg-sec--stack { margin-block-start: 28px !important; }
.esg-dot { display: inline-block; width: 14px; height: 14px; border-radius: 99px; flex: none; vertical-align: -1px; margin-right: 10px; }
.esg-dot--carpets, .esg-dot--sky { background: var(--sky); }
.esg-dot--home, .esg-dot--leaf { background: var(--leaf); }
.esg-dot--property, .esg-dot--deep { background: var(--deep); }
.esg-dot--urgent { background: var(--navy); }
.esg-dot--specialist { background: var(--leaf-t); box-shadow: inset 0 0 0 2px #C9DCA7; }
.esg-dot--trades { background: var(--sky-t); box-shadow: inset 0 0 0 2px #BCD6EE; }
.esg-dot--orange { background: var(--orange); }

.esg-pagehead { display: flex; flex-direction: column; gap: 18px; padding: 48px 44px !important; border-radius: 40px; }
.esg-pagehead__h { font-size: clamp(36px, 5vw, 60px) !important; line-height: 1.04 !important; }
.esg-pagehead .esg-lead { font-size: 19px; max-width: 640px; }
.esg-pagehead--faq .esg-lead a { color: inherit; text-decoration: underline; }
.esg-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px !important; }
.esg-jump a { display: inline-flex; align-items: center; background: #fff; color: var(--navy); border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 16px; text-decoration: none; }
.esg-jump a:hover { box-shadow: 0 0 0 2px var(--navy); }

/* Services page group panels */
.esg-group { display: flex; flex-direction: column; gap: 24px; padding: 44px 40px !important; border-radius: 40px; scroll-margin-top: 20px; }
.esg-group__text { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.esg-group__eyebrow { color: inherit !important; font-size: 14px !important; }
.esg-group__h { font-size: clamp(32px, 4vw, 44px) !important; color: inherit !important; }
.esg-group__lead { font-size: 18px; line-height: 1.5; }
.esg-group__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.esg-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.esg-svc { position: relative; background: #fff; color: var(--navy); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.esg-svc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 34, 56, .18); }
.esg-svc__h { font-size: 20px !important; font-weight: 700 !important; line-height: 1.2; }
.esg-svc__h a { color: var(--navy); text-decoration: none; font-weight: 700; }
.esg-svc__h a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.esg-svc__p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.esg-svc__price { margin-top: auto !important; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--deep); }
.esg-group--specialist .esg-svc, .esg-group--trades .esg-svc { box-shadow: 0 1px 0 rgba(15, 34, 56, .04); }
/* Services page: a photo on every card (real job photos tagged), compact rows on phones */
.esg-svc { padding: 0 0 20px; overflow: hidden; }
.esg-svc > :not(.esg-svc__img) { padding-left: 20px; padding-right: 20px; }
.esg-svc__img { position: relative; aspect-ratio: 16 / 10; margin: 0 0 10px !important; overflow: hidden; background: var(--sky-t); }
.esg-svc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esg-svc__img--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.esg-svc__real { position: absolute; left: 10px; top: 10px; z-index: 1; background: rgba(255, 255, 255, .94); color: var(--navy); font-weight: 700; font-size: 11px; line-height: 1; padding: 5px 9px 5px 19px; border-radius: 999px; box-shadow: 0 1px 4px rgba(15, 34, 56, .2); }
.esg-svc__real::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #6E9A1E; }
.esg-svc__img--van img { object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) {
	.esg-svc__img img { transition: transform .35s; }
	.esg-svc:hover .esg-svc__img img { transform: scale(1.04); }
}
/* Desktop: pick the column count per group so no card sits alone on a row */
@media (min-width: 1100px) {
	.esg-svcs--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.esg-svcs--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.esg-svcs--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.esg-svcs--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.esg-svcs--n7, .esg-svcs--n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.esg-svcs--n5 .esg-svc__h { font-size: 18px !important; }
}
@media (max-width: 700px) {
	.esg-svcs { grid-template-columns: 1fr; gap: 10px; }
	.esg-svc { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 4px; padding: 12px; align-items: start; border-radius: 20px; }
	.esg-svc > :not(.esg-svc__img) { padding: 0; grid-column: 2; }
	.esg-svc__img { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1; margin: 0 !important; border-radius: 14px; }
	.esg-svc__img--pair { gap: 2px; }
	.esg-svc__real { left: 5px; top: 5px; font-size: 9px; padding: 4px 6px 4px 14px; }
	.esg-svc__real::before { left: 5px; width: 5px; height: 5px; margin-top: -2.5px; }
	.esg-svc__price { padding-top: 4px; }
}

.esg-unsure { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border: 3px dashed var(--orange); border-radius: 36px; padding: 36px; }
.esg-unsure__text { display: flex; flex-direction: column; gap: 6px; }
.esg-unsure h2 { font-size: clamp(26px, 3vw, 34px) !important; }
.esg-unsure p { font-size: 18px; }

/* Service page header */
.esg-shero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding: 48px 44px !important; border-radius: 40px; }
.esg-shero__text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.esg-shero__h { font-size: clamp(36px, 5vw, 56px) !important; line-height: 1.05 !important; color: inherit !important; }
.esg-shero .esg-lead { font-size: 19px; max-width: 580px; }
.esg-shero .esg-crumbs a { color: inherit; }
.esg-shero__media { flex: 1 1 360px; min-width: 0; }
.esg-ba--big { gap: 8px; }
.esg-ba--big .esg-ba__b { border-radius: 28px 8px 8px 28px; background: var(--leaf-t); padding: 14px; }
.esg-ba--big .esg-ba__a { border-radius: 8px 28px 28px 8px; background: #fff; padding: 14px; }
.esg-ba--big .esg-ba__cap { font-size: 14px !important; color: #3E5410; }
.esg-ba--big .esg-badge { padding: 5px 11px; }
.has-navy-background-color .esg-ba--big .esg-ba__b { background: #2B4060; }
.has-navy-background-color .esg-ba--big .esg-ba__a { background: var(--deep); }
.has-navy-background-color .esg-ba--big .esg-ba__cap { color: #fff; }
.has-navy-background-color .esg-ba--big .esg-badge--navy { background: #fff; color: var(--navy); }
.has-sky-background-color .esg-ba--big .esg-ba__b, .has-deep-blue-background-color .esg-ba--big .esg-ba__b { background: var(--sky-t); }
.has-deep-blue-background-color .esg-ba--big .esg-ba__cap, .has-sky-background-color .esg-ba--big .esg-ba__cap { color: var(--deep); }
.has-leaf-tint-background-color .esg-ba--big .esg-ba__b, .has-sky-tint-background-color .esg-ba--big .esg-ba__b { background: #fff; }
.esg-pricerow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.esg-price { background: var(--navy); color: #fff; border-radius: 20px; padding: 12px 18px; display: flex; flex-direction: column; line-height: 1.15; }
.esg-price__l { font-size: 13px !important; font-weight: 600; color: var(--line); }
.esg-price__n { font-family: var(--head); font-weight: 800; font-size: 26px !important; }
.esg-info { background: #fff; color: var(--navy); border-radius: 20px; padding: 12px 18px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.has-navy-background-color.esg-shero .esg-price { background: #fff; color: var(--navy); }
.has-navy-background-color.esg-shero .esg-price__l { color: var(--muted); }

/* What's included + pricing */
.esg-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.esg-split__main { flex: 3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.esg-split > .esg-pricing, .esg-split > .esg-ins { flex: 2 1 340px; min-width: 0; }
.esg-split--rev > .esg-pricing { flex: 2 1 320px; }
.esg-incs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.esg-inc { display: flex; gap: 12px; align-items: flex-start; border-radius: 22px; padding: 18px; }
.esg-inc__text { display: flex; flex-direction: column; gap: 4px; }
.esg-inc__t { font-size: 17px; line-height: 1.3; }
.esg-inc__d { font-size: 15px; line-height: 1.45; color: var(--muted); }
.esg-tick { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--leaf); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.esg-tick svg { width: 18px; height: 18px; }
.has-sky-tint-background-color .esg-tick, .esg-tick--blue { background: var(--sky); color: var(--navy); }
.esg-pricing { border-radius: 40px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.esg-pricing__h { font-size: 28px !important; color: #fff !important; }
.esg-prows { display: flex; flex-direction: column; }
.esg-prow { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 17px; }
.esg-prow strong { color: var(--peach); font-weight: 800; white-space: nowrap; }
.esg-pricing__note { font-size: 15px; color: var(--line); }

/* Often booked together, other links */
.esg-rel { position: relative; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 22px; min-height: 120px; justify-content: space-between; transition: transform .15s; }
.esg-rel:hover { transform: translateY(-2px); }
.esg-rel__h { font-size: 22px !important; font-weight: 700 !important; color: inherit !important; }
.esg-rel__h a { color: inherit; text-decoration: none; }
.esg-rel__h a::after { content: ""; position: absolute; inset: 0; }
.esg-rel__g { font-weight: 700; font-size: 16px; }
.esg-olinks { display: flex; flex-wrap: wrap; gap: 10px; }
.esg-olink a { display: inline-flex; align-items: center; border-radius: 999px; padding: 14px 22px; font-family: var(--head); font-weight: 700; font-size: 18px; text-decoration: none; }
.esg-olink--navy a { background: var(--navy); color: #fff; }
.esg-olink--sky a { background: var(--sky); color: var(--navy); }
.esg-olink--deep a { background: var(--deep); color: #fff; }
.esg-olink--leaf-tint a { background: var(--leaf-t); color: var(--navy); }
.esg-olink--sky-tint a { background: var(--sky-t); color: var(--navy); }
.esg-olink a:hover { box-shadow: 0 0 0 3px var(--orange); }

/* Urgent pages */
.esg-wait { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.esg-wait__n { font-family: var(--head); font-weight: 800; font-size: 26px !important; color: var(--deep); line-height: 1.1; }
.esg-wait__t { font-size: 18px; }
.esg-wait__d { font-size: 16px; line-height: 1.45; }
.esg-incrows { display: flex; flex-direction: column; gap: 12px; }
.esg-incrow { display: flex; align-items: center; gap: 14px; border: 2px solid var(--sky-t); border-radius: 18px; padding: 14px 18px; }
.esg-incrow__t { font-weight: 600; font-size: 17px; }
.esg-ins { border-radius: 40px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.esg-ins__h { font-size: 28px !important; }
.esg-ins p { font-size: 17px; line-height: 1.5; }
.esg-ins__strong { font-size: 15px !important; }
.esg-ico-box--navy { width: 56px; height: 56px; border-radius: 18px; background: var(--navy); color: #fff; }

/* Photo placeholders */
.esg-photo-ph { border-radius: var(--r-card); aspect-ratio: 4 / 3; box-sizing: border-box; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.esg-photo-ph__cap { font-weight: 700; font-size: 15px; color: var(--deep); }
.esg-photo-ph .wp-block-image { margin: -16px; height: calc(100% + 32px); }
.esg-photo-ph .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.esg-photo-ph--hero { flex: 1 1 340px; max-width: 460px; background: var(--sky-t); border: 6px solid #fff; justify-content: center; text-align: center; }
.esg-photo-ph--map { flex: 1 1 340px; max-width: 460px; justify-content: center; text-align: center; }
.esg-photo-ph--map .esg-photo-ph__cap { color: var(--navy); }
.esg-photo-ph--sq { aspect-ratio: 1; justify-content: center; text-align: center; }

/* Suburb pages */
.esg-shero--suburb { align-items: center; }
.esg-qq--stack { margin: 0 !important; flex: 1 1 340px; max-width: 440px; grid-template-columns: 1fr; padding: 26px; align-items: stretch; }
.esg-qq--stack .esg-qqf { grid-template-columns: 1fr; }
.esg-qq--stack .esg-qq__s { display: none; }
.esg-grid2--even { align-items: stretch; }
.esg-includes { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 44px 40px !important; border-radius: 40px; }
.esg-includes__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.esg-includes h2 { color: #fff !important; }
.esg-local { font-size: 17px; line-height: 1.5; color: #D9E8F5; }
.esg-includes__list { flex: 1 1 380px; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.esg-includes__list li { background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.esg-linkbox { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.esg-linkbox .esg-sub a { font-size: 15px; padding: 9px 16px; }

/* Get a quote */
.esg-quotepage { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 44px 40px !important; border-radius: 40px; }
.esg-quotepage__main { flex: 3 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.esg-quotepage__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.esg-formcard { background: #fff; border-radius: 32px; padding: 28px; margin-top: 8px !important; }
.esg-sidecard { border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.esg-side__h { font-size: 22px !important; font-weight: 700 !important; color: inherit !important; }
.esg-sidecard p { font-size: 16px; line-height: 1.45; }
.esg-sidecard .wp-block-button__link { min-height: 52px; font-size: 19px; font-weight: 800; }
.esg-nexts { display: flex; flex-direction: column; gap: 12px; }
.esg-next { display: flex; gap: 12px; align-items: flex-start; }
.esg-next__n { flex: none; width: 28px; height: 28px; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 15px !important; }
.esg-next__n--sky { background: var(--sky); }
.esg-next__n--leaf { background: var(--leaf); }
.esg-next__n--orange { background: var(--orange); }
.esg-sidecard--rating p { font-size: 17px; }

/* Full quote form */
.esg-qf { display: flex; flex-direction: column; gap: 20px; }
.esg-qf__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.esg-qf__needs { border: 0; padding: 0; margin: 0; min-width: 0; }
.esg-qf__needs legend { font-family: var(--head); font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 12px; }
.esg-qf__needs legend em { font-style: normal; font-family: var(--wp--preset--font-family--body); font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.esg-qf__needs .wpcf7-checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.esg-qf__needs .wpcf7-list-item { margin: 0; }
.esg-qf__needs .wpcf7-list-item label { display: flex; align-items: center; gap: 10px; min-height: 54px; box-sizing: border-box; padding: 10px 14px; border-radius: 16px; background: var(--sky-t); font-weight: 700; font-size: 15px; line-height: 1.25; cursor: pointer; border: 2px solid transparent; }
.esg-qf__needs .wpcf7-list-item:nth-child(n+5):nth-child(-n+7) label, .esg-qf__needs .wpcf7-list-item:nth-child(10) label, .esg-qf__needs .wpcf7-list-item:nth-child(12) label { background: var(--leaf-t); }
.esg-qf__needs input[type="checkbox"], .esg-optin input[type="checkbox"] { width: 22px; height: 22px; flex: none; accent-color: var(--deep); margin: 0; }
.esg-qf__needs .wpcf7-list-item label:has(input:checked) { border-color: var(--deep); background: #fff; }
.esg-upload { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; border: 2px dashed var(--orange); background: var(--orange-t); border-radius: 22px; padding: 22px; cursor: pointer; }
.esg-upload__ico { color: var(--orange-dark); margin-bottom: 4px; }
.esg-upload strong { font-family: var(--head); font-size: 18px; }
.esg-upload > span:not(.esg-upload__ico):not(.wpcf7-form-control-wrap) { font-size: 14px; color: var(--muted); }
.esg-upload .wpcf7-form-control-wrap { margin-top: 10px; }
.esg-upload input[type="file"] { font: inherit; font-size: 14px; max-width: 100%; }
.esg-upload input[type="file"]::file-selector-button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--navy); color: #fff; margin-right: 10px; cursor: pointer; }
.esg-optin .wpcf7-list-item { margin: 0; }
.esg-optin label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.esg-qf .wpcf7-submit { min-height: 58px; font-size: 18px; }
.esg-qf__privacy { font-size: 14px; color: var(--muted); margin-top: -8px !important; }
.esg-qf__privacy a { color: var(--deep); }

/* Property managers */
.esg-why { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.esg-why__h { font-size: 20px !important; font-weight: 700 !important; }
.esg-why p { font-size: 16px; line-height: 1.45; }
.esg-bundle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 44px 40px !important; border-radius: 40px; }
.esg-bundle__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; }
.esg-bundle h2 { color: #fff !important; }
.esg-bundle__p { font-size: 18px; color: var(--line); }
.esg-btiles { flex: 0 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.esg-btile { border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--navy); line-height: 1.25; }
.esg-btile strong { font-family: var(--head); font-weight: 700; font-size: 18px; }
.esg-btile span { font-size: 14px; }
.esg-btile--sky { background: var(--sky); }
.esg-btile--leaf { background: var(--leaf); }
.esg-btile--white { background: #fff; }
.esg-btile--orange { background: var(--orange); }
.esg-btile__price { font-size: 26px !important; font-weight: 800 !important; }
.esg-account { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.esg-account .esg-formcard { margin: 0 !important; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 20px; }
.esg-pmf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.esg-f--full { grid-column: 1 / -1; }
.esg-pmf .esg-f input, .esg-pmf .esg-f select { background: #fff; }

/* About */
.esg-about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 40px 44px !important; border-radius: 40px; }
.esg-about__photo { flex: 0 1 300px; margin: 0 auto !important; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px !important; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(15, 34, 56, .2); }
.esg-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; border-radius: 0 !important; }
.esg-about__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.esg-eyebrow--navy { color: var(--navy); }
.esg-about__h { font-size: clamp(34px, 4.6vw, 52px) !important; }
.esg-about__p { font-size: 18px; line-height: 1.55; max-width: 640px; }
.esg-year { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.esg-year__y { font-weight: 800; font-size: 14px; opacity: .85; }
.esg-year__h { font-size: 22px !important; color: inherit !important; }
.esg-year p:last-child { font-size: 16px; line-height: 1.45; }
.esg-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; padding: 36px 40px !important; border-radius: 40px; }
.esg-value { display: flex; flex-direction: column; gap: 8px; }
.esg-value__h { font-size: 22px !important; }
.esg-value p { font-size: 16px; line-height: 1.5; }
.esg-values--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.esg-team { display: flex; flex-direction: column; gap: 8px; }
.esg-team__photo { margin: 0; aspect-ratio: 1; border-radius: 24px !important; overflow: hidden; }
.esg-team__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.esg-team__n { font-size: 18px; margin-top: 6px !important; }
.esg-team__r { font-size: 15px; color: var(--muted); }

/* Areas */
.esg-areacols { align-items: stretch; }
.esg-areacol { border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.esg-areacol__h { font-size: 26px !important; color: inherit !important; }
.esg-arealinks { display: flex; flex-direction: column; gap: 8px; }
.esg-arealink a { display: flex; justify-content: space-between; align-items: center; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 16px; text-decoration: none; }
.esg-arealink a::after { content: "→"; }
.esg-arealink a:hover { box-shadow: 0 0 0 2px var(--orange); }

/* FAQ page */
.esg-faqsets { max-width: 880px; margin-inline: auto !important; display: flex; flex-direction: column; gap: 44px; }
.esg-faqset { display: flex; flex-direction: column; gap: 16px; }
.esg-faqset__h { font-size: 28px !important; display: flex; align-items: center; }

@media (max-width: 700px) {
	.esg-pagehead, .esg-group, .esg-shero, .esg-includes, .esg-quotepage, .esg-bundle, .esg-about, .esg-values { padding: 28px 20px !important; border-radius: 32px; }
	.esg-pricing, .esg-ins, .esg-linkbox, .esg-unsure { padding: 24px; border-radius: 28px; }
	.esg-formcard { padding: 20px; border-radius: 24px; }
	.esg-btiles { flex-basis: 100%; }
}
.esg-linkbox .esg-subs { flex: none; }
.esg-arealink .esg-nolink { display: flex; background: rgba(255, 255, 255, .85); color: var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 16px; }

/* Longer wording carried over from the old pages */
.esg-text p { font-size: 18px; line-height: 1.65; }
.esg-text h2 { margin-bottom: 4px; }
.esg-text__list { padding-left: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px 24px; font-weight: 600; }
.esg-text__list li::marker { color: var(--orange); }

/* Video beside text (home Carpets section, carpet steam cleaning page) */
.esg-vid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: center; padding: 40px !important; border-radius: 40px; }
.esg-vid__text { display: flex; flex-direction: column; gap: 14px; }
.esg-vid__h { font-size: clamp(28px, 3.2vw, 38px) !important; line-height: 1.08; font-weight: 800 !important; }
.esg-vid__text p { font-size: 17px; line-height: 1.55; }
.esg-vid__text .esg-vid__tip { background: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 700; font-size: 16px; }
.esg-vid__media .wp-block-embed { margin: 0; }
.esg-vid__media .wp-block-embed__wrapper { border-radius: 24px; overflow: hidden; border: 6px solid #fff; background: var(--navy); }
@media (max-width: 900px) {
	.esg-vid { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px !important; border-radius: 32px; }
}

/* Lists with longer lines read as one plain column */
.esg-text__list--long { grid-template-columns: 1fr; font-weight: 400; }
.esg-text__list--long strong { font-weight: 700; }

/* Suburb pages: "why choose us" with a line under each point */
.esg-includes__list--why li span { display: block; font-weight: 500; font-size: 15px; color: var(--muted); margin-top: 2px; }

/* Free guide sign-up (Mailchimp) in the footer */
.esg-mc__names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.esg-mc__hp { position: absolute; left: -5000px; }
.esg-mc .esg-mc__note { font-size: 13px; color: #CFDCE9; margin: 0; }
.esg-mc__note a { color: #fff; }

/* Areas page: Google map */
.esg-map { flex: 1 1 340px; max-width: 520px; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 6px solid #fff; background: var(--sky-t); }
.esg-map__frame { display: block; width: 100%; height: 100%; border: 0; }

/* Live Google reviews (Widgets for Google Reviews plugin): match the
   site's tinted, rounded review cards and fonts. */
.esg-greviews { width: 100%; }
.esg-greviews .ti-widget.ti-goog, .esg-greviews .ti-widget.ti-goog * { font-family: inherit !important; }
.esg-greviews .ti-widget.ti-goog .ti-review-item > .ti-inner { background: var(--sky-t) !important; border-radius: var(--r-card) !important; padding: 26px !important; }
.esg-greviews .ti-widget.ti-goog .ti-review-item:nth-child(3n+2) > .ti-inner { background: var(--leaf-t) !important; }
.esg-greviews .ti-widget.ti-goog .ti-review-item:nth-child(3n+3) > .ti-inner { background: var(--orange-t) !important; }
.esg-greviews .ti-widget.ti-goog .ti-name { font-size: 16px !important; font-weight: 700 !important; color: var(--navy) !important; }
.esg-greviews .ti-widget.ti-goog .ti-date { color: var(--muted) !important; }
.esg-greviews .ti-widget.ti-goog .ti-review-content { color: var(--navy) !important; }
.esg-greviews .ti-widget.ti-goog .ti-read-more { color: var(--deep) !important; font-weight: 700 !important; }

/* Fuller service pages */
.esg-hero-photo { aspect-ratio: 4 / 3 !important; }
.esg-process { padding: 44px 40px !important; border-radius: var(--r-panel); display: flex; flex-direction: column; gap: 28px; }
.esg-process__head { max-width: 760px; }
.esg-process .esg-step { border-radius: var(--r-card); }
.esg-tp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.esg-tp--flip .esg-tp__media { order: -1; }
.esg-tp--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.esg-tp__media { min-width: 0; }
.esg-tp__photo { margin: 0; border-radius: 32px !important; overflow: hidden; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(15, 34, 56, .08); aspect-ratio: 4 / 3; }
.esg-tp__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.esg-duo__card { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.esg-duo__list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.esg-duo__list li::marker { color: var(--orange); }
.esg-duo__note { font-weight: 700; }
.esg-suburbs .esg-subs { flex: none; }
@media (max-width: 900px) {
	.esg-tp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.esg-tp--flip .esg-tp__media { order: 0; }
	.esg-process, .esg-duo__card { padding: 28px 20px !important; border-radius: 28px; }
}

/* ---------- v1.0.13: quotes without prices, linked home cards, compare slider, motion ---------- */
.esg-price__n--words { font-size: 20px !important; }
.esg-qsteps { display: flex; flex-direction: column; }
.esg-qstep { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 16px; line-height: 1.4; color: var(--line); }
.esg-qstep:last-child { border-bottom: 0; }
.esg-qstep strong { display: block; font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 2px; }
.esg-qstep__n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--peach); color: var(--navy); font-family: var(--head); font-weight: 800; display: grid; place-items: center; }
.esg-tile__list--links a { color: inherit; text-decoration: none; }
/* Home service tiles: an icon on each, and each service as a tappable row with an arrow */
.esg-tico { width: 48px; height: 48px; border-radius: 16px; margin-bottom: -2px; }
.esg-tico svg { width: 24px; height: 24px; }
.esg-tico--home { background: var(--navy); color: #fff; }
.esg-tico--property { background: rgba(255, 255, 255, .18); color: #fff; }
.esg-tico--urgent { background: var(--orange); color: var(--navy); }
.esg-tico--specialist { background: var(--leaf); color: var(--navy); }
.esg-tico--trades { background: var(--deep); color: #fff; }
.esg-tile__list--links { list-style: none; padding-left: 0; gap: 0; }
.esg-tile__list--links li { border-top: 1px solid rgba(127, 127, 127, .25); border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.esg-tile__list--links li:last-child { border-bottom: 1px solid rgba(127, 127, 127, .25); border-bottom-color: color-mix(in srgb, currentColor 18%, transparent); }
.esg-tile__list--links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 2px; font-weight: 600; }
.esg-tile__list--links a::after { content: "\2192"; font-weight: 700; opacity: .55; transition: transform .15s, opacity .15s; }
.esg-tile__list--links a:hover::after, .esg-tile__list--links a:focus-visible::after { opacity: 1; transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .esg-tile__list--links a::after { transition: none; } }
.esg-tile__list--links a:hover, .esg-tile__list--links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.esg-cmp { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: #D8E3EC; user-select: none; touch-action: pan-y; }
.esg-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.esg-cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.esg-cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; z-index: 2; }
.esg-cmp__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(15, 34, 56, .28); display: grid; place-items: center; }
.esg-cmp__knob::before { content: "\2039\00a0\203A"; font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1; }
.esg-cmp__tag { position: absolute !important; top: 12px; z-index: 2; pointer-events: none; }
.esg-cmp__tag--b { left: 12px; }
.esg-cmp__tag--a { right: 12px; }
.esg-cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.esg-cmp:focus-within .esg-cmp__knob { outline: 3px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
	.esg-js .esg-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
	.esg-js .esg-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- v1.0.14: step-by-step quote form, thank-you, guides, glossary ---------- */
.esg-qf__step { display: flex; flex-direction: column; gap: 18px; }
.esg-qf__step[hidden] { display: none !important; }
.esg-qf__progress { display: none; height: 8px; border-radius: 999px; background: var(--sky-t); overflow: hidden; }
.esg-qf__bar { display: block; height: 100%; width: 33.4%; background: var(--deep); border-radius: inherit; transition: width .3s ease; }
.esg-qf--js .esg-qf__progress { display: block; }
.esg-qf__k { font-size: 13px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); }
.esg-qf__h, .esg-qf--steps .esg-qf__needs legend { font-family: var(--head); font-weight: 800; font-size: 22px !important; line-height: 1.2; color: var(--navy); }
.esg-qf__tip { font-size: 15px; color: var(--muted); margin-top: -8px !important; }
.esg-qf__nav { display: none; gap: 10px; align-items: center; flex-wrap: wrap; }
.esg-qf--js .esg-qf__nav { display: flex; }
.esg-qf__nav--end { display: flex; }
.esg-qf__nav--end .esg-f--submit { flex: 1 1 220px; }
.esg-qf__next, .esg-qf__back { font: inherit; font-family: var(--head); font-weight: 800; font-size: 17px; min-height: 54px; border-radius: 999px; padding: 0 24px; cursor: pointer; border: 0; }
.esg-qf__next { flex: 1 1 220px; background: var(--navy); color: #fff; }
.esg-qf__next:hover { background: var(--deep); }
.esg-qf__back { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.esg-qf__back:hover { border-color: var(--navy); }
.esg-qf:not(.esg-qf--js) .esg-qf__back { display: none; }
.esg-qf--steps .esg-qf__grid .esg-f { min-width: 0; }

.esg-ico-box--leaf { width: 56px; height: 56px; border-radius: 18px; background: var(--leaf); color: var(--navy); }
.esg-thanks { align-items: flex-start; }
.esg-thanks > .esg-pricing { flex: 1 1 340px; }

.esg-guide-hero .esg-shero__h { font-size: clamp(32px, 4.2vw, 48px) !important; }
.esg-guide-hero--solo .esg-shero__text { max-width: 820px; }
.esg-guide__meta { font-size: 14px !important; font-weight: 700; color: var(--muted); }
.esg-answer { border-radius: 28px; padding: 26px 30px !important; border-left: 8px solid var(--leaf); max-width: 860px; }
.esg-answer__k { font-family: var(--head); font-weight: 800; font-size: 14px !important; letter-spacing: .06em; text-transform: uppercase; color: #3E5410; margin-bottom: 6px !important; }
.esg-answer__p { font-size: 19px !important; line-height: 1.55; font-weight: 600; color: var(--navy); }
.esg-midcta { border-radius: 32px; padding: 28px 32px !important; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; max-width: 980px; }
.esg-midcta__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.esg-midcta__text h2 { color: #fff !important; }
.esg-midcta__text p { color: var(--line); font-size: 16px; }

.esg-gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.esg-gcards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 24px; }
.esg-gcard { position: relative; border-radius: 28px; padding: 26px !important; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.esg-gcard.has-white-background-color { border: 2px solid var(--sky-t); }
.esg-gcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 34, 56, .12); }
.esg-gcard__k { font-size: 13px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--deep); }
.esg-gcard__h { font-size: 22px !important; line-height: 1.2 !important; }
.esg-gcard__h a { color: var(--navy); text-decoration: none; }
.esg-gcard__h a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.esg-gcard__p { font-size: 15px; line-height: 1.5; color: var(--navy); }
.esg-gcard__more { margin-top: auto !important; font-family: var(--head); font-weight: 700; color: var(--deep); }

.esg-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.esg-jump a { background: var(--sky-t); color: var(--navy); text-decoration: none; font-weight: 700; border-radius: 999px; padding: 10px 18px; }
.esg-jump a:hover { background: var(--navy); color: #fff; }
.esg-gloss { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; margin: 0; }
.esg-gloss__item { background: #fff; border: 2px solid var(--sky-t); border-radius: 22px; padding: 18px 20px; scroll-margin-top: 120px; }
.esg-gloss__item:target { border-color: var(--orange); }
.esg-gloss dt { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.esg-gloss dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--navy); }
[id^="group-"] { scroll-margin-top: 120px; }

/* v1.0.16: About team row (real people only) */
.esg-team-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.esg-team-row > .esg-team { flex: 0 1 260px; }
.esg-team-row > .esg-team--note { flex: 1 1 360px; border-radius: 28px; padding: 28px !important; display: flex; flex-direction: column; justify-content: center; gap: 12px; }

/* Before/after side by side (real photos not taken from the same spot) */
.esg-pair { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.esg-pair img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; min-width: 0; }
.esg-pair__tag--a { left: calc(50% + 12px); right: auto !important; }
.esg-pair--one { grid-template-columns: 1fr; }
.esg-big__media .esg-pair { border: 6px solid #fff; border-radius: 32px; box-shadow: 0 10px 30px rgba(15, 34, 56, .08); }

/* Recent jobs: two even rows of three on desktop (6 jobs), not 4 + 2 */
@media (min-width: 1024px) {
	.esg-jobs .esg-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* Service page video (self-hosted job clip, 9:16) */
.esg-svid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px 48px !important; border-radius: 40px; }
.esg-svid__text { display: flex; flex-direction: column; gap: 14px; }
.esg-svid__frame { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--navy); border: 6px solid #fff; box-shadow: 0 18px 40px rgba(15, 34, 56, .18); }
.esg-svid__v { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }
@media (max-width: 800px) {
	.esg-svid { grid-template-columns: 1fr; padding: 28px 20px !important; border-radius: 32px; gap: 24px; }
	.esg-svid__frame { width: min(100%, 300px); }
}

/* Trust row: Australian owned & operated first, in navy; five across on desktop */
.esg-trust--aus { background: var(--navy); color: #fff; }
.esg-trust--aus .esg-ico-box { background: #fff; color: var(--navy); }
.esg-trust--aus .esg-trust__t { color: #fff; }
@media (min-width: 1100px) {
	.esg-trusts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
	.esg-trusts--5 .esg-trust { padding: 16px; gap: 12px; }
}

/* Two or more clips: text on top, videos in a row (a wide 16:9 clip next to a 9:16 one) */
.esg-svid--multi { grid-template-columns: 1fr; }
.esg-svid--multi .esg-svid__text { max-width: 760px; }
.esg-svid__row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
.esg-svid--multi .esg-svid__frame { width: auto; height: 400px; aspect-ratio: 9 / 16; justify-self: auto; }
.esg-svid--multi .esg-svid__frame--wide { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) {
	.esg-svid--multi .esg-svid__frame { height: auto; width: min(100%, 300px); }
	.esg-svid--multi .esg-svid__frame--wide { width: 100%; }
}

/* Video panel with the clip on the left (alternating panels) */
@media (min-width: 801px) {
	.esg-svid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
	.esg-svid--flip .esg-svid__text { order: 2; }
}
