/* ==========================================================================
   GoSoft Auto Trade Theme - bold modern
   Brand colours come from Site Settings (injected as CSS variables in <head>):
   --primary, --primary-ink, --accent, --accent-ink
   Everything else below is derived from those, so changing the two colours in
   the admin re-themes the whole site.
   ========================================================================== */

:root {
	--primary-700: color-mix(in srgb, var(--primary) 82%, #000);
	--primary-600: color-mix(in srgb, var(--primary) 90%, #fff);
	--primary-500: color-mix(in srgb, var(--primary) 78%, #fff);
	--accent-600: color-mix(in srgb, var(--accent) 86%, #000);
	--accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
	--text: #162231;
	--muted: #586577;
	--surface: #f3f5f8;
	--border: #e2e6ed;
	--white: #fff;
	--star: #f5a800;
	--ok: #1c7c4a;
	--err: #c62828;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(15, 25, 40, .06), 0 2px 8px rgba(15, 25, 40, .06);
	--shadow: 0 10px 30px rgba(15, 25, 40, .12);
	--maxw: 1180px;
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
	color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; vertical-align: -0.2em; }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; color: var(--primary); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 860px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.hide-sm { }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border-radius: var(--radius-sm); border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.8em; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-accent:hover { background: var(--accent-600); color: var(--accent-ink); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-600); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ---- Top bar + header --------------------------------------------------- */
.topbar { background: var(--primary-700); color: var(--primary-ink); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar-phone { color: var(--primary-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar-phone:hover { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--primary); }
.brand img { max-height: 48px; width: auto; }
.brand-text { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.brand:hover { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li a { white-space: nowrap; display: block; padding: .55em .85em; border-radius: 8px; font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; position: relative; }
.site-nav li a:hover { color: var(--primary); background: var(--surface); }
.site-nav li a.active { color: var(--primary); }
.site-nav li a.active::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--primary); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle-close { display: none; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; color: var(--primary-ink); overflow: hidden;
	background:
		radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
		repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 92px),
		linear-gradient(160deg, var(--primary-600), var(--primary) 55%, var(--primary-700));
	padding: clamp(48px, 8vw, 96px) 0 clamp(110px, 13vw, 150px);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 94%, transparent) 20%, color-mix(in srgb, var(--primary) 62%, transparent)); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--primary-ink); margin-bottom: .4em; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; opacity: .92; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--accent-600); margin: 0 0 .9em; }
.eyebrow-light { color: var(--accent); display: inline-flex; padding: .45em .9em; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; letter-spacing: .08em; }

.hero-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.hero-card h2 { font-size: 1.15rem; margin-bottom: .7em; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.hero-phone { display: flex; align-items: center; gap: 10px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: .6em; letter-spacing: -.02em; }
.hero-phone .icon { color: var(--accent-600); }
.hero-line { display: flex; gap: 8px; color: var(--muted); font-size: .95rem; margin-bottom: 1em; }
.hero-line .icon { color: var(--accent-600); margin-top: .15em; }

.hours { margin: 0 0 1.2em; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: .45em 0; border-bottom: 1px dashed rgba(127, 140, 156, .35); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }
.hours-card { color: var(--text); }
.hours-light { color: var(--text); }

/* ---- Trust strip -------------------------------------------------------- */
.trust { position: relative; z-index: 2; margin-top: -78px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--border); }
.trust-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-600); }
.trust-item strong { display: block; color: var(--primary); font-size: 1.05rem; line-height: 1.25; }
.trust-item span:not(.trust-icon) { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: linear-gradient(160deg, var(--primary), var(--primary-700)); color: var(--primary-ink); }
.section-dark h2, .section-dark h3, .section-dark a { color: var(--primary-ink); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .lead { color: inherit; opacity: .85; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .3em; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0; }
.section-more { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); flex: 1; }
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--primary); color: var(--accent); margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.service-card:hover .card-link { color: var(--accent-600); }
.service-card:hover .card-link .icon { transform: translateX(4px); }
.card-link .icon { transition: transform .2s; }
.value-card h3 { margin-bottom: .3em; }
.value-card p { color: var(--muted); margin: 0; }

/* ---- About + stats ------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.2em 0 1.8em; display: grid; gap: .6em; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 3px; margin-top: 2px; width: 24px; height: 24px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--primary); color: var(--primary-ink); border-radius: var(--radius); padding: 28px 22px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent); opacity: .22; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--accent); margin-bottom: 8px; }
.stat span { font-size: .95rem; opacity: .9; }
.about-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---- Steps -------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 8px; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.4rem; margin-bottom: 16px; box-shadow: 0 0 0 8px var(--accent-soft); }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

/* ---- Projects + before/after ------------------------------------------- */
.project-card { background: color-mix(in srgb, var(--primary-700) 70%, #000); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card-light { background: var(--white); border: 1px solid var(--border); }
.project-meta { padding: 18px 20px 22px; }
.project-meta h2, .project-meta h3 { margin: 0 0 .15em; font-size: 1.15rem; }
.project-meta a { text-decoration: none; }
.project-meta p { margin: 0; opacity: .8; font-size: .95rem; }
.project-card-light .project-meta h2 a { color: var(--primary); }
.project-card-light .project-meta p { color: var(--muted); opacity: 1; }
.project-vehicle { color: var(--muted); margin-top: 1em; }

.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #222; user-select: none; --pos: 50%; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-label { position: absolute; top: 12px; padding: .25em .7em; border-radius: 99px; background: rgba(10, 18, 28, .72); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; background: var(--accent); color: var(--accent-ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: grid; place-items: center; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .35); }
.ba-handle-arrow { position: relative; display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.1rem; font-weight: 800; line-height: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--accent); outline-offset: -3px; }

/* ---- Reviews ------------------------------------------------------------ */
.review-card { margin: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1.05rem; }
.review-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 14px; }
.review-card figcaption strong { color: var(--primary); }
.review-card figcaption span { color: var(--muted); font-size: .9rem; }
.stars { display: inline-flex; gap: 2px; }
.stars .on { color: var(--star); }
.stars .off { color: var(--border); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(0, 0, 0, .05) 40px 80px); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.cta-band h2 { color: var(--accent-ink); margin: 0 0 .2em; }
.cta-band p { margin: 0; font-size: 1.15rem; opacity: .92; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--primary); color: var(--primary-ink); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--primary-600); }
.cta-band .btn-outline-light { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 55%, transparent); }
.cta-band .btn-outline-light:hover { background: rgba(0, 0, 0, .08); color: var(--accent-ink); border-color: var(--accent-ink); }

/* ---- Inner page header -------------------------------------------------- */
.page-hero { background: linear-gradient(160deg, var(--primary-600), var(--primary) 60%, var(--primary-700)); color: var(--primary-ink); padding: clamp(36px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--accent); opacity: .18; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--primary-ink); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .3em; }
.page-hero .lead { color: var(--primary-ink); opacity: .88; max-width: 44em; }
.page-hero .eyebrow { color: var(--accent); }
.breadcrumbs { font-size: .875rem; margin-bottom: 1.2em; opacity: .85; }
.breadcrumbs a { color: var(--primary-ink); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--primary-ink); }

/* ---- Content ------------------------------------------------------------ */
.prose { max-width: 70ch; }
.prose-center { margin: 0 auto 2.5em; text-align: center; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent-600); font-weight: 700; }
.prose-img { width: 100%; border-radius: var(--radius); margin-bottom: 1.5em; box-shadow: var(--shadow-sm); }
.prose > :first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 100px; }
.side-cta { background: var(--primary); color: var(--primary-ink); border: 0; display: grid; gap: 12px; }
.side-cta h2 { color: var(--primary-ink); font-size: 1.4rem; margin: 0; }
.side-cta p { margin: 0; opacity: .88; }
.side-cta .btn-ghost { color: var(--primary-ink); border-color: rgba(255, 255, 255, .35); }
.side-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.side-list h2 { font-size: 1.1rem; }
.side-list ul { list-style: none; margin: 0; padding: 0; }
.side-list li a { display: block; padding: .6em 0; border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.side-list li:last-child a { border-bottom: 0; }

/* ---- Contact + forms ---------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6em; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--primary); font-size: .95rem; }
.req { color: var(--err); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; color: var(--text); background: var(--white); border: 2px solid var(--border);
	border-radius: var(--radius-sm); padding: .8em 1em; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.error-text { color: var(--err); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.form-note { color: var(--muted); font-size: .875rem; margin: -4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); margin-bottom: 24px; }
.alert p { margin: .3em 0 0; }
.alert-success { background: #e8f6ee; border: 1px solid #b6e3c9; color: #14532d; }
.alert-success .icon { color: var(--ok); margin-top: 2px; }
.alert-error { background: #fdecec; border: 1px solid #f3b9b9; color: #7f1d1d; }
.contact-card h2 { font-size: 1.4rem; }
.contact-card h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--accent-ink); background: var(--accent); width: 42px; height: 42px; padding: 10px; border-radius: 12px; }
.contact-list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-list a { font-weight: 700; text-decoration: none; }
.map-wrap { margin-top: 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-wrap iframe, .footer-map iframe { display: block; width: 100%; border: 0; }
.map-wrap iframe { height: 280px; }
.contact-extra { margin-top: 2em; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--primary-700); color: var(--primary-ink); font-size: .975rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr 1.2fr; gap: 36px; padding-block: clamp(44px, 6vw, 72px); }
.site-footer a { color: var(--primary-ink); text-decoration: none; opacity: .9; }
.site-footer a:hover { color: var(--accent); opacity: 1; }
.site-footer .brand { color: var(--primary-ink); margin-bottom: 14px; }
.site-footer .brand img { max-height: 54px; }
.footer-title { color: var(--accent); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1em; font-weight: 800; }
.footer-about p { opacity: .85; max-width: 30ch; }
.footer-links, .footer-contact { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .55em; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: .2em; }
.site-footer .hours div { border-bottom-color: rgba(255, 255, 255, .16); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-map iframe { height: 190px; border-radius: var(--radius-sm); filter: grayscale(.25); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; opacity: .85; }
.footer-bottom a { margin-left: 16px; }
.footer-bottom .credit { font-weight: 600; }

/* ---- Mobile call bar ---------------------------------------------------- */
.mobile-bar { display: none; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-item:nth-child(3)::before { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-card { max-width: 520px; }
	.two-col { grid-template-columns: 1fr; }
	.sidebar { position: static; }
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none;
	}
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li a { padding: .9em .2em; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.1rem; }
	.site-nav li a.active::after { display: none; }
	.nav-cta { margin-top: 16px; }
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.grid-3, .about-grid, .about-page, .contact-grid { grid-template-columns: 1fr; }
	.grid-3 { max-width: 560px; margin-inline: auto; }
	.about-grid .stats { order: -1; }
	.hide-sm { display: none; }
	.cta-inner { flex-direction: column; align-items: flex-start; }

	body { padding-bottom: 68px; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15, 25, 40, .12); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: .85em 1em; border-radius: var(--radius-sm); font-weight: 800; text-decoration: none; }
	.mb-call { background: var(--primary); color: var(--primary-ink); }
	.mb-quote { background: var(--accent); color: var(--accent-ink); }
	.mobile-bar a:only-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.field-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust-item + .trust-item::before { left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; }
	.trust { margin-top: -60px; }
	.hero-actions .btn { width: 100%; }
	.topbar-left .topbar-item { font-size: .8rem; }
	.stats { grid-template-columns: 1fr 1fr; }
	.card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .mobile-bar, .cta-band, .site-footer .footer-map { display: none; }
	.hero, .page-hero { background: none; color: #000; clip-path: none; }
}

/* ---- FAQ block (visual builder) ---------------------------------------- */
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--primary); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-600); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.gjs-page > .hero:first-child { margin-top: 0; }

/* ---- Click-to-load map placeholder ------------------------------------- */
.map-facade { display: grid; place-items: center; min-height: 190px; border-radius: var(--radius-sm); background: repeating-linear-gradient(135deg, rgba(127, 140, 156, .14) 0 14px, rgba(127, 140, 156, .08) 14px 28px); border: 1px solid rgba(127, 140, 156, .3); }
.map-wrap .map-facade { min-height: 280px; border: 0; border-radius: 0; }
.site-footer .map-facade .btn { background: var(--accent); color: var(--accent-ink); }

/* ============================================================ v2: blog, suburbs, offers, team, insurers + builder sections */
.section-intro { margin-bottom: clamp(24px, 3vw, 40px); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { display: block; line-height: 0; background: var(--surface); }
.post-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-body h3 { margin: 0; }
.post-body h3 a { color: var(--primary); text-decoration: none; }
.post-body h3 a:hover { color: var(--accent-600); }
.post-body p { margin: 0; color: var(--muted); }
.post-meta { font-size: .85rem; font-weight: 600; color: var(--accent-600) !important; text-transform: uppercase; letter-spacing: .04em; }
.areas-line { text-align: center; color: var(--muted); margin: 0; }
.insurer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.insurer-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--primary); box-shadow: var(--shadow-sm); }
.insurer-list li .icon { color: var(--accent-600); }
.insurer-list a { color: inherit; text-decoration: none; }
.insurer-list a:hover { color: var(--accent-600); }
.offer-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-top: 4px solid var(--accent); }
.offer-card h3 { margin: 0; }
.offer-card p { margin: 0; color: var(--muted); }
.offer-card .btn { margin-top: auto; }
.offer-tag { background: var(--accent-soft); color: var(--accent-600); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.offer-fine { font-size: .85rem; }
.team-card { text-align: center; }
.team-card h3 { margin: 14px 0 2px; }
.team-card p { margin: 0 0 6px; color: var(--muted); }
.team-card .team-role { color: var(--accent-600); font-weight: 700; }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-size: 2rem; font-weight: 800; background: var(--primary); color: var(--primary-ink); }

/* Builder sections (bs-*) */
.bs-hero-center { background: var(--primary); color: var(--primary-ink); text-align: center; padding: clamp(64px, 10vw, 120px) 0; background-image: radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); }
.bs-hero-center h1 { color: inherit; max-width: 18ch; margin: .2em auto .3em; }
.bs-hero-center p.lead { color: inherit; opacity: .85; max-width: 60ch; margin-inline: auto; }
.bs-hero-center .hero-actions { justify-content: center; margin-top: 28px; }
.bs-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bs-split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.bs-hero-split { background: var(--primary); color: var(--primary-ink); padding: clamp(48px, 7vw, 96px) 0; }
.bs-hero-split h1 { color: inherit; }
.bs-hero-split .hero-sub { color: inherit; opacity: .88; }
.bs-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.bs-feature { padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.bs-feature .bs-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); font-size: 1.5rem; margin-bottom: 14px; }
.bs-feature h3 { margin: 0 0 6px; }
.bs-feature p { margin: 0; color: var(--muted); }
.bs-banner { background: var(--accent); color: var(--accent-ink); text-align: center; padding: 14px 0; font-weight: 700; }
.bs-banner a { color: inherit; text-decoration: underline; }
.bs-quote { text-align: center; max-width: 780px; margin-inline: auto; }
.bs-quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.45; color: var(--primary); font-weight: 600; }
.bs-quote cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); font-weight: 600; }
.bs-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bs-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.bs-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.bs-plan { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; text-align: center; }
.bs-plan.bs-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.bs-plan h3 { margin: 0; }
.bs-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.bs-price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.bs-plan ul { list-style: none; margin: 0; padding: 0; color: var(--muted); display: grid; gap: 8px; }
.bs-plan .btn { margin-top: auto; }
.bs-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.bs-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; align-items: center; }
.bs-badges span { font-weight: 800; letter-spacing: .04em; color: var(--muted); border: 2px solid var(--border); border-radius: 10px; padding: 12px 22px; background: var(--white); }
.bs-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; text-align: center; }
.bs-contact > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.bs-contact strong { display: block; color: var(--primary); margin-bottom: 6px; }
.bs-contact a { color: var(--accent-600); font-weight: 700; }
@media (max-width: 860px) { .bs-split { grid-template-columns: 1fr; } .bs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.service-thumb { display: none; }
@media (max-width: 1180px) and (min-width: 861px) { .site-nav { gap: 12px; } .site-nav ul { gap: 0; } .site-nav li a { padding: .5em .6em; font-size: .95rem; } }
