/* Barnet Roof Cleaning: one stylesheet for every page. Slate + navy and light blue, mobile first. */
:root {
  --ink: #1d2733;
  --ink-2: #3c4a58;
  --muted: #5d6b78;
  --slate: #24313f;
  --slate-2: #2f4052;
  --blue: #2d6a9f;
  --blue-dark: #1f4f7d;
  --blue-soft: #e6f2fa;
  --sun: #f2b544;
  --bg: #ffffff;
  --bg-2: #f3f7fa;
  --line: #dce5ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 39, 51, .08);
  --max: 1140px;
  --container: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--slate); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-soft); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--blue); }
.nav a.btn-primary:hover { background: var(--blue-dark); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--slate); margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1; padding: 15px 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(45, 106, 159, .28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-line { border-color: var(--blue); color: var(--blue-dark); }
.btn-line:hover { background: var(--blue-soft); }
.nav .btn { padding: 11px 18px; font-size: .92rem; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #3a5268 0%, transparent 60%), linear-gradient(160deg, var(--slate) 0%, #1a242f 100%); color: #e9eef2; padding: 64px 0 70px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #c9d4dd; max-width: 34em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: .95rem; color: #d5dee6; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.hero-art figcaption { position: absolute; bottom: 4%; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 9%; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.hero-art figcaption span { background: rgba(26, 36, 47, .72); padding: 5px 10px; border-radius: 999px; }

/* ── Trust bar (under the hero slider) ─────────────────────────────── */
.trust-bar { background: var(--slate); color: #e3eaf0; border-top: 3px solid var(--blue); }
.trust-bar ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.trust-bar li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.trust-bar svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── Intro (photo + copy) ───────────────────────────────────────────── */
.intro .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.intro-photo { margin: 0; position: relative; }
.intro-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(29, 39, 51, .18); }
.intro-photo::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 60%; height: 55%; border-radius: var(--radius); background: var(--blue-soft); z-index: -1; }
.intro h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.intro .lede { font-size: 1.15rem; color: var(--ink-2); }
.intro p { color: var(--ink-2); }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--slate); }
.check-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Service cards with photos ──────────────────────────────────────── */
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(29, 39, 51, .13); }
.service-card img { flex: none; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-2); font-size: .98rem; }
.service-card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--blue-dark); }
.service-card .more:hover { text-decoration: underline; }
.extras { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.extra { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.extra .icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; }
.extra .icon svg { width: 24px; height: 24px; }
.extra h3 { font-size: 1.05rem; margin-bottom: 4px; }
.extra p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section .eyebrow { color: var(--blue); }
.quote-band .eyebrow { color: var(--sun); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--ink-2); font-size: .98rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--slate); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps li p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* Price table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--slate); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #fafcfd; }
td.num { white-space: nowrap; font-weight: 700; color: var(--slate); }
.small { font-size: .9rem; color: var(--muted); }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }

/* Article cards */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(29, 39, 51, .12); color: inherit; }
.post-card .art { background: var(--slate); overflow: hidden; }
.post-card .art svg, .post-card .art img { width: 100%; height: auto; }
.post-card .art img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .art img { transform: scale(1.04); }
.post-card .body { padding: 22px 24px 24px; }
.post-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.post-card h3 { margin: 6px 0 8px; font-size: 1.3rem; }
.post-card p { color: var(--ink-2); font-size: .98rem; margin: 0 0 12px; }
.post-card .more { font-weight: 700; color: var(--blue-dark); }

/* Quote band + form */
.quote-band { background: linear-gradient(160deg, var(--slate) 0%, #1a242f 100%); color: #dfe7ee; }
.quote-band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.quote-band h2 { color: #fff; }
.quote-band .lede { color: #c9d4dd; }
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.ed-form .field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.ed-form .field input, .ed-form .field select, .ed-form .field textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #c8d4de; border-radius: 10px; background: #fbfcfd; }
.ed-form .field input:focus, .ed-form .field select:focus, .ed-form .field textarea:focus { outline: 3px solid rgba(45, 106, 159, .22); border-color: var(--blue); background: #fff; }
.ed-form textarea { min-height: 110px; resize: vertical; }
.ed-form button[type="submit"] { width: 100%; margin-top: 4px; background: var(--blue); color: #fff; border: 0; padding: 16px; border-radius: 999px; font-weight: 800; font-size: 1.02rem; cursor: pointer; }
.ed-form button[type="submit"]:hover { background: var(--blue-dark); }
.ed-form .form-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.ed-form .form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.ed-form .form-msg.ok { background: var(--blue-soft); color: var(--blue-dark); }
.ed-form .form-msg.err { background: #fdecec; color: #9b2c2c; }
.promise { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; }
.promise li b { color: #fff; display: block; }
.promise .dot { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(45, 106, 159, .3); color: #8fd3f4; display: grid; place-items: center; font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; color: var(--slate); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* ── Article pages ──────────────────────────────────────────────────── */
.page-hero { position: relative; background: linear-gradient(160deg, var(--slate) 0%, #1a242f 100%); color: #d5dee6; padding: 54px 0 48px; overflow: hidden; }
.page-hero.has-photo { padding: 96px 0 72px; background: #1a242f; }
.page-hero .page-hero-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26, 36, 47, .9) 0%, rgba(26, 36, 47, .78) 50%, rgba(26, 36, 47, .45) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 22em; }
.page-hero .lede { font-size: 1.12rem; color: #c9d4dd; max-width: 46em; margin: 0; }
.crumbs { font-size: .85rem; margin: 0 0 16px; color: #9fb0bf; }
.crumbs a { color: #c9d4dd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.meta { margin-top: 18px; font-size: .9rem; color: #9fb0bf; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 52px 20px 72px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.7em; padding-top: .2em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose .table-wrap { margin: 1.2em 0 1.4em; }
.callout { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.callout.warn { border-color: var(--sun); background: #fdf6e6; }
.figure-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 1.4em 0; }
.figure-box .big { font-size: 2.1rem; font-weight: 800; color: var(--slate); line-height: 1.1; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.2em 0 1.4em; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-size: 1.5rem; color: var(--slate); line-height: 1.15; }
.stat span { font-size: .88rem; color: var(--muted); }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1.2em; }
.sources ol { padding-left: 1.2em; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.toc b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .94rem; }
.toc li { margin: .4em 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--blue-dark); text-decoration: underline; }
.side-cta { background: var(--slate); color: #d5dee6; border-radius: var(--radius); padding: 22px; }
.side-cta h3 { color: #fff; }
.side-cta p { font-size: .95rem; }
.side-cta .btn { width: 100%; text-align: center; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot { background: #141c25; color: #a9b6c2; padding: 52px 0 28px; font-size: .95rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-foot h3 { color: #fff; font-size: 1rem; }
.site-foot a { color: #d5dee6; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot .legal { border-top: 1px solid #263240; margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: .86rem; }
.site-foot .brand { color: #fff; margin-bottom: 12px; }
.site-foot .brand span small { color: #8494a3; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero .wrap, .quote-band .wrap, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-bar ul { grid-template-columns: 1fr 1fr; }
  .intro .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .intro-photo { max-width: 520px; }
  .intro-photo img { aspect-ratio: 4 / 3; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .trust-bar ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .intro-photo::before { display: none; }
  .intro-actions .btn { flex: 1 1 auto; text-align: center; }
  .page-hero.has-photo { padding: 60px 0 48px; }
  .page-hero.has-photo::before { background: rgba(26, 36, 47, .82); }
  .hero { padding: 44px 0 50px; }
  .grid-3, .grid-2, .steps, .stat-row { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  th, td { padding: 12px 14px; }
}
