:root {
  --black: #111111;
  --navy: #0d1b2a;
  --paper: #f4f1eb;
  --stone: #e7e3dc;
  --orange: #bd4300;
  --border: rgba(17,17,17,.12);
  --white: #ffffff;
  --muted: #3f4650;
  --radius: 8px;
  --max: 1180px;
  --font-heading: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Manrope", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(40px, 6vw, 76px); text-transform: uppercase; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; }
h3 { margin-bottom: 10px; font-size: 21px; }
p { max-width: 760px; color: var(--muted); font-size: 16px; }
ul, ol { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242,106,27,.45);
  outline-offset: 3px;
}
.wrap { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--black); }
.btn.small { min-height: 42px; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.brand { display: inline-flex; width: 184px; min-width: 154px; height: 46px; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #3f4650;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav-links a { padding: 8px 0; text-decoration: none; }
.mobile-nav-links {
  display: none;
  width: min(100% - 40px, var(--max));
  margin: -4px auto 10px;
  padding: 0 0 12px;
  gap: 8px;
  overflow-x: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  scrollbar-width: none;
}
.mobile-nav-links::-webkit-scrollbar { display: none; }
.mobile-nav-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  text-decoration: none;
}

.breadcrumbs { padding: 24px 0 0; color: #4b5563; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(17,17,17,.36); }

.hero { padding: 72px 0 88px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
.hero-media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: 0 24px 70px rgba(17,17,17,.12);
}
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: #3f4650; font-size: 13px; font-weight: 800; text-transform: uppercase; }

.section { padding: 86px 0; }
.section.paper { background: var(--paper); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy p,
.section.navy li { color: rgba(255,255,255,.84); }
.section.navy .eyebrow { color: #ffb27c; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.section-head p { max-width: 520px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.section.navy .card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.card p, .card li { font-size: 15px; }
.card ul, .card ol { display: grid; gap: 8px; padding-left: 18px; color: var(--muted); }
.case-card { overflow: hidden; padding: 0; }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-body { padding: 18px; }
.case-type { color: var(--orange); font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-open { margin-top: 12px; }
.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17,17,17,.82);
}
.lightbox-panel {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 1120px);
}
.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-caption { margin: 0; color: var(--white); text-align: center; }
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  cursor: pointer;
}
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  line-height: 1.45;
}
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 8px; color: var(--orange); font-family: var(--font-heading); font-size: 24px; line-height: 1; }
.section.navy .steps li {
  border-color: rgba(255,255,255,.28);
  background: var(--white);
  color: var(--black);
}
.section.navy .steps li::before { color: var(--orange); }
.faq { display: grid; gap: 10px; }
details {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-weight: 800; }

.quote-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-extra {
  display: grid;
  gap: 18px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.form-extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.form-extra summary::-webkit-details-marker { display: none; }
.form-extra summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
}
.form-extra[open] summary::after { content: "−"; }
.form-extra-hint { margin: -6px 0 0; font-size: 14px; line-height: 1.45; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--black);
  font: inherit;
}
textarea { min-height: 132px; resize: vertical; }
.form-hp { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.field-error input,
.field-error select,
.field-error textarea { border-color: var(--orange); background: #fff7f1; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.note, .message { margin: 0; font-size: 14px; }
.message { min-height: 24px; font-weight: 800; }
.message.success { color: #197642; }
.message.error { color: var(--orange); }

footer { padding: 42px 0 30px; border-top: 1px solid var(--border); background: var(--black); color: rgba(255,255,255,.82); font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .7fr)); gap: 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-family: var(--font-heading); font-size: 24px; font-weight: 700; }
.footer-brand img { width: 28px; height: 42px; object-fit: contain; filter: invert(1); opacity: .9; }
.footer-copy { color: rgba(255,255,255,.82); font-size: 14px; }
.footer-title { margin: 0 0 10px; color: var(--white); font-family: var(--font-heading); font-size: 17px; }
.footer-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-list a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.chat-widget { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: grid; justify-items: start; gap: 10px; pointer-events: none; }
.chat-toggle, .chat-send, .chat-close, .chat-quick { font-family: var(--font-body); cursor: pointer; }
.chat-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 13px 18px; border: 1px solid var(--black); border-radius: 999px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; pointer-events: auto; box-shadow: 0 18px 44px rgba(17,17,17,.22); }
.chat-dot { width: 9px; height: 9px; border-radius: 999px; background: #34c759; box-shadow: 0 0 0 5px rgba(52,199,89,.18); }
.chat-panel[hidden] { display: none; }
.chat-panel { display: flex; flex-direction: column; width: min(360px, calc(100vw - 32px)); max-height: min(646px, calc(100vh - 96px)); overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 70px rgba(17,17,17,.22); pointer-events: auto; }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: var(--black); color: var(--white); }
.chat-title { display: grid; gap: 2px; font-size: 12px; line-height: 1.35; }
.chat-title strong { font-family: var(--font-heading); font-size: 17px; line-height: 1.05; }
.chat-title span { color: rgba(255,255,255,.78); }
.chat-close { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: transparent; color: var(--white); font-size: 22px; }
.chat-log { display: grid; align-content: start; flex: 1 1 180px; gap: 10px; min-height: 120px; height: auto; padding: 16px; overflow-y: auto; background: var(--paper); }
.chat-message { max-width: 88%; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; line-height: 1.45; white-space: pre-line; }
.chat-message.bot { background: var(--white); border: 1px solid var(--border); }
.chat-message.user { justify-self: end; background: var(--black); color: var(--white); }
.chat-quick-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 0; }
.chat-quick { padding: 7px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: #3f4650; font-size: 12px; font-weight: 800; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px; border: 0; border-radius: 0; }
.chat-form input { min-height: 42px; }
.chat-send { min-height: 42px; padding: 0 12px; border: 1px solid var(--black); border-radius: var(--radius); background: var(--black); color: var(--white); font-size: 12px; font-weight: 800; }
.chat-lead { display: grid; gap: 10px; padding: 0 16px 16px; }
.chat-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-lead input { min-height: 42px; }
.chat-lead-message { min-height: 20px; font-size: 13px; font-weight: 800; }
.chat-lead-message.success { color: #197642; }
.chat-lead-message.error { color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-nav-links { display: flex; }
  .hero-grid, .quote-layout { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .hero { padding: 38px 0 54px; }
  h1 { font-size: clamp(32px, 8.8vw, 40px); line-height: 1.05; }
  h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.06; }
  .lead { font-size: 16px; line-height: 1.48; }
  .actions { gap: 10px; margin-top: 22px; }
  .chips { gap: 8px; margin-top: 16px; }
  .chips .chip:nth-child(n+3) { display: none; }
  .chip { min-height: 30px; padding: 7px 10px; font-size: 12px; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .grid-2, .grid-3, .grid-4, .steps, .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .actions .btn { width: 100%; }
  .site-header .btn { display: none; }
  .brand { width: 156px; min-width: 140px; }
  .form-footer { display: grid; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .chat-widget { left: 14px; right: 14px; bottom: 14px; justify-items: start; }
  .chat-panel { width: 100%; max-height: calc(100vh - 92px); }
  .chat-lead-grid { grid-template-columns: 1fr; }
}
