/* ABM Roofing - exemplar concept site.
   Built 2026-11-03 as the standard for Paul's concept sites.

   The brief this demonstrates: a trade website is a sales tool, not a brochure. Every block
   below exists to move a worried homeowner one step closer to picking up the phone, and
   nothing on the page is invented - every claim traces to abm-roofing.co.uk. */

@import url('assets/fonts/inter/font-face.css');
@import url('assets/fonts/montserrat/font-face.css');

:root {
  --ink:        #141d27;
  --ink-2:      #37434f;
  --muted:      #6a7682;
  --line:       #dfe5ec;
  --line-soft:  #eef2f6;
  --paper:      #ffffff;
  --paper-2:    #f7f9fb;
  --paper-3:    #eff3f7;
  --brand:      #b54f0f;   /* from their own logo */
  --brand-dark: #93400c;
  --brand-wash: #fdf4ec;
  --slate:      #182330;
  --gold:       #a8791f;
  --ok:         #1d6f4a;

  --wrap: 1140px;
  --gut: 24px;
  --r: 10px;
  --shadow: 0 1px 2px rgba(20,29,39,.06), 0 8px 24px rgba(20,29,39,.06);
  --shadow-lift: 0 2px 4px rgba(20,29,39,.07), 0 18px 44px rgba(20,29,39,.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink-2);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .num {
  font-family: 'Montserrat', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.028em; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0 0 1.05em; }
a  { color: var(--brand); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }

section { padding: clamp(56px, 7vw, 96px) 0; }
.tint   { background: var(--paper-2); }
.tint-2 { background: var(--paper-3); }

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
}

.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05em 1.6em;
  border-radius: var(--r);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(181,79,15,.28); }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { padding: .8em 1.2em; font-size: .92rem; }

/* ---------------------------------------------------------------- header */

.topbar {
  background: var(--slate);
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  padding: .55rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .areas { letter-spacing: .04em; text-transform: uppercase; font-size: .74rem; font-weight: 600; }

header.site {
  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);
}
header.site .wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: .8rem; padding-bottom: .8rem; }
header.site img.logo { height: 46px; width: auto; display: block; }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 1.55rem; }
header.site nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
}
header.site nav a:hover { color: var(--brand); }
header.site .callnum {
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ink);
  text-decoration: none; font-size: 1.05rem; white-space: nowrap;
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 7vw, 92px);
  color: #fff;
  background:
    linear-gradient(104deg, rgba(14,21,29,.94) 0%, rgba(14,21,29,.80) 52%, rgba(14,21,29,.48) 100%),
    url('assets/work.jpg') center 38% / cover no-repeat;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .eyebrow { color: #f0a36a; }
.hero p.lede { color: rgba(255,255,255,.9); max-width: 50ch; font-size: 1.14rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero .reassure {
  margin-top: 1.15rem; font-size: .92rem; color: rgba(255,255,255,.72);
  display: flex; flex-wrap: wrap; gap: .35rem 1.3rem;
}
.hero .reassure span::before { content: "✓"; color: #6fcf97; font-weight: 700; margin-right: .4em; }

/* trust strip - real, named accreditations */
.trust {
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.15rem 0;
}
.trust .wrap { display: flex; flex-wrap: wrap; gap: .7rem 2.3rem; align-items: center; justify-content: center; }
.trust .item {
  display: flex; align-items: baseline; gap: .5rem;
  color: rgba(255,255,255,.88); font-size: .9rem;
}
.trust .item strong {
  font-family: 'Montserrat', sans-serif; color: #fff; font-weight: 800; letter-spacing: -.01em;
}
.trust .sep { width: 1px; height: 22px; background: rgba(255,255,255,.18); }

/* ---------------------------------------------------------------- router */

.router-grid {
  display: grid; gap: 14px; margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}
.router {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.router:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #c9d3de; }
.router .ic {
  width: 42px; height: 42px; border-radius: 9px; background: var(--brand-wash);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.router .ic svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.9; }
.router h3 { margin-bottom: .35rem; }
.router p { color: var(--muted); font-size: .94rem; margin: 0 0 .9rem; }
.router .go { font-weight: 700; font-size: .9rem; color: var(--brand); font-family: 'Montserrat', sans-serif; }
.router .go::after { content: " →"; }
.router.urgent { border-color: #f0c9ab; background: var(--brand-wash); }

/* ---------------------------------------------------------------- split */

.split {
  display: grid; gap: clamp(28px, 4.5vw, 64px); align-items: center;
  grid-template-columns: 1.05fr .95fr;
}
.split.flip > :first-child { order: 2; }
.split img { width: 100%; height: 100%; max-height: 430px; object-fit: cover; border-radius: var(--r); display: block; }
.figure { margin: 0; }
.figure figcaption {
  font-size: .83rem; color: var(--muted); margin-top: .6rem; display: flex; gap: .5rem; align-items: baseline;
}
.figure figcaption b { color: var(--ink-2); font-weight: 600; }

.ticks { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.ticks li { padding-left: 1.85rem; position: relative; margin-bottom: .62rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 11px; height: 6px; border-left: 2.4px solid var(--brand); border-bottom: 2.4px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- services */

.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 2.4rem; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.svc img { width: 100%; height: 178px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.svc .body { padding: 1.4rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.svc h3 { margin-bottom: .45rem; }
.svc p { font-size: .95rem; color: var(--ink-2); margin-bottom: .9rem; }
.svc .detail {
  margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line);
  font-size: .865rem; color: var(--muted);
}
.svc .detail b { color: var(--ink-2); font-weight: 600; }

/* ---------------------------------------------------------------- steps */

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 2.4rem; counter-reset: s; }
.step { position: relative; padding-top: 1.2rem; border-top: 3px solid var(--line); }
.step .num {
  counter-increment: s; font-size: 2.3rem; font-weight: 900; color: var(--brand);
  opacity: .22; line-height: 1; margin-bottom: .5rem; display: block;
}
.step .num::before { content: "0" counter(s); }
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- gallery */

.gal { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); margin-top: 2.3rem; }
.gal figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gal img { width: 100%; height: 215px; object-fit: cover; display: block; }
.gal figcaption { padding: .85rem 1rem 1rem; }
.gal figcaption b { display: block; font-family: 'Montserrat', sans-serif; font-size: .95rem; color: var(--ink); margin-bottom: .18rem; }
.gal figcaption span { font-size: .855rem; color: var(--muted); }

/* ---------------------------------------------------------------- insurance band */

.band {
  background: var(--slate); color: rgba(255,255,255,.84);
  border-radius: 14px; padding: clamp(28px, 4vw, 48px);
}
.band h2 { color: #fff; }
.band .ticks li::before { border-color: #f0a36a; }
.band .cols { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1.1fr .9fr; align-items: center; }

/* ---------------------------------------------------------------- accreditations */

.creds { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); margin-top: 2.3rem; }
.cred { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 1.35rem 1.4rem; }
.cred h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.cred p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- areas */

.areas-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.areas-list span {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: .45em 1em; font-size: .9rem; color: var(--ink-2); font-weight: 500;
}

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: .95fr 1.05fr; align-items: start; }

.callcard { background: var(--slate); color: #fff; border-radius: 14px; padding: 2rem 1.9rem; }
.callcard h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.callcard .bignum {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(1.75rem, 3.6vw, 2.3rem); color: #fff; text-decoration: none;
  letter-spacing: -.03em; line-height: 1.1;
}
.callcard .bignum small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f0a36a; margin-bottom: .2rem; }
.callcard .numrow { margin-bottom: 1.35rem; }
.callcard .meta { font-size: .9rem; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; margin-top: .3rem; }
.callcard .meta a { color: #fff; }

form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .78em .9em; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(181,79,15,.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
form .btn { width: 100%; }
form .privacy { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }

/* ---------------------------------------------------------------- footer */

footer.site { background: var(--slate); color: rgba(255,255,255,.62); padding: 3rem 0 1.5rem; font-size: .9rem; }
footer.site a { color: rgba(255,255,255,.86); }
footer.site .cols { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 2.2rem; }
footer.site h4 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .45rem; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.4rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* the concept-site label. Required on every one of these: they are unsolicited mock-ups of
   somebody else's business and must never be mistakable for the real thing. */
.concept-note {
  background: #fff8e6; border-top: 2px solid #e8c35c; color: #6b5412;
  font-size: .86rem; padding: .85rem 0; text-align: center;
}
.concept-note b { color: #4a3a0a; }

/* ---------------------------------------------------------------- sticky mobile bar */

.callbar { display: none; }

@media (max-width: 920px) {
  .split, .split.flip, .band .cols, .contact-grid { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  header.site nav a:not(.callnum) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .areas { display: none; }
  footer.site .cols { grid-template-columns: 1fr; }
  .hero { padding-bottom: 7rem; }
  .trust .sep { display: none; }
  .trust .wrap { justify-content: flex-start; gap: .55rem 1.4rem; }

  /* A roofing enquiry is a phone call. On a phone, make that one tap from anywhere. */
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--brand); box-shadow: 0 -4px 20px rgba(0,0,0,.22);
  }
  .callbar a {
    flex: 1; text-align: center; color: #fff; text-decoration: none;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem;
    padding: 1.05rem .5rem;
  }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.3); flex: 0 0 42%; font-weight: 700; font-size: .95rem; background: var(--brand-dark); }
  body { padding-bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
