:root {
  --bg: #07111f;
  --bg-2: #0b1626;
  --text: #e8eef7;
  --muted: #a9b6c8;
  --panel: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.14);
  --accent: #63d4ff;
  --accent-2: #8af0c4;
  --white: #ffffff;
  --ink: #172032;
  --paper: #f6f8fb;
  --shadow: 0 24px 60px rgba(0,0,0,0.28);
}

* { 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.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7,17,31,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 700; }
.brand-logo { height: 34px; width: auto; display: block; filter: invert(1); }
.brand-text { letter-spacing: .01em; color: var(--text); }
.nav-menu { display: flex; gap: 22px; align-items: center; font-size: 0.94rem; }
.nav-menu a { text-decoration: none; color: var(--muted); }
.nav-menu a:hover { color: var(--white); }
.nav-cta { border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; }
.nav-toggle { display: none; }

.hero {
  background: radial-gradient(circle at top left, rgba(99,212,255,.20), transparent 30%), linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--text);
  padding: 92px 0 78px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  color: #1789b1;
  margin: 0 0 14px;
}
.hero .eyebrow, .dark .eyebrow { color: var(--accent); }
h1 {
  font-size: clamp(2.5rem, 6vw, 5.15rem);
  line-height: .96;
  letter-spacing: -.06em;
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 0 0 20px;
}
h3 { margin: 0 0 10px; line-height: 1.2; }
p { margin: 0 0 16px; }
.hero-lede { color: var(--muted); font-size: 1.15rem; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 800;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06101d; }
.button.secondary { border: 1px solid var(--line); color: var(--text); }

.hero-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 440px;
}
.slide { display: none; height: 100%; }
.slide.is-active { display: block; animation: fade .6s ease; }
.slide img { width: 100%; height: 440px; object-fit: cover; }
.slide-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(6,16,29,.74); border: 1px solid var(--line); backdrop-filter: blur(8px);
  padding: 12px 14px; border-radius: 16px; color: var(--text); font-weight: 700;
}
.slide-controls {
  position: absolute; top: 18px; right: 18px; display: flex; gap: 8px;
}
.slide-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.38);
}
.slide-dot.is-active { background: var(--accent); }
@keyframes fade { from { opacity: .3; transform: scale(1.01); } to { opacity: 1; transform: scale(1); } }

.section { padding: 86px 0; }
.section.compact { padding: 60px 0; }
.dark { background: var(--bg); color: var(--text); }
.dark p { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}
.split.reverse { grid-template-columns: 1.05fr .95fr; align-items: center; }
.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.card-grid.six { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 22px;
  padding: 24px;
  min-height: 180px;
}
.card p { color: var(--muted); }
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.application {
  padding: 24px;
  background: white;
  border: 1px solid #dce4ef;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15,32,52,0.06);
}
.image-band { background: #eaf0f7; }
.image-panel {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(15,32,52,.16);
  background: white;
}
.image-panel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.clean-list { padding-left: 20px; margin: 18px 0 0; }
.clean-list li { margin-bottom: 8px; }
.contact { background: linear-gradient(135deg, #e8f7ff, #effdf7); }
.contact-card {
  text-align: center;
  background: white;
  border: 1px solid #dce4ef;
  border-radius: 30px;
  padding: 54px 28px;
  box-shadow: 0 18px 50px rgba(15,32,52,.10);
}
.small-note { font-size: .9rem; color: #68768a; margin-top: 12px; }
.site-footer { background: #050b14; color: var(--muted); padding: 30px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer-grid a { text-decoration: none; color: var(--text); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
  .nav-menu {
    display: none;
    position: absolute; top: 72px; left: 20px; right: 20px;
    flex-direction: column; align-items: stretch;
    background: rgba(7,17,31,.98); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  }
  .nav-menu.is-open { display: flex; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .card-grid.six, .application-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 64px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1140px); }
  .card-grid.six, .application-grid { grid-template-columns: 1fr; }
  .slide img { height: 320px; }
  .hero-slideshow { min-height: 320px; }
  .footer-grid { flex-direction: column; }
  .brand-text { display: none; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  cursor: zoom-out;
  animation: fade .2s ease;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  cursor: default;
}
.lightbox-caption {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 0.88rem;
  text-align: center;
  max-width: 680px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.16); }
.slide img { cursor: zoom-in; }
.image-panel img { cursor: zoom-in; }
