:root {
  --bg: #0a1018;
  --bg-soft: #121c28;
  --card: #162434;
  --ink: #e8f2ff;
  --muted: #b8c7d9;
  --cyan: #00dbeb;
  --blue: #2a7dff;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 16%, #18314e 0%, rgba(10, 16, 24, 0) 40%),
              radial-gradient(circle at 80% 6%, #0d3b66 0%, rgba(10, 16, 24, 0) 36%),
              linear-gradient(160deg, #08101a 0%, #0e1824 50%, #0a1018 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(65px);
  opacity: 0.22;
  z-index: -3;
}

.ambient-a {
  width: 32rem;
  height: 32rem;
  left: -9rem;
  top: 10rem;
  background: #00e1ff;
}

.ambient-b {
  width: 34rem;
  height: 34rem;
  right: -9rem;
  top: 2rem;
  background: #3457ff;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 197, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 197, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 15%, transparent 78%);
  z-index: -2;
  pointer-events: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(10, 16, 24, 0.62);
  border-bottom: 1px solid rgba(130, 168, 217, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cyan), var(--blue), #3e3bff, var(--cyan));
  box-shadow: 0 0 18px rgba(0, 219, 235, 0.55);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--cyan);
  margin-left: 0.35rem;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-wrap {
  position: relative;
}

.menu-toggle {
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.26rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: #d7e8ff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-wrap.open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-wrap.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-wrap.open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 12.8rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: rgba(10, 18, 27, 0.96);
  border: 1px solid rgba(112, 153, 206, 0.25);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  display: grid;
  gap: 0.18rem;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.menu-wrap.open .menu-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-panel a {
  color: #d6e8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
}

.menu-panel a:hover {
  background: rgba(0, 219, 235, 0.15);
}

.lang-toggle {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.2rem;
  cursor: pointer;
}

.lang-toggle span {
  min-width: 2.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang-toggle .active {
  background: linear-gradient(45deg, var(--cyan), #14b7ff);
  color: #05263c;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
  padding: 5.2rem 0 2.4rem;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cyan);
  margin: 0 0 1rem;
}

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

h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--muted);
  margin: 1.25rem 0 0;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.3rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(45deg, var(--cyan), #34b3ff);
  color: #042435;
  box-shadow: 0 10px 28px rgba(0, 219, 235, 0.3);
}

.btn-secondary {
  background: rgba(230, 245, 255, 0.1);
  color: var(--ink);
}

.hero-panel {
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(25, 40, 56, 0.85), rgba(16, 29, 42, 0.8));
  backdrop-filter: blur(11px);
  padding: 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.hero-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.ops-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.ops-list li {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.ops-list span {
  color: var(--muted);
}

.metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metrics article {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.metrics h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--cyan);
}

.metrics p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section {
  margin-top: 4.5rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  margin-top: 0.2rem;
}

.service-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.service-card {
  grid-column: span 4;
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(155deg, rgba(27, 43, 61, 0.9), rgba(16, 29, 42, 0.82));
}

.service-card:last-child {
  grid-column: span 12;
}

.service-card h3 {
  font-size: 1.1rem;
}

.service-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.entity-band {
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(95deg, rgba(15, 33, 50, 0.95), rgba(19, 56, 88, 0.8));
}

.entity-band h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.entity-band p {
  margin: 0.95rem 0 0;
  color: #c7d8ee;
  line-height: 1.7;
}

.contact {
  padding-bottom: 5rem;
}

.contact-card {
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 37, 55, 0.92), rgba(13, 28, 40, 0.92));
  padding: 1.35rem;
}

.contact-card h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 65ch;
}

.contact-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: #d7e7fb;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(112, 153, 206, 0.26);
  background: rgba(8, 16, 25, 0.85);
  color: #edf6ff;
  border-radius: 10px;
  font: inherit;
  padding: 0.72rem 0.82rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 219, 235, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 219, 235, 0.12);
}

.form-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.25rem 0 0;
  color: #a9fdff;
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(130, 168, 217, 0.16);
  background: rgba(6, 11, 19, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0 1.3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.8rem;
  }

  .service-card {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

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

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

  .service-card,
  .service-card:last-child {
    grid-column: span 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
