:root {
  --bg: #061018;
  --bg-soft: #0b1d28;
  --panel: rgba(10, 29, 40, 0.82);
  --panel-strong: #102a38;
  --text: #eff8fb;
  --muted: #a7bfca;
  --cyan: #28d9f8;
  --cyan-soft: #80ecff;
  --lime: #b7ff66;
  --steel: #6f8490;
  --line: rgba(128, 236, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(128, 236, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 236, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -2;
}

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

img {
  display: block;
  max-width: 100%;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 24px;
  background: #000;
  z-index: 100;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: min(980px, 82vw);
  filter: drop-shadow(0 0 28px rgba(40, 217, 248, 0.38));
  position: relative;
}

.loader-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.loader-mark img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.loader-line {
  width: min(360px, 64vw);
  height: 2px;
  overflow: hidden;
  background: rgba(128, 236, 255, 0.16);
}

.loader-line::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: loading 1.25s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(6, 16, 24, 0.72);
  border-bottom: 1px solid rgba(128, 236, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(158px, 17vw, 238px);
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(40, 217, 248, 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 142px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.98) 0%, rgba(6, 16, 24, 0.7) 38%, rgba(6, 16, 24, 0.12) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(128, 236, 255, 0.13) 50%, transparent 100%);
  width: 22%;
  animation: scan 5.5s ease-in-out infinite;
  opacity: 0.7;
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 46px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 9vw, 124px);
  line-height: 0.9;
  max-width: 820px;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
}

h3 {
  font-size: 21px;
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #c5d8df;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--cyan);
  color: #041018;
  border-color: var(--cyan);
  box-shadow: 0 18px 48px rgba(40, 217, 248, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero-panel {
  width: min(420px, 100%);
  margin-left: auto;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(6, 16, 24, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.mission {
  background: linear-gradient(180deg, #061018, #081a24);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 36px;
  align-items: end;
}

.mission-grid p {
  font-size: 24px;
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.split-copy p {
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #d9e9ef;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(183, 255, 102, 0.5);
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-stack img,
.sustainability-part {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.metric span {
  color: var(--cyan-soft);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 54px;
  font-weight: 800;
}

.metric p {
  margin: 0;
}

.cards-band,
.advantages {
  background: #f4f9fb;
  color: #07131c;
}

.cards-band p,
.advantages p {
  color: #506875;
}

.cards-band .eyebrow,
.advantages .eyebrow {
  color: #067a91;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  max-width: 720px;
  font-size: 17px;
}

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

.feature,
.advantage,
.service {
  padding: 24px;
  border: 1px solid rgba(6, 32, 46, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(9, 38, 54, 0.08);
}

.feature span {
  display: block;
  margin-bottom: 38px;
  color: #0788a2;
  font-weight: 900;
}

.services {
  background: linear-gradient(180deg, #07131c, #0b1d28);
}

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

.service {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(16, 42, 56, 0.72), rgba(7, 19, 28, 0.96));
  border: 0;
  color: var(--text);
}

.service p {
  margin-bottom: 0;
}

.innovation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: center;
  min-height: 520px;
  background:
    radial-gradient(circle at 72% 50%, rgba(40, 217, 248, 0.18), transparent 34%),
    #061018;
}

.innovation-copy {
  max-width: 820px;
}

.innovation-copy p:last-child {
  font-size: 20px;
}

.innovation-orbit {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.cube {
  position: relative;
  width: 180px;
  height: 180px;
  transform: rotate(45deg);
  border: 2px solid var(--cyan-soft);
  box-shadow: 0 0 42px rgba(40, 217, 248, 0.38), inset 0 0 42px rgba(40, 217, 248, 0.16);
  animation: float 5s ease-in-out infinite;
}

.cube span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--text);
  box-shadow: 0 0 18px var(--cyan);
}

.cube span:nth-child(1) { left: -7px; top: -7px; }
.cube span:nth-child(2) { right: -7px; top: -7px; }
.cube span:nth-child(3) { left: -7px; bottom: -7px; }
.cube span:nth-child(4) { right: -7px; bottom: -7px; }

.advantage-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.advantage {
  min-height: 230px;
}

.sustainability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 30px;
  align-items: center;
  background: #0a1820;
}

.sustainability-card {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16, 42, 56, 0.92), rgba(6, 16, 24, 0.78));
}

.sustainability-part {
  width: min(420px, 100%);
  justify-self: center;
  background: rgba(255, 255, 255, 0.04);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.68fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
  border-color: rgba(128, 236, 255, 0.56);
  background: rgba(40, 217, 248, 0.09);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #d8e8ee;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(128, 236, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
}

select option {
  background: #07131c;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(40, 217, 248, 0.38);
  border-color: var(--cyan);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #040b11;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--cyan-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loading {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-60%); }
  50% { transform: translateX(520%); }
}

@keyframes float {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-18px); }
}

@media (max-width: 1100px) {
  .feature-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(6, 16, 24, 0.96);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .brand-logo {
    width: 156px;
    height: 46px;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 18px 34px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(6, 16, 24, 0.94), rgba(6, 16, 24, 0.55)),
      linear-gradient(0deg, var(--bg) 0%, transparent 42%);
  }

  .hero-panel {
    margin-left: 0;
  }

  .section {
    padding: 70px 18px;
  }

  .mission-grid,
  .split,
  .innovation,
  .sustainability,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .advantage-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 190px;
  }

  .contact-copy {
    position: static;
  }

  .metric {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}
