/* =============================================================
   FRANK & SONS CHIMNEY CARE
   Design System — Warm Upscale Pittsburgh Craftsmanship
   ============================================================= */

:root {
  /* Core palette */
  --charcoal: #1e2126;
  --charcoal-2: #262a30;
  --graphite: #33383f;
  --slate: #5b6169;
  --ash: #8b9199;
  --fog: #d9dce0;
  --cream: #f5f0e8;
  --cream-2: #ece5d8;
  --paper: #faf7f1;
  --white: #ffffff;

  /* Brand accents */
  --brick: #a83c32;         /* muted brick red */
  --brick-dark: #8a2f27;
  --brick-deep: #6f251f;
  --copper: #b0784a;        /* copper */
  --copper-light: #c69368;
  --ember: #d98a3d;         /* warm firelight */

  /* Functional */
  --ink: #1e2126;
  --body: #3a3f46;
  --muted: #6a7079;
  --line: #e4ddd0;
  --line-2: #d8cfbe;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 80px; --s-10: 112px;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(30,33,38,.08), 0 1px 2px rgba(30,33,38,.06);
  --shadow: 0 6px 24px rgba(30,33,38,.10);
  --shadow-lg: 0 18px 48px rgba(30,33,38,.16);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brick); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brick-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.18rem; }
p { margin-bottom: var(--s-4); }
.lead { font-size: 1.2rem; color: var(--slate); line-height: 1.7; }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
  margin-bottom: var(--s-3); display: inline-block;
}
.eyebrow.on-dark { color: var(--copper-light); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: var(--s-9) 0; }
.section-sm { padding: var(--s-7) 0; }
.bg-charcoal { background: var(--charcoal); color: var(--fog); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-paper2 { background: var(--cream-2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--radius); cursor: pointer;
  transition: all .18s ease; text-align: center; line-height: 1.2;
  min-height: 48px;
}
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--brick); color: var(--brick); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-light); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5);
  height: var(--header-h); display: flex; align-items: center; gap: var(--s-5);
}
.brand { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.brand-text .tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 600; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.main-nav > ul { display: flex; align-items: center; gap: var(--s-1); }
.main-nav a, .nav-toggle-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--radius);
  color: var(--ink); font-weight: 500; font-size: .96rem;
}
.main-nav a:hover, .nav-toggle-link:hover { color: var(--brick); background: rgba(168,60,50,.06); }
.has-dropdown { position: relative; }
.has-dropdown > .nav-toggle-link { cursor: pointer; }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--s-3); min-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 200;
}
.dropdown.wide { min-width: 560px; columns: 2; column-gap: var(--s-4); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--radius); font-size: .92rem; color: var(--body); break-inside: avoid; }
.dropdown a:hover { background: var(--cream); color: var(--brick); }
.dropdown .dd-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); font-weight: 700; padding: 8px 12px 4px; }
.dropdown .dd-all { color: var(--brick); font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }

.header-cta { display: flex; align-items: center; gap: var(--s-3); margin-left: var(--s-3); flex-shrink: 0; }
.mobile-cta { display: none; }
.header-phone { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.header-phone .lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.header-phone .num { font-weight: 700; font-size: 1.05rem; color: var(--ink); font-family: var(--sans); }
.header-phone:hover .num { color: var(--brick); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-burger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--charcoal); }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(20,22,26,.86) 0%, rgba(20,22,26,.62) 45%, rgba(20,22,26,.35) 100%); }
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: var(--s-9) var(--s-5); width: 100%; }
.hero-content { max-width: 660px; color: var(--cream); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.hero-badge { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 100px; backdrop-filter: blur(4px); }
.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero-sub { font-size: 1.25rem; color: var(--fog); margin-bottom: var(--s-3); line-height: 1.5; }
.hero-services-line { font-size: 1rem; color: var(--copper-light); font-weight: 600; letter-spacing: .04em; margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--charcoal-2); border-top: 1px solid rgba(255,255,255,.06); }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); padding-bottom: var(--s-5); }
.trust-item { display: flex; align-items: center; gap: var(--s-3); color: var(--fog); font-size: .95rem; font-weight: 500; }
.trust-item .ico { color: var(--copper-light); flex-shrink: 0; }

/* ---------- Section headers ---------- */
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin-bottom: 0; margin-top: var(--s-3); }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--cream-2); }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.svc-card .kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); font-weight: 700; margin-bottom: var(--s-2); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: var(--s-2); }
.svc-card p { font-size: .96rem; color: var(--muted); margin-bottom: var(--s-4); flex: 1; }
.svc-card .more { font-weight: 600; color: var(--brick); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more { gap: 10px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.split-body h2 { margin-bottom: var(--s-4); }
.checklist { margin: var(--s-5) 0; }
.checklist li { display: flex; gap: var(--s-3); margin-bottom: var(--s-3); align-items: flex-start; }
.checklist .tick { color: var(--copper); flex-shrink: 0; margin-top: 3px; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.process-step { position: relative; padding-top: var(--s-6); }
.process-step .num { position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.4rem; color: var(--copper); opacity: .5; font-weight: 600; line-height: 1; }
.process-step h4 { margin-bottom: var(--s-2); }
.process-step p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Feature (dark) ---------- */
.feature-dark { background: var(--charcoal); color: var(--fog); position: relative; overflow: hidden; }
.feature-dark .split-media img { box-shadow: var(--shadow-lg); }

/* ---------- Locations preview ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.loc-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; min-width: 0; width: 100%; display: flex; align-items: flex-end; }
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .5s; }
.loc-card:hover img { transform: scale(1.06); }
.loc-card .scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 30%, rgba(20,22,26,.85) 100%); }
.loc-card .loc-body { position: relative; z-index: 3; padding: var(--s-5); color: #fff; width: 100%; }
.loc-card h3 { color: #fff; margin-bottom: var(--s-1); font-size: 1.35rem; }
.loc-card .loc-phone { color: var(--copper-light); font-weight: 600; font-size: .95rem; }
.loc-card p { color: var(--fog); font-size: .9rem; margin: var(--s-2) 0 0; }

/* ---------- Area directory ---------- */
.area-cols { columns: 4; column-gap: var(--s-6); }
.area-group { break-inside: avoid; margin-bottom: var(--s-6); }
.area-group h4 { font-size: 1.05rem; margin-bottom: var(--s-3); padding-bottom: var(--s-2); border-bottom: 2px solid var(--line-2); color: var(--brick); }
.area-group ul li { margin-bottom: 6px; }
.area-group ul li a { color: var(--body); font-size: .93rem; }
.area-group ul li a:hover { color: var(--brick); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-3);
  background: linear-gradient(transparent, rgba(20,22,26,.8)); color: #fff; font-size: .82rem; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--brick); transition: transform .2s; }
.faq-q .pm::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .pm::after { top: 0; left: 10px; width: 2px; height: 22px; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding-bottom: var(--s-5); color: var(--slate); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Callout ---------- */
.callout { background: var(--cream); border-left: 4px solid var(--copper); border-radius: var(--radius); padding: var(--s-5) var(--s-6); margin: var(--s-6) 0; }
.callout.safety { border-left-color: var(--brick); }
.callout h4 { margin-bottom: var(--s-2); color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.form-section { background: var(--charcoal); color: var(--fog); }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.form-intro h2 { color: var(--cream); margin-bottom: var(--s-4); }
.form-intro .lead { color: var(--fog); }
.form-perks { margin-top: var(--s-5); }
.form-perks li { display: flex; gap: var(--s-3); align-items: center; margin-bottom: var(--s-3); color: var(--fog); }
.form-perks .tick { color: var(--copper-light); }
.form-phone-cta { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,.1); }
.form-phone-cta .num { font-family: var(--serif); font-size: 2rem; color: var(--cream); font-weight: 600; }
.form-phone-cta .num:hover { color: var(--copper-light); }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: var(--s-6); box-shadow: var(--shadow-lg); }
.contact-form h3 { color: var(--ink); margin-bottom: var(--s-2); }
.contact-form .fine { font-size: .88rem; color: var(--muted); margin-bottom: var(--s-5); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(168,60,50,.12); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-msg { padding: var(--s-4); border-radius: var(--radius); margin-bottom: var(--s-4); font-size: .95rem; display: none; }
.form-msg.ok { display: block; background: #e6f4ea; color: #1b5e34; border: 1px solid #b7dfc4; }
.form-msg.err { display: block; background: #fdeaea; color: #8a2f27; border: 1px solid #f3c2c2; }
.field.invalid input, .field.invalid select { border-color: var(--brick); }
.field .err-txt { color: var(--brick); font-size: .8rem; margin-top: 4px; display: none; }
.field.invalid .err-txt { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ash); padding-top: var(--s-9); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-8); }
.footer-brand img { height: 60px; margin-bottom: var(--s-4); }
.footer-brand p { font-size: .92rem; line-height: 1.7; color: var(--ash); max-width: 320px; }
.footer-col h5 { color: var(--cream); font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 700; }
.footer-col ul li { margin-bottom: var(--s-2); }
.footer-col a { color: var(--ash); font-size: .92rem; }
.footer-col a:hover { color: var(--copper-light); }
.footer-phone { font-family: var(--serif); font-size: 1.5rem; color: var(--cream) !important; font-weight: 600; }
.footer-phone:hover { color: var(--copper-light) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: var(--s-5) 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); font-size: .82rem; color: var(--slate); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: var(--s-4) 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: var(--s-2); }
.breadcrumbs li::after { content: "›"; color: var(--line-2); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brick); }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; background: var(--charcoal); color: var(--cream); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: 1; opacity: .38; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(20,22,26,.7), rgba(20,22,26,.85)); }
.page-hero-inner { position: relative; z-index: 3; padding: var(--s-8) 0; }
.page-hero h1 { color: #fff; max-width: 800px; margin-bottom: var(--s-4); }
.page-hero .lead { color: var(--fog); max-width: 680px; }
.page-hero .breadcrumbs { color: var(--ash); }
.page-hero .breadcrumbs a { color: var(--ash); }
.page-hero .breadcrumbs a:hover { color: var(--copper-light); }
.page-hero .breadcrumbs li[aria-current] { color: var(--cream); }
.page-hero .breadcrumbs li::after { color: var(--slate); }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s-8); margin-bottom: var(--s-4); }
.prose h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); }
.prose p { margin-bottom: var(--s-4); color: var(--body); }
.prose ul.bullets { margin: 0 0 var(--s-5) 0; }
.prose ul.bullets li { position: relative; padding-left: var(--s-5); margin-bottom: var(--s-3); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--copper); border-radius: 2px; }
.prose img { border-radius: var(--radius-lg); margin: var(--s-6) 0; box-shadow: var(--shadow-sm); }
.prose figure { margin: var(--s-6) 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: var(--s-2); text-align: center; }

/* ---------- Layout with sidebar ---------- */
.with-aside { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-8); align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card h4 { margin-bottom: var(--s-3); }
.aside-phone { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--brick); font-weight: 600; margin-bottom: var(--s-4); }
.aside-list li { margin-bottom: var(--s-2); }
.aside-list a { color: var(--body); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.aside-list a:hover { color: var(--brick); }

/* ---------- Related services chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chip { background: #fff; border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 18px; font-size: .92rem; font-weight: 500; color: var(--body); transition: all .15s; }
.chip:hover { border-color: var(--brick); color: var(--brick); background: var(--cream); }

/* ---------- Mini service links (location pages) ---------- */
.mini-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.mini-svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; }
.mini-svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-svc .thumb { aspect-ratio: 3/2; overflow: hidden; }
.mini-svc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-svc span { padding: var(--s-3) var(--s-4); font-weight: 600; font-size: .95rem; color: var(--ink); }
.mini-svc:hover span { color: var(--brick); }

/* ---------- Nearby links ---------- */
.nearby { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.nearby a { background: var(--cream); border: 1px solid var(--line-2); padding: 8px 16px; border-radius: var(--radius); font-size: .9rem; color: var(--body); }
.nearby a:hover { border-color: var(--brick); color: var(--brick); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.blog-card .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); font-weight: 700; margin-bottom: var(--s-2); }
.blog-card h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.blog-card p { font-size: .93rem; color: var(--muted); flex: 1; margin-bottom: var(--s-3); }
.blog-card .more { font-weight: 600; font-size: .9rem; color: var(--brick); }

/* ---------- Blog hub category listing ---------- */
.blog-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-8); }
.blog-cat-group { break-inside: avoid; }
.blog-cat-group h2 { font-size: 1.35rem; margin-bottom: var(--s-3); padding-bottom: var(--s-2); border-bottom: 2px solid var(--copper); display: inline-block; }
.blog-cat-list { list-style: none; margin: 0; padding: 0; }
.blog-cat-list li { margin: 0; }
.blog-cat-list li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 1rem; transition: color .15s, padding .15s; }
.blog-cat-list li a:hover { color: var(--brick); padding-left: 6px; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(30,33,38,.97); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 12px; gap: 10px; }
.mobile-bar .btn { flex: 1; padding: 13px; font-size: .98rem; min-height: 50px; }

/* ---------- Utility ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); text-align: center; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; color: var(--brick); font-weight: 600; line-height: 1; }
.stat .l { color: var(--muted); font-size: .95rem; margin-top: var(--s-2); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .svc-grid, .loc-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .area-cols { columns: 3; }
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
  .mini-svc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-burger { display: flex; }
  .main-nav.mobile-open {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    padding: var(--s-4); overflow-y: auto; z-index: 200; margin: 0;
  }
  .main-nav.mobile-open > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav.mobile-open a, .main-nav.mobile-open .nav-toggle-link {
    padding: 15px 12px; border-bottom: 1px solid var(--line); font-size: 1.05rem; border-radius: 0; justify-content: space-between; }
  .main-nav.mobile-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 var(--s-3) var(--s-4); min-width: 0; columns: 1; display: none; background: transparent; }
  .main-nav.mobile-open .dropdown.wide { columns: 1; }
  .main-nav.mobile-open .has-dropdown.expanded .dropdown { display: block; }
  .main-nav.mobile-open .has-dropdown .caret { transition: transform .2s; }
  .main-nav.mobile-open .has-dropdown.expanded .caret { transform: rotate(-135deg); margin-top: 2px; }
  .main-nav.mobile-open .dropdown a { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .main-nav.mobile-open .mobile-cta { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
  .main-nav.mobile-open .mobile-cta .btn { width: 100%; }

  .split { grid-template-columns: 1fr; gap: var(--s-6); }
  .split.reverse .split-media { order: 0; }
  .form-wrap { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 560px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .site-footer { padding-bottom: 70px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: var(--s-7) 0; }
  .svc-grid, .loc-grid, .blog-grid, .mini-svc-grid, .stat-row, .blog-cats { grid-template-columns: 1fr; }
  .area-cols { columns: 2; column-gap: var(--s-4); }
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; gap: var(--s-6); }
  .field-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .container { padding: 0 var(--s-4); }
  .contact-form { padding: var(--s-5); }
}

@media (max-width: 400px) {
  .area-cols { columns: 1; }
  .brand-text .name { font-size: 1rem; }
  .brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-media video { display: none; }
}
