/* ==========================================================================
   Abbotts Build Hub — Design System
   Bespoke, dependency-free CSS. Tokens → base → layout → components.
   ========================================================================== */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --ink:          #15191e;   /* near-black charcoal (dark sections, headings) */
  --ink-soft:     #232b33;
  --slate:        #3c4855;   /* secondary structural */
  --brand:        #bd7f39;   /* brass / amber accent */
  --brand-dark:   #9c6729;
  --brand-light:  #d8a259;
  --brand-tint:   #f5ead8;   /* accent wash */

  /* Neutrals (warm) */
  --cream:        #faf7f2;   /* page background */
  --sand:         #f1ebe1;   /* alternating section background */
  --line:         #e7ddcd;   /* borders / hairlines */
  --white:        #ffffff;

  /* Text */
  --text:         #262b31;
  --text-muted:   #6a7078;
  --text-invert:  #eef1f4;
  --text-invert-muted: #aab3bd;

  /* Feedback */
  --success:      #2f7d5b;
  --error:        #b3402f;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", var(--font-body);

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.7vw, 1.95rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.3rem, 1.85rem + 2.2vw, 3.5rem);
  --step-5:  clamp(2.7rem, 2rem + 3.4vw, 4.4rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  /* UI */
  --radius: 5px;
  --radius-sm: 5px;
  --radius-lg: 5px;
  --shadow-sm: 0 1px 2px rgba(20,24,29,.06), 0 1px 3px rgba(20,24,29,.05);
  --shadow:    0 8px 24px -10px rgba(20,24,29,.18);
  --shadow-lg: 0 30px 60px -22px rgba(20,24,29,.28);
  --container: 1180px;
  --nav-h: 84px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset / base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--brand); color: #fff; }

/* Icons (inline SVG sprite via <svg class="icon"><use href="#i-…"></svg>) */
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ── Eyebrow / section headers ──────────────────────────────────────────── */
.eyebrow { display: none; }  /* eyebrows removed site-wide per brand preference */
.section--ink .eyebrow { color: var(--brand-light); }
.section-head { max-width: none; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--step-1); }
.section--ink .section-head p { color: var(--text-invert-muted); }
.lead { font-size: var(--step-1); color: var(--text-muted); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ── Header / nav ───────────────────────────────────────────────────────── */
.topbar { background: var(--ink); color: var(--text-invert-muted); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 38px; padding-block: .35rem; }
.topbar__rating { display: inline-flex; align-items: center; gap: .5rem; color: #fff; transition: color .2s var(--ease); }
.topbar__rating:hover { color: var(--brand-light); }
.topbar__rating .stars { display: inline-flex; gap: 1px; color: var(--brand-light); }
.topbar__rating .stars svg { width: .95rem; height: .95rem; }
.topbar__rating strong { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,242,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--sp-5); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand__mark { width: 38px; height: 38px; border-radius: 5px; background: var(--ink); color: var(--brand-light); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.brand__mark svg { width: 22px; height: 22px; }
.logo-mark { width: 46px; height: 46px; flex: none; }   /* hexagon = currentColor, A = amber */
.logo-mark--sm { width: 40px; height: 40px; }
/* Full brand lockup (single SVG — scales as one unit, never reflows on zoom) */
.brand-lockup { height: 56px; width: auto; max-width: 100%; display: block; }
.brand small { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; }
.nav__links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--text); padding: .4rem 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brand); transition: width .25s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: var(--sp-4); }
.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav__links { flex-wrap: nowrap; }
.nav__phone svg { width: 1.05rem; height: 1.05rem; color: var(--brand-dark); }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 5px; background: #fff; align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: var(--nav-h) 0 0; background: var(--cream); z-index: 55; transform: translateX(100%); transition: transform .3s var(--ease); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav .btn { margin-top: var(--sp-5); }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav > nav { display: none; }   /* drop the empty primary-nav wrapper so it adds no phantom gap */
  .nav__toggle { display: inline-flex; }
  /* Quote CTA lives in the mobile menu — hide the header button so the logo can breathe */
  .nav__cta .btn--primary { display: none; }
  .brand-lockup { height: 64px; }
}
@media (max-width: 480px) { .brand-lockup { height: 48px; } }
@media (max-width: 380px) { .brand-lockup { height: 42px; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
/* Homepage hero photo: show the lit extension on the right, keep the headline readable on the left */
.hero .hero__media img { opacity: .95; object-position: 62% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,19,23,.95) 0%, rgba(16,19,23,.74) 44%, rgba(16,19,23,.34) 100%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(16,19,23,.66) 0%, rgba(16,19,23,.9) 100%); } }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 3rem + 8vw, 8rem); max-width: 760px; }
.hero h1 { color: #fff; font-size: var(--step-5); }
.hero p { margin-top: var(--sp-5); font-size: var(--step-1); color: var(--text-invert-muted); }
.hero__actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero__trust { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.hero__trust-item { display: flex; align-items: center; gap: .6rem; color: var(--text-invert); font-size: .95rem; }
.hero__trust-item svg { width: 1.3rem; height: 1.3rem; color: var(--brand-light); flex: none; }

/* page hero (interior pages) */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); position: relative; }
.page-hero h1 { color: #fff; margin-top: var(--sp-3); }
.page-hero p { color: var(--text-invert-muted); margin-top: var(--sp-3); font-size: var(--step-1); }

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--text-invert-muted); list-style: none; padding: 0; margin: 0; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li::after { content: "/"; margin-left: .4rem; opacity: .5; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li[aria-current] { color: var(--brand-light); }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__body h3 a:hover { color: var(--brand-dark); }
.card__meta { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.card__link { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--brand-dark); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
/* Photo-less blog card — brand accent stands in for the missing image */
.card--text { border-top: 3px solid var(--brand); }
.card--text .card__body { padding: var(--sp-6) var(--sp-5); gap: var(--sp-4); }
.card--text h3 { font-size: var(--step-1); }

/* Service card variant */
.service-card { padding: var(--sp-6); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s var(--ease); display: flex; flex-direction: column; gap: var(--sp-3); }
.service-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card__icon { width: 54px; height: 54px; border-radius: 5px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: var(--sp-2); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card p { color: var(--text-muted); font-size: .96rem; }
.service-card .card__link { margin-top: var(--sp-2); }

/* ── Feature / split ────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split__media picture { display: block; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ── Checklist ──────────────────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: .7rem; align-items: center; }
.checklist svg { width: 1.4rem; height: 1.4rem; color: var(--brand-dark); flex: none; }
.section--ink .checklist svg { color: var(--brand-light); }

/* ── Stats band ─────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-6); text-align: center; }
.stat__num { font-family: var(--font-head); font-size: var(--step-4); font-weight: 800; color: var(--brand-light); line-height: 1; }
.stat__label { margin-top: var(--sp-2); color: var(--text-invert-muted); font-size: .95rem; }

/* ── Process steps ──────────────────────────────────────────────────────── */
.process { counter-reset: step; display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 620px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, 1fr); } }
.process__step { position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process__step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--brand); display: block; margin-bottom: var(--sp-3); }
.process__step h3 { font-size: 1.1rem; }
.process__step p { color: var(--text-muted); font-size: .93rem; margin-top: var(--sp-2); }

/* ── FAQ accordion ──────────────────────────────────────────────────────── */
.faq { display: grid; gap: var(--sp-3); max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-5); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); background: none; border: 0; }
.faq__q svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--brand-dark); transition: transform .25s var(--ease); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.section--ink .testimonial { background: var(--ink-soft); border-color: rgba(255,255,255,.08); }
.stars { display: flex; gap: 2px; color: var(--brand); }
.stars svg { width: 1.15rem; height: 1.15rem; }
.testimonial blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--text); }
.section--ink .testimonial blockquote { color: var(--text-invert); }
.testimonial__author { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.section--ink .testimonial__author { color: #fff; }
.testimonial__author span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--text-muted); }

/* ── Carousel (testimonials) ────────────────────────────────────────────── */
.carousel { position: relative; }
.carousel__track { display: flex; gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px var(--sp-4); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 clamp(270px, 32%, 380px); }
.carousel__nav { display: flex; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-4); }
.carousel__btn { width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .2s var(--ease); }
.carousel__btn:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel__btn[disabled] { opacity: .3; }
.carousel__btn svg { width: 1.25rem; height: 1.25rem; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 2rem + 3vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: var(--sp-2); }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: grid; gap: .4rem; }
.form__field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-input, .form-select, textarea.form-input {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236a7078' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.form .errorlist { list-style: none; color: var(--error); font-size: .85rem; padding: 0; }
.form__note { font-size: .82rem; color: var(--text-muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }

/* Messages */
.messages { list-style: none; display: grid; gap: var(--sp-3); padding: 0; }
.message { padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm); border-left: 4px solid; background: #fff; box-shadow: var(--shadow-sm); }
.message.success { border-color: var(--success); }
.message.error { border-color: var(--error); }

/* ── Gallery / lightbox ─────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-3); }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.beforeafter figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.beforeafter figcaption { position: absolute; top: var(--sp-3); left: var(--sp-3); background: rgba(21,25,30,.85); color: #fff; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 5px; }
@media (max-width: 560px) { .beforeafter { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; background: rgba(15,18,22,.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: var(--sp-5); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 1.5rem; }

/* ── Rich text (article body) ───────────────────────────────────────────── */
.prose { max-width: 72ch; font-size: 1.08rem; line-height: 1.75; color: #333a41; }
.prose--wide { max-width: none; }

/* Service detail body: opening paragraphs sit beside the "What's included" box
   (a neat sidebar column), then the rest of the copy runs full width below. */
.service-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 820px) {
  .service-top { grid-template-columns: 1fr; }
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: .4em; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose blockquote { border-left: 4px solid var(--brand); padding-left: var(--sp-5); font-style: italic; color: var(--text-muted); }

/* ── Badges / chips ─────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: .82rem; font-weight: 600; padding: .4rem .85rem; border-radius: 5px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: all .2s var(--ease); }
.chip:hover, .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--text-invert-muted); padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--sp-6) var(--sp-7); }
/* Tablet: brand block on its own row, the three link columns in a tidy row below */
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: none; }
}
/* Small: two link columns, with contact spanning full width beneath */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); font-size: .95rem; }
.footer-about p { margin-top: var(--sp-4); font-size: .95rem; max-width: 34ch; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: var(--sp-3); font-size: .95rem; }
.footer-contact a, .footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; color: var(--brand-light); flex: none; margin-top: .15rem; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a { width: 42px; height: 42px; border-radius: 5px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: all .2s var(--ease); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-social svg { width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer-cert { display: inline-block; margin-top: var(--sp-6); opacity: .92; transition: opacity .2s var(--ease); }
.footer-cert:hover { opacity: 1; }
.footer-cert img { height: 52px; width: auto; display: block; }
.footer-areas { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: var(--text-invert-muted); display: flex; flex-wrap: wrap; gap: .3rem .55rem; align-items: baseline; line-height: 1.7; }
.footer-areas__label { font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer-areas a { color: var(--text-invert-muted); }
.footer-areas a:hover { color: var(--brand-light); }
.footer-bottom { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: .85rem; }
.footer-credit a { color: var(--brand-light); }
.footer-credit a:hover { text-decoration: underline; }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.flex-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.flex-actions.center { justify-content: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); border-radius: 5px; }
.divider { height: 1px; background: var(--line); border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
