/* House Rewiring Milton Keynes — plain CSS, no build step.
   v2 design (2026-10-16): Inter, navy + amber palette, single-row sticky header.
   Component inventory: wiki/components/component-library.md */

:root {
  /* colour */
  --navy-950: #071325;
  --navy-900: #0B1B33;
  --navy-800: #12284A;
  --navy-700: #1C3A66;
  --blue-600: #2563EB;
  --blue-50: #EEF4FF;
  --amber-500: #F5A524;
  --amber-600: #E08E0B;
  --amber-50: #FFF7E8;
  --ink: #0F172A;
  --ink-soft: #334155;
  --ink-faint: #64748B;
  --line: #E2E8F0;
  --surface: #F6F8FB;
  --bg: #FFFFFF;
  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --max: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(11, 27, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);
  --header-h: 84px;
  --btn-radius: 999px; /* theme option: pill / rounded / square (themes.json) */
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .55em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1.05em; }
strong { color: var(--ink); font-weight: 650; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .3em; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber-500); color: var(--navy-900); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber-500); color: var(--navy-900); padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.small { font-size: .9rem; color: var(--ink-faint); }
.center { text-align: center; }

/* ------------------------------------------------------------ buttons (named by colour) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.35em; border-radius: var(--btn-radius); font-weight: 700; font-size: .98rem;
  text-decoration: none; line-height: 1.2; border: 2px solid transparent; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.04rem; }
.btn--amber { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 8px 20px -8px rgba(245, 165, 36, .7); }
.btn--amber:hover { background: var(--amber-600); color: var(--navy-900); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.wc-phone.btn::before, .header-phone::before {
  content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 1.4em; }

/* ------------------------------------------------------------ top bar + header */
.topbar { background: var(--navy-950); color: #C7D2E3; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--amber-500); }
.topbar__items { display: flex; gap: 22px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.nav__logo { display: block; flex: none; color: var(--navy-900); text-decoration: none; }
.nav__logo svg { width: 250px; height: auto; }
.site-nav { flex: 1; }
.nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__links li { margin: 0; position: relative; }
.nav__links a { display: block; padding: 10px 13px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav__links > li > a:hover { background: var(--surface); color: var(--navy-900); }
.nav__links a[aria-current="page"] { color: var(--amber-600); }
.nav__caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 7px; opacity: .6; }
.nav__dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 8px); min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__dropdown a { font-weight: 600; padding: 10px 12px; }
.nav__dropdown a:hover { background: var(--amber-50); color: var(--navy-900); }
.nav__links > li:hover > .nav__dropdown, .nav__links > li:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-weight: 800; text-decoration: none; font-size: 1.02rem; white-space: nowrap; }
.header-phone::before { color: var(--amber-600); }
.header-phone:hover { color: var(--amber-600); }
.nav__toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; place-items: center; }
.nav__toggle-icon, .nav__toggle-icon::before, .nav__toggle-icon::after { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav__toggle-icon::before, .nav__toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav__toggle-icon::before { top: -6px; } .nav__toggle-icon::after { top: 6px; }
.nav__toggle-input:checked + .nav__toggle .nav__toggle-icon { background: transparent; }
.nav__toggle-input:checked + .nav__toggle .nav__toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle-input:checked + .nav__toggle .nav__toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }
.nav__toggle-input:focus-visible + .nav__toggle { outline: 3px solid var(--amber-500); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ breadcrumb */
.breadcrumb { background: var(--navy-900); font-size: .85rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: #94A3B8; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #475569; }
.breadcrumb a { color: #CBD5E1; text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-500); }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #CBD5E1; padding: 72px 0 84px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(245, 165, 36, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.breadcrumb + main .hero { padding-top: 40px; }
.hero .wrap { position: relative; }
.hero__inner { max-width: 760px; }
.hero__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__split .hero__inner { max-width: none; }
.hero__split--flip { grid-template-columns: .9fr 1.1fr; }
.hero__split--flip .hero__photo { order: -1; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 0;
  color: #E2E8F0; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5;
}
.hero__eyebrow::before { content: ""; flex: none; width: 44px; height: 2px; border-radius: 2px; background: var(--amber-500); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__checklist { list-style: none; padding: 0; margin: 4px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.hero__checklist li { margin: 0; position: relative; padding-left: 32px; color: #E2E8F0; font-weight: 500; }
.hero__checklist li::before, .checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 50%;
  background: var(--amber-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%230B1B33'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); background: var(--navy-800); }
.hero__photo img { width: 100%; }

/* ------------------------------------------------------------ trust strip */
.trust { position: relative; z-index: 2; margin-top: -40px; }
.trust-strip {
  list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust-strip li { margin: 0; color: var(--ink); font-weight: 650; font-size: .95rem; display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.trust-strip li::before {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: var(--amber-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23E08E0B'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ------------------------------------------------------------ sections */
.section { padding: 96px 0; }
.trust + .section { padding-top: 88px; }
.section--alt { background: var(--surface); }
.section > .wrap > h2 { max-width: 22ch; }
.section__lead { max-width: 72ch; font-size: 1.07rem; }
.section__lead > p:first-child { color: var(--ink-soft); }
.section h3.inline-h3 { margin-top: 1.6em; }
.more { margin-top: 26px; }

/* cards */
.grid { display: grid; gap: 22px; margin: 36px 0 8px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.card > h3::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--amber-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4.5 13.5H11L10 22l8.5-11.5H12z' fill='%23E08E0B'/%3E%3C/svg%3E") center/20px no-repeat; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card .cta-inline { margin-bottom: 0; }

/* steps */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps .card { padding-left: 92px; }
.steps .card > h3::before { display: none; }
.steps .card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 26px; top: 28px;
  width: 46px; height: 46px; border-radius: 14px; background: var(--navy-900); color: var(--amber-500);
  font-weight: 800; display: grid; place-items: center; font-size: 1rem; letter-spacing: -.02em;
}
.steps-simple { padding-left: 0; list-style: none; counter-reset: s; }
.steps-simple li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-simple li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: var(--amber-500); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }

/* link lists & areas */
.linklist { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.linklist li { margin: 0; }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .18s, box-shadow .18s, color .18s;
}
.linklist a::after { content: "→"; color: var(--amber-600); font-weight: 700; transition: transform .18s; }
.linklist a:hover { border-color: var(--amber-500); box-shadow: var(--shadow-sm); color: var(--navy-900); }
.linklist a:hover::after { transform: translateX(3px); }
.area-links { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-links li { margin: 0; }
.area-link { display: block; padding: 16px 18px 16px 50px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.area-link::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z' fill='%23E08E0B'/%3E%3C/svg%3E") center/contain no-repeat; }
.area-link:hover { border-color: var(--amber-500); box-shadow: var(--shadow-sm); }
.area-link__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.area-link__city { display: block; font-size: .84rem; color: var(--ink-faint); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 8px 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; max-width: 920px; }
.checklist li { position: relative; padding-left: 34px; margin: 0; color: var(--ink); }

/* cost table */
.table-wrap { overflow-x: auto; margin: 28px 0 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.cost-table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: 1rem; }
.cost-table th, .cost-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table thead th { background: var(--navy-900); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cost-table tbody tr:hover { background: var(--amber-50); }
.cost-table td:first-child { color: var(--ink); font-weight: 600; }
.cost-table td:last-child { font-weight: 800; color: var(--navy-900); white-space: nowrap; }
.cost-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 880px; margin: 32px 0 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s, box-shadow .18s; }
.faq details[open] { border-color: #CBD5E1; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%230B1B33' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--amber-50); }
.faq details p { padding: 0 24px 20px; margin: 0; }
.faq-list { max-width: 820px; }
.faq-list h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-top: 1.8em; padding-top: 1.8em; border-top: 1px solid var(--line); }
.faq-list h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* phone strip (CTA band) */
.phone-strip { padding: 0 0 96px; background: transparent; }
.section--alt + .phone-strip { background: var(--surface); }
.phone-strip .wrap > * { position: relative; }
.phone-strip .wrap {
  position: relative; overflow: hidden; text-align: center; padding: 64px 32px; border-radius: var(--radius-lg); color: #CBD5E1;
  width: calc(100% - 48px); max-width: calc(var(--max) - 48px);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(245, 165, 36, .22), transparent 60%),
    radial-gradient(600px 260px at 0% 100%, rgba(37, 99, 235, .35), transparent 60%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.phone-strip h2 { color: #fff; margin-bottom: .35em; }
.phone-strip .sub { max-width: 56ch; margin: 0 auto 28px; font-size: 1.08rem; }
.phone-strip .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
main > .phone-strip:first-child, .hero + .phone-strip, .trust + .phone-strip { padding-top: 96px; }
.section + .phone-strip { padding-top: 0; }
.section--alt + .phone-strip { padding-top: 0; }

/* split + forms */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.form-card::before { content: ""; display: block; height: 5px; margin: -34px -34px 28px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--amber-500), var(--blue-600)); }
.form-card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.form-card .italic { color: var(--ink-faint); margin-bottom: 22px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* form honeypot */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field textarea { min-height: 110px; resize: vertical; }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy-900); }
.field--check label { font-weight: 500; color: var(--ink-soft); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card button.btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 6px; }
.nap { list-style: none; padding: 0; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nap li { padding: 14px 18px; border-bottom: 1px solid var(--line); margin: 0; background: #fff; }
.nap li:last-child { border-bottom: 0; }

/* form pages: wider form column, roomier fields (2026-10-16) */
.split--form { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
.split--form .form-card { padding: 40px 44px 44px; }
.split--form .form-card::before { margin: -40px -44px 32px; }
.split--form .field { margin-bottom: 20px; }
.split--form .form-row { gap: 0 20px; }
.split--form .field input, .split--form .field select, .split--form .field textarea { padding: 13px 15px; }
.split--form .field input:not([type=checkbox]), .split--form .field select { height: 50px; }
.split--form .field textarea { min-height: 130px; }
.split--form .field--check { margin: 6px 0 24px; }
@media (max-width: 980px) { .split--form { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) {
  .split--form .form-card { padding: 28px 20px 30px; }
  .split--form .form-card::before { margin: -28px -20px 24px; }
}

/* in-place form result (progressive-enhancement submit) */
.form-success { text-align: center; padding: 28px 8px 8px; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--amber-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23E08E0B'/%3E%3C/svg%3E") center/32px no-repeat;
  box-shadow: 0 0 0 8px rgba(245, 165, 36, .12); }
.form-success h3 { font-size: 1.45rem; margin-bottom: .4em; }
.form-success p { margin: 0 auto; max-width: 40ch; }
.form-error { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #FEF2F2; color: #991B1B; font-size: .95rem; border: 1px solid #FECACA; }
.form-card button[disabled] { opacity: .7; cursor: progress; }

/* legal / prose */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

/* ------------------------------------------------------------ photos */
.section-figure { margin: 44px 0 0; }
.section-figure img { width: 100%; height: auto; aspect-ratio: 1440 / 608; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--line); }
.hero__photo img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) {
  .section-figure { margin-top: 32px; }
  .section-figure img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
}
/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy-950); color: #94A3B8; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.site-footer a.btn--amber, .site-footer a.btn--amber:hover, .site-footer a.btn--light, .site-footer a.btn--light:hover { color: var(--navy-900); }
.footer-brand .nav__logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; }
.footer-disclaimer { font-size: .82rem; color: #64748B; }
.footer-nap strong { color: #fff; }
.footer-nap .wc-phone { color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .site-header__bar { gap: 18px; }
  .nav__links a { padding: 10px 9px; font-size: .92rem; }
  .header-phone span { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .topbar__items--secondary { display: none; }
  .site-header__bar { flex-wrap: wrap; gap: 0; }
  .nav__toggle { display: grid; }
  .site-nav, .header-actions { display: none; flex-basis: 100%; }
  .nav__toggle-input:checked ~ .site-nav, .nav__toggle-input:checked ~ .header-actions { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; padding: 8px 0 4px; border-top: 1px solid var(--line); }
  .nav__links a { padding: 12px 4px; font-size: 1rem; border-radius: 0; }
  .nav__caret { display: none; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; background: transparent; }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { font-weight: 500; color: var(--ink-soft); padding: 8px 4px; }
  .nav__toggle-input:checked ~ .header-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0 20px; }
  .header-actions .btn { flex: 1 1 auto; }
  .header-phone span { display: inline; }
  .hero__split, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { max-width: 560px; transform: none; }
  .hero__split--flip { grid-template-columns: 1fr; }
  .hero__split--flip .hero__photo { order: 0; }
  .form-card { position: static; }
  .grid--3, .linklist, .area-links { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero__checklist, .checklist { grid-template-columns: 1fr; }
  .hero__cta .btn, .phone-strip .btn { flex: 1 1 100%; }
  .grid--2, .grid--3, .linklist, .area-links, .form-row { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; padding: 18px 20px; }
  .section { padding: 64px 0; }
  .phone-strip { padding-bottom: 64px; }
  .phone-strip .wrap { padding: 44px 22px; border-radius: var(--radius); width: calc(100% - 32px); }
  .steps .card { padding-left: 28px; padding-top: 88px; }
  .form-card { padding: 26px 20px; }
  .form-card::before { margin: -26px -20px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 349px) {
  .nav__logo svg { width: calc(100vw - 32px - 58px); } /* only on very narrow phones, where 250px cannot sit beside the menu button */
}
/* ------------------------------------------------------------ v3 layout (2026-10-16) */
/* section label: same rule + caps treatment as the hero eyebrow */
.section-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--amber-600); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.section-eyebrow::before { content: ""; flex: none; width: 36px; height: 2px; border-radius: 2px; background: var(--amber-500); }

/* photo/map beside the opening text */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-split--flip .media-split__media { order: -1; }
.media-split .section__lead { max-width: none; }
.media-split .section-figure { margin: 0; }
.media-split .section-figure img { aspect-ratio: 4 / 3.2; }
.media-split + * { margin-top: 48px; }

/* text-only sections: heading left, copy right */
.ed-split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.ed-split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.ed-split__head h2 { margin-bottom: 0; }
.ed-split__body { max-width: none; }

/* readability */
.section__lead > p:first-child, .ed-split__body > p:first-child { font-size: 1.14rem; color: var(--ink); line-height: 1.65; }

/* hero reassurance line */
.hero__note { margin: 18px 0 0; color: #94A3B8; font-size: .9rem; font-weight: 500; }

/* card icons + service thumbnails */
.card[data-icon="tag"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 11.6l-9-9A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7c0 .55.22 1.05.59 1.42l9 9a2 2 0 0 0 2.82 0l7-7a2 2 0 0 0-.01-2.82zM6.5 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="home"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="doc"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-1 7V3.5L18.5 9H13zM8 13h8v2H8zm0 4h5v2H8z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="shield"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="pin"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="chat"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 9h10v2H7zm0-3h10v2H7zm0 6h7v2H7z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="clock"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 11H8v-2h3V6h2z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="check"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="star"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="bolt"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4.5 13.5H11L10 22l8.5-11.5H12z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="bell"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4a1.5 1.5 0 0 0-3 0v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="earth"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v10h7v2H4v-2h7zM7 16h10v2H7zm3 4h4v2h-4z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="grid"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5v14h18V5H3zm4 12H5V7h2v10zm4 0H9V7h2v10zm4 0h-2V7h2v10zm4 0h-2V7h2v10z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="plug"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 7V3h-2v4h-4V3H8v4H7a1 1 0 0 0-1 1v4a6 6 0 0 0 5 5.91V22h2v-4.09A6 6 0 0 0 18 12V8a1 1 0 0 0-1-1z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="wrench"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.7 19 13.6 9.9c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card[data-icon="user"] > h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.42 0-8 2.24-8 5v3h16v-3c0-2.76-3.58-5-8-5z' fill='%23E08E0B'/%3E%3C/svg%3E"); }
.card--media { padding: 0 0 26px; overflow: hidden; }
.card--media .card__thumb { width: 100%; height: 190px; object-fit: cover; margin-bottom: 22px; }
.card--media > h3, .card--media > p, .card--media > .cta-inline, .card--media > ul { margin-left: 26px; margin-right: 26px; }
.card--media > h3::before { display: none; }

/* price cards */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 32px 0 14px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow-sm); }
.price-card--featured { border: 2px solid var(--amber-500); box-shadow: var(--shadow); transform: translateY(-6px); }
.price-card__badge { position: absolute; top: -13px; left: 22px; background: var(--amber-500); color: var(--navy-900); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.price-card__label { margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.price-card__price { margin: 0 0 14px; color: var(--navy-900); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.price-card__meta { list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-faint); }
.price-card__meta li { margin: 0; }

/* process timeline (3-4 steps across on desktop) */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 981px) {
  .steps.grid--3, .steps.grid--4 { position: relative; gap: 20px; }
  .steps.grid--3::before, .steps.grid--4::before { content: ""; position: absolute; top: 51px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber-500) 0 8px, transparent 8px 16px); z-index: 0; }
  .steps.grid--3 .card, .steps.grid--4 .card { padding: 86px 24px 26px; text-align: left; z-index: 1; }
  .steps.grid--3 .card::before, .steps.grid--4 .card::before { top: 28px; left: 24px; box-shadow: 0 0 0 6px #fff; }
  .section--alt .steps .card::before { box-shadow: 0 0 0 6px var(--surface); }
}

/* FAQ with sticky help card */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: 32px; }
.faq-layout .faq { margin: 0; max-width: none; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside__card { background: var(--navy-900); color: #CBD5E1; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(380px 200px at 100% 0%, rgba(245, 165, 36, .2), transparent 60%); }
.faq-aside__card h3 { color: #fff; font-size: 1.3rem; }
.faq-aside__card .section-eyebrow { color: #FCD38A; }
.faq-aside__btns { display: grid; gap: 10px; margin-top: 20px; }
.faq-aside__btns .btn--navy { background: #fff; color: var(--navy-900); }

/* service-area map */
.section-figure--map { margin: 0; }
.area-map { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.area-map a { cursor: pointer; }
.area-map__pin { fill: var(--amber-500); stroke: #0B1B33; stroke-width: 2; transition: r .15s; }
.area-map a:hover .area-map__pin, .area-map a:focus .area-map__pin { r: 8; fill: #fff; }
.area-map__label { fill: #E2E8F0; font: 600 13px var(--font); }
.area-map a:hover .area-map__label { fill: var(--amber-500); }
.area-map__city { fill: #fff; font: 800 16px var(--font); letter-spacing: -.01em; }
.area-map__ring { fill: #F5A524; fill-opacity: .8; font: 700 11px var(--font); letter-spacing: .1em; text-transform: uppercase; }

/* sticky call bar on phones */
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .media-split, .ed-split { grid-template-columns: 1fr; gap: 32px; }
  .media-split--flip .media-split__media { order: 0; }
  .ed-split__head { position: static; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .price-card--featured { transform: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .price-cards, .grid--4 { grid-template-columns: 1fr; }
  .media-split .section-figure img { aspect-ratio: 16 / 11; }
  .area-map__label { font-size: 15px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 19, 37, .96); backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  }
  .mobile-cta .btn { padding: .85em .6em; font-size: .95rem; }
  .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
