/* =====================================================================
   HARTLEY & SONS ROOFING  —  site styles
   ---------------------------------------------------------------------
   Look: deep navy to royal blue gradients with a fine grain, real
   photos full-bleed, warm gold gradient for actions, one typeface.
   Mobile first: base styles are phones, min-width queries add the rest.

   1. Tokens          6. Trust bar + ticker    11. FAQ
   2. Base            7. Services              12. CTA band + footer
   3. Buttons         8. Steps                 13. Inner pages
   4. Header + nav    9. Before / after        14. Instant estimate
   5. Hero           10. Reviews + areas       15. Motion
   ===================================================================== */

/* 1. TOKENS ---------------------------------------------------------- */
:root {
  --navy-950: #050d18;
  --navy-900: #07111f;
  --navy-800: #0b1a2e;
  --navy-700: #10284a;
  --royal: #1c4b8f;
  --sky: #6aa6e8;
  --ice: #eef4fb;
  --ice-2: #e1ebf7;
  --white: #ffffff;
  --ink: #0b1a2e;
  --muted: #5a6b80;
  --gold: #f2b84b;
  --gold-hi: #ffdc8f;
  --gold-lo: #d4921f;
  --wa: #25d366;

  --grad-deep: radial-gradient(120% 90% at 85% 0%, #1d4d8f 0%, rgba(29,77,143,0) 55%),
               radial-gradient(90% 80% at 0% 100%, #12305a 0%, rgba(18,48,90,0) 60%),
               linear-gradient(160deg, #0b1a2e 0%, #07111f 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  --grad-ice: linear-gradient(180deg, #f6f9fd 0%, #e8f0fa 100%);
  /* fine film grain, layered over the dark gradients */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --max: 1240px;
  --header-h: 68px;
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(7,17,31,.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.06; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
@media (min-width: 760px) { :root { --gutter: 28px; } }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }
.small { font-size: 14px; color: var(--muted); }

/* Dark gradient surface used by hero shades, bands and the footer */
.deep { background: var(--grain), var(--grad-deep); color: #fff; }

/* Headlines: one typeface. The highlighted words get a gold
   gradient on dark backgrounds and a blue gradient on light ones. */
.display { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(36px, 9vw, 64px); }
.display em, .h-list em, .h-prose em, .price-range em, .quiz-q em {
  font-style: normal;
  background: linear-gradient(120deg, var(--royal) 0%, #3a7bd5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .display em, .cta-band .display em, .areas-home .display em, .steps .display em, .price-panel em {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display-xl { font-size: clamp(46px, 12.5vw, 108px); line-height: .98; }
.display-md { font-size: clamp(32px, 7vw, 56px); }
.display-sm { font-size: clamp(28px, 5.5vw, 42px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow-dark { color: var(--royal); }
.lede { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.55; max-width: 36em; color: rgba(255,255,255,.86); margin-top: 22px; }
.lede-dark { color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

.dev-note { font-size: 13px; background: #fff3c4; color: #5c4a00; padding: 8px 12px; border-radius: 8px; display: inline-block; margin: 8px 0 16px; }

/* 3. BUTTONS --------------------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 58px; padding: 0 8px 0 24px; text-decoration: none; font-weight: 700; font-size: 17px;
  border: 0; border-radius: 12px; flex: 1 1 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.btn > span:first-child { padding: 14px 0; }
/* light sweeping across on hover */
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; font-size: 19px;
  background: rgba(7,17,31,.12); transition: transform .35s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-terra, .btn-gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 12px 30px -10px rgba(242,184,75,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-terra:hover, .btn-gold:hover { box-shadow: 0 18px 40px -10px rgba(242,184,75,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-light { background: #fff; color: var(--navy-800); padding-right: 24px; box-shadow: 0 12px 30px -14px rgba(0,0,0,.4); }
.btn-slate { background: linear-gradient(135deg, var(--royal), var(--navy-700)); color: #fff; padding-right: 8px; box-shadow: 0 12px 30px -12px rgba(16,40,74,.6); }
.btn-slate .btn-arrow { background: rgba(255,255,255,.14); }
.btn-wa { background: linear-gradient(135deg, #3ee07f, #1fb85a); color: #05301a; padding-right: 24px; box-shadow: 0 12px 30px -12px rgba(37,211,102,.6); }
.btn-sub { font-weight: 600; font-size: 14px; color: var(--royal); }
.btn-sm { min-height: 46px; font-size: 15px; padding: 0 20px; flex: none; border-radius: 10px; }
.btn-sm > span:first-child { padding: 0; }
@media (min-width: 600px) { .btn { flex: 0 0 auto; } }

.trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--muted); }
.trust-line strong { color: var(--ink); }
.trust-line.on-dark { color: rgba(255,255,255,.8); }
.trust-line.on-dark strong { color: #fff; }
.trust-logos { display: flex; gap: 10px; }
.trust-logos img { height: 32px; width: auto; background: #fff; border-radius: 6px; padding: 3px; }

/* 4. HEADER + NAV ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff;
  background: linear-gradient(90deg, rgba(11,26,46,.92), rgba(16,40,74,.92));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  transition: transform .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.over-hero:not(.is-solid) { background: linear-gradient(180deg, rgba(5,13,24,.55), rgba(5,13,24,0)); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 14px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.header-phone { display: none; text-decoration: none; font-weight: 700; white-space: nowrap; }
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; }
.menu-toggle { background: rgba(255,255,255,.12); color: #fff; border: 0; padding: 11px 16px; font-weight: 700; font-size: 15px; border-radius: 10px; }
.main-nav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--grain), var(--grad-deep);
  display: flex; flex-direction: column; padding: 28px var(--gutter) 40px; gap: 2px;
  transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto;
}
.main-nav.is-open { transform: none; }
.main-nav a { color: #fff; text-decoration: none; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; padding: 8px 0; }
.main-nav .nav-estimate-mobile { margin-top: 24px; background: var(--grad-gold); color: var(--navy-900); font-size: 18px; padding: 18px 22px; border-radius: 12px; }
body.menu-open { overflow: hidden; }
@media (min-width: 1180px) {
  :root { --header-h: 80px; }
  .menu-toggle, .main-nav .nav-estimate-mobile { display: none; }
  .main-nav { position: static; transform: none; background: none; flex-direction: row; padding: 0; gap: 28px; overflow: visible; margin-right: auto; }
  .main-nav a { font-size: 15px; font-weight: 600; padding: 6px 0; opacity: .85; transition: opacity .25s, color .25s; }
  .main-nav a:hover { opacity: 1; color: var(--gold-hi); }
  .header-phone, .header-cta { display: inline-flex; }
  .brand { margin-right: 32px; }
  .brand-name { font-size: 21px; }
}

/* 5. HERO ------------------------------------------------------------ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    var(--grain),
    linear-gradient(0deg, rgba(5,13,24,.95) 0%, rgba(5,13,24,.55) 38%, rgba(5,13,24,0) 70%),
    linear-gradient(100deg, rgba(7,17,31,.92) 0%, rgba(16,40,74,.7) 42%, rgba(28,75,143,.15) 75%, rgba(28,75,143,0) 100%);
}
/* big faded brand word sitting behind the headline */
.hero-mark {
  position: absolute; z-index: -1; left: -0.04em; bottom: -0.2em; pointer-events: none;
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(90px, 26vw, 360px);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
.hero-home { min-height: 100svh; display: flex; align-items: flex-end; }
.hero-page { min-height: 74svh; display: flex; align-items: flex-end; }
.hero-page .display { font-size: clamp(40px, 9vw, 80px); }
@media (min-width: 1020px) {
  .hero-home .hero-inner { padding-bottom: 120px; }
  .hero-home .display-xl { max-width: 10.5em; }
  .hero-page { min-height: 68vh; }
  .hero-inner { padding-bottom: 88px; }
}

/* 6. TRUST BAR + TICKER ---------------------------------------------- */
.trust-strip { background: var(--grad-gold); color: var(--navy-900); padding: 30px 0; position: relative; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.trust-item strong { display: block; font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.trust-item span { font-size: 14px; font-weight: 500; color: rgba(7,17,31,.75); }
.trust-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: repeat(5, 1fr); }
  .trust-item:last-child:nth-child(odd) { grid-column: auto; }
}

.ticker { background: var(--navy-900); color: #fff; overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker span { font-size: clamp(22px, 4vw, 34px); font-weight: 800; letter-spacing: -0.02em; padding: 0 28px; white-space: nowrap; }
.ticker span:nth-child(odd) { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 7. SECTIONS + SERVICES -------------------------------------------- */
.section { padding: 76px 0; position: relative; }
@media (min-width: 1020px) { .section { padding: 120px 0; } }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section-intro { color: var(--muted); max-width: 34em; font-size: 18px; margin: 0; }
@media (min-width: 1020px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 64px; }
  .section-head .display { max-width: 13em; }
}
.services { background: var(--grad-ice); }

/* Service tiles: photo with the name sitting on a gradient over it */
.service-courses { display: grid; gap: 16px; }
.course {
  position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden;
  border-radius: var(--radius); min-height: 340px; background: var(--navy-800); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.course:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(7,17,31,.5); }
.course-img, .course-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.course-img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.course:hover .course-img img { transform: scale(1.07); }
.course-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,0) 25%, rgba(7,17,31,.6) 55%, rgba(7,17,31,.95) 100%); }
.course-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 22px; z-index: 1; display: block; }
.course-name { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.course-lede { display: block; color: rgba(255,255,255,.78); font-size: 15px; margin-top: 8px; line-height: 1.5; }
.course-price {
  display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--navy-900);
  background: var(--grad-gold); padding: 7px 12px; border-radius: 8px;
}
@media (min-width: 640px) { .service-courses { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) {
  .service-courses { grid-template-columns: repeat(4, 1fr); }
  .course { min-height: 420px; }
  .service-courses .course:nth-child(1), .service-courses .course:nth-child(4), .service-courses .course:nth-child(5), .service-courses .course:nth-child(8) { grid-column: span 2; }
}
.more-services .service-courses .course { grid-column: auto; }

/* 8. STEPS ----------------------------------------------------------- */
.steps { background: var(--grain), var(--grad-deep); color: #fff; overflow: hidden; }
.steps .section-intro { color: rgba(255,255,255,.72); }
.step-list { display: grid; gap: 14px; position: relative; }
.step {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border-radius: var(--radius); padding: 26px 24px; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  font-size: 19px; font-weight: 800; color: var(--navy-900); background: var(--grad-gold);
  box-shadow: 0 10px 24px -8px rgba(242,184,75,.6);
}
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.74); margin: 0; font-size: 16px; }
/* progress that fills across the steps as you scroll to them */
.step-fill { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-bottom: 28px; overflow: hidden; }
.step-fill span { display: block; height: 100%; width: 0; background: var(--grad-gold); transition: width 2.4s var(--ease); }
.step-fill.is-in span { width: 100%; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(2, 1fr); } .step:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .step-list { grid-template-columns: repeat(var(--n, 5), 1fr); } .step:last-child:nth-child(odd) { grid-column: auto; } }

/* 9. BEFORE / AFTER -------------------------------------------------- */
.before-after { background: #fff; }
.ba-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; }
.ba-tabs::-webkit-scrollbar { display: none; }
.ba-tabs button { flex: 0 0 auto; text-align: left; border: 0; background: var(--ice); color: var(--ink); padding: 12px 18px; font-weight: 700; font-size: 15px; border-radius: 12px; transition: background .3s, color .3s; }
.ba-tabs button span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.ba-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--royal), var(--navy-700)); color: #fff; }
.ba-tabs button[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-2); user-select: none; touch-action: pan-y; border-radius: 18px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .ba { aspect-ratio: 16 / 9; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.35); }
.ba-handle::after {
  content: '\2194'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy-900); font-size: 22px; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ba-label { position: absolute; top: 16px; padding: 7px 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 8px; background: rgba(7,17,31,.75); color: #fff; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; background: var(--grad-gold); color: var(--navy-900); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* 10. REVIEWS + AREAS ----------------------------------------------- */
.reviews { background: var(--grad-ice); }
.rating { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.rating strong { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(120deg, var(--royal), #3a7bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 40px -20px rgba(16,40,74,.35); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.review figcaption strong { display: block; }
.review figcaption span { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .review-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
}

.areas-home { background: var(--grain), var(--grad-deep); color: #fff; overflow: hidden; }
.areas-home .section-intro { color: rgba(255,255,255,.72); margin-top: 18px; }
.areas-grid { display: grid; gap: 40px; }
.town-list { display: grid; gap: 10px; }
.town-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none;
  border-radius: 14px; background: linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.town-list .town { font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.town-list .postcodes { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.town-list a:hover { background: linear-gradient(120deg, rgba(242,184,75,.22), rgba(255,255,255,.04)); transform: translateX(6px); }
@media (min-width: 760px) { .town-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .areas-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }

/* 11. FAQ ------------------------------------------------------------ */
.faq { background: #fff; }
.faq-grid { display: grid; gap: 40px; }
.faq-list details { background: var(--ice); border-radius: 14px; margin-bottom: 10px; transition: background .3s, box-shadow .3s; }
.faq-list details[open] { background: #fff; box-shadow: 0 16px 40px -20px rgba(16,40,74,.4); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 700; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px;
  background: var(--grad-gold); color: var(--navy-900); font-size: 22px; font-weight: 700; transition: transform .4s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 24px; margin: 0; color: var(--muted); }
@media (min-width: 1020px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 80px; } }

/* 12. CTA BAND + FOOTER --------------------------------------------- */
.cta-band { position: relative; color: #fff; padding: 110px 0; overflow: hidden; isolation: isolate; background: var(--navy-900); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain), linear-gradient(100deg, rgba(7,17,31,.95) 0%, rgba(16,40,74,.82) 50%, rgba(28,75,143,.35) 100%); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 34em; font-size: 18px; margin-top: 20px; }
@media (min-width: 1020px) { .cta-band { padding: 150px 0; } }

.site-footer { position: relative; overflow: hidden; background: var(--grain), var(--grad-deep); color: rgba(255,255,255,.72); padding: 72px 0 120px; font-size: 15px; }
.footer-mark {
  position: absolute; right: -0.05em; bottom: -0.25em; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em;
  font-size: clamp(100px, 24vw, 340px); line-height: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-top { display: grid; gap: 40px; }
.footer-brand { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.footer-brand span { display: block; font-size: 11px; letter-spacing: .26em; color: var(--gold); margin-top: 7px; }
.footer-phone a { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer li { margin-bottom: 7px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer-note { margin-top: 12px; font-size: 14px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.footer-badges img { height: 52px; width: auto; background: #fff; padding: 6px; border-radius: 8px; }
.footer-legal { margin-top: 56px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.5); }
.footer-legal a { margin-right: 16px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .site-footer { padding-bottom: 56px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-legal { flex-direction: row; justify-content: space-between; }
}

/* Sticky bottom bar (phones only, after the hero) */
.sticky-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 8px; border-radius: 18px;
  background: rgba(11,26,46,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-bar.is-shown { transform: none; }
.sticky-bar a { display: grid; place-items: center; min-height: 54px; text-decoration: none; color: #fff; font-weight: 800; font-size: 17px; border-radius: 12px; background: rgba(255,255,255,.1); }
.sticky-bar a + a { background: var(--grad-gold); color: var(--navy-900); }
@media (min-width: 1020px) { .sticky-bar { display: none; } }

/* 13. INNER PAGES ---------------------------------------------------- */
.two-col { display: grid; gap: 48px; }
@media (min-width: 1020px) { .two-col { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; } }
.prose p, .prose-wide p { font-size: 18px; line-height: 1.75; }
.prose-wide { max-width: 800px; }
.h-list { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.h-prose { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -0.025em; margin: 56px 0 18px; }

.price-panel { position: relative; overflow: hidden; background: var(--grain), var(--grad-deep); color: #fff; padding: 34px 30px; border-radius: 20px; box-shadow: var(--shadow); }
@media (min-width: 1020px) { .price-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.price-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.price-range { font-size: clamp(34px, 7vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.price-range em { font-size: .7em; padding: 0 4px; }
.price-panel p { color: rgba(255,255,255,.8); font-size: 16px; }
.price-panel .btn { margin-top: 14px; width: 100%; }

.tick-list li, .sign-list li { position: relative; padding: 11px 0 11px 40px; font-size: 17px; }
.tick-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; background: var(--grad-gold); color: var(--navy-900);
}
.sign-list li::before { content: ''; position: absolute; left: 6px; top: 20px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--sky), var(--royal)); }
.service-lists { background: var(--grad-ice); }

.photo-row { display: grid; gap: 16px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ice-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-row figcaption { font-size: 14px; color: var(--muted); padding-top: 12px; }
@media (min-width: 760px) {
  .photo-row { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
  .photo-row figure:first-child img { aspect-ratio: 4 / 5; }
}

.emergency-call { background: var(--grad-gold); color: var(--navy-900); }
.emergency-call .eyebrow { color: var(--navy-700); }
.emergency-number { display: block; font-size: clamp(44px, 12vw, 96px); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; line-height: 1; margin-bottom: 20px; }
.emergency-call p { max-width: 40em; font-size: 18px; }

.neighbourhoods { display: flex; flex-wrap: wrap; gap: 8px; }
.neighbourhoods span, .neighbourhoods a { background: var(--ice); padding: 9px 15px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 10px; transition: background .3s, color .3s; }
.neighbourhoods a:hover { background: linear-gradient(135deg, var(--royal), var(--navy-700)); color: #fff; }
.area-aside .h-list:not(:first-child) { margin-top: 40px; }
.other-areas { padding-top: 0; }

.area-cards { display: grid; gap: 18px; }
.area-card { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.area-card:hover { transform: translateY(-6px); }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area-card:hover img { transform: scale(1.06); }
.area-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,0) 30%, rgba(7,17,31,.92) 100%); }
.area-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: rgba(255,255,255,.8); font-size: 15px; display: block; }
.area-card .town { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
@media (min-width: 760px) { .area-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .area-cards { grid-template-columns: repeat(3, 1fr); } }

/* Gallery */
.filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 28px; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; border: 0; background: var(--ice); padding: 12px 18px; font-weight: 700; font-size: 15px; border-radius: 12px; transition: background .3s, color .3s; }
.filters button[aria-pressed="true"] { background: linear-gradient(135deg, var(--royal), var(--navy-700)); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-item { border: 0; padding: 0; background: var(--ice-2); text-align: left; position: relative; overflow: hidden; border-radius: 12px; }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(7,17,31,.9)); opacity: 0; transition: opacity .4s var(--ease); }
.g-item:hover span, .g-item:focus-visible span { opacity: 1; }
.g-item[hidden] { display: none; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } .g-item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(5,13,24,.94); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 12px; }
.lightbox-cap { margin: 12px 0; font-size: 15px; }
.lightbox-controls { display: flex; gap: 8px; }
.lightbox-controls button { flex: 1; border: 0; background: #fff; color: var(--navy-800); padding: 14px; font-weight: 800; font-size: 18px; border-radius: 12px; }

/* Guarantee */
.guarantee-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guarantee-terms div { background: var(--grain), var(--grad-deep); color: #fff; padding: 24px 18px; border-radius: var(--radius); }
.guarantee-terms strong { display: block; font-size: clamp(26px, 6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guarantee-terms span { font-size: 14px; color: rgba(255,255,255,.75); }

/* About */
.owner-photo { margin: 0; }
.owner-photo img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; background: var(--ice-2); border-radius: 20px; box-shadow: var(--shadow); }
.owner-photo figcaption { padding-top: 14px; color: var(--muted); }
.owner-photo figcaption strong { color: var(--ink); margin-right: 6px; }
@media (min-width: 1020px) { .about-owner { grid-template-columns: 5fr 7fr; } }

/* Contact */
.page-contact main, .page-plain main { padding-top: var(--header-h); }
.contact-top { background: var(--grad-ice); }
.contact-grid { display: grid; gap: 48px; }
.contact-phone { display: block; font-size: clamp(40px, 10vw, 66px); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; margin-top: 28px; line-height: 1; background: linear-gradient(120deg, var(--royal), #3a7bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 32px 0 40px; }
.contact-details dt { font-weight: 700; }
.contact-details dd { margin: 0; color: var(--muted); }
.hours-dark { max-width: 360px; margin-bottom: 8px; }
.hours-dark li { margin-bottom: 6px; }
.contact-form { background: #fff; padding: 30px 22px; border-radius: 20px; box-shadow: var(--shadow); }
.contact-form label, .quiz-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea, .quiz-form input {
  display: block; width: 100%; margin-top: 7px; padding: 16px; font: 500 17px var(--font);
  background: var(--ice); border: 0; border-radius: 12px; color: var(--ink);
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s var(--ease), background .25s;
}
.contact-form input:focus, .contact-form textarea:focus, .quiz-form input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--royal), 0 0 0 5px rgba(28,75,143,.12); }
.contact-form .is-invalid, .quiz-form .is-invalid { box-shadow: inset 0 0 0 2px #c0392b; }
.contact-form .btn { width: 100%; }
.form-status { margin-top: 14px; font-weight: 700; }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; filter: saturate(.7) hue-rotate(-10deg); }
@media (min-width: 1020px) { .contact-grid { grid-template-columns: 6fr 5fr; gap: 80px; } .contact-form { padding: 42px; } }

/* 14. INSTANT ESTIMATE ----------------------------------------------- */
.page-estimate { background: var(--grad-ice); background-attachment: fixed; }
.quiz-page { padding: calc(var(--header-h) + 24px) var(--gutter) 48px; max-width: 960px; margin: 0 auto; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.quiz-back { border: 0; background: #fff; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 10px; color: var(--navy-800); box-shadow: 0 6px 18px -10px rgba(16,40,74,.4); }
.quiz-count { margin: 0 0 0 auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.quiz-progress { height: 8px; border-radius: 8px; background: var(--ice-2); margin: 12px 0 34px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--grad-gold); transition: width .7s var(--ease); }
.quiz-q { font-size: clamp(30px, 7vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 10px; }
.quiz-help { color: var(--muted); margin-bottom: 26px; font-size: 17px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-option {
  position: relative; overflow: hidden; border: 0; padding: 0; text-align: left; color: #fff;
  border-radius: 16px; aspect-ratio: 4 / 4.4; background: var(--navy-800);
  box-shadow: 0 12px 30px -16px rgba(16,40,74,.55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quiz-option img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.quiz-option::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,0) 35%, rgba(7,17,31,.9) 100%); transition: background .4s; }
.quiz-option span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 16px; font-weight: 800; font-size: 17px; line-height: 1.25; }
.quiz-option:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -18px rgba(16,40,74,.6); }
.quiz-option:hover img { transform: scale(1.06); }
.quiz-option[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--gold), 0 24px 44px -18px rgba(242,184,75,.7); }
.quiz-option[aria-pressed="true"]::after { background: linear-gradient(180deg, rgba(242,184,75,.15) 0%, rgba(7,17,31,.85) 100%); }
@media (min-width: 760px) { .quiz-options { grid-template-columns: repeat(3, 1fr); gap: 16px; } .quiz-options.cols-4 { grid-template-columns: repeat(4, 1fr); } .quiz-option { aspect-ratio: 4 / 3.6; } }

.quiz-upload { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 48px 20px; background: #fff; border-radius: 18px; cursor: pointer; font-weight: 800; font-size: 19px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.quiz-upload:hover { transform: translateY(-3px); }
.quiz-upload small { font-weight: 500; color: var(--muted); font-size: 15px; }
.quiz-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quiz-upload:focus-within { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.quiz-preview { margin-top: 16px; display: flex; gap: 16px; align-items: center; font-weight: 700; }
.quiz-preview img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.quiz-skip { border: 0; background: none; text-decoration: underline; font-weight: 700; padding: 12px 4px; color: var(--navy-800); }
.quiz-form { background: #fff; padding: 26px 20px; border-radius: 20px; box-shadow: var(--shadow); }
.quiz-form .quiz-form-grid { display: grid; gap: 0 16px; }
@media (min-width: 760px) { .quiz-form .quiz-form-grid { grid-template-columns: 1fr 1fr; } .quiz-form { padding: 36px; } }
.quiz-error { color: #b0281a; font-weight: 700; font-size: 15px; min-height: 1.4em; }

.quiz-emergency { background: var(--grad-gold); color: var(--navy-900); padding: 28px 24px; margin-bottom: 26px; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(242,184,75,.8); }
.quiz-emergency p { margin: 0 0 8px; }
.quiz-emergency .emergency-number { font-size: clamp(40px, 11vw, 72px); margin: 8px 0 16px; }
.quiz-emergency .btn-light { width: 100%; justify-content: center; }

.quiz-result-price { font-size: clamp(42px, 11vw, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 10px; background: linear-gradient(120deg, var(--navy-800), var(--royal) 60%, #3a7bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quiz-result-price em { font-style: normal; font-size: .55em; padding: 0 6px; }
.quiz-result-lede { font-size: 20px; max-width: 34em; }
.quiz-result-note { background: #fff; padding: 20px 22px; margin: 24px 0 0; color: var(--muted); font-size: 16px; border-radius: 14px; }
.quiz-result-note strong { color: var(--ink); }
.quiz-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 28px 0 0; font-size: 15px; background: #fff; padding: 20px 22px; border-radius: 14px; }
.quiz-summary dt { color: var(--muted); }
.quiz-summary dd { margin: 0; font-weight: 700; }
.quiz-trust { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

/* 15. MOTION --------------------------------------------------------- */
/* Calm and slow. Content is visible without JS and with reduced motion. */
.hero-home .hero-bg { animation: slow-drift 26s ease-out both; transform-origin: 60% 40%; }
@keyframes slow-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-mark { animation: mark-in 2.4s var(--ease) both .3s; }
@keyframes mark-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise 1.1s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: .12s; }
.hero-inner > *:nth-child(3) { animation-delay: .24s; }
.hero-inner > *:nth-child(4) { animation-delay: .36s; }
.hero-inner > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.quiz-stage > * { animation: rise .55s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .step-fill span { width: 100%; }
}
