:root {
  --navy: #071427;
  --navy-2: #0d223b;
  --steel: #5f6f82;
  --muted: #e8edf3;
  --line: #d9e1ea;
  --white: #ffffff;
  --blue: #1d74f5;
  --gold: #d8a541;
  --ink: #142033;
  --shadow: 0 24px 70px rgba(7, 20, 39, 0.14);
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #c9d6e7;
  font-size: 0.92rem;
}

.topbar .container,
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar .container {
  padding: 10px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(217, 225, 234, 0.55);
  box-shadow: 0 18px 50px rgba(7, 20, 39, 0.1);
}

.site-header .container {
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--gold));
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(29, 116, 245, 0.24);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #24364c;
  font-size: 0.95rem;
}

.nav a {
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(29, 116, 245, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(29, 116, 245, 0.3);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.dark {
  background: var(--navy);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, rgba(7, 20, 39, 0.96), rgba(13, 34, 59, 0.78)), var(--navy);
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -7%;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.06);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(29, 116, 245, 0.22), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(216, 165, 65, 0.14), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  opacity: 0.65;
  pointer-events: none;
  animation: techGridDrift 18s linear infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 48px;
  align-items: center;
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  color: inherit;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #d9e6f5;
  max-width: 820px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card,
.contact-card,
.quote-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}

.hero-card::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.2), transparent 65%);
  transform: translateX(-55%) rotate(10deg);
  animation: lightSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-card strong {
  display: block;
  font-size: 2.4rem;
  color: var(--white);
}

.stat-grid,
.card-grid,
.feature-grid,
.process-grid,
.product-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.stat {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat span {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

section {
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 650px;
  color: var(--steel);
}

.dark-section {
  color: var(--white);
  background: var(--navy);
}

.muted-section {
  background: var(--muted);
}

.card,
.service-card,
.product-card,
.process-card,
.legal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 32, 51, 0.08);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}

.service-card:hover,
.product-card:hover,
.process-card:hover,
.legal-card:hover,
.gallery-card:hover {
  border-color: rgba(29, 116, 245, 0.3);
  box-shadow: 0 26px 72px rgba(20, 32, 51, 0.14);
  transform: translateY(-6px);
}

.service-card,
.product-card,
.process-card,
.legal-card {
  padding: 26px;
}

.service-card img,
.product-card img,
.process-card img,
.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
  background: #d8e0ea;
  transition: transform 700ms var(--ease-out), filter 500ms ease;
}

.service-card:hover img,
.product-card:hover img,
.process-card:hover img,
.gallery-card:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.045);
}

.card-grid,
.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 9px 13px;
  border-radius: 999px;
  background: #eef4fb;
  color: #2d4059;
  font-weight: 700;
  font-size: 0.9rem;
}

.dark-section .pill-list li {
  background: rgba(255, 255, 255, 0.1);
  color: #dbe8f8;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 500ms var(--ease-out), filter 500ms ease;
}

.split img:hover {
  filter: saturate(1.1) contrast(1.03);
  transform: translateY(-6px) scale(1.015);
}

.page-hero {
  padding: 105px 0;
}

.page-hero h1 {
  max-width: 880px;
}

.breadcrumb {
  color: #bfd0e5;
  margin-bottom: 18px;
  font-weight: 700;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 32, 51, 0.09);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.gallery-card div {
  padding: 20px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123b65);
  box-shadow: var(--shadow);
}

.faq-item {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-top: 14px;
  color: var(--steel);
}

.faq-item.open .faq-answer {
  display: block;
}

form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  color: #c9d6e7;
  background: var(--navy);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.site-footer h3,
.site-footer strong {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #c9d6e7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  border-radius: 12px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.from-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal.from-right {
  transform: translate3d(42px, 0, 0);
}

.reveal.zoom-in {
  transform: translate3d(0, 26px, 0) scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.float-in {
  animation: floatIn 900ms var(--ease-out) both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes techGridDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 0 0, 72px 0, 0 72px;
  }
}

@keyframes lightSweep {
  0%,
  45% {
    transform: translateX(-65%) rotate(10deg);
  }

  70%,
  100% {
    transform: translateX(65%) rotate(10deg);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .product-grid,
  .feature-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar .container,
  .footer-bottom,
  .section-head,
  .form-grid,
  .stat-grid,
  .card-grid,
  .product-grid,
  .feature-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.zoom-in {
    opacity: 1;
    transform: none;
  }
}
