:root {
  --ink: #f7fbff;
  --muted: #b6c4d3;
  --navy-950: #001326;
  --navy-900: #001f3f;
  --navy-800: #062b54;
  --navy-700: #0b386a;
  --blue: #1388ff;
  --blue-600: #0a66d4;
  --line: rgba(174, 204, 238, 0.2);
  --panel: rgba(4, 34, 66, 0.78);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(19, 136, 255, 0.17), transparent 34rem),
    linear-gradient(180deg, #001326 0%, #001b35 45%, #031224 100%);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 4px solid var(--blue);
  color: var(--navy-900);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 52px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.site-header::after {
  background: var(--blue);
  bottom: -4px;
  content: "";
  height: 4px;
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  width: min(320px, 36vw);
}

.brand img {
  height: 50px;
  object-fit: contain;
  width: 205px;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  justify-content: center;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover,
.header-call:hover {
  color: var(--blue-600);
}

.header-call {
  border: 1px solid rgba(10, 102, 212, 0.35);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 11px 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  position: relative;
  width: 42px;
}

.menu-button span {
  background: var(--navy-900);
  display: block;
  height: 2px;
  left: 8px;
  position: absolute;
  right: 8px;
}

.menu-button span:first-child {
  top: 15px;
}

.menu-button span:last-child {
  top: 25px;
}

.hero {
  min-height: calc(100vh - 76px);
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(0, 19, 38, 0.92), rgba(0, 31, 63, 0.72)),
    url("assets/brand-card.png") center / cover no-repeat;
  inset: 0;
  opacity: 0.62;
  position: absolute;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.98fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 8vw, 98px) clamp(18px, 4vw, 52px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 800px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-lede,
.section-heading p,
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.58;
}

.hero-lede {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-transform: uppercase;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero-art {
  min-height: 440px;
  position: relative;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  position: absolute;
  width: min(96%, 620px);
}

.card-front {
  right: 0;
  top: 28px;
}

.card-back {
  left: 0;
  top: 186px;
  transform: rotate(-2deg);
  width: min(88%, 560px);
}

.stats-band {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.stats-band div {
  border-right: 1px solid var(--line);
  padding: 24px clamp(14px, 2.4vw, 28px);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  color: var(--white);
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stats-band span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.4;
}

.section,
.split-section,
.contact-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(70px, 10vw, 118px) clamp(18px, 4vw, 52px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.service-card {
  background: linear-gradient(180deg, rgba(6, 43, 84, 0.84), rgba(0, 19, 38, 0.82));
  border: 1px solid var(--line);
  min-height: 230px;
  padding: 26px;
}

.service-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.52;
  margin-bottom: 0;
}

.service-icon {
  align-items: center;
  border: 1px solid rgba(19, 136, 255, 0.45);
  color: var(--blue);
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  width: 52px;
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 74px);
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
}

.check-list {
  border-top: 1px solid var(--line);
  color: var(--ink);
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0 14px 28px;
  position: relative;
}

.check-list li::before {
  color: var(--blue);
  content: ">";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.brand-panel {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.timeline article {
  border-top: 3px solid var(--blue);
  background: rgba(0, 19, 38, 0.52);
  min-height: 220px;
  padding: 24px;
}

.timeline span {
  color: var(--blue);
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 28px;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.88fr);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
  padding-bottom: 12px;
}

.quote-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-950);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #edf3f8;
  border: 1px solid #cbd8e6;
  border-radius: 0;
  color: var(--navy-950);
  font: inherit;
  letter-spacing: 0;
  min-height: 46px;
  padding: 10px 12px;
  text-transform: none;
  width: 100%;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px clamp(18px, 4vw, 52px) 44px;
}

.site-footer img {
  background: var(--white);
  height: 52px;
  object-fit: contain;
  padding: 4px 8px;
  width: 220px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-call {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav.is-open {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 31, 63, 0.12);
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    inset: 76px 0 auto;
    padding: 0 clamp(18px, 4vw, 52px) 18px;
    position: fixed;
  }

  .nav.is-open a {
    border-bottom: 1px solid rgba(0, 31, 63, 0.15);
    padding: 18px 0;
  }

  .hero-inner,
  .section-heading,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 360px;
  }

  .stats-band,
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band div:nth-child(2) {
    border-right: 0;
  }

  .stats-band div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 42px;
    width: 174px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero-art {
    min-height: 300px;
  }

  .card {
    width: 100%;
  }

  .card-back {
    top: 150px;
    width: 92%;
  }

  .stats-band,
  .service-grid,
  .timeline,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .stats-band div,
  .stats-band div:nth-child(2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }
}
