/*
Theme Name: MLG Construction
Theme URI: https://construction.misslilygeeunlimited.co.za/
Author: MLG Digital (Miss Lily Gee Unlimited)
Author URI: https://misslilygeeunlimited.co.za/
Description: Custom theme for MLG Construction, Durban. Plumbing, renovations and brick structures, built around the Chat to a Plumber WhatsApp subscription. Includes local-SEO and AI-search structured data, Yoast-aware titles and descriptions, service and area landing pages, a quote form with plan uploads, and GA4-ready dataLayer events.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.8
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: mlg-construction
Tags: business, custom-logo, custom-menu, featured-images, one-column, two-columns
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #12161c;
	--ink-2: #1b2129;
	--ink-3: #2b333d;
	--gold: #c9a227;
	--gold-dark: #8a6d12;
	--gold-soft: #f5ecd0;
	--cream: #faf7f0;
	--paper: #ffffff;
	--line: #e6e0d2;
	--line-dark: rgba(255, 255, 255, 0.14);
	--text: #1d232b;
	--muted: #59616c;
	--muted-light: #b9c0c9;
	--chat: #0f7a3f;
	--chat-hover: #0b6233;
	--chat-soft: #e5f3ea;
	--chat-glow: #25d366;
	--danger: #b42318;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(18, 22, 28, 0.06), 0 8px 24px rgba(18, 22, 28, 0.08);
	--shadow-lg: 0 20px 50px rgba(18, 22, 28, 0.22);
	--font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1180px;
	--gutter: 20px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.8em 1.35em; min-height: 46px;
	border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0.55em 1.05em; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0.95em 1.6em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: #d8b23c; color: var(--ink); }
.btn--chat { background: var(--chat); color: #fff; box-shadow: 0 6px 18px rgba(15, 122, 63, 0.28); }
.btn--chat:hover { background: var(--chat-hover); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }

/* ==========================================================================
   Small parts
   ========================================================================== */
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75em; display: flex; align-items: center; gap: 0.6em; flex-wrap: wrap; }
.eyebrow--light { color: var(--gold); }
.pill { display: inline-block; padding: 0.15em 0.65em; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.08em; }
.pill--new { background: var(--chat); color: #fff; }

.chat-status { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.chat-status__dot, .chat-widget__dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3ad; flex-shrink: 0; position: relative; }
.chat-status.is-open .chat-status__dot, .chat-widget__dot.is-open { background: var(--chat-glow); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: mlgc-pulse 2s infinite; }
.chat-status.is-closed .chat-status__dot { background: #e0a83a; }
.chat-status--light { color: #e8ecef; }
.chat-status--mini { font-size: 0.75rem; display: flex; }
@keyframes mlgc-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.badges { list-style: none; padding: 0; margin: 1.5em 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.88rem; font-weight: 600; }
.badges li { display: flex; align-items: center; gap: 0.45em; }
.badges .icon { color: var(--gold); }
.badges--light { color: #e8ecef; }
.badges--stack { flex-direction: column; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0; align-self: start; }

.ticks { list-style: none; padding: 0; margin: 1em 0; }
.ticks li { display: flex; gap: 0.6em; align-items: flex-start; margin-bottom: 0.55em; }
.ticks .icon { color: var(--chat); margin-top: 0.2em; }

.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 0.4em; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4em; opacity: 0.6; }
.breadcrumbs a { color: inherit; }
.hero .breadcrumbs ol { color: var(--muted-light); }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); margin: 1.5em 0; }
.note p { margin: 0; }
.note--warn { background: #fff4e0; border: 1px solid #f1d29a; color: #4a3608; }
.note--warn .icon { color: #b7791f; margin-top: 3px; }

/* ==========================================================================
   Top bar and header
   ========================================================================== */
.topbar { background: var(--ink); color: #e8ecef; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__links a { color: #e8ecef; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.topbar__links a:hover { color: var(--gold); }
.topbar__links .icon { width: 1em; height: 1em; color: var(--gold); }
@media (max-width: 760px) { .topbar__email, .topbar__links li:nth-child(2) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { margin-right: auto; }
.brand img, .custom-logo { max-height: 56px; width: auto; }
.brand__text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; border-radius: 10px; }
.brand__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__name strong { font-weight: 800; }
.brand__text--light { color: #fff; }
.brand__text--light .brand__mark { background: var(--gold); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; place-items: center; cursor: pointer; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; border-radius: 8px; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--gold-dark); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.site-nav .menu-item--chat > a { color: var(--chat); font-weight: 700; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__actions { display: flex; gap: 10px; }

@media (max-width: 1100px) {
	.nav-toggle { display: grid; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 18px; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav__actions { flex-direction: column; }
	.site-nav__actions .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% 10%, rgba(201, 162, 39, 0.16), transparent 60%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, #202831 100%); color: #e8ecef; padding: 64px 0 72px; overflow: hidden; }
.hero--photo { background: linear-gradient(100deg, rgba(18, 22, 28, 0.96) 0%, rgba(18, 22, 28, 0.86) 45%, rgba(18, 22, 28, 0.55) 100%), var(--hero-img) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--ink) 14px 28px); opacity: 0.9; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.hero__lead { font-size: 1.1rem; color: #cfd5dc; max-width: 40em; }
.hero .btn-row { margin: 1.8em 0 0.5em; }
.price-chip { display: inline-flex; align-items: baseline; gap: 0.5em; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.45em 1em; margin: 0.5em 0 0; color: #e8ecef; }
.price-chip strong { color: var(--gold); font-family: var(--font-head); font-size: 1.35rem; }
.price-chip span { font-size: 0.82rem; color: var(--muted-light); }

/* WhatsApp-style chat mock */
.phone-card { background: #0d1117; border: 1px solid var(--line-dark); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 420px; margin-left: auto; }
.phone-card__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #10301f; color: #fff; }
.phone-card__bar strong { display: block; font-size: 0.95rem; }
.phone-card__bar .chat-status { color: #bfe8cf; }
.phone-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.phone-card__body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #0b141a linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)); min-height: 280px; }
.msg { margin: 0; max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; }
.msg--in { align-self: flex-end; background: #005c4b; color: #f0faf6; border-bottom-right-radius: 4px; }
.msg--out { align-self: flex-start; background: #1f2c33; color: #e9edef; border-bottom-left-radius: 4px; }
.msg--photo { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; padding: 18px 22px; background: #0f6b59; }
.phone-card__caption { margin: 0; padding: 10px 16px; font-size: 0.75rem; color: var(--muted-light); border-top: 1px solid var(--line-dark); }

@media (max-width: 900px) {
	.hero { padding: 44px 0 56px; }
	.hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.phone-card { margin: 0 auto; }
}

/* ==========================================================================
   Sections and cards
   ========================================================================== */
.section { padding: 76px 0; }
.section--alt { background: var(--cream); }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.lead-para { font-size: 1.15rem; color: var(--text); }
@media (max-width: 700px) { .section { padding: 54px 0; } }

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--3, .cards--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__title { font-size: 1.22rem; font-weight: 700; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--gold-dark); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); margin-bottom: 18px; }
.card__icon .icon { width: 26px; height: 26px; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; color: var(--ink); }
.card__link .icon { width: 1.05em; transition: transform 0.15s; }
.card__link:hover .icon { transform: translateX(3px); }
.card--service .ticks { margin-bottom: 1.4em; }
.card--area .card__title { display: flex; align-items: center; gap: 0.45em; font-size: 1.08rem; }
.card--area .icon { color: var(--gold-dark); }
.card--area p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.card--dark { background: var(--ink); color: #e8ecef; border-color: var(--ink); }
.card--dark .card__title { color: #fff; }
.card--post { padding: 0; overflow: hidden; }
.card--post > *:not(.card__media) { margin-left: 24px; margin-right: 24px; }
.card--post .card__link { margin-bottom: 24px; }
.card__media { display: block; aspect-ratio: 3 / 2; background: var(--cream); margin-bottom: 18px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold); }
.card__placeholder .icon { width: 48px; height: 48px; }
.card__meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4em; }

/* ==========================================================================
   Chat to a Plumber feature
   ========================================================================== */
.section--chat { background: linear-gradient(180deg, var(--chat-soft) 0%, #f3faf6 100%); border-top: 1px solid #cfe8d8; border-bottom: 1px solid #cfe8d8; }
.chat-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .chat-feature { grid-template-columns: 1fr; gap: 36px; } }

.steps { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 16px; counter-reset: none; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.steps span:not(.steps__n) { color: var(--muted); }
.steps__n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--chat); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.steps--row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps--row li { flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .steps--row { grid-template-columns: 1fr; } }
.steps--small .steps__n { width: 30px; height: 30px; font-size: 0.85rem; background: var(--ink); }
.steps--small strong { font-size: 0.98rem; }
.steps--small span:not(.steps__n) { font-size: 0.9rem; }

.price-card { background: #fff; border: 2px solid var(--chat); border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(15, 122, 63, 0.16); position: relative; }
.price-card__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chat); margin: 0; }
.price-card__price { font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--ink); margin: 0.2em 0 0.15em; display: flex; align-items: baseline; }
.price-card__cur { font-size: 1.8rem; margin-right: 2px; }
.price-card__per { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 6px; font-family: var(--font-body); }
.price-card__note { color: var(--muted); font-size: 0.92rem; }
.price-card .ticks { margin: 1.4em 0; font-size: 0.95rem; }
.price-card__more { display: block; text-align: center; margin-top: 14px; font-weight: 600; color: var(--chat); }

.chat-band { background: linear-gradient(120deg, #0d3b23 0%, var(--chat) 100%); color: #e9f7ef; padding: 64px 0; }
.chat-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chat-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; }
.chat-band .btn--chat { background: #fff; color: var(--chat); box-shadow: none; }
.chat-band .btn--chat:hover { background: var(--gold); color: var(--ink); }
.chat-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chat-band__list li { display: flex; gap: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm); padding: 16px; }
.chat-band__list .icon { color: var(--gold); margin-top: 2px; }
.chat-band__list strong { display: block; color: #fff; }
.chat-band__list span { font-size: 0.9rem; color: #cbe9d7; }
@media (max-width: 900px) { .chat-band__grid, .chat-band__list { grid-template-columns: 1fr; } }

.problem-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-grid li { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.problem-grid .icon { color: var(--chat); margin-top: 3px; }
.problem-grid strong { display: block; color: var(--ink); }
.problem-grid span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 980px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-head); background: var(--cream); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .compare__us { background: var(--chat-soft); color: var(--ink); font-weight: 600; }
.compare thead .compare__us { background: var(--chat); color: #fff; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Why, areas, quote
   ========================================================================== */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.why__quote { margin: 1.4em 0 0; padding: 0 0 0 20px; border-left: 4px solid var(--gold); font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__list li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why__list .icon { width: 28px; height: 28px; color: var(--gold-dark); }
.why__list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.why__list span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .why__list { grid-template-columns: 1fr; } }

.area-links { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 12px; }
.area-links li { display: inline-flex; align-items: center; gap: 0.4em; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0.45em 1em; }
.area-links .icon { color: var(--gold-dark); width: 1em; }
.suburbs__title { margin-top: 2.2em; font-size: 1.1rem; }
.suburbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0.35em 0.8em; font-size: 0.92rem; }
.related { color: var(--muted); margin-top: 1em; }
.related--light { color: var(--muted-light); }
.related--light a { color: var(--gold); }

.section--quote { background: var(--ink); color: #d9dee4; }
.section--quote .section__title { color: #fff; }
.section--quote a { color: var(--gold); }
.quote { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.quote__form { background: #fff; color: var(--text); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.quote__form a { color: var(--gold-dark); }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--gold); }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; gap: 28px; } .quote__form { padding: 22px; } }

.quote-page { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 32px; align-items: start; }
.quote-page__aside { display: grid; gap: 20px; }
@media (max-width: 900px) { .quote-page { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: transform 0.15s, border-color 0.15s; }
.contact-tile:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.contact-tile .icon { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 6px; }
.contact-tile strong { font-family: var(--font-head); font-size: 1.1rem; }
.contact-tile span { color: var(--muted); font-size: 0.92rem; word-break: break-word; }
.contact-tile--chat { background: var(--chat); border-color: var(--chat); color: #fff; }
.contact-tile--chat:hover { color: #fff; border-color: var(--chat-hover); }
.contact-tile--chat .icon { color: #fff; }
.contact-tile--chat span { color: #d6f0e0; }
.contact-tile--chat .chat-status { color: #d6f0e0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; padding: 0.75em 0.9em; border: 1.5px solid #d3cdbf; border-radius: var(--radius-sm); background: #fff; min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 3px solid rgba(201, 162, 39, 0.25); outline-offset: 0; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--chat); flex-shrink: 0; }
.field--check label { font-weight: 400; font-size: 0.86rem; color: var(--muted); }
.upload { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #cfc7b4; border-radius: var(--radius-sm); cursor: pointer; background: var(--cream); flex-wrap: wrap; }
.upload:hover { border-color: var(--gold); }
.upload .icon { width: 28px; height: 28px; color: var(--gold-dark); }
.upload__text { display: flex; flex-direction: column; font-weight: 400; }
.upload__hint { font-size: 0.82rem; color: var(--muted); }
.upload__name { width: 100%; font-size: 0.85rem; color: var(--chat); font-weight: 600; }
.upload.is-error .upload__name { color: var(--danger); }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__input:focus-visible + * , .upload:focus-within { outline: 3px solid var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-notice--ok { background: var(--chat-soft); border: 1px solid #b6dcc5; color: #0b4a27; }
.form-notice--error { background: #fdecea; border: 1px solid #f5c2bd; color: var(--danger); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq__q { cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); list-style: none; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-dark); }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 20px 6px; color: var(--muted); }

/* ==========================================================================
   Inner pages and posts
   ========================================================================== */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 48px 0 44px; }
.page-hero__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 44em; }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; }
.page-hero--service { padding: 56px 0; background: radial-gradient(800px 300px at 90% 0%, rgba(201, 162, 39, 0.14), transparent 60%), var(--cream); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.post-meta { color: var(--muted); font-size: 0.92rem; }
.post-single__media { margin-top: 32px; }
.post-single__media img { border-radius: var(--radius); width: 100%; }

.entry-content { font-size: 1.06rem; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; color: var(--ink); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px; }
.entry-content .alignwide { max-width: 1080px; }
.inline-cta { margin: 2.5em 0; padding: 24px; border-radius: var(--radius); background: var(--chat-soft); border: 1px solid #b6dcc5; }
.inline-cta p { margin-bottom: 1em; }
.post-navigation { margin-top: 3em; border-top: 1px solid var(--line); padding-top: 1.5em; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; }
.post-navigation a { text-decoration: none; color: var(--ink); font-weight: 600; }
.post-navigation span { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.pagination, .nav-links { margin-top: 36px; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; margin-right: 6px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: 8px; margin-top: 24px; }
.search-form input[type="search"] { flex: 1; padding: 0.7em 0.9em; border: 1.5px solid #d3cdbf; border-radius: var(--radius-sm); }
.search-form .search-submit { background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 0 18px; cursor: pointer; }
.comments { margin-top: 3em; }
.woo-wrap { min-height: 40vh; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0c0f13; color: #aab2bc; padding-top: 64px; font-size: 0.94rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 16px; max-width: 30em; }
.site-footer__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d6dbe1; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__reg { margin-top: 14px !important; font-size: 0.85rem; }
.social { display: flex !important; flex-wrap: wrap; gap: 14px !important; margin-top: 16px !important; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0 24px; font-size: 0.86rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 18px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating chat widget and mobile action bar
   ========================================================================== */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-widget__toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--chat); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px 14px 16px; font-weight: 700; font-size: 0.98rem; cursor: pointer; box-shadow: 0 12px 30px rgba(15, 122, 63, 0.4); transition: transform 0.15s, background 0.15s; }
.chat-widget__toggle:hover { background: var(--chat-hover); transform: translateY(-2px); }
.chat-widget__toggle .chat-widget__dot { border: 2px solid #fff; width: 12px; height: 12px; }
.chat-widget.is-nudge .chat-widget__toggle { animation: mlgc-nudge 0.9s ease 2; }
@keyframes mlgc-nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-6px); } 60% { transform: translateY(0); } 80% { transform: translateY(-3px); } }
.chat-widget__panel { width: 330px; max-width: calc(100vw - 32px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; border: 1px solid var(--line); }
.chat-widget__panel[hidden] { display: none; }
.chat-widget__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.chat-widget__title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 0; }
.chat-widget__close { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--muted); border-radius: 8px; }
.chat-widget__lead { font-size: 0.92rem; color: var(--muted); margin: 10px 0 16px; }
.chat-widget__link { display: block; text-align: center; margin: 12px 0 4px; font-weight: 600; font-size: 0.9rem; color: var(--chat); }
.chat-widget__emergency { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 0.84rem; color: var(--muted); margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.chat-widget__emergency .icon { width: 1em; color: var(--danger); }

.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.chat-widget { right: 12px; left: 12px; bottom: 78px; align-items: stretch; }
	.chat-widget__toggle { display: none; }
	.chat-widget__panel { width: auto; max-width: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 210; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18, 22, 28, 0.08); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; font-size: 0.75rem; font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
	.mobile-bar .mobile-bar__chat { background: var(--chat); color: #fff; font-size: 0.82rem; }
	.mobile-bar .mobile-bar__chat .chat-widget__dot { position: absolute; top: 12px; right: calc(50% - 22px); border: 2px solid #fff; }
	.hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; }
}

.pf-form { display: inline-flex; margin: 0; }
.pf-form--block { display: flex; width: 100%; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { /* required by theme check */ }
