:root {
  --ink: #102437;
  --navy: #153650;
  --blue: #1e6f93;
  --sky: #48a8c7;
  --lime: #d7e64a;
  --cream: #f4f1e9;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .98;
}
.text-balance { text-wrap: balance; }

.nav-link { position: relative; }
.nav-link::after {
  background: var(--lime);
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  width: 100%;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .8rem;
  font-weight: 800;
  gap: .65rem;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 52px;
  padding: .85rem 1.5rem;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { box-shadow: 0 14px 32px rgba(10, 36, 54, .2); transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-dark { background: var(--navy); color: white; }
.btn-outline { border: 1px solid rgba(255,255,255,.45); color: white; }

.hero {
  background-position: center;
  background-size: cover;
  min-height: 760px;
  position: relative;
}
.hero::before {
  background: linear-gradient(90deg, rgba(8,28,42,.94) 0%, rgba(8,28,42,.78) 48%, rgba(8,28,42,.15) 100%);
  content: "";
  inset: 0;
  position: absolute;
}
.page-hero {
  background-position: center;
  background-size: cover;
  min-height: 470px;
  position: relative;
}
.page-hero::before {
  background: linear-gradient(90deg, rgba(10,31,47,.95), rgba(10,31,47,.5));
  content: "";
  inset: 0;
  position: absolute;
}

.service-card { overflow: hidden; position: relative; }
.service-card img { height: 320px; object-fit: cover; transition: transform .6s ease; width: 100%; }
.service-card:hover img { transform: scale(1.055); }
.service-card .card-overlay {
  background: linear-gradient(0deg, rgba(8,29,43,.96), rgba(8,29,43,0));
  inset: 35% 0 0;
  position: absolute;
}

.stat-card { border-left: 1px solid rgba(255,255,255,.2); }
.process-number {
  -webkit-text-stroke: 1px rgba(21,54,80,.18);
  color: transparent;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}
.gallery-item { cursor: zoom-in; overflow: hidden; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .5s ease; width: 100%; }
.gallery-item:hover img { transform: scale(1.04); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.marquee { animation: marquee 24s linear infinite; display: flex; width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }

.field {
  background: #fff;
  border: 1px solid #d4dde2;
  border-radius: .8rem;
  color: var(--ink);
  min-height: 54px;
  outline: none;
  padding: .8rem 1rem;
  transition: border .2s, box-shadow .2s;
  width: 100%;
}
.field:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(72,168,199,.14); }
textarea.field { min-height: 150px; resize: vertical; }

.mobile-menu {
  background: var(--navy);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(-12px);
  transition: opacity .25s, transform .25s;
  z-index: 60;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.lightbox {
  align-items: center;
  background: rgba(5,18,28,.94);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(1100px, 94vw); object-fit: contain; }

@media (max-width: 767px) {
  .hero { min-height: 700px; }
  .hero::before { background: linear-gradient(0deg, rgba(8,28,42,.96), rgba(8,28,42,.62)); }
  .page-hero { min-height: 410px; }
  .stat-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
