:root {
  --blue: #1f6bff;
  --blue-dark: #1554e0;
  --ink: #102033;
  --navy: #0c1b33;
  --muted: #5c6c80;
  --line: #e5edf5;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
  --header: 96px;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: -0.03em; color: var(--ink); }
h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 107, 255, 0.22);
}
.btn:hover { background: var(--blue-dark); }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; box-shadow: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.05);
}
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #16325c;
  min-width: 210px;
}
.brand img {
  height: 58px;
  width: auto;
  display: block;
}
.brand-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-rule {
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.nav a {
  position: relative;
  color: #5d6b7e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0 12px;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle-bars { margin: 0 auto; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #e7eef6 url("../assets/hero.jpg") right center / cover no-repeat;
}
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  object-fit: cover;
  object-position: right center;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 28%, rgba(255,255,255,0.55) 46%, rgba(255,255,255,0.08) 62%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 920px; padding: 72px 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.15vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
  color: #0e1c33;
}
.hero h1 .line { white-space: nowrap; }
.hero h1 .line span { color: var(--blue); }
.hero p {
  max-width: 440px;
  margin: 18px 0 0;
  color: #3e5168;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 500;
}
.hero .btn { margin-top: 28px; }

.services { padding: 42px 0 48px; background: #fff; scroll-margin-top: 110px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service {
  text-align: center;
  padding: 6px 26px;
  border-right: 1px solid var(--line);
}
.service:last-child { border-right: 0; }
.service svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h2 {
  margin: 14px 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
}
.service p {
  margin: 0 auto;
  max-width: 220px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.about, .sectors, .why, .contact { padding: 84px 0; scroll-margin-top: 110px; }
.about { background: var(--soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.about p { color: #3e5168; font-size: 1.05rem; line-height: 1.6; margin-bottom: 0; }
.about p + p { margin-top: 14px; }
.about-list {
  list-style: none;
  margin: 0;
  padding: 8px 8px 8px 28px;
  border-left: 3px solid var(--blue);
  display: grid;
  gap: 22px;
}
.about-list strong, .about-list span { display: block; }
.about-list strong { font-size: 1.02rem; }
.about-list span { margin-top: 4px; color: var(--muted); line-height: 1.45; }

.sectors h2 { max-width: 640px; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.sector {
  background: var(--soft);
  border-radius: 16px;
  padding: 22px 22px 20px;
}
.sector h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.sector p { margin: 0; color: var(--muted); line-height: 1.45; }

.why { background: var(--navy); color: #fff; }
.why .kicker { color: #8eb4ff; }
.why h2, .why h3 { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.why h3 { margin: 0 0 8px; font-size: 1.2rem; }
.why p { margin: 0; color: #c5d2e4; line-height: 1.55; max-width: 320px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact p { color: #3e5168; font-size: 1.05rem; line-height: 1.6; }
.quote-form, .quote-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.fields label, .span-2 { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.span-2 { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea {
  width: 100%;
  border: 1px solid #d5deea;
  background: #fff;
  border-radius: 10px;
  padding: 12px 12px;
  font-weight: 500;
}
.fields textarea { resize: vertical; min-height: 110px; }
.fields input:focus, .fields select:focus, .fields textarea:focus {
  outline: 2px solid rgba(31, 107, 255, 0.35);
  border-color: var(--blue);
}
.quote-form .btn { margin-top: 16px; }
.form-error { color: #9b2c2c; font-size: 0.92rem; margin: 12px 0 0; }
.quote-success h3 { margin: 0 0 8px; font-size: 1.6rem; }
.quote-success p { margin: 0; }

.footer {
  background: var(--navy);
  color: #c5d2e4;
  padding: 28px 0;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer strong { color: #fff; font-size: 1rem; }
.footer p { margin: 4px 0 0; font-size: 0.92rem; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-bar { grid-template-columns: 1fr auto auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.is-active::after { display: none; }
  .about-grid, .contact-grid, .why-grid, .sector-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 22px; }
}

@media (max-width: 800px) {
  .wrap { width: min(1160px, calc(100% - 32px)); }
  .header-bar { min-height: 78px; }
  .brand { min-width: 0; align-items: flex-start; }
  .brand img { height: 46px; }
  .brand-legal { display: none; }
  .btn-sm { padding: 10px 14px; }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    overflow: visible;
  }
  .hero-shade { display: none; }
  .hero-copy { order: 1; }
  .hero-video {
    order: 2;
    position: relative;
    inset: auto;
    height: 230px;
    object-position: center 62%;
  }
  .hero-copy { padding: 28px 0 20px; max-width: none; }
  .hero h1 { font-size: 2.35rem; }
  .hero h1 .line { white-space: normal; }
  .services-grid, .about-grid, .sector-grid, .why-grid, .contact-grid, .fields { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 12px; }
  .service:last-child { border-bottom: 0; }
  .about, .sectors, .why, .contact { padding: 64px 0; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
