:root {
  --blue: #2f55d4;
  --navy: #0b1f3a;
  --navy-deep: #061529;
  --orange: #ff6b00;
  --sand: #f2eee5;
  --sand-light: #fbf8f1;
  --graphite: #20252b;
  --muted: #657083;
  --line: rgba(11, 31, 58, 0.14);
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(11, 31, 58, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--sand-light);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

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

.brand strong {
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  border-radius: var(--radius);
  padding: 10px 11px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue);
  background: rgba(47, 85, 212, 0.08);
}

.icon-button {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
}

.icon-button span,
.icon-button span::before,
.icon-button span::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.icon-button span {
  position: relative;
}

.icon-button span::before,
.icon-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.icon-button span::before {
  top: -6px;
}

.icon-button span::after {
  top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button.dark {
  color: var(--white);
  background: var(--navy);
}

.button.ghost {
  color: var(--navy);
  border-color: rgba(11, 31, 58, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 74px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 21, 41, 0.94) 0%, rgba(6, 21, 41, 0.8) 42%, rgba(6, 21, 41, 0.22) 78%),
    url("hero-worksite.webp") center right / cover no-repeat,
    var(--navy-deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: calc(100svh - 74px);
  padding: 74px 0 92px;
}

.hero-content {
  max-width: 710px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

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

h1,
h2,
h3 {
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.94;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(6, 21, 41, 0.52);
  backdrop-filter: blur(12px);
}

.proof-item {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.proof-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.next-signal {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

section {
  padding: 74px 0;
}

section:nth-of-type(even) {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.07);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card {
  display: grid;
  align-content: space-between;
  min-height: 235px;
  padding-top: 22px;
}

.service-card::before {
  content: "";
  width: 52px;
  height: 6px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.service-card ul,
.scope-list,
.legal-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.scope-list li,
.legal-list li {
  position: relative;
  padding-left: 18px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 650;
}

.service-card li::before,
.scope-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(47, 85, 212, 0.86)),
    var(--navy);
}

.band .section-kicker,
.band h2,
.band h3 {
  color: var(--white);
}

.band .section-heading p,
.band .card p {
  color: rgba(255, 255, 255, 0.76);
}

.band .card {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  min-height: 210px;
}

.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}

.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison {
  overflow: hidden;
  padding: 0;
}

.comparison-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 230px;
}

.photo-slot {
  display: grid;
  align-content: end;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.78), rgba(47, 85, 212, 0.54)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 8px, transparent 8px 18px),
    #d8dddf;
}

.photo-slot.after {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.78), rgba(47, 85, 212, 0.42)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 18px),
    #ebe2d0;
}

.photo-slot span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius);
  padding: 6px 9px;
  color: var(--white);
  background: rgba(6, 21, 41, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.comparison-body {
  padding: 18px;
}

.comparison-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-card {
  color: var(--white);
  background: var(--navy-deep);
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card p,
.contact-card a {
  color: rgba(255, 255, 255, 0.76);
}

.contact-lines {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.contact-lines a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  text-decoration: none;
}

.lead-form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 6px;
}

label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(11, 31, 58, 0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--graphite);
  background: var(--white);
  font: inherit;
}

input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  min-height: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #027a48;
}

.lead-form button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.legal-shell {
  padding-top: 50px;
}

.legal-doc {
  max-width: 860px;
}

.legal-doc h1 {
  color: var(--navy);
  font-size: clamp(36px, 6vw, 64px);
}

.legal-doc h2 {
  margin: 34px 0 12px;
  font-size: 25px;
}

.legal-doc p {
  color: var(--graphite);
}

.notice {
  border-left: 5px solid var(--orange);
  padding: 16px 18px;
  background: var(--sand);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.credit {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 12px;
}

.credit a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.s720-footer-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(135deg, rgba(47, 85, 212, 0.22), rgba(255, 107, 0, 0.14));
}

.s720-brand-block {
  min-width: 0;
}

.s720-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.s720-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.s720-powered {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #9eeeff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.s720-powered img {
  width: 158px;
  max-height: 28px;
  object-fit: contain;
}

.s720-brand-block p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.s720-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.s720-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 9px 13px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.s720-actions a:first-child {
  border-color: transparent;
  color: #031426;
  background: #06b6d4;
}

@media (max-width: 920px) {
  .icon-button {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    background: var(--sand-light);
  }

  .header-inner > .nav:not([data-nav]) {
    position: static;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0;
    padding: 0;
    background: transparent;
  }

  body.nav-open .nav {
    display: grid;
  }

  .nav a {
    padding: 14px 10px;
  }

  .section-heading,
  .contact-layout,
  .footer-inner,
  .s720-footer-panel {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }

  .s720-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(6, 21, 41, 0.94) 0%, rgba(6, 21, 41, 0.84) 54%, rgba(6, 21, 41, 0.44) 100%),
      url("hero-worksite.webp") center right / cover no-repeat,
      var(--navy-deep);
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 70px;
  }

  .proof-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .gallery {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  section {
    padding: 56px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
