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

* {
  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 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.architecture-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 720px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(12, 27, 43, 0.12));
}

.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;
}

.section-intro {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}
.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,
.product-card p,
.stats p,
.contact-section p,
.approach-flow p {
  color: var(--muted);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(12, 27, 43, 0.06);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.42);
  box-shadow: 0 20px 46px rgba(12, 27, 43, 0.1);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.product-family,
.product-index {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-family {
  color: var(--orange);
}

.product-index {
  color: #9aa5b2;
}

.product-card h3 {
  margin-bottom: 5px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.product-subtitle {
  margin-bottom: 20px;
  color: var(--navy) !important;
  font-size: 0.94rem;
  font-weight: 800;
}

.product-description {
  margin-bottom: 24px;
}

.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 24px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #536170;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.product-link span {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.product-link:hover {
  color: var(--orange);
}

.product-link:hover span {
  transform: translate(3px, -2px);
}

.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: 1fr auto auto;
  gap: 38px;
  align-items: center;
}
.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;
  }
  .architecture-image {
    max-width: 760px;
    margin: 10px auto 0;
  }
  .cards.four,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .approach-flow {
    grid-template-columns: 1fr;
  }
  .approach-flow article,
  .card,
  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .approach-flow 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,
  .products-grid,
  .stats,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 8px;
  }
  .architecture-image {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .product-card {
    min-height: 0;
    padding: 24px;
  }
}
