:root {
  --bg: #07111c;
  --bg-elevated: #0c1a2d;
  --bg-soft: #10243d;
  --line: rgba(120, 181, 255, 0.18);
  --text: #f5f9ff;
  --muted: #a5b5cb;
  --blue: #1f7bff;
  --blue-2: #61c0ff;
  --glow: rgba(31, 123, 255, 0.4);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 123, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(97, 192, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #030813 0%, #07111c 38%, #0b1624 100%);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(4, 11, 18, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img:first-child {
  width: 176px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.nav-toggle {
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--muted);
  font: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), #0ab3ff);
  color: white;
  box-shadow: 0 12px 34px rgba(20, 110, 255, 0.32);
}

.button {
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
}

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

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-link {
  color: var(--blue-2);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 8, 15, 0.88) 0%, rgba(4, 11, 18, 0.72) 52%, rgba(4, 11, 18, 0.44) 100%),
    linear-gradient(180deg, rgba(6, 16, 27, 0.08), rgba(6, 16, 27, 0.8));
}

.hero-grid,
.split,
.contact-band,
.page-hero-shell,
.cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.hero-grid,
.split,
.contact-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-grid {
  padding: 7rem 0 5rem;
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-logo-panel {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-logo-panel::after {
  display: none;
}

.hero-logo-panel img {
  width: min(100%, 460px);
}

.hero-copy,
.stack {
  display: grid;
  gap: 1rem;
}

.hero-copy h1,
.page-hero h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.page-hero {
  padding: 7rem 0 3rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(31, 123, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(9, 19, 31, 0.98), rgba(7, 17, 28, 0.86));
}

.page-hero-shell {
  padding: 0 0 2rem;
  max-width: 760px;
}

.page-hero h1,
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.lead,
p,
label,
input,
textarea {
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow {
  margin: 0;
  color: var(--blue-2);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.section {
  padding: 4.5rem 0;
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 18, 29, 0.3));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.split-reverse > :first-child {
  order: 2;
}

.panel,
.panel-glow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.panel-glow {
  padding: 1.5rem;
  position: relative;
  display: grid;
  place-items: center;
}

.panel-glow img {
  margin: 0 auto;
}

.panel-glow::after,
.panel::after {
  content: "";
  position: absolute;
  inset: auto 12% -24px;
  height: 40px;
  border-radius: 999px;
  background: var(--glow);
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
}

.panel {
  position: relative;
  padding: 1.5rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

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

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

.service-grid {
  align-items: stretch;
}

.service-card {
  display: grid;
  gap: 0.9rem;
}

.service-card img {
  width: 140px;
}

.cta-panel {
  grid-template-columns: auto 1fr;
  padding: 1.5rem;
  align-items: center;
}

.cta-panel img,
.arrow-icon {
  width: 75px;
}

.contact-band {
  align-items: start;
}

.contact-band-copy {
  padding-right: 2rem;
}

.form-card {
  gap: 1rem;
}

.form-replaced {
  align-content: start;
}

form {
  display: grid;
}

label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(5, 13, 21, 0.9);
  padding: 0.95rem 1rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(97, 192, 255, 0.55);
  border-color: rgba(97, 192, 255, 0.55);
}

.form-note {
  min-height: 1.6em;
  margin: 0;
  color: var(--blue-2);
  font-weight: 600;
}

.signature {
  color: var(--text);
  font-weight: 700;
}

.contact-side img {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 9, 15, 0.85);
}

.site-footer a {
  color: var(--blue-2);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-band,
  .cards-2,
  .cards-3,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .split-reverse > :first-child {
    order: 0;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .contact-band-copy {
    padding-right: 0;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 18, 29, 0.97);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    padding-top: 5.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .nav-shell,
  .footer-shell {
    min-height: 72px;
  }
}
