/* Layout idea: job-site bold. Deep navy ground, safety-yellow accent, condensed
   uppercase headlines, hard edges. Every section pushes toward the quote form. */
:root {
  --navy: #0F1B2D;
  --navy-2: #16253B;
  --steel: #22344F;
  --line: #2E4363;
  --text: #FFFFFF;
  --muted: #B9C3D1;
  --yellow: #F5B700;
  --yellow-dark: #D9A200;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: 0.98; margin: 0; letter-spacing: 0.005em; text-wrap: balance;
}
p { margin: 0; }
a { color: var(--yellow); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
}
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px;
  font: 700 18px var(--font-display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 0.15s ease;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* Header */
.topbar { background: var(--yellow); color: var(--navy); font-weight: 600; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--navy); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(15, 27, 45, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links a:not(.btn):hover { color: var(--yellow); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--text); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(52px, 8vw, 104px); }
.hero h1 span { color: var(--yellow); }
.hero-copy > p { font-size: 20px; color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust div { background: var(--navy-2); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.trust strong { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.trust span { font-size: 14px; color: var(--muted); }
.hero-card { background: var(--navy-2); border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.hero-card h2 { font-size: 34px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.hero-card li svg { flex: none; margin-top: 4px; }

/* Services */
.services { padding: 96px 0; background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(42px, 6vw, 68px); margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 42ch; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { background: var(--navy); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.15s ease, transform 0.15s ease; }
.service:hover { border-color: var(--yellow); transform: translateY(-2px); }
.service h3 { font-size: 28px; }
.service p { color: var(--muted); font-size: 16px; }
.service .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--yellow); letter-spacing: 0.1em; }

/* Before / after */
.results { padding: 96px 0; }
.compare-wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; }
.compare { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); overflow: hidden; user-select: none; background: var(--steel); }
.compare svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--yellow); pointer-events: none; }
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B2D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat;
}
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type=range]:focus-visible ~ .compare-handle::after { outline: 3px solid #fff; outline-offset: 3px; }
.compare-label { position: absolute; top: 16px; padding: 6px 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 15px; pointer-events: none; }
.compare-label.before { left: 16px; background: rgba(15, 27, 45, 0.85); }
.compare-label.after-l { right: 16px; background: var(--yellow); color: var(--navy); }
.job { display: flex; flex-direction: column; gap: 18px; }
.job h3 { font-size: 36px; }
.job dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.job dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 15px; }
.job dd { margin: 0; font-weight: 600; }

/* Quote form */
.quote { padding: 96px 0; background: var(--yellow); color: var(--navy); }
.quote .kicker { color: var(--navy); }
.quote .kicker::before { background: var(--navy); }
.quote-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.quote-intro { display: flex; flex-direction: column; gap: 18px; }
.quote-intro h2 { font-size: clamp(44px, 6vw, 72px); }
.quote-intro p { font-size: 18px; max-width: 34ch; }
.quote-call { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--navy); text-decoration: none; letter-spacing: 0.02em; }
.form-card { background: var(--navy); color: var(--text); padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: 12px 12px 0 rgba(15, 27, 45, 0.25); }
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.progress li { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--muted); border-top: 4px solid var(--line); padding-top: 8px; }
.progress li.done, .progress li.current { border-color: var(--yellow); color: var(--text); }
.step { display: none; flex-direction: column; gap: 18px; border: 0; margin: 0; padding: 0; }
.step.active { display: flex; }
.step legend { font-family: var(--font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; padding: 0; margin-bottom: 4px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options label { display: flex; flex-direction: column; gap: 2px; min-height: 72px; padding: 14px 16px; border: 1px solid var(--line); background: var(--navy-2); cursor: pointer; font-weight: 600; }
.options label span { font-weight: 400; font-size: 14px; color: var(--muted); }
.options input:checked + label { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.options input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0;
  background: var(--navy-2); color: var(--text); font: 16px var(--font-body);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.error { color: #FFB4A8; font-size: 14px; min-height: 1em; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.success { display: none; flex-direction: column; gap: 12px; }
.success.active { display: flex; }
.success h3 { font-size: 36px; color: var(--yellow); }
.success p { color: var(--muted); }

/* FAQ */
.faq { padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 32px; color: var(--yellow); line-height: 1; transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .logo { font-size: 22px; }

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

/* Tablet */
@media (max-width: 960px) {
  .hero .wrap, .compare-wrap, .quote-grid, .faq-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: var(--navy); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { width: 100%; }
  .hero { padding: 48px 0 64px; }
  .trust { grid-template-columns: 1fr; }
  .service-grid, .options, .field-row { grid-template-columns: 1fr; }
  .services, .results, .quote, .faq { padding: 64px 0; }
  .form-card { padding: 22px; }
  .compare { aspect-ratio: 4 / 3; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; }
  .call-bar .call { background: var(--navy-2); color: var(--text); }
  .call-bar .get { background: var(--yellow); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service, summary::after, .btn { transition: none; }
}
