/* Dlectric Installations: bold dark/light design, mobile-first.
   Colours = the logo's cable stripes: blue (main), grey, green, brown, black. */
:root {
  --ink: #111316;
  --ink-soft: #5a616b;
  --line: #e6e8eb;
  --paper: #ffffff;
  --mist: #f5f5f4;
  --night: #121417;
  --night-2: #1b1e23;
  --night-line: #2a2e35;

  /* The site is black and white; the cable colours below are only used for the logo lines in the header */
  --accent: #111316;
  --accent-dark: #000000;
  --accent-light: #ffffff; /* for text on dark backgrounds */
  --brown: #965018;
  --blue: #0052f0;
  --green: #10a03c;
  --black: #111316;
  --grey: #4c5460;
  --cables: linear-gradient(90deg, #ffffff 0 20%, #c9cdd3 20% 40%, #8b919a 40% 60%, #4c5460 60% 80%, #2a2e35 80% 100%);

  --radius: 14px;
  --wrap: 1180px;
  /* Barlow everywhere: a plain, sturdy sans with a trade-signage feel. */
  --heading: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display: "Barlow", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 78px; /* mobile contact bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--heading); line-height: 1.08; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--night); color: #d6dae0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--line::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.section--dark .lead { color: #a9b0ba; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Grid safety: large images must never widen tracks */
.grid, .split, .footer-grid, .contact-grid, .areas-split, .steps { grid-template-columns: minmax(0, 1fr); }
.grid > *, .split > *, .footer-grid > *, .contact-grid > *, .areas-split > * { min-width: 0; }

/* ---------- Header: floating dark bar ---------- */
/* The header box runs edge to edge and from the very top of the screen; the extra top padding keeps its bottom edge where it was. */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
/* A square box with the logo centred, and the menu as a row of tabs along its bottom edge. */
.header-row {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Solid black at the top, fading to see-through at the bottom so the photo shows through. */
  background: linear-gradient(180deg, rgba(10, 11, 13, .96) 0%, rgba(10, 11, 13, .8) 40%, rgba(10, 11, 13, 0) 100%);
}
.site-header .wrap { max-width: none; padding: 0; }
.header-row { padding-top: 14px; }
.brand { position: relative; display: flex; justify-content: center; height: 116px; padding: 10px; line-height: 0; }
.brand img { position: relative; z-index: 1; height: 96px; width: auto; }
.site-nav { position: relative; z-index: 1; }
/* The logo's grey (left) and black (right) cable lines, run from the top of the header box to the bottom.
   The header uses logo-header.png (the logo without its own upright lines), so these sit a little further
   out from the lettering than in the logo: 125px either side of centre. */
.header-row::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(#4c5460, #4c5460) calc(50% - 123.83px) 0 / 2.35px 100% no-repeat,
    linear-gradient(#2a2e35, #2a2e35) calc(50% + 123.83px) 0 / 2.35px 100% no-repeat;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav li { flex: 1 1 auto; }
.site-nav a {
  display: block; padding: 12px 10px; text-align: center; color: #fff; text-decoration: none;
  font-family: var(--heading); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
/* Plain white lettering on the header box: no tabs or boxes. The page you're on is full white, the rest slightly softer. */
.site-nav a { color: rgba(255, 255, 255, .78); text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .7); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
/* The logo's blue, green and brown cable lines, carried from one side of the logo box to the other.
   They line up with the lines in the logo image: 96px tall, 10px from the top of the box. */
.brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(#0052f0, #0052f0) 0 22.43px / 100% 2.35px no-repeat,
    linear-gradient(#10a03c, #10a03c) 0 70.64px / 100% 2.35px no-repeat,
    linear-gradient(#965018, #965018) 0 91.22px / 100% 2.35px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--display); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #ececec; color: var(--ink); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--outline, .hero .btn--outline { color: #fff; }
.section--dark .btn--outline:hover, .hero .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.text-link {
  font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.text-link::after { content: "\2192"; }
.page-head .eyebrow, .section--dark .eyebrow { color: #fff; }
.page-head .eyebrow--line::before, .section--dark .eyebrow--line::before { background: #fff; }
.section--dark a:not(.btn) { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; min-height: min(82vh, 680px); display: flex; align-items: flex-end;
  padding: 220px 0 40px; background: var(--night) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.55) 40%, rgba(10,11,13,.88) 100%),
              linear-gradient(90deg, rgba(10,11,13,.75) 0%, rgba(10,11,13,.1) 75%);
}
/* Showroom photo: keep the light track in view at the top and fade the bikes out towards the bottom. */
.hero--showroom { background-position: center top; padding-top: 180px; }
/* "Electricians · Southeast London" sits halfway between the menu (about 160px down) and the bikes' handlebars
   (about 47% of the way down the photo). The photo covers the whole hero, so its height is the larger of the
   hero's height and 75% of the screen width. Positions are measured from the top of .wrap, which starts at the
   hero's top padding. The description and buttons stay at the bottom. */
.hero--showroom > .wrap { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hero.hero--showroom .eyebrow {
  position: absolute; left: 20px; margin: 0;
  top: calc((180px + 0.47 * max(100% + 220px, 75vw)) / 2 - 180px - .6em);
}
@media (min-width: 960px) {
  .hero--showroom { padding-top: 185px; }
  .hero.hero--showroom .eyebrow { top: calc((180px + 0.47 * max(100% + 245px, 75vw)) / 2 - 185px - .6em); }
}
.hero--showroom::before {
  background: linear-gradient(180deg, rgba(10,11,13,.1) 0%, rgba(10,11,13,.2) 30%, rgba(10,11,13,.78) 55%, rgba(10,11,13,.97) 75%, #0a0b0d 100%),
              linear-gradient(90deg, rgba(10,11,13,.45) 0%, rgba(10,11,13,0) 60%);
}
.hero > .wrap { position: relative; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: #fff; display: block; }
.hero .eyebrow { color: #fff; margin-bottom: 18px; font-family: var(--heading); font-size: .85rem; font-weight: 700; }
/* Hidden on screen but still read by Google and screen readers. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero .eyebrow--line::before { display: none; }
.hero-lead {
  max-width: 52ch; font-size: 1.12rem; color: #fff;
  margin: 0 0 28px;
}.hero .phone-chip { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.hero .phone-chip .ring { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.hero .phone-chip svg { width: 18px; height: 18px; }

/* Inner page header (dark band behind the floating nav) */
.page-head {
  background: var(--night) center / cover no-repeat; color: #fff; position: relative;
  padding: 250px 0 56px;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.7), rgba(10,11,13,.9)); }
.page-head--light::before { background: linear-gradient(180deg, rgba(10,11,13,.2) 0%, rgba(10,11,13,.35) 45%, rgba(10,11,13,.85) 100%); }
.page-head > .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.1rem, 8vw, 3.8rem); }
.page-head .lead { color: #c9ced5; margin: 0; }
.breadcrumb { font-size: .85rem; color: #9aa2ad; margin-bottom: 12px; }
.breadcrumb a { color: #c9ced5; text-decoration: none; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 18px; }
.feature {
  background: var(--mist); border-radius: var(--radius); padding: 26px; border: 1px solid #ecebe8;
}
.feature p { color: var(--ink-soft); margin: 0; }
.ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: #fff; margin-bottom: 18px;
}
.ico--dark { background: var(--night); }
.ico svg { width: 22px; height: 22px; }

/* ---------- About split ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.intro-slider { display: grid; gap: 28px; align-items: start; }
@media (min-width: 640px) { .intro-slider { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; } }
.slider { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slider img.is-on { opacity: 1; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slider-dots button.is-on { background: #fff; }
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-strip .label { text-align: center; font-family: var(--display); font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #9aa0a8; margin-bottom: 18px; }
.trust-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.trust-items li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-weight: 700; font-size: .92rem; }
.trust-items svg { width: 26px; height: 26px; color: var(--ink-soft); }
.trust-items small { display: block; font-weight: 500; color: #8b919a; font-size: .78rem; }

/* ---------- Dark services ---------- */
.services-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.services-head .lead { margin: 0; }
.service-card {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.service-card p { color: #a9b0ba; margin: 0; flex: 1; }
.service-card .ico { width: 40px; height: 40px; margin-bottom: 6px; background: #fff; color: var(--ink); }
.service-card .text-link { color: #fff; margin-top: 6px; }
.service-card .text-link:hover { color: var(--accent-light); }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 26px; position: relative; }
.steps li { text-align: center; }
.steps .num {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 900;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); position: relative; z-index: 1;
}
.steps li:last-child .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0 auto; max-width: 28ch; }
.promise {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 600;
}
.promise svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Work cards ---------- */
.work-card { margin: 0; }
.work-card a { display: block; border-radius: var(--radius); overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.work-card a:hover img { transform: scale(1.03); }
.work-card figcaption { padding-top: 12px; }
.work-card strong { display: block; font-family: var(--display); font-weight: 800; }
.work-card span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Areas ---------- */
.areas-split { display: grid; gap: 30px; align-items: center; }
.area-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.area-list > li > a, .area-list > li > span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.area-list a::after { content: "\2192"; color: var(--accent); font-weight: 800; }
.area-list a:hover { border-color: var(--accent); }
.area-list small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .82rem; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 28px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 900; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; padding: 56px 0; position: relative; }
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--cables);
}
.cta-band h2 { color: #fff; text-transform: uppercase; }
.cta-band p { color: #c9cdd3; max-width: 56ch; }

/* ---------- Content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.service-row { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service-row:first-child { border-top: 0; }
.service-row h2, .service-row h3 { margin: 0; font-size: 1.25rem; display: flex; align-items: center; gap: 12px; }
.service-row .bar { width: 6px; height: 22px; border-radius: 3px; background: var(--accent); flex: none; }
.service-row p { color: var(--ink-soft); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.job-title { margin: 44px 0 8px; }
.job-title:first-of-type { margin-top: 0; }
.job-desc { color: var(--ink-soft); max-width: 70ch; margin-bottom: 18px; }

/* ---------- Our work collage ----------
   One tile per job. The job name and place sit along the bottom of each photo; hovering (or tapping,
   which focuses the tile) slides up a dark panel with the description and every photo from that job. */
.collage {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 340px; grid-auto-flow: dense;
}
@media (min-width: 640px) { .collage { grid-auto-rows: 300px; } }
.job-label { transition: opacity .25s ease; }
.job:hover .job-label, .job:focus-within .job-label { opacity: 0; }
.job { position: relative; overflow: hidden; background: var(--night); color: #fff; cursor: pointer; }
.job:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.job--tall, .job--big { grid-row: span 2; }
.job-cover { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.job:hover .job-cover, .job:focus-within .job-cover { transform: scale(1.05); }
.job-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  background: linear-gradient(180deg, rgba(10,11,13,0), rgba(10,11,13,.88));
}
.job-label h2 { font-size: 1.05rem; line-height: 1.2; margin: 0; color: #fff; text-transform: none; }
.job-place { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #d6dae0; margin-top: 3px; }
.job-info {
  position: absolute; inset: 0; padding: 14px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(10, 11, 13, .93);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.job:hover .job-info, .job:focus-within .job-info { opacity: 1; visibility: visible; transform: none; }
.job-info p { margin: 0; font-size: .92rem; line-height: 1.45; color: #e3e6ea; }
.job-info .job-info-title { font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.2; }
.job-info .job-place { margin: 0 0 4px; }
.job-info .job-count { font-size: .8rem; color: #a9b0ba; margin-top: 4px; }
.job-photos { list-style: none; margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.job-photos li { position: relative; }
.job-photos a { display: block; line-height: 0; }
.job-photos img { width: 56px; height: 56px; object-fit: cover; border: 1px solid rgba(255,255,255,.25); }
.job-photos a:hover img, .job-photos a:focus img { border-color: #fff; }
.job-tag {
  position: absolute; left: 2px; bottom: 2px; padding: 1px 4px; pointer-events: none;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(10,11,13,.85); color: #fff;
}
@media (min-width: 640px) {
  .job--wide { grid-column: span 2; }
  .job--big { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .job-cover, .job-info { transition: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-weight: 700; word-break: break-word; }
.contact-line svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-line a { color: var(--ink); text-decoration: none; font-size: clamp(.82rem, 3.9vw, 1.05rem); }
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: .93rem; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 14px; border: 1px solid #cfd4da; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid rgba(0, 0, 0, .15); border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }

/* Phone number slots: hidden until PHONE is set in assets/js/site.js */
.phone-only { display: none !important; }
.has-phone .phone-only { display: revert !important; }
.has-phone .btn.phone-only, .has-phone .contact-line.phone-only, .has-phone .phone-chip.phone-only { display: inline-flex !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #a9b0ba; font-size: .95rem; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 28px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em; }
.site-footer a { color: #e3e6ea; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-logo img { height: 46px; width: auto; }
.cable-stripe { height: 5px; background: var(--cables); }
.legal { border-top: 1px solid var(--night-line); margin-top: 30px; padding-top: 16px; font-size: .84rem; color: #7d8590; }

/* ---------- Mobile contact bar ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 20, 23, .96); border-top: 1px solid var(--night-line);
}
.contact-bar .btn { flex: 1; min-height: 50px; padding: 10px 12px; }
.contact-bar .btn--outline { color: #fff; }
.contact-bar .btn--accent { background: #fff; color: var(--ink); }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .trust-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .contact-bar { display: none; }
  .section { padding: 96px 0; }
  .header-row { padding-top: 22px; }
  .site-nav ul { flex-wrap: nowrap; }
  .site-nav a { padding: 14px 18px; font-size: .86rem; }
  .hero { min-height: min(88vh, 760px); align-items: center; padding: 190px 0 60px; }
  .page-head { padding-top: 220px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .trust-items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .steps::before { content: ""; position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
  .areas-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
