:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --line: #e1e6f0;
  --text: #101a2c;
  --muted: #5c6677;
  --red: #bc2a23;
  --red-deep: #97211b;
  --blue: #2784b9;
  --blue-deep: #1c6691;
  --yellow: #ffd400;
  --yellow-deep: #e0b800;
  --yellow-ink: #e5b900;
  --radius: 16px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 40px -24px rgba(16,26,44,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: "Archivo", system-ui, sans-serif; line-height: 1.06; letter-spacing: -0.02em; }
h1, h2, .display { font-family: "Barlow Condensed", "Archivo", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 70px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(224,27,34,.6); }
.btn-primary:hover { transform: translateY(-2px); background: var(--red-deep); box-shadow: 0 16px 34px -10px rgba(224,27,34,.7); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -12px rgba(20,58,140,.6); }
.btn-blue:hover { transform: translateY(-2px); background: var(--blue-deep); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,247,251,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); box-shadow: 0 6px 24px -20px rgba(16,26,44,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand .bt { display: none; }

.nav-links { display: none; }
.nav-cta { display: none; }

.menu-btn { background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(16,26,44,.45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(86%, 340px);
  background: var(--surface); border-left: 1px solid var(--line); padding: 22px;
  display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-head img { height: 36px; }
.drawer a.link { padding: 15px 14px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.drawer a.link:hover { background: var(--surface-2); }
.drawer a.link span { color: var(--red); }
.drawer .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 54px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(820px 460px at 82% -8%, rgba(224,27,34,.12), transparent 60%),
    radial-gradient(720px 520px at -8% 20%, rgba(20,58,140,.14), transparent 58%);
}
.grid-overlay {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 72% 16%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 72% 16%, #000, transparent 70%);
}

.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--muted); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #19b562; box-shadow: 0 0 0 4px rgba(25,181,98,.18); }

.hero h1 { font-size: clamp(2.4rem, 10.5vw, 4.4rem); font-weight: 900; }
.hero h1 .red { color: var(--red); }
.hero h1 .blue { color: var(--blue); }
.hero h1 .yellow { color: var(--yellow-ink); }
.hero p.lede { margin-top: 18px; font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.hero-img-wrap { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 auto; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; max-width: 520px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; box-shadow: var(--shadow); }
.stat b { font-family: "Archivo"; font-size: 1.7rem; font-weight: 800; color: var(--red); display: block; }
.stat span { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--blue-deep); overflow: hidden; }
.marquee-track { display: flex; gap: 46px; padding: 14px 0; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-family: "Archivo"; font-weight: 700; color: #fff; font-size: .95rem; letter-spacing: .03em; display: inline-flex; gap: 46px; align-items: center; }
.marquee-track span::after { content: "⚡"; font-size: .85rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Section heading ---------- */
.sec-head { max-width: 620px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); font-weight: 800; margin-top: 14px; }
.sec-head p { color: var(--muted); margin-top: 14px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(20,58,140,.4); box-shadow: 0 26px 50px -28px rgba(16,26,44,.5); }
.card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(39,132,185,.1); color: var(--blue); border: 1px solid rgba(39,132,185,.22); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }
.card .tag { position: absolute; top: 18px; right: 18px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: rgba(188,42,35,.09); border: 1px solid rgba(188,42,35,.28); padding: 4px 9px; border-radius: 999px; }
/* trade colour-coding: electrical = red, plumbing = blue, solar = yellow */
.ico--red    { background: rgba(188,42,35,.1) !important;  color: var(--red) !important;       border-color: rgba(188,42,35,.25) !important; }
.ico--blue   { background: rgba(39,132,185,.1) !important; color: var(--blue) !important;      border-color: rgba(39,132,185,.22) !important; }
.ico--yellow { background: rgba(255,212,0,.16) !important;  color: var(--yellow-ink) !important; border-color: rgba(224,184,0,.4) !important; }

/* ---------- About ---------- */
.owner-card { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); width: fit-content; }
.owner-photo { flex: none; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.about-card::after { content: "1984"; position: absolute; right: -8px; bottom: -22px; font-family: "Archivo"; font-weight: 900; font-size: 7rem; color: rgba(20,58,140,.06); letter-spacing: -.04em; }
.timeline { list-style: none; margin-top: 26px; display: grid; gap: 18px; position: relative; }
.timeline li { position: relative; padding-left: 30px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,27,34,.14); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: -18px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-family: "Archivo"; color: var(--blue); font-size: .9rem; }

/* ---------- Projects (home strip) ---------- */
.projects { display: grid; gap: 14px; }
.project { display: flex; align-items: center; gap: 16px; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 20px 10px 10px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s var(--ease); }
.project:hover { border-color: rgba(224,27,34,.4); transform: translateX(4px); }
.proj-thumb { flex: none; width: 84px; height: 64px; border-radius: 8px; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.project .pinfo { flex: 1; min-width: 0; }
.project .pinfo h3 { font-size: 1.12rem; font-weight: 700; }
.project .pinfo span { color: var(--muted); font-size: .86rem; }
.project .num { font-family: "Archivo"; font-weight: 800; color: rgba(20,58,140,.35); font-size: 1.5rem; flex: none; }

/* ---------- Contact ---------- */
#contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 14px; }
.ccard { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.ccard.urgent { border-color: rgba(224,27,34,.4); background: linear-gradient(160deg, rgba(224,27,34,.07), var(--bg)); }
.ccard h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.ccard .ico-sm { color: var(--blue); display: inline-flex; }
.ccard.urgent .ico-sm, .ccard.urgent h3 { color: var(--red); }
.ccard a, .ccard p { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; transition: color .2s; }
.ccard a:hover { color: var(--red); }
.ccard .sub { font-weight: 400; font-size: .9rem; color: var(--muted); }

/* ---------- Contact CTAs ---------- */
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.contact-ctas .btn { flex: 1; min-width: 200px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-outline { background: transparent; border: 2px solid var(--red); color: var(--red); padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; text-decoration: none; cursor: pointer; }
.btn-outline:hover { background: var(--red); color: #fff; }

/* ---------- Quote form ---------- */
.quote-form-wrap { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); }
.quote-form-wrap h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }
.qform { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label, .property-types legend, .work-types legend { font-size: .88rem; font-weight: 700; color: var(--ink); }
.form-group label span, .property-types legend span, .work-types legend span { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: .95rem; font-family: inherit; background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,132,185,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.property-types, .work-types { border: none; padding: 0; margin: 0; }
.property-types legend, .work-types legend { margin-bottom: 10px; }
.work-check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.work-check { display: flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s, color .2s; user-select: none; }
.work-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.wc-icon { display: inline-flex; width: 22px; height: 22px; }
.wc-icon svg { width: 100%; height: 100%; }
.work-check--residential:has(input:checked) { background: rgba(39,132,185,.1); border-color: var(--blue); color: var(--blue-deep); }
.work-check--commercial:has(input:checked)  { background: rgba(188,42,35,.08); border-color: var(--red); color: var(--red-deep); }
.work-check--solar:has(input:checked)     { background: rgba(255,212,0,.15); border-color: var(--yellow-deep); color: var(--yellow-ink); }
.work-check--electrical:has(input:checked){ background: rgba(188,42,35,.08); border-color: var(--red); color: var(--red-deep); }
.work-check--plumbing:has(input:checked)  { background: rgba(39,132,185,.1); border-color: var(--blue); color: var(--blue-deep); }
.cf-turnstile { margin-top: 4px; }
.form-submit { width: 100%; margin-top: 4px; }
.form-feedback { padding: 12px 16px; border-radius: 10px; font-size: .93rem; font-weight: 600; margin-top: 4px; }
.form-feedback--success { background: rgba(30,170,80,.1); border: 1.5px solid rgba(30,170,80,.4); color: #1a7a3a; }
.form-feedback--error   { background: rgba(188,42,35,.08); border: 1.5px solid rgba(188,42,35,.3); color: var(--red-deep); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 30px; border-top: 1px solid var(--line); background: var(--surface); }
.foot { display: flex; flex-direction: column; gap: 18px; }
.foot img { height: 46px; width: auto; }
.foot p { color: var(--muted); font-size: .9rem; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

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

/* ===================================================================
   PROJECTS — index + detail pages
   =================================================================== */

/* Page banner (sub-page hero) */
.page-banner { position: relative; padding: 46px 0 40px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(700px 420px at 85% -20%, rgba(224,27,34,.12), transparent 60%),
    radial-gradient(640px 460px at -10% 10%, rgba(20,58,140,.13), transparent 58%);
}
.page-banner h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); font-weight: 900; margin-top: 12px; }
.page-banner p { color: var(--muted); margin-top: 14px; max-width: 56ch; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--text); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.chip {
  font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--blue); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Project index grid */
.proj-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.proj-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -30px rgba(16,26,44,.55); border-color: rgba(20,58,140,.4); }
.proj-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj-card .cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.proj-card:has(.thumb--electrical) .cat { color: var(--red); }
.proj-card:has(.thumb--plumbing) .cat { color: var(--blue); }
.proj-card:has(.thumb--solar) .cat { color: var(--yellow-ink); }
.proj-card:has(.thumb--backup) .cat { color: var(--red); }
.proj-card h3 { font-size: 1.25rem; font-weight: 700; }
.proj-card p { color: var(--muted); font-size: .94rem; }
.proj-card .meta { margin-top: auto; padding-top: 10px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.proj-card .more { font-weight: 700; color: var(--red); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.proj-card:hover .more { gap: 11px; }

/* Photo placeholder "thumb" — stands in for real project photos */
.thumb { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; }
.thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 28px 28px; opacity: .35; }
.thumb svg { width: 54px; height: 54px; opacity: .92; position: relative; z-index: 1; }
.thumb .ph-label { position: absolute; bottom: 12px; left: 14px; z-index: 1; font-size: .72rem; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.thumb--electrical { background: linear-gradient(135deg, #97211b, #d23a30); }
.thumb--plumbing   { background: linear-gradient(135deg, #1c6691, #3aa0d0); }
.thumb--solar      { background: linear-gradient(135deg, #ffd400, #ffa800); color: #4a3800; }
.thumb--backup     { background: linear-gradient(135deg, #f0a500, #bc2a23); }
.thumb--solar::after { background-image: linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px); }

/* ---------- Project detail ---------- */
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.proj-tags .t { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.cat-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; color: var(--blue); background: rgba(39,132,185,.1); border: 1px solid rgba(39,132,185,.22); }
.cat-badge.red { color: var(--red); background: rgba(188,42,35,.09); border-color: rgba(188,42,35,.26); }
.cat-badge.yellow { color: var(--yellow-ink); background: rgba(255,212,0,.16); border-color: rgba(224,184,0,.45); }

.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery .thumb { border-radius: 14px; border: 1px solid var(--line); }
.gallery .thumb.lead { aspect-ratio: 16 / 9; }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
.detail-main h2 { font-size: 1.5rem; font-weight: 800; margin: 26px 0 10px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--muted); margin-bottom: 12px; }
.detail-main ul { color: var(--muted); margin: 0 0 14px 20px; display: grid; gap: 7px; }
.detail-main ul li::marker { color: var(--red); }

.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); align-self: start; position: sticky; top: 90px; }
.spec-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.spec-card dl { display: grid; gap: 14px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.spec-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { color: var(--muted); font-size: .88rem; }
.spec-row dd { font-weight: 700; font-size: .92rem; text-align: right; }
.spec-card .btn { width: 100%; margin-top: 20px; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-top: 30px; transition: gap .2s; }
.back-link:hover { gap: 12px; }

/* Related */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; border-radius: 22px; padding: 34px 26px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 80% 0, rgba(224,27,34,.4), transparent 60%); }
.cta-band h2 { font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 800; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); margin: 12px 0 22px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 720px) {
  section { padding: 94px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: 0 0 auto; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .thumb.lead { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .quote-form-wrap { padding: 40px 40px; }
}
@media (min-width: 600px) { .brand img { height: 40px; } }
@media (min-width: 960px) {
  .nav-links { display: flex; gap: 4px; align-items: center; }
  .nav-links a { padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: color .2s, background .2s; }
  .nav-links a:hover { color: var(--text); background: var(--surface-2); }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .hero { padding: 88px 0 78px; }
  .hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 50px; align-items: center; }
  .hero-img-wrap { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.35); }
  .hero-img { display: block; width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .projects-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1.6fr .9fr; gap: 48px; }
}
