:root {
  --ink: #15171a;
  --body: #3d4248;
  --muted: #6b7178;
  --line: #e6e3de;
  --bg: #ffffff;
  --stone: #f6f4f0;
  --charcoal: #1a1d21;
  --accent: #5a1878;      /* P1 purple: buttons and small details only */
  --accent-dark: #42105a;
  --radius: 6px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }
.lead-in { max-width: 640px; margin-bottom: 56px; }
.lead-in p { font-size: 1.12rem; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 16px 28px; border-radius: var(--radius);
  background: var(--accent); color: #fff; transition: background .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #eeece8; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--charcoal); color: #c5c9ce; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .right { display: flex; gap: 26px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand b { display: block; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.2; }
.brand small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.site-head nav { display: flex; align-items: center; gap: 34px; }
.site-head nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-head nav a:hover { color: var(--accent); }
.site-head nav .btn { color: #fff; padding: 12px 22px; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 0;
  background: var(--charcoal) url("img/hero-rear-extension.jpg") 70% center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,14,17,.86) 0%, rgba(12,14,17,.62) 42%, rgba(12,14,17,.12) 75%, rgba(12,14,17,0) 100%);
}
.hero-inner { position: relative; min-height: min(calc(100vh - 220px), 680px); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 110px; }
.hero .eyebrow { color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.6vw, 4.8rem); max-width: 720px; margin-bottom: 24px; }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 36px; line-height: 1.6; }

/* Quote banner: straddles the bottom edge of the photo */
.quote-wrap { position: relative; z-index: 2; margin-bottom: -60px; }
.quote-bar {
  background: #fff; color: var(--body); border-radius: 10px; padding: 26px 30px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 36px;
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.45);
}
.quote-bar h2 { font-size: 1.3rem; margin: 0 0 2px; }
.quote-bar p { color: var(--muted); font-size: .93rem; margin: 0; }
.quote-bar ul { list-style: none; padding: 0 0 0 36px; margin: 0; border-left: 1px solid var(--line); font-size: .9rem; color: var(--ink); line-height: 1.85; }
.quote-bar li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.qb-btns { display: flex; gap: 10px; }
.qb-btns .btn { padding: 14px 22px; white-space: nowrap; }
#about { padding-top: 172px; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.intro p { font-size: 1.08rem; }
.points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.points b { display: block; color: var(--ink); font-size: 1rem; }
.points span { font-size: .93rem; color: var(--muted); }

/* Services */
.services { background: var(--stone); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: #fff; border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature div { padding: 28px 28px 32px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.more-services { margin-top: 56px; display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 48px; border-top: 1px solid #dcd8d1; }
.more-services h3 { font-size: 1.3rem; }
.more-services ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; }
.more-services li { color: var(--ink); font-weight: 600; padding-left: 22px; position: relative; }
.more-services li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.more-services .note { grid-column: 2; margin: 8px 0 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.how { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.how .lead-in { margin-bottom: 36px; }
.steps { counter-reset: step; display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; border-top: 1px solid var(--line); padding: 22px 0; }
.steps li::before { content: "0" counter(step); grid-row: span 2; font-size: 1.9rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.sketch { margin: 0; position: sticky; top: 112px; }
.sketch img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.sketch figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }

/* Testimonial */
.testimonial { background: var(--charcoal); color: #fff; }
.testimonial .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.testimonial h2 { color: #fff; }
.testimonial .eyebrow { color: #cfc6d6; }
.testimonial dl { margin: 28px 0 0; }
.testimonial dt { color: #fff; font-weight: 700; margin-top: 18px; }
.testimonial dd { margin: 4px 0 0; color: #b4b9bf; font-size: .97rem; }
.testimonial blockquote { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; font-weight: 500; letter-spacing: -.015em; color: #fff; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .7; color: #fff; opacity: .25; font-weight: 800; margin-bottom: 18px; }
.testimonial blockquote footer { margin-top: 28px; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.testimonial blockquote footer span { display: block; font-weight: 400; color: #b4b9bf; font-size: .92rem; }

/* Gallery (switch on in index.html once photos are in img/work/) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Areas */
.areas-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.towns { font-size: .9rem; color: var(--muted); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.map-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
#map { width: 100%; aspect-ratio: 1 / 1; max-height: 560px; background: var(--stone); cursor: default; }
.map-tiles { filter: grayscale(1) contrast(.92) brightness(1.04); }
.map-label { background: var(--ink); color: #fff; border: 0; border-radius: 4px; font: 700 .8rem var(--font); padding: 5px 9px; box-shadow: none; }
.map-label::before { display: none; }
.leaflet-container { font-family: var(--font); }

/* Contact */
.contact { background: #fff; padding: 0 0 112px; }
.contact-box { background: var(--charcoal); color: #fff; border-radius: 12px; padding: 72px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.contact-box h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.contact-box p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 30px; }
.contact-box .eyebrow { color: #cfc6d6; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 10px;
  background: #fff; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
a.contact-item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.contact-item .icon { width: 50px; height: 50px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.contact-item strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.contact-item address { font-style: normal; font-size: 1.02rem; font-weight: 700; }

/* Footer */
.site-foot { background: var(--charcoal); color: #9aa0a6; font-size: .92rem; padding: 72px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.site-foot .brand { color: #fff; margin-bottom: 16px; }
.site-foot .brand small { color: #9aa0a6; }
.site-foot h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 6px 0 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.site-foot a { color: #d7dade; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* Phone: call/email bar fixed at the bottom */
.mobile-bar { display: none; }

/* Plain pages (privacy) */
.page { max-width: 760px; padding: 72px 24px; margin: 0 auto; }
.page h1 { font-size: 2.4rem; }
.page h2 { font-size: 1.3rem; margin-top: 1.8em; }

@media (max-width: 1020px) {
  .quote-bar { grid-template-columns: 1fr auto; }
  .quote-bar ul { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; gap: 40px; }
  .sketch { position: static; }
  .more-services { grid-template-columns: 1fr; gap: 20px; }
  .more-services .note { grid-column: 1; }
  .contact-box { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
}
@media (max-width: 860px) {
  .topbar .left, .site-head nav a:not(.btn) { display: none; }
  .topbar .wrap { justify-content: center; }
  .intro, .testimonial .wrap, .areas-wrap { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 76px 0; }
  .contact { padding-bottom: 76px; }
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(0deg, rgba(12,14,17,.9) 0%, rgba(12,14,17,.6) 55%, rgba(12,14,17,.35) 100%); }
  .hero-inner { min-height: 0; padding-top: 120px; padding-bottom: 56px; }
  .quote-wrap { display: none; }
  #about { padding-top: 76px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 13px 10px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .feature-grid, .points, .foot-grid { grid-template-columns: 1fr; }
  .more-services ul { grid-template-columns: 1fr 1fr; }
  .contact-box { padding: 32px 22px; border-radius: 10px; }
  .contact { padding: 0 0 56px; }
  .topbar .right a + a { display: none; }
  .brand small { display: none; }
  .site-head .wrap { height: 68px; }
  .site-head nav .btn { padding: 10px 16px; font-size: .9rem; }
}
