:root {
  --bg: #06101f;
  --bg-soft: #0b1728;
  --panel: #0f1a27;
  --panel-2: #162331;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f4f7fb;
  --muted: #a7b0bd;
  --blue: #0b5cff;
  --blue-2: #2b75ff;
  --gold: #f7b500;
  --graphite: #1f2937;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(11, 92, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 82% 12%, rgba(247, 181, 0, 0.08), transparent 24rem),
    linear-gradient(180deg, #06101f 0%, #050912 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(6, 16, 31, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  width: 246px;
}

.brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.header-action:hover {
  color: var(--text);
}

.header-action,
.primary-button,
.secondary-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 750;
  font-size: 14px;
}

.header-action,
.primary-button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(11, 92, 255, 0.28);
}

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

.section-pad {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 104px 24px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 11, 24, 0.94) 0%, rgba(3, 11, 24, 0.74) 42%, rgba(3, 11, 24, 0.18) 78%),
    radial-gradient(circle at 74% 38%, rgba(11, 92, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(3, 11, 24, 0.12), #06101f 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 126px 24px 190px;
}

.hero-content.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 28px;
  border: 1px solid rgba(43, 117, 255, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(11, 92, 255, 0.14);
  color: #bfdbfe;
  font-size: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.97;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 760;
}

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

.hero-subtitle {
  max-width: 650px;
  font-size: 20px;
  color: #d7dde8;
}

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

.hero-strip {
  position: absolute;
  inset-inline: 50%;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 48px), var(--max));
  transform: translateX(-50%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(6, 16, 31, 0.88);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #08111d;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  z-index: -1;
  background: rgba(11, 92, 255, 0.42);
  filter: blur(80px);
}

.hero-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-strip div {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.hero-strip span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.intro p {
  max-width: 980px;
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.22;
}

.section {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.service-grid article,
.quote-card,
.nr12-panel,
.contact-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 26, 39, 0.97), rgba(7, 14, 26, 0.97));
}

.service-grid span,
.case-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.service-grid.four {
  gap: 22px;
}

.service-grid article {
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.service-grid article img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.service-grid article:hover img,
.case-card:hover img,
.software-gallery img:hover {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
}

.service-grid article div {
  padding: 26px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: center;
}

.software {
  background: linear-gradient(180deg, rgba(11, 23, 40, 0.48), rgba(11, 92, 255, 0.07));
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
}

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

.software-gallery img {
  width: 100%;
  height: 245px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 500ms ease, filter 500ms ease;
}

.problem-section {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 68px;
  align-items: center;
}

.problem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.problem-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.focus-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(15, 26, 39, 0.96), rgba(7, 14, 26, 0.96));
}

.focus-card blockquote {
  margin: 28px 0 0;
  border-left: 2px solid var(--blue);
  padding-left: 22px;
  color: #d7dde8;
  line-height: 1.7;
}

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

.differential-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(10, 23, 41, 0.96), rgba(6, 14, 27, 0.96));
}

.nr12 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
}

.quote-card {
  margin-top: 30px;
  padding: 24px;
}

.quote-card p {
  color: var(--text);
  font-size: 20px;
  line-height: 1.45;
}

.quote-card span {
  color: var(--muted);
  font-size: 13px;
}

.nr12-panel {
  padding: 34px;
}

.nr12-panel ul {
  display: grid;
  gap: 17px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.55;
}

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

.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.case-card.large {
  grid-column: span 1;
}

.case-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.case-card.large img {
  object-position: center;
}

.case-card div {
  padding: 24px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.about-text {
  display: grid;
  gap: 16px;
}

.about-text p {
  margin-bottom: 0;
  color: #d4dbe7;
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.contact-copy {
  padding: 38px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-list p {
  margin: 0;
  color: #d7dde8;
}

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

.map-wrap {
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: grayscale(0.75) invert(0.9) contrast(0.92) hue-rotate(180deg);
}

.footer {
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 24px 46px;
  color: var(--muted);
  font-size: 14px;
}

.footer img {
  width: 250px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 960px) {
  .nav,
  .header-action {
    display: none;
  }

  .hero-content {
    padding-top: 96px;
  }

  .hero-content.split,
  .hero-strip,
  .two-column,
  .nr12,
  .about,
  .contact,
  .problem-layout {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    inset-inline: auto;
    width: calc(100% - 36px);
    margin: -120px auto 0;
    transform: none;
  }

  .service-grid,
  .software-gallery,
  .case-grid,
  .differential-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

  .case-card img,
  .software-gallery img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 76px 18px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: 206px;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 76px 18px 164px;
  }

  .hero-strip {
    width: calc(100% - 36px);
    margin-top: -118px;
  }

  .hero-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .case-card img,
  .software-gallery img {
    height: 260px;
  }

  .contact-copy,
  .nr12-panel {
    padding: 26px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }
}
