/* ============================================================
   Guardian Roofing 'Slate' design system
   Dark, photographic, editorial. One accent (Guardian Blue).
   ============================================================ */

/* Big Shoulders Display: industrial signage display face, used for headings */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/bigshoulders-var-latin.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/bigshoulders-var-latin-ext.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3: humanist body face */
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/sourcesans3-var-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/sourcesans3-var-latin-ext.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --slate-900: #14171c;
  --slate-850: #1b1f26;
  --slate-800: #2e323a;
  --navy: #0a1b34;
  --blue: #1c6fc7;
  --blue-600: #155ba6;
  --blue-300: #7db4ea;
  --gold: #c7881c;
  --paper: #f6f7f9;
  --paper-2: #eef0f3;
  --ink: #1a1d22;
  --ink-soft: #464b54;
  --line: #e2e5ea;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --terracotta: #9e4a34;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --shadow-lg: 0 30px 60px -20px rgba(10, 27, 52, 0.45);

  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Big Shoulders Display", "Source Sans 3", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.15, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.7rem + 5.2vw, 5.8rem); letter-spacing: 0.004em; }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); }
p { margin: 0 0 1.1em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; }
section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section-dark { background: var(--slate-900); color: rgba(255, 255, 255, 0.86); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.section-paper { background: var(--paper); }
.section-paper-2 { background: var(--paper-2); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

/* Kicker: gold, with a small roof-peak caret (echoes the logo + list bullets).
   Deliberately not the generic dash-and-uppercase-label kicker. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex: none;
  border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor;
  transform: rotate(45deg); margin-top: 3px;
}
.section-head.center .eyebrow::before { margin-top: 3px; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-soft); }
.section-dark .lead, .section-navy .lead { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
/* Buttons: squared, industrial, display-font labels with a directional
   colour-wipe on hover (base colour lives at 50-100% of a 2x-wide gradient;
   hover slides the window to reveal the darker half). Gold base-line ties to
   the kicker. */
.btn {
  --btn-base: var(--blue);
  --btn-wipe: #0f4c86;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 2px;
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.07em; font-size: 1.1rem; line-height: 1;
  color: #fff; border: none; cursor: pointer;
  background-image: linear-gradient(100deg, var(--btn-wipe) 0 50%, var(--btn-base) 50% 100%);
  background-size: 215% 100%; background-position: right center;
  transition: background-position 0.5s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background-position: left center; }
.btn svg { width: 19px; height: 19px; }

.btn-primary { --btn-base: var(--blue); --btn-wipe: #0f4c86; box-shadow: inset 0 -3px 0 #0a3560; }
.btn-dark    { --btn-base: var(--navy); --btn-wipe: #12345f; box-shadow: inset 0 -3px 0 #05101f; }
.btn-ghost {
  color: #fff; border: 1.5px solid rgba(255,255,255,0.45);
  background-image: linear-gradient(100deg, rgba(255,255,255,0.16) 0 50%, transparent 50% 100%);
  background-size: 215% 100%; background-position: right center;
}
.btn-ghost:hover { border-color: #fff; background-position: left center; }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.24rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* NB: no backdrop-filter/transform/filter on this element, since those would make it
   the containing block for the fixed-position mobile nav and break its overlay. */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 0.5rem; }
.site-header.shrink .wrap { padding-block: 0.3rem; }
.site-header.shrink { box-shadow: 0 8px 24px -12px rgba(10, 27, 52, 0.18); }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-logo { height: 80px; width: auto; display: block; transition: height 0.3s var(--ease); }
.site-header.shrink .brand-logo { height: 60px; }
.footer-brand .brand-logo { height: 96px; width: 96px; object-fit: contain; background: var(--white); padding: 10px; border-radius: 2px; }
@media (max-width: 860px) { .brand-logo { height: 62px; } }
@media (max-width: 480px) { .brand-logo { height: 54px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }
.brand-text span { font-size: 0.62rem; letter-spacing: 0.42em; color: var(--blue-300); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 3rem; }
.nav a {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.05rem; font-weight: 900; letter-spacing: 0.06em;
  color: var(--ink-soft); position: relative; padding: 0.5rem 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 1.3rem; padding-left: 1.7rem; border-left: 1px solid var(--line); }
.header-phone { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); font-weight: 700; font-size: 1.14rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.header-phone svg { width: 19px; height: 19px; color: var(--blue); }

.nav-close { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 0.4rem; }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 940px) {
  .header-phone span { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: var(--white); padding: 6rem 2rem 2rem;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    border-left: 1px solid var(--line); box-shadow: -20px 0 50px -20px rgba(10, 27, 52, 0.25);
  }
  .nav.open { transform: translateX(0); }
  .nav-close {
    display: flex; position: absolute; top: 1.15rem; right: 1.15rem;
    background: none; border: 0; color: var(--navy); cursor: pointer; padding: 0.5rem;
  }
  .nav-close svg { width: 30px; height: 30px; }
  .nav a { font-size: 1.5rem; padding: 0.2rem 0; }
  .nav a::after { bottom: -3px; }
  .header-cta { border-left: 0; padding-left: 0; gap: 0.8rem; }
  .header-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--slate-900); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--slate-900); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.82; }
.hero-media.placeholder {
  background:
    linear-gradient(135deg, rgba(10,27,52,0.7), rgba(20,23,28,0.9)),
    repeating-linear-gradient(115deg, #23272f 0 46px, #1c2027 46px 92px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,18,23,0.72) 0%, rgba(15,18,23,0.48) 45%, rgba(15,18,23,0.82) 100%),
    radial-gradient(120% 90% at 50% 45%, rgba(15,18,23,0) 40%, rgba(15,18,23,0.4) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem); }
.hero-inner { text-align: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--blue-300); }
.hero-sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: rgba(255,255,255,0.8); margin: 0 auto 2rem; }
@media (max-width: 640px) { .hero-sub br { display: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-coverage { margin-top: 2.4rem; display: flex; align-items: center; justify-content: center; gap: 0.7rem; color: rgba(255,255,255,0.62); font-size: 0.95rem; font-weight: 500; }
.hero-coverage svg { width: 20px; height: 20px; color: var(--blue-300); flex: none; }

/* watermark shield */
.watermark { position: absolute; z-index: 1; opacity: 0.05; pointer-events: none; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); border-block: 1px solid var(--line-dark); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding-block: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.9); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; }
.trust-item svg { width: 26px; height: 26px; color: var(--blue-300); flex: none; }

/* ---------- Section heading block ---------- */
.section-head { margin-bottom: clamp(2rem, 3vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Services (typographic, not photo cards) ---------- */
.svc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section-dark .svc-groups { background: var(--line-dark); border-color: var(--line-dark); }
.svc-group { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.6rem); position: relative; transition: background 0.3s var(--ease); }
.section-dark .svc-group { background: var(--slate-850); }
.svc-group:hover { background: #fff; }
.section-dark .svc-group:hover { background: var(--slate-800); }
.svc-group .num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); }
.svc-group h3 { margin: 0.4rem 0 0.9rem; }
.svc-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.svc-group li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-soft); font-weight: 500; }
.section-dark .svc-group li { color: rgba(255,255,255,0.72); }
.svc-group li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.svc-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; margin-bottom: 1.4rem; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-group:hover .svc-img img { transform: scale(1.04); }
@media (max-width: 720px) { .svc-groups { grid-template-columns: 1fr; } }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.feature-figure img { width: 100%; height: 100%; object-fit: cover; }

/* photo placeholder */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(255,255,255,0.55); background:
    linear-gradient(135deg, #23272f, #171a20),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 40px, transparent 40px 80px);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; padding: 1rem;
}
.ph::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 2px; }
.ph span { position: relative; z-index: 1; text-transform: uppercase; }

/* ---------- Why / list checks ---------- */
.checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.checks li { display: flex; gap: 0.9rem; align-items: flex-start; }
.checks svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.checks b { display: block; font-weight: 700; font-stretch: 108%; }
.section-dark .checks svg { color: var(--blue-300); }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem 1.5rem; margin-top: 1.8rem; padding-left: 0; }
.coverage-grid li { list-style: none; display: flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.8); font-weight: 500; padding-block: 0.35rem; border-bottom: 1px solid var(--line-dark); }
.coverage-grid li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-300); flex: none; }

/* ---------- Work gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery.home { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.gallery .tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; background: var(--slate-850); }
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; background: linear-gradient(transparent, rgba(10,27,52,0.85)); color: #fff; font-weight: 600; font-size: 0.9rem; opacity: 0; transform: translateY(8px); transition: 0.3s var(--ease); }
.gallery .tile:hover .cap { opacity: 1; transform: none; }
@media (max-width: 860px) { .gallery, .gallery.home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery, .gallery.home { grid-template-columns: 1fr; } .gallery .tile.wide { grid-column: span 1; aspect-ratio: 1/1; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band .watermark { top: -40px; right: -30px; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; }
.cta-actions .btn { justify-content: center; }
@media (max-width: 740px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.contact-detail:first-of-type { border-top: 1px solid var(--line); }
.contact-detail svg { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-detail .k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.contact-detail .v { font-size: 1.2rem; font-weight: 700; font-stretch: 108%; }
.contact-detail a.v { color: var(--blue-600); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field .req { color: var(--blue-600); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28,111,199,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
#dbs-result { margin: 0; padding: 0.9rem 1rem; border-radius: var(--radius); font-weight: 600; }
#dbs-result.ok { background: #e7f6ec; color: #14713a; }
#dbs-result.err { background: #fdecea; color: #a12318; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--slate-900); color: #fff; position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; opacity: 0.85; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,18,23,0.82) 0%, rgba(15,18,23,0.6) 55%, rgba(15,18,23,0.88) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; letter-spacing: 0.02em; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.75); margin: 0; }
.page-hero .watermark { top: 50%; right: -60px; transform: translateY(-50%); }

/* ---------- Prose (about / legal) ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.stat-note { background: #fff8e6; border: 1px solid #f0dca0; color: #6b5310; font-size: 0.85rem; padding: 0.2rem 0.5rem; border-radius: 3px; font-weight: 600; }

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stats .stat { background: var(--slate-850); padding: clamp(1.4rem, 3vw, 2.2rem); }
.stats .stat .n { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: 0.01em; }
.stats .stat .l { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 600; margin-top: 0.5rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: rgba(255,255,255,0.7); border-top: 1px solid var(--line-dark); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: 100%; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: flex; gap: 0.6rem; align-items: center; color: rgba(255,255,255,0.85); font-weight: 600; margin-bottom: 0.8rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.credit-link { color: var(--blue-300); font-weight: 600; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 620px; margin-inline: auto;
  background: var(--slate-800); color: rgba(255,255,255,0.9);
  border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-lg);
  display: none; gap: 1.2rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1 1 260px; }
.cookie-banner a { color: var(--blue-300); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.7rem; }
.cookie-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 150;
  opacity: 1; visibility: visible;
  transition: opacity 0.3s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.5); }
body.cookie-open .whatsapp-fab { opacity: 0; visibility: hidden; }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 480px) { .whatsapp-fab { width: 52px; height: 52px; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); } .whatsapp-fab svg { width: 27px; height: 27px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 0.8rem 1.2rem; z-index: 999; }
.skip-link:focus { left: 0; }

/* ============================================================
   Enhancements: motion, roofline dividers, components
   ============================================================ */

/* ---------- Hero entrance (staggered) ---------- */
.hero-inner > .eyebrow, .hero h1 span, .hero-sub, .hero-actions, .hero-coverage {
  opacity: 0; transform: translateY(26px);
  animation: rise 0.8s var(--ease) forwards;
}
.hero-inner > .eyebrow { animation-delay: 0.1s; }
.hero h1 span:first-child { animation-delay: 0.24s; }
.hero h1 span:last-child { animation-delay: 0.38s; }
.hero-sub { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.68s; }
.hero-coverage { animation-delay: 0.8s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero photo slow drift */
.hero-media img { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }

/* ---------- Roofline divider (peak cut into the section above) ---------- */
.roof-top {
  --peak: clamp(16px, 2.4vw, 36px);
  clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--peak));
  position: relative; z-index: 2;
  padding-top: calc(clamp(3.5rem, 2rem + 7vw, 7rem) + var(--peak));
}

/* ---------- Slogan band ---------- */
.slogan-band { background: var(--slate-900); overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem); text-align: center; }
.slogan-band .line {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 6.2rem); line-height: 1.04; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.32);
  white-space: nowrap; will-change: transform;
}
.slogan-band .line.solid { color: var(--blue); -webkit-text-stroke: 0; }

/* ---------- Service cards: ghost numeral on image + hover lift + link ---------- */
.svc-group { position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.svc-group:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(10, 27, 52, 0.28); z-index: 1; }
.svc-group .num {
  position: absolute; top: 0.4rem; left: 0.85rem; z-index: 2;
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem); line-height: 1.1;
  color: #fff; opacity: 0.95; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.svc-more {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.15rem;
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.05em; color: var(--blue-600);
}
.svc-more svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.svc-more:hover { color: var(--navy); }
.svc-more:hover svg { transform: translateX(4px); }

/* ---------- Unified photo treatment ---------- */
.svc-img img, .gallery .tile img, .feature-figure img { filter: saturate(0.87) contrast(1.05); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 14, 19, 0.93);
  display: flex; align-items: center; justify-content: center; padding: 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 80vh; width: auto; height: auto; box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-weight: 600; margin: 0; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 0.8rem; opacity: 0.75; transition: opacity 0.2s; }
.lightbox button:hover { opacity: 1; }
.lightbox button svg { width: 32px; height: 32px; display: block; }
.lightbox .lb-close { top: 0.9rem; right: 0.9rem; }
.lightbox .lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.gallery .tile { cursor: pointer; }

/* ---------- Before / after slider ---------- */
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; user-select: none; touch-action: none; cursor: ew-resize; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 3px; background: #fff; z-index: 2; }
.ba-handle::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.ba-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: #fff; font-size: 1.3rem; font-weight: 700; z-index: 1;
}
.ba-label { position: absolute; top: 0.8rem; z-index: 2; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em; color: #fff; background: rgba(10, 27, 52, 0.75); padding: 0.3rem 0.7rem; border-radius: 2px; }
.ba-label-b { left: 0.8rem; }
.ba-label-a { right: 0.8rem; }

/* ---------- Mobile call-to-action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--navy); box-shadow: 0 -8px 24px rgba(10, 27, 52, 0.25);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.95rem 0.4rem; color: #fff;
    font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
    font-size: 1.02rem; letter-spacing: 0.05em;
  }
  .mobile-cta svg { width: 17px; height: 17px; flex: none; }
  .mobile-cta .mc-wa { background: #1e9e50; }
  .mobile-cta .mc-quote { background: var(--blue); }
  .whatsapp-fab { display: none; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- How we work steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.5vw, 2.4rem); }
.step { position: relative; padding-top: 1.2rem; border-top: 3px solid var(--line); }
.step::before { content: ""; position: absolute; top: -3px; left: 0; width: 46px; height: 3px; background: var(--gold); }
.step .step-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 3vw, 3.2rem); line-height: 1; color: var(--blue); }
.step h3 { margin: 0.4rem 0 0.45rem; font-size: 1.3rem; }
.step p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-family: var(--font-display); text-transform: uppercase;
  font-weight: 800; font-size: 1.15rem; letter-spacing: 0.03em; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font); font-size: 1.6rem; font-weight: 300; color: var(--blue); line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .faq-a p { margin: 0; }

/* ---------- Reviews (hidden until the client has real reviews) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.review .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.15em; margin-bottom: 0.7rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
.review figcaption { font-weight: 700; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 820px) { .reviews-grid { grid-template-columns: 1fr; } }
