/* Roofing Croydon design system.
   Palette locked to the logo (plan §5.1): orange #DC8126 is ACTION ONLY and
   never carries text on white (2.9:1 fails); orange buttons take black labels
   (7.2:1). Retuned 31 Aug to the redrawn logo's copper; the rule is unchanged.
   WhatsApp green #25D366 is reserved for WhatsApp actions only. Ink is the
   dominant ground: header, hero, bands, footer. Content sections are paper. */

/* ---------- fonts (self-hosted variable slices, latin) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800 900;
  font-stretch: 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-var.woff2) format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/public-sans-latin-var.woff2) format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --ink: #000000;
  --paper: #ffffff;
  --body: #1a1a1a;
  --hair: #e5e5e5;
  --orange: #dc8126;
  --orange-press: #c26a15;
  --wa: #25d366;
  --wa-press: #1eb457;
  --muted: #595959;          /* on paper, 7:1 */
  --muted-dark: #b8b8b8;     /* on ink, 9.6:1 */
  --disp: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --focus: #000;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3 { margin: 0 0 0.45em; text-wrap: balance; }
h1, h2 {
  font-family: var(--disp);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
h1 { font-weight: 900; font-size: clamp(34px, 5.4vw, 62px); text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.3; }
.tel { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:target { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.hero :focus-visible, .site-head :focus-visible,
.site-foot :focus-visible, .final :focus-visible, .mbar :focus-visible { --focus: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--disp); font-stretch: 125%; font-weight: 800;
  font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 15px 22px; border: 2px solid transparent; border-radius: 6px;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { font-size: 15px; padding: 17px 26px; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-press); }
.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: var(--wa-press); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #262626; }
.btn-paper { background: #fff; color: var(--ink); }
.btn-paper:hover { background: var(--hair); }
.btn:active { transform: translateY(1px); }
.link-more {
  display: inline-block; margin-top: 6px;
  font-family: var(--disp); font-stretch: 125%; font-weight: 800;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: inherit; text-decoration: none; border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}
.link-more:hover { border-bottom-width: 4px; }

/* ---------- header ---------- */
.site-head { background: var(--ink); color: #fff; position: relative; z-index: 60; }
.nav { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { width: 210px; height: 32px; }
.navlinks { display: flex; gap: 4px; margin-left: auto; }
.navlinks a {
  font-weight: 600; font-size: 15px; text-decoration: none; color: #fff;
  padding: 8px 11px; border-radius: 4px;
}
.navlinks a:hover { background: #1c1c1c; }
.navlinks a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }
.head-tel {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.head-tel svg { width: 17px; height: 17px; }
.head-tel:hover span { text-decoration: underline; }
.head-cta { padding: 12px 18px; }
.hamb { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.hamb span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
.mob-menu { display: none; background: var(--ink); border-top: 1px solid #222; }
.mob-menu nav { display: grid; padding: 8px 20px 18px; }
.mob-menu a { color: #fff; text-decoration: none; font-weight: 600; padding: 11px 4px; border-bottom: 1px solid #1d1d1d; }
.nav-open .mob-menu { display: block; }
.nav-open .hamb span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamb span:nth-child(2) { opacity: 0; }
.nav-open .hamb span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- breadcrumbs (dark, continuous with header/hero) ---------- */
.crumbs { background: var(--ink); color: var(--muted-dark); font-size: 13.5px; }
.crumbs .wrap { padding-top: 4px; padding-bottom: 0; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { margin: 0 7px; opacity: 0.5; }
.crumbs [aria-current="page"] { color: #fff; }

/* ---------- hero + the ridge (the one signature edge) ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(88px, 11vw, 130px);
}
.hero-top { max-width: 820px; }
.kicker {
  font-family: var(--disp); font-stretch: 125%; font-weight: 800;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 14px;
}
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: #ececec; max-width: 640px; }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(24px, 3.2vw, 44px); display: block; }
.hero-slim { padding: clamp(30px, 4vw, 48px) 0 clamp(56px, 7vw, 84px); }
.hero-slim .hero-sub { max-width: 720px; }

/* ---------- the dual-lane quote card (signature component) ---------- */
.lanes {
  background: var(--paper); color: var(--body); border-radius: 10px;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  position: relative; z-index: 2;
}
.lane { padding: 26px 26px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lane h2, .lane h3 { font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 21px; margin: 2px 0 6px; }
.lane p { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }
.lane .btn { margin-top: auto; width: 100%; }
.lane-k {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.lane-call { border-top: 5px solid var(--orange); }
.lane-call .lane-k { color: #b45309; }
.lane-sms { border-top: 5px solid var(--ink); border-left: 1px solid var(--hair); }
.lane-sms .lane-k { color: var(--muted); }
.lane-foot {
  grid-column: 1 / -1; border-top: 1px solid var(--hair);
  padding: 13px 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  font-size: 15px; color: var(--muted);
}
.lane-foot a { color: var(--body); font-weight: 600; }
.lane-foot svg { width: 16px; height: 16px; flex: none; align-self: center; }
.lane-promise { font-weight: 600; color: var(--body); }

/* Desktop hero: copy left, lane card right, both CTAs above the fold */
@media (min-width: 1000px) {
  .hero .wrap:has(> .lanes) { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
  .hero .wrap:has(> .lanes) .hero-top { max-width: none; }
  .hero .wrap:has(> .lanes) h1 { font-size: clamp(34px, 4.1vw, 54px); }
  .hero .lanes { grid-template-columns: 1fr; }
  .hero .lane { padding: 22px 24px 20px; }
  .hero .lane-sms { border-left: 0; }
}

/* Real-photo background layer (heroes + final CTA): image under a heavy ink
   overlay: text contrast stays AA, the photo reads as texture and proof. */
.has-bg { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Furkan 28 Aug, per the roofing-croydon.com reference: the photo READS.
   A light flat ink tint (not the old 0.93 gradient) + a text shadow on the
   copy keeps white text legible without burying the image. */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45); }
.hero .hero-top h1, .hero .hero-top .hero-sub, .hero .hero-top .kicker {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.final .hero-bg::after {
  background: linear-gradient(100deg, rgba(0,0,0,0.93) 30%, rgba(0,0,0,0.78)); }
.has-bg > .wrap, .has-bg > .ridge { position: relative; z-index: 1; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.sec-tight { padding: clamp(56px, 7vw, 88px) 0; }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-sub { color: var(--muted); font-size: 16.5px; }
.sec-sub a { color: var(--body); font-weight: 600; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--orange); flex: none; }
.eyebrow-light { color: var(--muted); }

/* dark bands */
/* Bands are WHITE with black text (Furkan 28 Aug). Only the header, footer
   and the final photo CTA stay dark. A hairline top/bottom keeps each band
   reading as a band on the white page. */
.band { background: var(--paper); color: var(--body); padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.band h2 { color: var(--ink); }
.band p { color: var(--muted); }
.band a { color: var(--ink); }
.band-policy .policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 960px; }
.policy-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
/* Colour must track .band (paper bg, --body text). It was #fff from when this
   band was dark; after the band flipped to paper the text went white-on-white
   and only the orange SVG ticks stayed visible. */
.policy-ticks li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--body); font-size: 15.5px; }
.policy-ticks svg { width: 17px; height: 17px; color: var(--orange); flex: none; }

/* ---------- two-lane explainer + booking form ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.steps { border: 1px solid var(--hair); border-radius: 10px; padding: 24px; }
.steps-wa { border-top: 5px solid var(--wa); }
.steps-book { border-top: 5px solid var(--orange); }
.steps h3 { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 19px; }
.steps h3 svg { width: 20px; height: 20px; }
.steps ol { list-style: none; padding: 0; margin: 14px 0 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 7px 0 7px 38px; font-size: 15.5px; color: var(--muted); }
.steps li b { color: var(--body); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 13px;
}
.steps .btn { width: 100%; }

.book-card { border: 2px solid var(--ink); border-radius: 10px; padding: clamp(22px, 3vw, 34px); margin-top: 26px; }
.book-card h2, .book-card h3 { font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 22px; }
.book-card > p { color: var(--muted); max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 18px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--body); background: #fff;
  border: 2px solid var(--body); border-radius: 6px; padding: 11px 12px; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #767676; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.bf-company { position: absolute; left: -9999px; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--hair); border-radius: 10px; overflow: hidden;
  transition: border-color 0.15s;
}
.svc:hover { border-color: var(--ink); }
.svc .im { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.svc .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.svc:hover .im img { transform: scale(1.03); }
.svc .bd { padding: 18px 20px 18px; }
.svc h3 { font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 10px; }
.svc .ar { color: var(--orange); transition: transform 0.15s; }
.svc:hover .ar { transform: translateX(4px); }
.svc p { font-size: 15px; color: var(--muted); margin: 6px 0 0; }

/* gallery: straight off the crew's phones */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work { margin: 0; }
.work img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.work figcaption { font-size: 13.5px; color: var(--muted); margin-top: 7px; line-height: 1.4; }

/* ---------- symptoms / scope / drivers ---------- */
.symptoms { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; max-width: 900px; }
.symptoms li { display: flex; gap: 11px; align-items: flex-start; font-size: 16.5px; }
.symptoms svg { width: 17px; height: 17px; color: var(--ink); flex: none; margin-top: 5px; }

.scope-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.scope-list { border: 1px solid var(--hair); border-left: 5px solid var(--orange); border-radius: 10px; padding: 22px 24px; }
.scope-list h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.scope-list ul { list-style: none; padding: 0; margin: 12px 0 0; }
.scope-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15.5px; }
.scope-list svg { width: 16px; height: 16px; color: var(--ink); flex: none; margin-top: 5px; }

.drivers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.driver { border: 1px solid var(--hair); border-radius: 10px; padding: 20px 20px 18px; }
.driver h3 { font-size: 16.5px; }
.driver p { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

/* ---------- warranty scope table ---------- */
.table-wrap { overflow-x: auto; }
.scope { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; }
.scope th {
  text-align: left; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 0 14px 10px 0; border-bottom: 2px solid var(--ink);
}
.scope td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.scope td:first-child { font-weight: 600; white-space: nowrap; }
.scope td:last-child { white-space: nowrap; }
.fine { font-size: 14.5px; color: var(--muted); max-width: 760px; margin-top: 16px; }
.fine a { color: var(--body); font-weight: 600; }

/* ---------- who we are / entity card ---------- */
.who-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(26px, 4vw, 54px); align-items: start; }

/* ---------- areas + postcode checker ---------- */
.pc-check { border: 2px solid var(--ink); border-radius: 10px; padding: 22px 24px; max-width: 620px; margin-bottom: 26px; }
.pc-check label { font-size: 16px; display: block; margin-bottom: 10px; }
.pc-row { display: flex; gap: 10px; }
.pc-row input {
  font: inherit; font-size: 16px; border: 2px solid var(--body); border-radius: 6px;
  padding: 11px 12px; flex: 1; min-width: 0; text-transform: uppercase;
}
.pc-answer { font-weight: 600; font-size: 15.5px; margin: 10px 0 0; display: none; }
.pc-answer.on { display: block; }
.pc-answer a { color: var(--body); }
.town-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.town-links a {
  text-decoration: none; color: var(--body); font-weight: 600; font-size: 15px;
  border: 1px solid var(--hair); border-radius: 999px; padding: 9px 17px;
  transition: border-color 0.15s;
}
.town-links a:hover { border-color: var(--ink); }
.areas-strip { color: var(--muted); font-size: 15px; }
.areas-strip a { color: var(--body); font-weight: 600; }
.areas-strip b { color: var(--body); }

/* ---------- jobs (gated B4) ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job { margin: 0; }
.job img { border-radius: 10px; }
.job figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-wrap details { border-top: 1px solid var(--hair); }
.faq-wrap details:last-child { border-bottom: 1px solid var(--hair); }
.faq-wrap summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 17px; padding: 17px 2px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap .pl { color: var(--orange); font-family: var(--disp); font-weight: 800; font-size: 20px; flex: none; }
.faq-wrap details[open] .pl { display: inline-block; transform: rotate(45deg); }
.faq-wrap .a { padding: 0 2px 18px; color: var(--muted); max-width: 720px; }

/* ---------- final CTA ---------- */
.final { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.final h2 { color: #fff; font-size: clamp(28px, 4.4vw, 48px); }
.final p { color: var(--muted-dark); max-width: 560px; margin: 0 auto 26px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-alt { margin-top: 22px; font-size: 15px; }
.cta-alt a { color: #fff; font-weight: 600; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.site-foot .wrap { padding-top: 54px; padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; }
.foot-brand img { margin-bottom: 14px; }
.foot-brand p { max-width: 320px; }
.foot-line { margin: 0 0 6px; }
.foot-line a { color: #fff; font-weight: 600; text-decoration: none; }
.foot-line a:hover { text-decoration: underline; }
.foot-col h3 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.foot-col a { display: block; color: var(--muted-dark); text-decoration: none; padding: 4px 0; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-entity { border-top: 1px solid #222; padding: 18px 0; font-size: 14px; }
.foot-entity a { color: var(--muted-dark); }
.foot-entity b { color: #fff; }
.foot-disambig { margin-top: 6px; }
.foot-bottom { border-top: 1px solid #222; padding-top: 16px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.site-foot-bare .foot-entity { border-top: 0; }

/* ---------- sticky mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
}
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 14px;
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
  padding: 15px 10px;
}
.mbar-call { background: var(--orange); color: var(--ink); }
.mbar-sms { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 #2a2a2a; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .navlinks { display: none; }
  .head-cta { margin-left: auto; }
  .hamb { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 52px; }
  .brand img { width: 170px; height: 26px; }
  .head-tel span { display: none; }
  .head-cta { display: none; }
  .lanes, .steps-grid, .form-grid, .svc-grid, .drivers,
  .symptoms, .scope-grid, .who-grid, .band-policy .policy-grid,
  .jobs-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .lane-book { border-left: 0; border-top: 5px solid var(--orange); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .mbar { display: grid; }
  .pc-row { flex-direction: column; }
  .scope td:last-child { white-space: normal; }
}
@media (min-width: 721px) and (max-width: 1020px) {
  .svc-grid, .drivers, .jobs-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ================= reference-site layout bands (27 Aug 2026) =================
   Section shapes borrowed from the five competitor references Furkan supplied:
   title-case welcome hero + long-form intro + stats + trust cards + process.
   Palette rules unchanged: orange stays ACTION ONLY, never text on white. */

/* --- centered home hero: H1 -> CTA -> description over the photo --- */
.hero-center { padding: clamp(96px, 13vw, 180px) 0 clamp(120px, 15vw, 200px); text-align: center; }
.hero-center .hero-top { max-width: 900px; margin: 0 auto; }
.hero-center .hero-sub { margin: 0 auto; max-width: 760px; font-size: clamp(18px, 2.2vw, 23px); }
.hero-center .hero-cta { justify-content: center; margin: 34px 0 40px; }
.hero-center .kicker::after, .hero-center .kicker::before { content: none; }

/* --- hero: title-case H1 + primary CTA pair --- */
.h1-title { text-transform: none; letter-spacing: -0.015em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 4px; }
.btn-xl { font-size: 16px; padding: 19px 30px; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* --- long-form intro ("Roofer in Croydon") --- */
.sec-intro { padding-top: clamp(48px, 6vw, 76px); }
.intro-wrap { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.intro-body p { font-size: 17.5px; line-height: 1.72; color: var(--body); }
.intro-call { font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 20px; margin-top: 4px; }
.intro-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.intro-side { position: sticky; top: 96px; }
.intro-photo { border-radius: 12px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* --- stats band --- */
.band-stats { padding: clamp(64px, 8vw, 96px) 0; border-top: 5px solid var(--orange); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 6px 10px; }
.stat-n {
  display: block; font-family: var(--disp); font-stretch: 125%; font-weight: 900;
  font-size: clamp(42px, 5.5vw, 64px); line-height: 1; color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat-l { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.4; color: var(--body); }

/* --- owner block photo --- */
.who-photo { border-radius: 12px; overflow: hidden; }
.who-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

@media (max-width: 1020px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .intro-wrap { grid-template-columns: 1fr; }
  .intro-side { position: static; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 27 Aug 2026 additions: about ticks, review carousel, stat tiles,
   three-step arch process, service icons, FAQ photo, footer badge ---------- */

/* about block ticks */
.intro-ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.intro-ticks li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; font-size: 16.5px; }
.intro-ticks svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 4px; }

/* review carousel */
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head-row > div:first-child { min-width: 0; }
.rev-nav { display: flex; gap: 10px; flex: none; margin-bottom: 26px; }
.rev-btn {
  font: inherit; font-size: 18px; line-height: 1; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); border-radius: 999px;
  width: 46px; height: 46px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.rev-btn:hover { background: var(--ink); color: #fff; }
.rev-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 82vw);
  gap: 20px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 4px 18px; scroll-padding-left: 4px; scrollbar-width: thin;
}
/* Google-review card: avatar + name + date, the four-colour G, gold stars. */
.rev {
  margin: 0; scroll-snap-align: start; border: 1px solid var(--hair);
  border-radius: 12px; padding: 20px 20px 18px; display: flex; flex-direction: column;
  background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-av {
  flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 18px;
}
.rev-who { flex: 1; min-width: 0; }
.rev-who b { display: block; font-size: 15px; line-height: 1.3; }
.rev-who span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.rev-g { flex: none; }
.rev-g svg { width: 20px; height: 20px; display: block; }
.rev-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.rev-stars svg { width: 17px; height: 17px; color: #fbbc04; }
.rev blockquote { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--body); flex: 1; }
.rev-src { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rev-src .vis { display: inline-flex; }
.rev-src svg { width: 13px; height: 13px; color: #188038; }

/* stat tiles: icon card + big number */
.stat { background: #f7f7f5; border: 1px solid var(--hair); border-radius: 12px; padding: 30px 18px 26px; }
.stat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; background: var(--paper); border: 1px solid var(--hair);
  border-radius: 12px; margin-bottom: 14px;
}
.stat-ic svg { width: 26px; height: 26px; color: var(--orange); }

/* three-step arch process on ink */
.sec-process { background: var(--ink); }
.sec-process .eyebrow-light { color: var(--muted-dark); }
.sec-process h2 { color: #fff; }
.sec-head-center { text-align: center; margin-inline: auto; }
.parch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.parch {
  position: relative; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 170px 170px 16px 16px; padding: 38px 26px 24px;
  text-align: center; display: flex; flex-direction: column;
}
.parch-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%; background: var(--paper);
  margin: 0 auto 20px; box-shadow: 0 0 0 6px rgba(220, 129, 38, 0.3);
}
.parch-ic svg { width: 30px; height: 30px; color: var(--ink); }
.parch h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.parch p { color: var(--muted-dark); font-size: 15px; margin: 0 0 18px; flex: 1; }
.parch-n { font-family: var(--disp); font-stretch: 125%; font-weight: 800; font-size: 15px; color: var(--orange); letter-spacing: 0.1em; }

/* service tile icons */
.svc h3 { align-items: center; }
.svc-ic {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--hair); border-radius: 8px;
}
.svc-ic svg { width: 18px; height: 18px; color: var(--orange); }
.svc-t { flex: 1; }

/* FAQ with photo */
.faq-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.faq-grid .faq-wrap { max-width: none; }
.faq-photo { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; }

/* footer Checkatrade badge */
.foot-checka a { font-size: 13.5px; }

@media (max-width: 1020px) {
  .parch-grid { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 720px) {
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .rev-nav { margin-bottom: 18px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { order: -1; }
  .faq-photo { max-height: 240px; }
  .stat { padding: 20px 12px 16px; }
  .stat-ic { width: 46px; height: 46px; margin-bottom: 10px; }
  .stat-ic svg { width: 21px; height: 21px; }
}

/* ================= 3 Sep 2026: the home banner + the partnership line =======
   Furkan supplied the Castle/RC lockup artwork as the front-page reference and
   asked for that treatment WITHOUT the Castle half: dark cinematic ground, the
   RC lockup carrying the composition, warm light raking in from the top right,
   and the trade band across the bottom. Castle moves to the footer as a
   partnership line. Everything here renders at build time; nothing is scripted. */

/* --- the banner ground: much deeper than the standard photo tint, with the
       copper light and the diagonal seam the artwork uses. --- */
.hero-banner .hero-bg img { filter: saturate(1.16) contrast(1.06); }
.hero-banner .hero-bg::after {
  background:
    radial-gradient(105% 80% at 82% 6%, rgba(220, 129, 38, 0.46), rgba(220, 129, 38, 0) 62%),
    linear-gradient(104deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.90) 40%,
      rgba(12, 7, 2, 0.74) 54%,
      rgba(0, 0, 0, 0.88) 78%,
      rgba(0, 0, 0, 0.94) 100%);
}
/* the light seam that splits the artwork, drawn not photographed */
.hero-banner .hero-bg::before {
  content: ""; position: absolute; inset: -10% -2%; z-index: 1;
  background: linear-gradient(104deg,
    rgba(255, 255, 255, 0) 65.5%,
    rgba(220, 129, 38, 0.26) 65.8%,
    rgba(255, 214, 165, 0.70) 65.98%,
    rgba(220, 129, 38, 0.24) 66.16%,
    rgba(255, 255, 255, 0) 66.5%);
  opacity: 0.8;
}

/* --- the lockup, the piece the artwork is built around --- */
.hero-lockup {
  display: block; margin: 0 auto clamp(20px, 2.6vw, 30px);
  width: clamp(230px, 32vw, 400px); height: auto;
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.6));
}
.hero-banner { padding: clamp(48px, 6vw, 84px) 0 clamp(16px, 2vw, 26px); }
.hero-banner .kicker { margin-bottom: 12px; }
.hero-banner h1 { font-size: clamp(29px, 4vw, 48px); }
.hero-banner .hero-cta { margin: 26px 0 28px; }
.hero-banner .hero-sub { font-size: clamp(17px, 1.85vw, 20px); }

/* --- the trade band under the copy: the artwork's bottom strip --- */
.hero-strip {
  margin: clamp(30px, 4vw, 46px) auto clamp(20px, 2.6vw, 34px); max-width: 100%;
  border-top: 1px solid rgba(220, 129, 38, 0.55);
  padding-top: clamp(15px, 1.9vw, 20px);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px clamp(12px, 1.7vw, 22px);
  font-family: var(--disp); font-stretch: 125%; font-weight: 800;
  font-size: clamp(11px, 1.05vw, 12.5px); letter-spacing: 0.15em;
  text-transform: uppercase; color: #ededed;
}
.hero-strip span { display: inline-flex; align-items: center; }
/* separators are DRAWN, never typed: the middot ban has nothing to catch */
.hero-strip span + span::before {
  content: ""; width: 5px; height: 5px; flex: none;
  margin-right: clamp(12px, 1.7vw, 22px);
  background: var(--orange); transform: rotate(45deg);
}

/* --- footer: in partnership with Castle Solutions Group --- */
.foot-partner {
  border-top: 1px solid #222; padding: 20px 0 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.foot-partner p { margin: 0; font-size: 14px; color: var(--muted-dark); }
.foot-partner b { color: #fff; font-weight: 600; }
.foot-partner img { width: 152px; height: auto; opacity: 0.95; }

@media (max-width: 720px) {
  .hero-lockup { width: min(74vw, 290px); }
  .hero-strip { gap: 7px 11px; letter-spacing: 0.12em; font-size: 10.5px; }
  .hero-strip span + span::before { margin-right: 11px; }
  .foot-partner { gap: 12px; }
  .foot-partner img { width: 132px; }
}
