:root {
  --navy: #0c1b2b;
  --orange: #ff5a13;
  --text: #132235;
  --muted: #5e6a78;
  --line: #dde4ec;
  --soft: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 27, 43, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 228, 236, 0.75);
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 190px; height: auto; display: block; }
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a { position: relative; color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
.nav-links a:hover::after { width: 100%; }

.hero { padding: 76px 0 66px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.55rem, 4.8vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  color: var(--navy);
  margin-bottom: 24px;
}
h1 span, .contact-section h2 span { color: var(--orange); }
h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 14px;
}
h3 { color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.accent-line { width: 72px; height: 3px; background: var(--orange); margin-bottom: 24px; }
.hero-text { max-width: 590px; font-size: 1.08rem; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px rgba(255, 90, 19, 0.22); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }

.hero-visual { min-height: 440px; display: flex; align-items: center; justify-content: center; }
.system-card {
  position: relative;
  width: 100%;
  min-height: 430px;
  border-radius: 26px;
  background: radial-gradient(circle at 78% 20%, rgba(255, 90, 19, 0.35), transparent 30%), linear-gradient(135deg, #0c1b2b, #5b6876);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 42px;
}
.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.32;
}
.system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 2;
}
.system-node, .system-core, .system-caption { position: absolute; z-index: 2; }
.system-node {
  min-width: 120px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255,255,255,0.10);
  font-weight: 800;
  text-align: center;
}
.node-a { left: 18%; top: 16%; }
.node-b { right: 10%; top: 20%; }
.node-c { left: 14%; bottom: 28%; }
.node-d { right: 12%; bottom: 28%; }
.system-core {
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  padding: 18px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(255, 90, 19, 0.36);
}
.system-caption {
  left: 13%;
  right: 8%;
  bottom: 34px;
  color: var(--white);
  display: grid;
  gap: 4px;
}
.system-caption span { color: rgba(255,255,255,0.72); }

.section { padding: 72px 0; }
.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.cards { display: grid; gap: 26px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 22px 22px 10px; border-right: 1px solid var(--line); }
.card:last-child { border-right: 0; }
.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 14px;
  font-size: 1.4rem;
  font-weight: 900;
}
.card p, .solution-strip p, .stats p, .contact-section p, .approach-flow p { color: var(--muted); }

.solution-strip {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.solution-strip.four-solutions { grid-template-columns: repeat(4, 1fr); }
.solution-strip article { padding: 28px 24px; border-right: 1px solid var(--line); }
.solution-strip article:last-child { border-right: 0; }
.solution-strip h3 { font-size: 1rem; }

.approach-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.approach-flow article {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), #fbfcfe);
}
.approach-flow article:last-child { border-right: 0; }
.approach-flow span {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.stats-section { border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.stats article { padding: 12px 30px; border-right: 1px solid var(--line); }
.stats article:last-child { border-right: 0; }
.stat-number { color: var(--orange); font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 16px; }

.contact-section { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 58px; align-items: start; }
.contact-email { font-weight: 800; }
.contact-email a { color: var(--orange); }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea {
  width: 100%;
  border: 1px solid #ccd6e2;
  border-radius: 7px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(255, 90, 19, 0.18); border-color: var(--orange); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}
.footer-grid p { margin: 0; }
.footer-grid p:nth-child(1) { text-align: left; }
.footer-grid p:nth-child(2) { text-align: center; }
.footer-grid p:nth-child(3) { text-align: right; }
.footer-grid a { color: var(--navy); font-weight: 700; }

@media (max-width: 980px) {
  .nav { height: auto; padding: 18px 0; gap: 18px; flex-direction: column; }
  .nav-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .system-card { min-height: 340px; }
  .cards.four, .solution-strip.four-solutions, .stats { grid-template-columns: 1fr 1fr; }
  .approach-flow { grid-template-columns: 1fr; }
  .approach-flow article, .solution-strip article, .card, .stats article { border-right: 0; border-bottom: 1px solid var(--line); }
  .approach-flow article:last-child, .solution-strip article:last-child, .card:last-child, .stats article:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand img { width: 160px; }
  .hero { padding-top: 46px; }
  .cards.four, .solution-strip.four-solutions, .stats, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 8px; }
  .footer-grid p:nth-child(n) { text-align: center; }
  .system-card { clip-path: none; padding: 24px; }
  .system-node { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: 10px 0; }
  .system-core { position: relative; left: auto; top: auto; transform: none; margin: 16px 0; display: inline-flex; }
  .system-lines { display: none; }
  .system-caption { position: relative; left: auto; right: auto; bottom: auto; margin-top: 20px; }
}
