:root {
  --bg: #06111f;
  --bg-soft: #0b1b31;
  --panel: #10243d;
  --panel-strong: #143253;
  --blue: #1e88ff;
  --blue-light: #61b4ff;
  --cyan: #36d6e7;
  --text: #f4f8ff;
  --muted: #b9c6d8;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(30, 136, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #04101d 0%, #081a2d 45%, #06111f 100%);
  line-height: 1.6;
  min-height: 100vh;
  animation: page-enter 0.22s ease-out both;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(circle at 50% 44%, rgba(30, 136, 255, 0.22), transparent 24%),
    rgba(2, 11, 22, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(54, 214, 231, 0.55);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

body.is-leaving::before {
  opacity: 1;
}

body.is-leaving::after {
  opacity: 1;
  animation: loading-line 0.42s ease-out forwards;
}

body.is-leaving .site-header,
body.is-leaving main,
body.is-leaving .site-footer {
  opacity: 0.18;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 17, 31, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(97, 180, 255, 0.5);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(30, 136, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.1rem;
}

.brand-slogan {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  background: rgba(30, 136, 255, 0.12);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(97, 180, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
  border-color: var(--blue-light);
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: #03101e;
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 20px 0 auto auto;
  width: 42vw;
  min-width: 360px;
  height: 420px;
  background:
    linear-gradient(90deg, rgba(54, 214, 231, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(54, 214, 231, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, transparent);
  opacity: 0.65;
  pointer-events: none;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 48px;
}

.hero-grid {
  align-items: center;
}

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

.eyebrow {
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 4.7rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 690px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media {
  position: relative;
  min-height: 390px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  border: 1px solid rgba(97, 180, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 36, 61, 0.94), rgba(8, 24, 42, 0.94));
  box-shadow: var(--shadow);
  padding: 28px;
}

.signal-panel.compact {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(82%, 360px);
  padding: 18px;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(97, 180, 255, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  padding: 18px 0;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-label {
  color: var(--muted);
  font-weight: 700;
}

.signal-value {
  color: var(--cyan);
  font-weight: 800;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -1px rgba(255, 255, 255, 0.035);
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 36, 61, 0.72);
  padding: 24px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(30, 136, 255, 0.16);
  color: var(--blue-light);
  font-weight: 900;
  margin-bottom: 18px;
}

.card p,
.text-panel p,
.contact-list p {
  color: var(--muted);
}

.service-card {
  overflow: hidden;
  padding: 0;
}

.service-card h3,
.service-card p,
.service-card .card-icon {
  margin-right: 24px;
  margin-left: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card .card-icon {
  margin-top: 24px;
}

.service-card p {
  margin-bottom: 24px;
}

.service-image {
  display: block;
  width: 100%;
  height: clamp(190px, 20vw, 240px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.brand-showcase {
  display: block;
  width: 100%;
  height: clamp(250px, 28vw, 360px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

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

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list strong {
  color: var(--text);
}

.check {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(54, 214, 231, 0.14);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
}

.cta {
  border: 1px solid rgba(97, 180, 255, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.22), rgba(54, 214, 231, 0.1));
  padding: 34px;
}

.cta h2 {
  max-width: 780px;
}

.page-hero {
  padding: 64px 0 50px;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.035);
}

.page-hero .lead {
  margin-bottom: 0;
}

.text-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 36, 61, 0.72);
  padding: 28px;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.value {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  text-align: center;
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item strong {
  display: block;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 16, 30, 0.72);
  color: var(--text);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-light);
  outline: 2px solid rgba(97, 180, 255, 0.22);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.form-message {
  display: none;
  grid-column: 1 / -1;
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px;
}

.form-message.show {
  display: block;
}

.form-message.success {
  border: 1px solid rgba(54, 214, 231, 0.45);
  background: rgba(54, 214, 231, 0.1);
}

.form-message.error {
  border: 1px solid rgba(255, 107, 107, 0.55);
  background: rgba(255, 107, 107, 0.12);
}

.field-invalid {
  border-color: #ff6b6b;
  outline: 2px solid rgba(255, 107, 107, 0.22);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 16, 30, 0.84);
  padding: 30px 0;
}

@keyframes page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes loading-line {
  0% {
    transform: scaleX(0);
  }

  65% {
    transform: scaleX(0.72);
  }

  100% {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body,
  body.is-leaving::after {
    animation: none;
  }

  body::before,
  body.is-leaving .site-header,
  body.is-leaving main,
  body.is-leaving .site-footer {
    transition: none;
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--text);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 17, 31, 0.98);
    box-shadow: var(--shadow);
    padding: 12px;
  }

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

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

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-media,
  .hero-media img {
    min-height: 330px;
    height: 330px;
  }

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

  .service-image {
    height: clamp(190px, 31vw, 260px);
  }

  .brand-showcase {
    height: clamp(240px, 48vw, 360px);
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand-slogan {
    display: none;
  }

  .hero::after {
    opacity: 0.28;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
    height: 300px;
  }

  .signal-panel.compact {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .hero-actions,
  .section-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: min(62vw, 330px);
  }

  .brand-showcase {
    height: min(56vw, 280px);
  }

  .section {
    padding: 56px 0;
  }

  .cta,
  .text-panel,
  .contact-panel,
  .signal-panel {
    padding: 22px;
  }
}
