:root {
  --ink: #172027;
  --muted: #66737d;
  --line: #d8dee3;
  --surface: #f4f6f7;
  --panel: #ffffff;
  --steel: #26323b;
  --accent: #c62828;
  --accent-dark: #9f1f1f;
  --blue: #163f63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 222, 227, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--steel);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #33414b;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.button,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.nav-cta,
.primary,
form button {
  background: var(--accent);
  color: #fff;
}

.nav-cta:hover,
.primary:hover,
form button:hover {
  background: var(--accent-dark);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  overflow: hidden;
  background: #111a20;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 22, 28, 0.92) 0%, rgba(13, 22, 28, 0.72) 42%, rgba(13, 22, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(13, 22, 28, 0.7) 0%, rgba(13, 22, 28, 0) 44%);
}

.hero-content {
  position: relative;
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100vh - 74px));
  max-width: 760px;
  padding: 76px clamp(18px, 5vw, 72px) 54px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb5b5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 680px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: #d7dee3;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 36px 0 0;
}

.proof-row div {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-row dt {
  font-size: 21px;
  font-weight: 900;
}

.proof-row dd {
  margin: 6px 0 0;
  color: #c4cdd5;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-band span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  color: #2d3942;
  font-weight: 850;
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px clamp(18px, 4vw, 34px);
}

.intro,
.split-section,
.resources,
.rfq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.service-grid article,
.case-grid article,
.check-panel,
form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-grid article {
  min-height: 250px;
  padding: 22px;
}

.service-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.check-panel {
  padding: 28px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 12px 0;
  color: #34424c;
  line-height: 1.45;
}

.process {
  max-width: none;
  background: #202c35;
  color: #fff;
}

.process > .eyebrow,
.process > h2,
.process > .timeline {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.process h2 {
  color: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline article {
  min-height: 250px;
  padding: 24px;
  background: #26343e;
}

.timeline span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 22px;
  background: var(--accent);
  font-weight: 900;
}

.timeline p {
  color: #c6d0d7;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-grid article {
  padding: 24px;
}

.resources {
  border-top: 1px solid var(--line);
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  color: #25323b;
  font-weight: 850;
}

.article-list a:hover {
  border-color: var(--accent);
}

.rfq {
  max-width: none;
  padding-left: clamp(18px, 6vw, 88px);
  padding-right: clamp(18px, 6vw, 88px);
  background: #fff;
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #2b3740;
  font-size: 14px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

form button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  background: #151f26;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: #bac4cb;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trust-band,
  .service-grid,
  .timeline,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .split-section,
  .resources,
  .rfq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .nav-cta {
    width: 100%;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .proof-row,
  .trust-band,
  .service-grid,
  .timeline,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
