/*
Theme Name: FW Building Group
Theme URI: https://www.fwbuildinggroup.co.uk
Author: Welch Marketing
Author URI: https://www.welchmarketing.co.uk
Description: A premium, plugin free WordPress theme for FW Building Group, builders and roofing specialists across Kent and South East London. Self building pages, menus, settings panel, schema and contact form, all built in.
Version: 1.7.3
Requires at least: 6.0
Tested up to: 6.6
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: fw-building-group
*/

/* ============================================================
   Self hosted fonts
   ============================================================ */
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/dmsans-500.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/dmsans-600.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/dmsans-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/inter-700.woff2') format('woff2');
}

/* ============================================================
   Tokens
   ============================================================ */
:root {
	--brand: #1C1C1C;
	--brand-2: #2A2A2A;
	--accent: #F6881C;
	--accent-2: #A25A12;
	--ink: #1A1A1A;
	--muted: #5E5E5E;
	--line: #E7E3DC;
	--cream: #F6F3EE;
	--cream-2: #EFEAE1;
	--paper: #FFFFFF;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 18px 46px rgba(20, 18, 15, .12);
	--shadow-sm: 0 8px 22px rgba(20, 18, 15, .08);
	--maxw: 1200px;
	--head: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
	--body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
	margin: 0;
	max-width: 100%;
	overflow-x: clip;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
	font-family: var(--head);
	font-weight: 700;
	line-height: 1.14;
	color: var(--ink);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
	overflow-wrap: break-word;
}
p { margin: 0 0 1.1em; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { overflow-wrap: break-word; }
ul { margin: 0 0 1.1em; padding-left: 1.1em; }

/* Overflow safety: allow grid and flex children to shrink below content size
   so a long word or email can never force horizontal scroll on mobile. */
.intro-grid > *,
.service-layout > *,
.contact-layout > *,
.footer-grid > *,
.form-grid > *,
.service-aside > *,
.service-brief-body,
.feature > div,
.cta-band-inner > * { min-width: 0; }

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

.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--brand); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Visually hidden but available to screen readers. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Icon backstop: any icon with no context rule stays 1em and never balloons. */
.icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	flex: none;
	vertical-align: -0.125em;
	fill: currentColor;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--head);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 15px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { font-size: 17px; }
.btn--accent { background: var(--accent); color: #1a1205; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn--dark { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(28,28,28,.22); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============================================================
   Eyebrow + section heads
   ============================================================ */
.eyebrow {
	display: inline-block;
	font-family: var(--head);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); }
.section-intro { color: var(--muted); font-size: 18px; margin-bottom: 0; }
.section--dark .section-intro { color: rgba(255,255,255,.75); }
.section-cta { text-align: center; margin-top: 40px; }
.lede { font-size: 19px; color: #333; }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 200; }
.top-bar {
	background: var(--brand);
	color: rgba(255,255,255,.86);
	font-size: 13.5px;
}
.top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 42px;
	flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: #fff; }
.top-bar .icon { color: var(--accent); font-size: 15px; }
.top-bar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-meta span { display: inline-flex; align-items: center; gap: 6px; }

.header-main {
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled .header-main { box-shadow: var(--shadow-sm); }
.header-main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 84px;
}
.site-logo { display: inline-flex; align-items: center; }
.logo-svg { display: block; height: 48px; width: auto; }
.logo-img { display: block; height: 58px; width: auto; max-width: 240px; }
.lg-mark { fill: var(--brand); }
.lg-accent { fill: var(--accent); }
.lg-word { fill: var(--ink); }
.lg-sub { fill: var(--muted); }
.logo-svg--light .lg-mark,
.logo-svg--light .lg-word { fill: #ffffff; }
.logo-svg--light .lg-sub { fill: rgba(255,255,255,.72); }
.logo-svg--light .lg-accent { fill: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	display: block;
	font-family: var(--head);
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	padding: 10px 14px;
	border-radius: 8px;
	white-space: nowrap;
}
.nav-list a:hover { color: var(--accent-2); background: var(--cream); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { color: var(--accent-2); }
.nav-cta { margin-left: 10px; }
.nav-close { display: none; }

/* Submenus (desktop) */
.nav-list li { position: relative; }
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px;
	list-style: none;
	margin: 8px 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
	z-index: 50;
}
.nav-list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu a { font-weight: 500; font-size: 14.5px; }

.nav-toggle { display: none; }
.nav-toggle-input { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .img-slot { position: absolute; inset: 0; border: none; border-radius: 0; height: 100%; }
.hero-bg .img-slot img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(100deg, rgba(16,16,16,.94) 0%, rgba(20,20,20,.82) 42%, rgba(20,20,20,.5) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 104px; }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: var(--accent); }
.hero-title { color: #fff; font-size: clamp(34px, 5.2vw, 62px); margin-bottom: 22px; }
.hero-sub { font-size: 19px; color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 30px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.hero-points {
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
}
.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 500;
	font-size: 15px;
	color: rgba(255,255,255,.92);
}
.hero-points .icon { color: var(--accent); font-size: 18px; }

/* ============================================================
   Intro section
   ============================================================ */
.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 56px;
	align-items: center;
}
.intro-media { position: relative; }
.intro-badge {
	position: absolute;
	right: -14px;
	bottom: 28px;
	background: var(--brand);
	color: #fff;
	border-radius: 14px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--shadow);
	max-width: 240px;
}
.intro-badge-icon { color: var(--accent); font-size: 30px; display: inline-flex; }
.intro-badge-text { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.3; }
.intro-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   Image slots / placeholders
   ============================================================ */
.img-slot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 260px;
	border: 2px dashed rgba(28,28,28,.22);
	border-radius: var(--radius);
	background-color: var(--cream-2);
	background-image: repeating-linear-gradient(45deg, rgba(28,28,28,.03) 0, rgba(28,28,28,.03) 12px, transparent 12px, transparent 24px);
	color: var(--muted);
	text-align: center;
	overflow: hidden;
}
.img-slot.is-filled { border: none; background: none; }
.img-slot.is-filled img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.img-slot-mark { font-size: 34px; color: rgba(28,28,28,.3); display: inline-flex; }
.img-slot-label { font-size: 13px; font-weight: 600; max-width: 80%; }
.img-slot--tall { min-height: 440px; }
.img-slot--gallery { min-height: 240px; }
.img-slot--hero { min-height: 100%; }

/* ============================================================
   Cards (services, features, reviews, locations)
   ============================================================ */
.cards { display: grid; gap: 26px; }
.cards--services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cards--reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--locations { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--cream);
	color: var(--accent);
	font-size: 28px;
	margin-bottom: 18px;
	flex: none;
}
.card-title { font-size: 21px; margin-bottom: 10px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent-2); }
.card-body { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.card-meta { color: var(--accent-2); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	align-self: flex-start;
	font-family: var(--head);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--ink);
}
.card-link .icon { transition: transform .15s ease; }
.card-link:hover { color: var(--accent-2); }
.card-link:hover .icon { transform: translateX(4px); }

/* Features */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-check {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--brand);
	color: var(--accent);
	font-size: 22px;
}
.feature-title { font-size: 19px; margin-bottom: 5px; }
.feature-body { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Reviews */
.review-card { position: relative; display: flex; flex-direction: column; }
.review-quote { color: var(--accent); font-size: 40px; line-height: 1; margin-bottom: 6px; display: inline-flex; }
.stars { display: inline-flex; gap: 3px; margin-bottom: 12px; }
.stars .star { color: #d8d2c6; font-size: 18px; display: inline-flex; }
.stars .star.on { color: var(--accent); }
.review-text { color: #333; font-size: 15.5px; font-style: italic; margin-bottom: 18px; }
.review-by { margin-top: auto; display: flex; flex-direction: column; }
.review-name { font-family: var(--head); font-weight: 700; color: var(--ink); }
.review-place { color: var(--muted); font-size: 14px; }

/* Locations */
.location-card .card-title { font-size: 22px; }

/* ============================================================
   Areas grid (chips)
   ============================================================ */
.areas-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.area-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.area-chip:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.area-pin { color: var(--accent); font-size: 26px; display: inline-flex; }
.area-name { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 17px; }
.area-pc { color: var(--muted); font-size: 13px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
	background: var(--brand);
	background-image: linear-gradient(120deg, #171717 0%, #262320 100%);
	color: #fff;
	padding: 56px 0;
}
.cta-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.cta-band-title { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-band-sub { color: rgba(255,255,255,.76); margin: 0; max-width: 560px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 44px 22px 0;
	position: relative;
	font-family: var(--head);
	font-weight: 600;
	font-size: 18px;
	color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
	position: absolute;
	right: 4px;
	top: 26px;
	width: 18px;
	height: 18px;
}
.faq-plus::before, .faq-plus::after {
	content: "";
	position: absolute;
	background: var(--accent);
	border-radius: 2px;
}
.faq-plus::before { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-plus::after { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-item[open] .faq-plus::before { display: none; }
.faq-answer { padding: 0 44px 22px 0; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.section--dark .img-slot {
	border-color: rgba(255,255,255,.24);
	background-color: rgba(255,255,255,.05);
	color: rgba(255,255,255,.7);
}
.section--dark .img-slot-mark { color: rgba(255,255,255,.3); }

/* ============================================================
   Page hero + breadcrumbs
   ============================================================ */
.page-hero {
	background: var(--brand);
	background-image: linear-gradient(120deg, #161616 0%, #272320 100%);
	color: #fff;
	padding: 72px 0 66px;
}
.page-hero-inner { max-width: 820px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero-title { color: #fff; font-size: clamp(30px, 4.4vw, 50px); }
.page-hero-sub { color: rgba(255,255,255,.82); font-size: 18px; margin: 0; }

.breadcrumbs { background: var(--cream); border-bottom: 1px solid var(--line); font-size: 14px; }
.breadcrumbs .wrap { padding-top: 12px; padding-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs .sep { color: #c9c2b6; margin: 0 8px; }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* ============================================================
   Prose
   ============================================================ */
.prose h2 { font-size: 27px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ============================================================
   Service + contact layouts
   ============================================================ */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.service-main h2 { font-size: 26px; margin-top: 1.4em; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; font-size: 16px; }
.tick-list .icon { color: var(--accent); font-size: 20px; margin-top: 3px; flex: none; }
.service-cta-inline { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.service-aside { display: grid; gap: 20px; position: sticky; top: 120px; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 18px; margin-bottom: 14px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin-bottom: 4px; }
.aside-list a { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 15px; padding: 6px 0; }
.aside-list a:hover { color: var(--accent-2); }
.aside-list .icon { color: var(--accent); font-size: 16px; }
.aside-card--dark { background: var(--brand); color: #fff; text-align: center; }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: rgba(255,255,255,.76); font-size: 15px; }
.aside-phone {
	display: block;
	font-family: var(--head);
	font-weight: 700;
	font-size: 22px;
	color: #fff;
	margin: 8px 0 16px;
}
.aside-phone .icon { color: var(--accent); font-size: 20px; }
.aside-card--dark .btn { width: 100%; justify-content: center; }

.service-brief { display: flex; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-brief:last-child { border-bottom: none; }
.service-brief-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 14px;
	background: var(--brand);
	color: var(--accent);
	font-size: 30px;
}
.service-brief-body h2 { font-size: 24px; margin-bottom: 8px; }
.service-brief-body p { color: var(--muted); }

.local-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.contact-details li { display: flex; gap: 15px; align-items: flex-start; }
.contact-ic {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--cream);
	color: var(--accent);
	font-size: 22px;
}
.contact-details strong { display: block; font-family: var(--head); font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-details a { color: var(--ink); font-size: 17px; font-weight: 600; }
.contact-details a:hover { color: var(--accent-2); }

.contact-form-wrap {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px;
}
.contact-form-wrap h2 { font-size: 24px; margin-bottom: 18px; }

/* ============================================================
   Forms
   ============================================================ */
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
	display: block;
	font-family: var(--head);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 13px 15px;
	font-family: var(--body);
	font-size: 16px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(198,137,43,.16);
}
.contact-form .btn { margin-top: 6px; }
.form-fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.fwbg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }
.form-note--ok { background: #e7f6ea; color: #1c6b32; border: 1px solid #b9e2c2; }
.form-note--error { background: #fdecec; color: #a12525; border: 1px solid #f3c4c4; }

/* ============================================================
   Blog
   ============================================================ */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-body { padding: 26px; }
.post-card-title { font-size: 20px; margin-bottom: 8px; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--accent-2); }
.post-card-meta { color: var(--accent-2); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.post-card-excerpt { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.post-back { text-align: center; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	font-weight: 600;
}
.pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #161616; color: rgba(255,255,255,.72); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding: 66px 24px 48px;
}
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo .logo-svg { height: 46px; }
.footer-logo .logo-img { height: 70px; max-width: 260px; }
.footer-blurb { font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.footer-badges { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-badges li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 999px;
	padding: 7px 14px;
}
.footer-badges .icon { color: var(--accent); font-size: 15px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-list, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-list li, .footer-contact li { margin-bottom: 10px; }
.footer-list a, .footer-contact a { color: rgba(255,255,255,.72); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.footer-list a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact .icon { color: var(--accent); font-size: 16px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-col .btn { margin-top: 8px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-nav { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
	.cards--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards--reviews { grid-template-columns: 1fr 1fr; }
	.cards--locations { grid-template-columns: 1fr 1fr; }
	.areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.service-layout { grid-template-columns: 1fr; }
	.service-aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1240px) {
	/* Fixed full screen mobile menu must not be trapped by a containing block. */
	.header-main { backdrop-filter: none; }

	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 46px;
		height: 46px;
		padding: 0 11px;
		border-radius: 10px;
		border: 1px solid var(--line);
		background: #fff;
		cursor: pointer;
	}
	.nav-toggle-bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

	.primary-nav {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 300;
		width: 100%;
		max-width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--brand);
		padding: 90px 24px 40px;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	#nav-toggle:checked ~ .primary-nav { display: flex; }

	.nav-close {
		display: block;
		position: absolute;
		top: 26px;
		right: 26px;
		width: 34px;
		height: 34px;
		cursor: pointer;
	}
	.nav-close::before, .nav-close::after {
		content: "";
		position: absolute;
		top: 16px;
		left: 4px;
		width: 26px;
		height: 2px;
		background: #fff;
		border-radius: 2px;
	}
	.nav-close::before { transform: rotate(45deg); }
	.nav-close::after { transform: rotate(-45deg); }

	.nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.nav-list a { color: #fff; font-size: 18px; padding: 15px 6px; border-radius: 8px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: normal; overflow-wrap: break-word; }
	.nav-list a:hover { background: rgba(255,255,255,.08); color: #fff; }

	/* Keep the logo from crowding the hamburger on the header row. */
	.header-main-inner { gap: 12px; }
	.site-logo { min-width: 0; }
	.site-logo .logo-svg { height: 44px; }
	.site-logo .logo-img { height: 52px; max-width: 190px; }

	/* Nested submenu inherits the dark panel instead of a white desktop box. */
	.nav-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		border: none;
		box-shadow: none;
		padding: 0 0 0 14px;
		margin: 0;
	}
	.nav-list .sub-menu a { color: rgba(255,255,255,.8); font-size: 16px; }
	.nav-cta { margin: 20px 0 0; justify-content: center; }
}

@media (max-width: 760px) {
	.section { padding: 60px 0; }
	.wrap { padding: 0 18px; }
	.top-bar-meta { display: none; }
	.top-bar-inner { justify-content: center; }
	.top-bar-contact { gap: 14px; flex-wrap: wrap; justify-content: center; }
	.intro-grid { grid-template-columns: 1fr; gap: 40px; }
	.intro-badge { right: 12px; left: auto; max-width: calc(100% - 24px); }
	.cards--services,
	.cards--features,
	.cards--reviews,
	.cards--locations { grid-template-columns: 1fr; }
	.areas-grid { grid-template-columns: 1fr 1fr; }
	.gallery-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 24px 44px; }
	.contact-layout { grid-template-columns: 1fr; gap: 34px; }
	.service-aside { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.hero-inner { padding: 64px 24px 88px; }
	.hero-points { gap: 8px 18px; margin-top: 30px; }
	.cta-band { padding: 52px 0; }
	.cta-band-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
	.footer-col .btn { margin-top: 14px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; justify-content: center; padding-top: 26px; padding-bottom: 26px; gap: 12px; }

	/* Let long button labels wrap instead of pushing the page wider. */
	.btn { white-space: normal; text-align: center; }
	.btn-row .btn,
	.local-cta .btn,
	.service-cta-inline .btn,
	.hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 420px) {
	.areas-grid { grid-template-columns: 1fr; }
	.wrap { padding: 0 16px; }
	body { font-size: 16px; }
	.section { padding: 56px 0; }
	.hero-inner { padding: 56px 20px 80px; }
	.footer-grid { padding: 48px 20px 40px; }
	.site-logo .logo-svg { height: 40px; }
	.site-logo .logo-img { height: 46px; max-width: 160px; }
	.primary-nav { padding: 84px 20px 36px; }
	.btn { width: 100%; justify-content: center; }
	.btn-row { width: 100%; }
}

/* -------------------------------------------------------------------------
 * Cookie consent banner
 * ---------------------------------------------------------------------- */
.fwbg-cookie{position:fixed;left:0;right:0;bottom:0;z-index:900;background:var(--brand);color:#e7eef2;box-shadow:0 -8px 30px rgba(0,0,0,.22)}
.fwbg-cookie[hidden]{display:none}
.fwbg-cookie__inner{max-width:var(--maxw);margin:0 auto;padding:clamp(1.1rem,3vw,1.6rem) clamp(1.35rem,4vw,2rem);display:flex;align-items:center;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.fwbg-cookie__text{flex:1 1 340px}
.fwbg-cookie__title{font-family:var(--head);font-weight:700;font-size:1.05rem;color:#fff;margin:0 0 .35rem}
.fwbg-cookie__body{margin:0;font-size:.92rem;line-height:1.6;color:#c4d0d8}
.fwbg-cookie__body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.fwbg-cookie__actions{display:flex;gap:.75rem;flex:0 0 auto}
.fwbg-cookie__btn{font-family:var(--head);font-weight:700;font-size:.95rem;line-height:1;padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease}
.fwbg-cookie__btn:hover{transform:translateY(-2px)}
.fwbg-cookie__btn--accept{background:var(--accent);color:#20160a}
.fwbg-cookie__btn--accept:hover{background:var(--accent-2)}
.fwbg-cookie__btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.34)}
.fwbg-cookie__btn--ghost:hover{background:#fff;color:var(--brand);border-color:#fff}
.fwbg-cookie-open{background:none;border:0;padding:0;margin:0;font-family:var(--head);font-weight:600;font-size:13.5px;color:rgba(255,255,255,.62);cursor:pointer;text-decoration:none;line-height:1.7}
.fwbg-cookie-open:hover{color:#fff;text-decoration:underline}
@media (max-width:640px){
	.fwbg-cookie__actions{flex:1 1 100%}
	.fwbg-cookie__btn{flex:1 1 auto;text-align:center}
}
