/* ==========================================================================
   Longshaw Construction Ltd.
   Brand colours taken directly from the logo SVG:
   Navy #062447 | Orange #F48B0C | Slate #5C666B
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --navy: #062447;
  --navy-deep: #041a34;
  --navy-soft: #0d3460;
  --orange: #f48b0c;
  --orange-hover: #ff9d26;
  --slate: #5c666b;
  --slate-light: #c5ced3;
  --ink: #1d2a36;
  --line: #e2e7eb;
  --bg: #ffffff;
  --bg-soft: #f3f5f7;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(6, 36, 71, .06), 0 8px 24px rgba(6, 36, 71, .08);
  --shadow-lg: 0 2px 4px rgba(6, 36, 71, .06), 0 24px 48px rgba(6, 36, 71, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-weight: 700; font-size: 1.3rem; }
h4 { font-weight: 700; font-size: 1.08rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:target { scroll-margin-top: calc(var(--header-h) + 16px); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Eyebrow echoes the orange bars that flank the logo tagline */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 4px; background: var(--orange); }
.eyebrow--light { color: var(--slate-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; white-space: nowrap;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 8px;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { --bg: var(--orange); --bd: var(--orange); --fg: var(--navy); box-shadow: 0 6px 16px rgba(244, 139, 12, .28); }
.btn--primary:hover { --bg: var(--orange-hover); --bd: var(--orange-hover); }
.btn--navy:hover { --bg: var(--navy-soft); --bd: var(--navy-soft); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--line); }
.btn--outline:hover { --bd: var(--navy); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .14); --bd: #fff; }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.text-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

/* ---------- Preview + emergency bars ---------- */
.preview-bar { background: #fff4d6; color: var(--navy); text-align: center; padding: .5rem 1rem; font-size: .9rem; border-bottom: 1px solid #f2d27a; }
.preview-bar a { margin-left: .75rem; font-weight: 600; }

.emergency-bar { background: var(--orange); color: var(--navy); font-size: .95rem; position: relative; z-index: 60; }
.emergency-bar__inner { display: flex; align-items: center; justify-content: center; gap: .85rem; padding: .55rem 0; flex-wrap: wrap; text-align: center; }
.emergency-bar__text { font-weight: 500; }
.emergency-bar__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; background: rgba(255, 255, 255, .35); padding: .25rem .75rem; border-radius: 999px; }
.emergency-bar__cta:hover { background: rgba(255, 255, 255, .6); }
.emergency-bar__cta .icon { width: 1em; height: 1em; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 36, 71, .08); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled .site-header__inner { height: 76px; }
.brand { flex: none; }
.brand img { height: 64px; width: auto; transition: height .25s; }
.site-header.is-scrolled .brand img { height: 54px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: .25rem; }
.primary-nav a { display: block; white-space: nowrap; padding: .5rem .8rem; font-weight: 500; font-size: .98rem; color: var(--navy); text-decoration: none; border-radius: 6px; }
.primary-nav a:hover { background: var(--bg-soft); }
.primary-nav a.is-active { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.primary-nav__mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #dfe6ec; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 85%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(180deg, transparent, rgba(4, 26, 52, .6)); }
.hero__roof { position: absolute; left: 0; top: 40px; width: 100%; height: 56px; fill: var(--orange); z-index: -1; }
.hero__inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 4rem; align-items: center; padding: clamp(6.5rem, 11vw, 8.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 40rem; color: #cfd8e0; margin-bottom: 2rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.quickstart { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); border-top: 5px solid var(--orange); }
.quickstart h2 { font-size: 1.45rem; margin-bottom: .25rem; }
.quickstart__note { color: var(--slate); font-size: .95rem; margin-bottom: 1.25rem; }
.quickstart__options { display: grid; gap: .65rem; }
.qs-option { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s, transform .2s; }
.qs-option .icon { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 8px; background: var(--bg-soft); color: var(--navy); }
.qs-option strong { display: block; color: var(--navy); font-weight: 600; line-height: 1.3; }
.qs-option small { display: block; color: var(--slate); font-size: .87rem; line-height: 1.4; }
.qs-option:hover { border-color: var(--navy); background: #fafbfc; transform: translateX(3px); }
.qs-option--urgent { border-color: rgba(244, 139, 12, .55); background: #fff8ef; }
.qs-option--urgent .icon { background: var(--orange); color: var(--navy); }
.qs-option--urgent:hover { border-color: var(--orange); background: #fff2e0; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 2.1rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__value { font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-display); color: var(--navy); letter-spacing: -.02em; }
.trust__value::after { content: ""; display: block; width: 28px; height: 4px; background: var(--orange); margin-top: .7rem; }
.trust__label { color: var(--slate); font-size: .97rem; line-height: 1.4; }

/* ---------- Sectors ---------- */
.sectors { background: var(--bg-soft); padding: 1.6rem 0; }
.sectors__inner { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.sectors__title { font: 600 .82rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0; }
.sectors__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.sectors__list li { padding: .4rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--navy); }

/* ---------- Generic section ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .eyebrow { justify-content: flex-start; }
.section-head__intro { color: var(--slate); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services__layout { display: grid; grid-template-columns: 330px 1fr; gap: 2rem; align-items: start; }
.services__tabs { display: grid; gap: .5rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.service-tab { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .95rem 1.1rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.service-tab .icon { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 8px; background: var(--bg-soft); color: var(--navy); transition: background-color .2s, color .2s; }
.service-tab strong { display: block; font-weight: 600; color: var(--navy); line-height: 1.3; }
.service-tab small { color: var(--slate); font-size: .85rem; }
.service-tab:hover { border-color: #b9c3cb; }
.service-tab[aria-selected="true"] { border-color: var(--navy); box-shadow: var(--shadow); background: #fff; position: relative; }
.service-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1.5px; top: 12px; bottom: 12px; width: 4px; background: var(--orange); border-radius: 0 4px 4px 0; }
.service-tab[aria-selected="true"] .icon { background: var(--navy); color: #fff; }
.service-tab--urgent .icon { background: #fff2e0; color: #b45f00; }
.service-tab--urgent[aria-selected="true"] .icon { background: var(--orange); color: var(--navy); }

.service-panel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.js .service-panel[data-hidden] { display: none; }
.no-js .service-panel + .service-panel { margin-top: 1.5rem; }
.service-panel.is-entering { animation: panelIn .35s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.service-panel__head { display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.service-panel__icon { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 12px; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.service-panel__icon .icon { width: 1.8rem; height: 1.8rem; }
.service-panel__head h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.service-panel__head p { color: var(--slate); margin: 0; }
.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.service-items:has(> :only-child) { grid-template-columns: 1fr; }
.service-item { padding: 1.25rem 1.3rem; background: var(--bg-soft); border-radius: var(--radius); border-left: 3px solid var(--orange); }
.service-item h4 { margin-bottom: .35rem; }
.service-item p { margin: 0; color: var(--slate); font-size: .97rem; line-height: 1.55; }

/* ---------- Emergency ---------- */
.emergency { position: relative; background: var(--navy-deep); color: #cfd8e0; overflow: hidden; isolation: isolate; }
.emergency__roof { position: absolute; left: 0; width: 100%; top: 0; height: 56px; fill: var(--navy); z-index: -1; transform: scaleY(-1); }
.emergency__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.emergency h2 { color: #fff; }
.emergency__copy > p:not(.eyebrow) { font-size: 1.1rem; max-width: 38rem; }
.check-list { display: grid; gap: .7rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: var(--orange); margin-top: .2rem; }
.check-list--light li { color: #e7edf2; }
.emergency__card { background: var(--navy); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.status-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--slate-light); background: rgba(255, 255, 255, .06); margin-bottom: 1.25rem; }
.status-pill .pulse { width: 8px; height: 8px; }
.status-pill:not(.status-pill--on) .pulse::after { display: none; }
.status-pill--on { color: var(--orange); background: rgba(244, 139, 12, .12); }
.emergency__label { margin: 0; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-light); }
.emergency__phone { display: block; font: 800 clamp(2rem, 4vw, 2.75rem)/1.15 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -.01em; margin: .25rem 0 1.25rem; }
.emergency__phone:hover { color: var(--orange); }
.hours { display: grid; gap: .9rem; margin: 0 0 1.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hours dt { font-size: .82rem; color: var(--slate-light); letter-spacing: .05em; text-transform: uppercase; }
.hours dd { margin: 0; color: #fff; font-weight: 500; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #c9d2d8 0 10px, transparent 10px 18px); }
.step__num { position: relative; z-index: 1; }
.step { position: relative; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--font-display); margin-bottom: 1.25rem; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.step:first-child .step__num { background: var(--orange); color: var(--navy); }
.step p { color: var(--slate); margin: 0; }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why__copy > p:not(.eyebrow) { color: var(--slate); font-size: 1.1rem; margin-bottom: 1.75rem; }
.why__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why__points li { display: flex; gap: .8rem; align-items: flex-start; background: #fff; padding: 1.15rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 500; color: var(--navy); line-height: 1.45; }
.why__points .icon { color: var(--orange); width: 1.5rem; height: 1.5rem; }

/* ---------- Vendor ---------- */
.vendor__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(1.75rem, 4vw, 3.5rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.vendor__panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--orange); }
.vendor__head > p:not(.eyebrow) { color: var(--slate); font-size: 1.08rem; margin-bottom: 1.75rem; }
.vendor__docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.doc-card { padding: 1.35rem; border-radius: var(--radius); background: var(--bg-soft); }
.doc-card__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; background: var(--navy); color: #fff; margin-bottom: .9rem; }
.doc-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.doc-card p { color: var(--slate); font-size: .94rem; margin: 0; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font: 700 1.12rem/1.35 var(--font-display); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: transform .25s, border-color .25s, background-color .25s; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq-item[open] .faq-item__icon { background: var(--orange); border-color: var(--orange); }
.faq-item[open] .faq-item__icon::after { opacity: 0; }
.faq-item__body p { color: var(--slate); padding-right: 3rem; }

/* ---------- Contact + form ---------- */
.contact { background: linear-gradient(180deg, var(--bg-soft) 0, var(--bg-soft) 100%); }
.contact__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3.5rem; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--slate); font-size: 1.08rem; }
.contact-list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 8px; background: #fff; color: var(--navy); border: 1px solid var(--line); }
.contact-list span { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list div { color: var(--navy); font-weight: 500; line-height: 1.45; }

.quote-card { background: #fff; border-radius: 20px; padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-lg); border-top: 5px solid var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { margin-bottom: 2rem; }
.progress__bar { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 25%; background: var(--orange); border-radius: 6px; transition: width .35s ease; }
.progress__labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .6rem; font-size: .8rem; font-weight: 600; color: #98a3aa; letter-spacing: .03em; }
.progress__labels li.is-done, .progress__labels li.is-current { color: var(--navy); }
.progress__labels li.is-skipped { text-decoration: line-through; opacity: .55; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step legend { font: 800 1.5rem/1.25 var(--font-display); color: var(--navy); margin-bottom: 1.25rem; padding: 0; letter-spacing: -.01em; }
.form-step.is-entering { animation: panelIn .3s ease both; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { height: 100%; display: flex; align-items: center; gap: .7rem; min-height: 58px; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--navy); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b6c0c7; transition: border .2s, background .2s; }
.choice:hover span { border-color: #9faab2; }
.choice input:checked + span { border-color: var(--navy); background: #f6f8fa; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + span::before { border: 6px solid var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice--urgent span { background: #fff8ef; border-color: rgba(244, 139, 12, .5); }
.choice--urgent input:checked + span { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: #fff2e0; }
.choice--urgent input:checked + span::before { border-color: var(--orange); }
.choice-grid .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }

.urgent-callout { display: flex; gap: 1rem; margin-top: 1.25rem; padding: 1.25rem; border-radius: var(--radius); background: var(--navy); color: #dfe6ec; }
.urgent-callout > .icon { color: var(--orange); width: 1.75rem; height: 1.75rem; }
.urgent-callout strong { color: #fff; display: block; margin-bottom: .25rem; font-size: 1.05rem; }
.urgent-callout p { font-size: .95rem; margin-bottom: 1rem; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .25rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field small { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #cfd7dd; border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062447' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(244, 139, 12, .35); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c2410c; }
.field-error, .field .field-error { color: #b42318; font-size: .88rem; font-weight: 500; margin: .5rem 0 0; }
.chip-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--navy); transition: all .2s; }
.chip:hover span { border-color: #9faab2; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; font-size: .93rem; color: var(--slate); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.form-alert { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 8px; background: #fef3f2; color: #b42318; font-weight: 500; }
.form-note { margin-top: 1rem; color: var(--slate); font-size: .9rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--orange); color: var(--navy); margin-bottom: 1.25rem; }
.form-success__icon .icon { width: 2rem; height: 2rem; stroke-width: 2.5; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--slate); max-width: 30rem; margin: 0 auto 1.5rem; }
.form-success:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #b8c4cd; padding: 5rem 0 2rem; margin-top: 0; isolation: isolate; }
.footer__roof { position: absolute; top: 28px; left: 0; width: 100%; height: 40px; fill: var(--orange); opacity: .9; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 2.5rem; padding-top: 2rem; }
.site-footer__brand img { height: 66px; width: auto; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 22rem; font-size: .97rem; }
.site-footer h2 { color: #fff; font: 600 .82rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .55rem; font-size: .97rem; }
.site-footer a, .site-footer .link-button { color: #e3e9ee; text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--orange); text-decoration: underline; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #8d9ba6; }
.site-footer__legal p { margin: 0; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Privacy dialog ---------- */
.privacy-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; max-width: 560px; width: calc(100% - 2rem); box-shadow: var(--shadow-lg); }
.privacy-dialog::backdrop { background: rgba(4, 26, 52, .6); }
.privacy-dialog__inner { padding: 2rem; }
.privacy-dialog p { color: var(--slate); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .primary-nav a { padding: .5rem .55rem; font-size: .94rem; }
  .header-phone span { display: none; }
  .header-phone .icon { width: 1.5rem; height: 1.5rem; }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .site-header__inner { height: 68px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn, .header-phone { display: none; }
  .primary-nav { position: fixed; inset: var(--nav-top, 76px) 0 0 0; background: #fff; padding: 1.5rem 1.25rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; overflow-y: auto; margin: 0; z-index: 49; }
  .primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 1rem .25rem; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav a.is-active { box-shadow: none; color: #b45f00; }
  .primary-nav__mobile-cta { display: grid; gap: .75rem; margin-top: 1.75rem; }
  .primary-nav__mobile-cta a { border-bottom: 2px solid; padding: .9rem 1rem; font-size: 1rem; }
  .primary-nav__mobile-cta .btn--primary { border-color: var(--orange); }
  .primary-nav__mobile-cta .btn--outline { border-color: var(--line); }
  body.nav-open { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__roof { top: 30px; height: 40px; }
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 1.6rem 1.25rem; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services__layout { grid-template-columns: 1fr; }
  .services__tabs { position: static; display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; margin: 0 -1.25rem; padding-inline: 1.25rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .services__tabs::-webkit-scrollbar { display: none; }
  .service-tab { flex: none; width: auto; scroll-snap-align: start; padding: .7rem .9rem; }
  .service-tab .icon { width: 2.1rem; height: 2.1rem; padding: .45rem; }
  .service-tab small { display: none; }
  .service-tab[aria-selected="true"]::before { left: 12px; right: 12px; top: auto; bottom: -1.5px; width: auto; height: 4px; border-radius: 4px 4px 0 0; }
  .emergency__inner, .why__inner, .vendor__panel, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .steps::before { display: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .container { width: min(100% - 2.5rem, var(--container)); }
  .emergency-bar { font-size: .88rem; }
  .emergency-bar__inner { gap: .5rem .75rem; padding: .5rem 0; }
  .emergency-bar__text { flex: 1 1 100%; }
  .emergency-bar .pulse { display: none; }
  .hero__inner { padding-top: 5rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .quickstart { padding: 1.35rem; }
  .service-items, .why__points, .vendor__docs, .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1.1rem; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: .6rem; }
  .faq-item__body p { padding-right: 0; }
  .form-nav .btn { flex: 1; }
  .progress__labels { font-size: .72rem; }
  .site-footer__inner { grid-template-columns: 1fr; }

  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(6, 36, 71, .1);
    padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom));
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 54px; border-radius: 10px; margin: 0 .2rem; font-size: .78rem; font-weight: 600; color: var(--navy); text-decoration: none; }
  .mobile-bar .icon { width: 1.35rem; height: 1.35rem; }
  .mobile-bar__primary { background: var(--orange); }
  .mobile-bar__urgent { background: var(--navy); color: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .emergency-bar, .site-header, .mobile-bar, .quickstart, .quote-card { display: none !important; }
  .hero { background: #fff; color: #000; }
  .hero h1 { color: var(--navy); }
}

/* Multi-step behaviour only applies when JavaScript is running */
.js .form-step:not(.is-active) { display: none; }
.no-js .progress, .no-js [data-next], .no-js [data-prev] { display: none; }
.no-js .form-step + .form-step { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
