:root {
  --bg: #090a0d;
  --panel: #11131a;
  --panel-2: #151924;
  --panel-3: #0d1119;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #e9edf6;
  --text-soft: #a7afbf;
  --red: #c2152d;
  --red-bright: #f2344f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.8), rgba(5, 7, 11, 0.86)),
    url('assets/site-background.jpg') center center / cover no-repeat;
  opacity: 1;
  z-index: -2;
  transform: translateZ(0);
}

.site-bg::before,
.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.site-bg::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.14;
}

.site-bg::after {
  background:
    radial-gradient(circle at 14% 80%, rgba(194, 21, 45, 0.2), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.09), transparent 26%);
  opacity: 0.24;
}

.topbar {
  width: min(1200px, calc(100% - 3rem));
  margin: 1.25rem auto 0;
  padding: 0.95rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(15, 17, 24, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: inherit;
  text-decoration: none;
}

.brand-emblem {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.brand-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav {
  display: inline-flex;
  gap: 0.45rem;
}

.topnav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav .active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.section-wrap {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  padding: 7.2rem 1.4rem 3.3rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(112deg, rgba(6, 8, 12, 0.88) 14%, rgba(6, 8, 12, 0.62) 52%, rgba(6, 8, 12, 0.84) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.24), rgba(8, 10, 16, 0.8));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.45);
}

.hero::after {
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 13%, rgba(242, 52, 79, 0.2), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px);
  opacity: 0.42;
}

.hero > *:not(.mission-grid) {
  position: relative;
  z-index: 2;
}

.mission-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.mission-grid::before,
.mission-grid::after {
  content: '';
  position: absolute;
  inset: -12%;
}

.mission-grid::before {
  background:
    linear-gradient(115deg, rgba(194, 21, 45, 0.24), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px);
  mask-image: radial-gradient(circle at 38% 34%, black 14%, rgba(0, 0, 0, 0.65) 38%, transparent 82%);
  animation: missionSweep 18s linear infinite;
}

.mission-grid::after {
  background:
    radial-gradient(circle at 74% 27%, rgba(242, 52, 79, 0.5), transparent 22%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  mix-blend-mode: screen;
  filter: blur(0.2px);
  animation: missionScan 7.5s ease-in-out infinite;
}

@keyframes missionSweep {
  0% {
    transform: translate3d(-1%, 0, 0);
  }
  50% {
    transform: translate3d(1.5%, -1.5%, 0);
  }
  100% {
    transform: translate3d(-1%, 0.8%, 0);
  }
}

@keyframes missionScan {
  0%,
  100% {
    transform: translateX(-40%);
    opacity: 0.1;
  }
  50% {
    transform: translateX(26%);
    opacity: 0.3;
  }
}

.eyebrow {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--red-bright);
  font-size: 0.86rem;
}

.hero h1,
h1,
.section-title,
.cta h2 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.25rem);
  line-height: 1.04;
  max-width: 14ch;
  margin: 0.65rem 0 0.7rem;
  text-wrap: balance;
}

.hero-copy {
  max-width: 66ch;
  color: var(--text-soft);
  line-height: 1.68;
  margin-top: 0;
  margin-bottom: 0.72rem;
}

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

.hero-actions .btn {
  padding: 0.62rem 0.92rem;
  font-size: 0.9rem;
}

.hero-status {
  margin-top: 0.78rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border-radius: 999px;
  padding: 0.34rem 0.78rem;
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #dce3f1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #8b1224);
  box-shadow: 0 12px 35px rgba(194, 21, 45, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(194, 21, 45, 0.45);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.btn-dark {
  color: #101117;
  background: #f2f5fd;
}

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

.metrics-band {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

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

.command-strip article {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  padding: 1rem 1.05rem;
}

.command-strip p {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  color: #b8c0d2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.command-strip h3 {
  margin: 0;
  font-size: 1rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-metrics article,
.panel,
.cap-item,
.contact-shell,
.rfq-form {
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 1.15rem;
}

.hero-metrics h2 {
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
}

.hero-metrics p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.trust,
.about,
.capabilities,
.workflow {
  padding: 3.25rem 0;
}

.section-title {
  margin: 0.8rem 0 0;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  max-width: 22ch;
}

.trust-grid,
.cap-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
}

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

.panel {
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.panel::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 21, 45, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.panel:hover,
.panel:focus-within {
  border-color: rgba(242, 52, 79, 0.52);
  transform: translateY(-3px);
}

.panel:hover::before,
.panel:focus-within::before {
  opacity: 1;
}

.panel h3,
.cap-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.16rem;
}

.panel p,
.cap-item p,
.about p,
.cta p,
.contact-intro p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.1rem;
  align-items: start;
}

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

.cap-item {
  padding: 1.35rem;
  border-left: 2px solid rgba(242, 52, 79, 0.55);
}

.workflow-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.step-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(242, 52, 79, 0.7), rgba(242, 52, 79, 0.05));
}

.step {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #ff95a5;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.57;
}

.cta {
  margin: 4rem auto 4.25rem;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(118deg, #be142c 8%, #0d0f16 74%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 65px rgba(194, 21, 45, 0.34);
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
}

.cta p {
  color: rgba(239, 244, 255, 0.82);
  margin: 0.75rem 0 1.3rem;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.2rem 1rem 2rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-slogan {
  margin-top: 0.45rem;
  color: #d8dfee;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.contact-page {
  padding: 7rem 0 4rem;
}

.contact-banner {
  margin-bottom: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(125deg, #141925 5%, #0a0d14 48%, #731221 100%);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}

.contact-banner p {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #ffb8c3;
}

.contact-banner h2 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 3vw, 1.35rem);
}

.contact-shell {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-intro {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 1.35rem;
  background: var(--panel);
}

.contact-intro h1 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.contact-meta {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.contact-meta span {
  display: block;
  color: #f2f5fd;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.2rem;
}

.contact-meta a {
  color: #ffd6dc;
  text-decoration-color: rgba(255, 214, 220, 0.35);
}

.rfq-form {
  padding: 1.35rem;
  display: grid;
  gap: 0.62rem;
}

.rfq-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  color: var(--text);
  background: #0f1118;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.88rem;
  font: inherit;
}

.rfq-form input:focus,
.rfq-form textarea:focus {
  outline: 2px solid rgba(242, 52, 79, 0.35);
  border-color: rgba(242, 52, 79, 0.75);
}

.rfq-form button {
  margin-top: 0.35rem;
  width: fit-content;
}

.form-note {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: #b8c0d2;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .site-bg {
    background-position: 20% top;
  }

  .hero::before,
  .hero::after,
  .mission-grid {
    display: none;
  }

  .brand-emblem {
    width: 3rem;
    height: 3rem;
  }

  .hero-metrics,
  .command-strip,
  .trust-grid,
  .about,
  .cap-grid,
  .workflow-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .topbar {
    width: min(1200px, calc(100% - 1.3rem));
  }

  .section-wrap {
    width: min(1200px, calc(100% - 1.3rem));
  }

  .hero {
    padding-top: 6rem;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .site-bg {
    background-position: 26% top;
    background-size: cover;
  }

  .site-bg::before {
    opacity: 0.08;
  }

  .site-bg::after {
    opacity: 0.12;
  }
}
