/* Expert Power Flush — single stylesheet.
   No framework, no webfonts, no external requests. The site is a lead-gen
   test: it needs to load fast on a phone on mobile data and be legible.
   Everything below is roughly 8KB and that is the point. */

:root {
	--navy:      #0b3d5c;
	--navy-dk:   #072a41;
	--navy-lt:   #14567e;
	--amber:     #d97706;
	--amber-dk:  #b45309;
	--ink:       #14213d;
	--body:      #38414f;
	--muted:     #667085;
	--line:      #dfe3e8;
	--bg:        #ffffff;
	--bg-soft:   #f5f7fa;
	--bg-tint:   #eef4f8;
	--green:     #0f7b3f;
	--red:       #b3261e;
	--radius:    10px;
	--wrap:      1140px;
	--shadow:    0 1px 2px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--body);
	background: var(--bg);
}

h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 2em; }
h3 { font-size: 1.12rem; margin-top: 1.6em; }
p  { margin: 0 0 1.1em; }

a { color: var(--navy-lt); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-dk); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.centre { text-align: center; }

.skip {
	position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
	padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */

.site-head {
	background: var(--navy);
	color: #fff;
	position: sticky; top: 0; z-index: 50;
	box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.head-inner { display: flex; align-items: center; gap: 1rem; min-height: 62px; }

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand-mark {
	display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 7px;
	background: var(--amber); color: #fff;
	font-weight: 800; font-size: .78rem; letter-spacing: .02em;
}
.brand-text { font-weight: 700; letter-spacing: -.01em; font-size: 1.02rem; }

.site-nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
	display: block; padding: .45rem .7rem; border-radius: 6px;
	color: #d8e6f0; text-decoration: none; font-size: .92rem; font-weight: 500;
}
.site-nav a:hover, .site-nav a.is-active { background: rgba(255,255,255,.12); color: #fff; }
.site-nav a.nav-cta {
	background: var(--amber); color: #fff; font-weight: 600; margin-left: .35rem;
}
.site-nav a.nav-cta:hover { background: var(--amber-dk); }
.site-nav a.nav-phone { color: #fff; font-weight: 700; }

.nav-toggle, .nav-burger { display: none; }

@media (max-width: 900px) {
	.nav-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 42px; height: 42px; cursor: pointer; padding: 0 9px;
	}
	.nav-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }
	.site-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--navy-dk); padding: .5rem 20px 1rem;
	}
	.nav-toggle:checked ~ .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
	.site-nav a { padding: .7rem .8rem; }
	.site-nav a.nav-cta { margin: .4rem 0 0; text-align: center; }
}

/* ---------- Breadcrumbs ---------- */

.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .6rem 0; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: .4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */

.hero {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dk) 100%);
	color: #fff;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 1.8rem; } }

.hero h1 { color: #fff; margin-bottom: .45em; }
.eyebrow {
	text-transform: uppercase; letter-spacing: .09em; font-size: .74rem;
	font-weight: 700; color: #7fc3e8; margin-bottom: .9em;
}
.hero .lede { font-size: 1.12rem; color: #cfe2ee; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6em; }

.hero-check {
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--radius);
	padding: 1.4rem 1.5rem;
}
.hero-check h2 { color: #fff; font-size: 1rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-check-more { margin: 1rem 0 0; font-size: .9rem; }
.hero-check-more a { color: #7fc3e8; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .65rem; align-items: baseline; font-size: .93rem; color: #dbe9f2; line-height: 1.45; }
.checklist strong { color: #fff; font-weight: 600; }
.tick {
	flex: none; font-size: .64rem; font-weight: 800; text-transform: uppercase;
	letter-spacing: .04em; padding: .16rem .42rem; border-radius: 4px; min-width: 34px; text-align: center;
}
.tick-yes { background: #0f7b3f; color: #fff; }
.tick-no  { background: #5b6b7a; color: #fff; }

.checklist.small li { font-size: .86rem; color: var(--body); }
.checklist.small strong { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-block; padding: .78rem 1.4rem; border-radius: 8px;
	font-weight: 600; font-size: .97rem; text-decoration: none; border: 1.5px solid transparent;
	cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dk); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

.band .btn-ghost, .band-alt .btn-ghost { color: var(--navy); border-color: var(--navy); }
.band .btn-ghost:hover, .band-alt .btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Page head ---------- */

.page-head { padding: 2.4rem 0 1.6rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head .lede { font-size: 1.1rem; color: var(--body); max-width: 46em; margin-bottom: 0; }
.postcodes { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Bands & cards ---------- */

.band { padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.band-alt { background: var(--bg-soft); }
.band-pad { padding: 2rem 0 1rem; }

.section-title { text-align: center; margin-top: 0; }
.section-sub { text-align: center; color: var(--muted); max-width: 44em; margin: 0 auto 2rem; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; }
@media (max-width: 860px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.5rem; box-shadow: var(--shadow);
}
.card h2 { margin-top: 0; font-size: 1.12rem; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card p { margin-bottom: 0; font-size: .95rem; color: var(--body); }

/* ---------- Layout with sidebar ---------- */

.layout {
	display: grid; grid-template-columns: minmax(0,1fr) 300px;
	gap: 3rem; padding-top: 2.4rem; padding-bottom: 2.4rem; align-items: start;
}
@media (max-width: 940px) { .layout { grid-template-columns: 1fr; gap: 2rem; } }

.prose { max-width: 45em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose table {
	width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .93rem;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.prose th, .prose td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-tint); font-weight: 600; color: var(--ink); font-size: .88rem; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: #fafbfc; }

.nearby { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nearby li { margin: 0; }
.nearby a {
	display: inline-block; padding: .4rem .75rem; background: var(--bg-tint);
	border-radius: 6px; font-size: .88rem; text-decoration: none; color: var(--navy);
}
.nearby a:hover { background: var(--navy); color: #fff; }

/* ---------- Sidebar ---------- */

.sidebar { position: sticky; top: 82px; display: grid; gap: 1.2rem; }
@media (max-width: 940px) { .sidebar { position: static; } }

.side-card {
	background: var(--bg-soft); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.side-card h2 { margin: 0 0 .8rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { margin-bottom: .45rem; font-size: .93rem; }
.side-card p { font-size: .92rem; }
.side-card p:last-child { margin-bottom: 0; }

table.mini { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.mini td { padding: .32rem 0; border-bottom: 1px solid var(--line); }
table.mini td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
table.mini tr:last-child td { border-bottom: 0; }
.small-note { font-size: .8rem; color: var(--muted); margin-top: .7rem; }

/* ---------- Notes ---------- */

.note {
	border-left: 3px solid var(--amber); background: #fffbf3;
	padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.8em 0;
	font-size: .94rem;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- FAQs ---------- */

.faqs { margin-top: 2.8em; }
.faq-list { display: grid; gap: .6rem; }
.faqs details {
	border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden;
}
.faqs summary {
	cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; color: var(--ink);
	font-size: .98rem; list-style: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; float: right; color: var(--amber); font-weight: 700; }
.faqs details[open] summary::after { content: "\2212"; }
.faqs details[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: .9rem 1.1rem; }
.faq-a p { margin: 0; font-size: .95rem; }

/* ---------- Areas grid ---------- */

.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.6rem; }
.area-col h3 { margin: 0 0 .6rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.area-col ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.area-col li { margin-bottom: .3rem; }
.area-col a { font-size: .93rem; text-decoration: none; }
.area-col a:hover { text-decoration: underline; }

/* ---------- Enquiry form ---------- */

.enquiry { background: var(--navy); padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.enquiry-card {
	background: #fff; border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.4rem);
	max-width: 780px; margin: 0 auto; box-shadow: 0 10px 30px rgba(7,42,65,.28);
}
.enquiry-card h2 { margin-top: 0; }
.enquiry-intro { color: var(--body); margin-bottom: 1.6em; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field { margin: 0 0 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.req { color: var(--red); font-weight: 400; }

.field input[type=text], .field input[type=tel], .field input[type=email],
.field select, .field textarea {
	width: 100%; padding: .7rem .8rem; font: inherit; font-size: .97rem;
	border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--navy-lt); box-shadow: 0 0 0 3px rgba(20,86,126,.14);
}
.field textarea { resize: vertical; min-height: 110px; }

.consent label { font-weight: 400; font-size: .92rem; color: var(--body); display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.consent input { margin-top: .28rem; flex: none; }

.submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.4rem 0 .8rem; }
.or { font-size: .93rem; color: var(--muted); }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-errors {
	background: #fdf2f1; border: 1px solid #f2c5c1; border-radius: 8px;
	padding: .9rem 1.1rem; margin-bottom: 1.5rem; color: #8c1d18; font-size: .93rem;
}
.form-errors p { font-weight: 600; margin: 0 0 .4rem; }
.form-errors ul { margin: 0; padding-left: 1.2em; }

/* ---------- Footer ---------- */

.site-foot { background: var(--navy-dk); color: #b9cfdd; padding: 3rem 0 1.5rem; margin-top: 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.site-foot h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .38rem; }
.site-foot a { color: #b9cfdd; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-about p { max-width: 30em; }
.foot-about .brand-mark { margin-bottom: .9rem; }
.foot-areas { columns: 2; }

.foot-bar {
	border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.2rem;
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem;
}
.foot-bar p { margin: 0; max-width: 46em; }

/* ---------- Print ---------- */

@media print {
	.site-head, .site-foot, .enquiry, .sidebar, .crumbs { display: none; }
	body { font-size: 12pt; }
	.layout { grid-template-columns: 1fr; }
}

/* Town page: housing stock label */
.stock-note {
	background: var(--bg-tint); border-left: 3px solid var(--navy-lt);
	padding: .7rem 1rem; border-radius: 0 8px 8px 0; font-size: .94rem; margin-bottom: 1.2em;
}
.stock-note strong { color: var(--ink); }

/* Trim the hero's dead space when the checklist card is shorter than the copy */
.hero-inner { align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.checklist .ck-text { flex: 1 1 auto; min-width: 0; }
