/* Roberts screed micro-sites
   Roberts brand: red + charcoal, Outfit headings, Inter body.
   One stylesheet for every town; towns differ by content and photos, not styling. */

:root {
  --red: #d7262b;          /* Roberts red, darkened slightly from the logo for AA text contrast */
  --red-dark: #b51d22;
  --red-tint: #fdeced;
  --ink: #12151b;          /* charcoal, matches robertsconcretepumping.co.uk dark */
  --ink-2: #1d222b;
  --ink-3: #2a313c;
  --text: #1a1f27;
  --muted: #5b6472;
  --line: #e3e6eb;
  --bg: #f4f5f7;
  --white: #fff;
  --whatsapp: #0e7a3f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 21, 27, .06), 0 8px 24px rgba(18, 21, 27, .08);
  --max: 1160px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--grey { background: var(--bg); }
.section--dark { background: var(--ink); color: #d6dae1; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--red); }
.section--dark .eyebrow, .hero .eyebrow { color: #ff8a8d; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(215, 38, 43, .35); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--wa { background: var(--whatsapp); color: var(--white); }
.btn--wa:hover { background: #0b6534; color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }
.brand-name span { color: var(--red); }
.brand-by { font-size: .8rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.brand-by strong { color: var(--ink); font-weight: 600; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.header-call { min-height: 46px; padding: 0 18px; font-size: 1rem; }
.header-call .num { font-variant-numeric: tabular-nums; }

/* Hero */
.hero { background: var(--ink); color: #cfd4dc; position: relative; overflow: hidden; }

.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 120px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: #ff6b6f; }
.hero-sub { font-size: 1.18rem; color: #c3c9d2; max-width: 54ch; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: #e6e9ee; }
.tick { width: 22px; height: 22px; flex: none; margin-top: 2px; color: #ff6b6f; }
.hero-photo { position: relative; }
.hero-photo picture img { border-radius: 22px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.hero-badge span { font-size: .85rem; color: var(--muted); }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 22px; height: 22px; }

/* Level line: the "poured and level" motif used as a divider */
.level {
  height: 10px; border-radius: 5px; margin: 0 0 28px; width: 120px;
  background: linear-gradient(90deg, var(--red) 0 40%, #e9ecf1 40% 100%);
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.photo-cap { font-size: .86rem; color: var(--muted); margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #cfd4dc; box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--photo { padding: 0; overflow: hidden; position: relative; min-height: 240px; border: 0; }
.card--photo picture, .card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--photo .card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(18, 21, 27, .88)); }
.card--photo .card-body h3 { color: var(--white); margin-bottom: 4px; }
.card--photo .card-body p { color: #e6e9ee; }

/* Local */
.local-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.area-panel { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 28px; }
.area-panel h3 { font-size: 1.05rem; margin-bottom: 6px; }
.area-panel p { font-size: .95rem; color: #aab2bd; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips li { background: var(--ink-3); color: #e6e9ee; border-radius: 999px; padding: 6px 13px; font-size: .9rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center; box-shadow: 0 0 0 6px var(--red-tint);
}
.step::after { content: ""; position: absolute; top: 23px; left: 64px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, #d5d9e0 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .98rem; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.checklist .tick { color: var(--red); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); border-radius: 22px; padding: 52px; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--white); font-size: 1.08rem; }
.cta-band .btn--white { background: var(--white); color: var(--red-dark); }
.cta-band .btn--white:hover { background: var(--ink); color: var(--white); }

/* Guide article */
.page-hero { background: var(--ink); color: #c3c9d2; padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero p { max-width: 64ch; font-size: 1.12rem; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #9aa3af; }
.crumbs a { color: #d6dae1; }
.article-grid { display: grid; grid-template-columns: 250px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: .94rem; }
.toc strong { font-family: var(--font-head); display: block; margin-bottom: 10px; color: var(--ink); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--red); border-left-color: var(--red); }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 52px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #343b47; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.note { background: var(--bg); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 28px 0; }
.note p { margin: 0; }

/* Quote page */
.quote-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 50px; border: 1.5px solid #cfd4dc;
  border-radius: var(--radius-sm); background: var(--white); color: var(--text); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 43, .15); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #cfd4dc; border-radius: 999px; padding: 10px 16px; font-weight: 500; cursor: pointer; min-height: 44px; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--red); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.is-ok { display: block; background: #e8f6ee; color: #0d5c31; }
.form-status.is-err { display: block; background: var(--red-tint); color: var(--red-dark); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.contact-card:hover { border-color: var(--red); color: var(--ink); }
.contact-card .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.ico--red { background: var(--red-tint); color: var(--red); }
.ico--wa { background: #e5f5ec; color: var(--whatsapp); }
.side-box { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.side-box h3 { font-size: 1.05rem; }
.side-box ol, .side-box ul { margin: 0; padding-left: 1.2em; color: #343b47; }
.side-box li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa3af; padding: 64px 0 110px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #d6dae1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-block; padding: 4px 0; min-height: 28px; }
.footer-logo { background: var(--white); border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-legal { border-top: 1px solid var(--ink-3); margin-top: 44px; padding-top: 22px; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

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

@media (max-width: 960px) {
  .hero .wrap, .split, .split--wide-text, .local-grid, .quote-grid, .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 100px; }
  .hero-photo { max-width: 520px; }
  .hero-badge { left: 14px; bottom: 14px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .step::after { display: none; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .nav, .header-call { display: none; }
  .site-header .wrap { min-height: 66px; }
  .cards, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .hero-photo picture img { aspect-ratio: 4 / 3.4; }
  .photo-frame img { aspect-ratio: 4 / 3; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(18, 21, 27, .08);
  }
  .mobile-bar .btn { min-height: 50px; font-size: 1rem; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .faq summary::after { transition: none; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero v2: photo backdrop + enquiry form */
.hero { background: var(--ink) var(--hero-img) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18, 21, 27, .96) 0%, rgba(18, 21, 27, .9) 45%, rgba(18, 21, 27, .72) 100%); }
.hero .wrap { grid-template-columns: 1fr minmax(360px, 460px); gap: 56px; padding-top: 64px; padding-bottom: 116px; align-items: start; }
.hero-copy { padding-top: 18px; }
.hero-sub { font-size: 1.12rem; }
.hero-form .form-card { padding: 26px 26px 20px; border: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.form-kicker { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 4px; }
.form-title { font-size: 1.35rem; margin-bottom: 14px; }
.form-alt { text-align: center; font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.form-alt a { font-weight: 600; }

.gbadge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 9px 16px; color: #e6e9ee; text-decoration: none; font-size: .93rem; }
.gbadge:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.gbadge strong { color: var(--white); }
.stars { color: #fbbc05; letter-spacing: 1px; }

/* Multi-step form */
.qform { position: relative; }
.qform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qhead { display: flex; justify-content: space-between; align-items: center; min-height: 24px; margin-bottom: 8px; }
.qhead .qcount { font-size: .82rem; color: var(--muted); margin-left: auto; }
.qback { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .9rem; color: var(--muted); cursor: pointer; min-height: 32px; }
.qback:hover { color: var(--red); }
.qprogress { height: 6px; background: #eceef2; border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.qprogress span { display: block; height: 100%; width: 14%; background: var(--red); border-radius: 3px; transition: width .3s ease; }
.qtitle { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); padding: 0; margin-bottom: 4px; }
.qsub { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.qinput { font: inherit; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #cfd4dc; border-radius: var(--radius-sm); font-size: 1.05rem; color: var(--text); background: var(--white); }
textarea.qinput { min-height: 84px; font-size: .98rem; margin-top: 12px; resize: vertical; }
.qinput:focus, .qfields input:focus, .qstepper input:focus, .qcalc input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 43, .15); }
.qgo { width: 100%; margin-top: 14px; }
.qcover { font-size: .9rem; margin: 8px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); }
.qcover.is-ok { background: #e8f6ee; color: #0d5c31; }
.qcover.is-maybe { background: #fff6e0; color: #6b4b00; }
.qtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.qtiles--3 { grid-template-columns: repeat(3, 1fr); }
.qtile { position: relative; cursor: pointer; }
.qtile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qtile span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 12px; border: 1.5px solid #cfd4dc; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--ink); background: var(--white); transition: border-color .15s, background .15s; }
.qtile:hover span { border-color: var(--red); }
.qtile input:checked + span { border-color: var(--red); background: var(--red-tint); color: var(--red-dark); }
.qtile input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.qtiles .qtile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qtiles--3 .qtile:last-child:nth-child(odd) { grid-column: auto; }
.qstepper { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.qstepper button { width: 52px; height: 52px; border-radius: 10px; border: 1.5px solid #cfd4dc; background: var(--white); font-size: 1.5rem; color: var(--ink); cursor: pointer; flex: none; }
.qstepper button:hover { border-color: var(--red); color: var(--red); }
.qstepper input { flex: 1; min-width: 0; min-height: 52px; text-align: center; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; border: 1.5px solid #cfd4dc; border-radius: 10px; }
.qstepper > span { font-weight: 600; color: var(--muted); }
.qcalc { background: var(--bg); border-radius: 10px; padding: 14px; margin-top: 12px; }
.qcalc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.qcalc label { font-size: .85rem; font-weight: 600; display: grid; gap: 4px; }
.qcalc input { font: inherit; min-height: 46px; padding: 8px 10px; border: 1.5px solid #cfd4dc; border-radius: 8px; }
.qcalc .btn { min-height: 44px; width: 100%; }
.qlinks { display: flex; justify-content: space-between; margin-top: 10px; }
.qlinks button { background: none; border: 0; font: inherit; font-size: .9rem; color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; min-height: 36px; }
.qdate { margin-top: 12px; }
.qchips { display: grid; gap: 8px; }
.qchip { display: flex; align-items: center; gap: 10px; border: 1.5px solid #cfd4dc; border-radius: 10px; padding: 11px 14px; cursor: pointer; font-weight: 500; font-size: .95rem; min-height: 48px; }
.qchip input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.qchip:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.qfields { display: grid; gap: 10px; margin-top: 10px; }
.qfields label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.qfields label span { font-weight: 400; color: var(--muted); }
.qfields input { font: inherit; min-height: 50px; padding: 10px 14px; border: 1.5px solid #cfd4dc; border-radius: var(--radius-sm); font-size: 1rem; }
.qform:not(.is-js) .qstep { margin-bottom: 26px; }
.qform:not(.is-js) .qhead, .qform:not(.is-js) .qprogress, .qform:not(.is-js) [data-next], .qform:not(.is-js) .qlinks, .qform:not(.is-js) .qstepper button { display: none; }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.reviews-score { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.reviews-score strong { font-family: var(--font-head); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.reviews-score div { display: grid; font-size: .9rem; color: var(--muted); }
.reviews-score .stars { font-size: 1.15rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review-top { display: flex; gap: 12px; align-items: center; }
.review-top strong { display: block; font-size: .98rem; color: var(--ink); }
.review-top span { font-size: .84rem; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; flex: none; }
.review blockquote { margin: 0; color: #343b47; font-size: .97rem; }
.reviews-more { margin: 24px 0 0; font-size: .92rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.reviews-more a { font-weight: 600; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 90px; }
  .hero-copy { padding-top: 0; }
  .hero-form { max-width: 560px; }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-points, .hero-sub, .hero-copy .eyebrow { display: none; }
  .hero .wrap { padding-top: 26px; gap: 20px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 14px; }
  .gbadge { font-size: .85rem; padding: 7px 12px; }
  .form-title { font-size: 1.15rem; }
  .hero-form .form-card { padding: 20px 18px 16px; }
  .reviews { grid-template-columns: 1fr; }
  .qtiles--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Form v3: Roberts charcoal + red card (15 Oct: Ben wanted it to match the site, not the Spotmix look) */
.form-card--dark { background: var(--ink-2); border: 1px solid var(--ink-3); color: #d6dae1; }
.hero-form .form-card--dark { box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.form-card--dark .form-kicker { color: #ff8a8d; }
.form-card--dark .form-title, .form-card--dark .qtitle { color: var(--white); }
.form-card--dark .qsub, .form-card--dark .qhead .qcount, .form-card--dark .qback, .form-card--dark .form-note, .form-card--dark .form-alt { color: #aab2bd; }
.form-card--dark .qback:hover { color: var(--white); }
.form-card--dark .form-alt a { color: var(--white); }
.form-card--dark .qprogress { background: var(--ink-3); }
.form-card--dark .qtile span { background: var(--ink-3); border-color: #3a4250; color: var(--white); }
.form-card--dark .qtile:hover span { border-color: var(--red); }
.form-card--dark .qtile input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.form-card--dark .qinput, .form-card--dark .qfields input, .form-card--dark .qstepper input { background: var(--white); border-color: transparent; }
.form-card--dark .qstepper button { background: var(--ink-3); border-color: #3a4250; color: var(--white); }
.form-card--dark .qstepper button:hover { border-color: var(--red); color: var(--white); }
.form-card--dark .qstepper > span { color: #aab2bd; }
.form-card--dark .qfields label { color: #e6e9ee; }
.form-card--dark .qfields label span { color: #aab2bd; }
.form-card--dark .qcalc { background: var(--ink-3); }
.form-card--dark .qcalc label { color: #e6e9ee; }
.form-card--dark .qcalc .btn--outline { border-color: var(--white); color: var(--white); }
.form-card--dark .qcalc .btn--outline:hover { background: var(--white); color: var(--ink); }
.form-card--dark .qlinks button { color: #ff9a9d; }
.form-card--dark .qcover.is-ok { background: rgba(46, 160, 98, .18); color: #9be3b8; }
.form-card--dark .qcover.is-maybe { background: rgba(251, 188, 5, .15); color: #ffd666; }
.form-card--dark .btn--red { box-shadow: none; }
.qtiles--4 { grid-template-columns: 1fr 1fr; }

/* Use cards with real job photos (as on robertsconcretepumping.co.uk/liquid-screed-cheshire) */
.card--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card--img .card-body { padding: 20px 22px 24px; }
.card--img h3 { margin-bottom: 6px; }
.card--cta { background: var(--ink); border-color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.card--cta h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.card--cta p { color: #c3c9d2; }
.card--cta .btn { align-self: flex-start; }

/* Right for / not suited to */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-col { border-radius: var(--radius); padding: 30px; }
.fit-col h2 { font-size: 1.45rem; margin-bottom: 16px; }
.fit-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fit-col li { display: flex; gap: 12px; align-items: flex-start; }
.fit-col--yes { background: var(--red-tint); }
.fit-col--yes .tick { color: var(--red); }
.fit-col--no { background: var(--bg); }
.fit-col--no p { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.cross { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #d5d9e0; color: var(--ink); display: grid; place-items: center; font-weight: 700; line-height: 1; margin-top: 2px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } .fit-col { padding: 24px 20px; } }

/* S-wave section dividers (inserted by addWaves in templates/pages.js) */
.wave { position: relative; z-index: 2; height: 56px; margin-top: -55px; pointer-events: none; line-height: 0; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave--flip svg { transform: scaleX(-1); }
.section, .page-hero { padding-bottom: calc(84px + 28px); }
.page-hero { padding-bottom: 96px; }
.section--tight { padding-bottom: 72px; }
.site-footer { padding-top: 76px; }
@media (max-width: 760px) {
  .wave { height: 32px; margin-top: -31px; }
  .section { padding-bottom: 80px; }
}
