:root {
  --ink: #17201c;
  --muted: #59677f;
  --line: #dbe5f4;
  --paper: #f8fbff;
  --white: #ffffff;
  --green: #1f36c7;
  --green-dark: #071d75;
  --red: #b84b42;
  --blue: #2d6f9f;
  --gold: #b47a2f;
  --teal: #2e8274;
  --plum: #6b5b8e;
  --shadow: 0 20px 60px rgba(23, 32, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--green-dark);
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 32, 28, 0.12);
  box-shadow: 0 12px 34px rgba(23, 32, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(330px, 38vw);
  min-width: 220px;
}

.brand img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
  color: rgba(7, 29, 117, 0.76);
  font-size: 0.95rem;
}

.nav a:hover,
.header-cta:hover {
  color: #06266f;
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(6, 38, 111, 0.28);
  border-radius: 8px;
  font-weight: 700;
  color: #06266f;
  background: rgba(6, 38, 111, 0.06);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 76px) 92px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 19, 16, 0.95) 0%, rgba(12, 19, 16, 0.76) 38%, rgba(12, 19, 16, 0.26) 76%),
    linear-gradient(0deg, rgba(12, 19, 16, 0.5), rgba(12, 19, 16, 0.06) 42%);
}

.hero-content {
  position: relative;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fc4ff;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: #eaf1ff;
  color: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 128px;
  padding: 26px clamp(18px, 3vw, 38px);
  background: var(--white);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding: 90px clamp(20px, 6vw, 76px);
  background: #f3f7ff;
  border-bottom: 1px solid var(--line);
}

.about-kicker h2 {
  margin-bottom: 0;
}

.about-copy {
  display: grid;
  gap: 20px;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.about-copy p {
  margin: 0;
}

.section {
  padding: 96px clamp(20px, 6vw, 76px);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 42px;
}

.section-heading p,
.standards-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 28, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  will-change: transform;
}

.service-card:hover,
.service-card:focus-within {
  transform: scale(1.035);
  border-color: rgba(31, 54, 199, 0.32);
  background: #fbfdff;
  box-shadow: 0 22px 48px rgba(7, 29, 117, 0.16);
  z-index: 1;
}

.service-card p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(31, 54, 199, 0.1);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-red {
  color: var(--red);
  background: rgba(184, 75, 66, 0.1);
}

.accent-blue {
  color: var(--blue);
  background: rgba(45, 111, 159, 0.1);
}

.accent-gold {
  color: var(--gold);
  background: rgba(180, 122, 47, 0.12);
}

.accent-teal {
  color: var(--teal);
  background: rgba(46, 130, 116, 0.11);
}

.accent-purple {
  color: var(--plum);
  background: rgba(107, 91, 142, 0.12);
}

.standards {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  padding: 86px clamp(20px, 6vw, 76px);
  background: #edf4ff;
  border-block: 1px solid var(--line);
}

.standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.standards-list span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #c8d7f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.process-section {
  background: var(--white);
}

.compact {
  margin-bottom: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline article {
  min-height: 230px;
  padding: 28px 26px 10px 0;
  border-right: 1px solid var(--line);
}

.timeline article + article {
  padding-left: 26px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--red);
  font-weight: 900;
}

.timeline p,
.sectors li {
  color: var(--muted);
}

.sectors {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  padding: 84px clamp(20px, 6vw, 76px);
  background: var(--green-dark);
  color: var(--white);
}

.sectors .eyebrow {
  color: #9fc4ff;
}

.sectors ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.sectors li {
  padding: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 7vw, 86px);
  padding: 96px clamp(20px, 6vw, 76px);
  background: var(--paper);
}

.contact-copy {
  align-self: center;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 10px 0 0;
  padding: 13px 20px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eaf1ff;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-fields {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(180px, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd7ec;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 54, 199, 0.18);
  border-color: var(--green);
}

.form-button {
  width: 100%;
  margin-top: 6px;
  color: var(--white);
  background: var(--green);
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status:empty {
  display: none;
}

.form-status.is-loading {
  color: var(--green-dark);
}

.form-status.is-success {
  color: #106b3f;
}

.form-status.is-error {
  color: var(--red);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: #071126;
}

.footer p {
  margin: 0;
}

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

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 162px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 19, 16, 0.94), rgba(12, 19, 16, 0.6)),
      linear-gradient(0deg, rgba(12, 19, 16, 0.54), rgba(12, 19, 16, 0.12));
  }

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

  .standards,
  .about-section,
  .sectors,
  .contact {
    grid-template-columns: 1fr;
  }

  .timeline article {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    width: 215px;
    min-width: 0;
  }

  .brand img {
    height: 42px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 90vh;
    padding: 156px 18px 56px;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section,
  .about-section,
  .standards,
  .sectors,
  .contact {
    padding: 64px 18px;
  }

  .timeline article,
  .timeline article + article {
    padding-left: 0;
    border-right: 0;
  }

  .contact-form {
    padding: 20px;
  }

  .phone-fields {
    grid-template-columns: 1fr;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }

  .service-card:hover,
  .service-card:focus-within {
    transform: none;
  }
}
