:root {
  --ink: #12233a;
  --muted: #667386;
  --blue: #087cc1;
  --cyan: #21b7df;
  --paper: #f5f7f9;
  --line: #dce4ea;
  --white: #fff;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding-bottom: 88px;
  font-family: Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
main {
  padding-top: 0;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: #fff;
  background: rgba(5, 16, 30, 0.3);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.14);
}
.brand img {
  width: 118px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.58));
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-header nav a {
  padding: 29px 0;
  position: relative;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.site-header nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--blue);
  transition: 0.25s;
}
.site-header nav a:hover:after {
  right: 0;
}
.menu-button {
  display: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(5, 16, 30, 0.35);
  padding: 10px 14px;
  border-radius: 8px;
}
.hero {
  height: clamp(558px, calc(32vw + 88px), 708px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 6vw;
  padding: 130px max(24px, calc((100vw - var(--max)) / 2)) 42px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: #0c1c2d;
}
.hero-slides,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-slides span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease;
}
.hero-slides span.active {
  opacity: 1;
  animation: hero-zoom-out 7s ease-out forwards;
}
@keyframes hero-zoom-out {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.05);
  }
}
.hero-shade {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 16, 30, 0.72) 0%,
    rgba(5, 16, 30, 0.4) 48%,
    rgba(5, 16, 30, 0.1) 100%
  );
}
.hero-copy {
  max-width: 720px;
}
.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 18px;
  color: #dbe6ef;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}
.hero-panel {
  justify-self: end;
  width: min(360px, 100%);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.hero-panel span {
  font-size: 92px;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.hero-panel small {
  margin-top: 12px;
  letter-spacing: 0.16em;
}
.section {
  padding: 198px max(24px, calc((100vw - var(--max)) / 2)) 110px;
  scroll-margin-top: 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-heading h2,
.technology-copy h2,
.contact h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image:before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--cyan);
  z-index: -1;
}
.about-copy > p {
  color: #425268;
  font-size: 17px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.facts div {
  border-top: 2px solid var(--blue);
  padding-top: 16px;
}
.facts strong {
  display: block;
  font-size: 24px;
}
.facts span {
  font-size: 12px;
  color: var(--muted);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.timeline div {
  padding: 24px 16px 0 0;
  position: relative;
}
.timeline div:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  top: -5px;
}
.timeline b,
.timeline span {
  display: block;
}
.timeline span {
  font-size: 12px;
  color: var(--muted);
}
.dark {
  background: #0e2035;
  color: #fff;
}
.dark .section-heading p:last-child {
  color: #a9b8c8;
}
.product-categories {
  display: grid;
  gap: 34px;
}
.product-category {
  border-top: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(110deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(0,0,0,.2);
}
.product-category > header {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.product-category > header > span {
  display: grid;
  place-items: center;
  background: rgba(11,31,51,.72);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
}
.product-category > header > div { padding: 20px 26px; }
.product-category h3 { margin: 0 0 5px; font-size: 26px; color: #fff; }
.product-category header p { margin: 0; color: #a9b8c8; font-size: 14px; }
.product-category-body {
  display: grid;
  grid-template-columns: minmax(290px, .85fr) minmax(0, 1.55fr);
  gap: 32px;
  align-items: center;
  padding: 24px 30px 30px;
}
.product-category-body > img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.48));
}
.product-items {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: product-item;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px 28px;
}
.product-items li {
  counter-increment: product-item;
  position: relative;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.product-items li::before {
  content: counter(product-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}
.product-items b { color: #fff; font-size: 17px; }
.product-items p { margin: 6px 0 0; color: #b8c7d6; font-size: 13px; line-height: 1.6; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.card {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 183, 223, 0.65);
  background: rgba(255, 255, 255, 0.085);
}
.card > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 330px;
  object-fit: contain;
  padding: 22px;
  background: transparent;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.42));
}
.card > div {
  padding: 28px 28px 28px 10px;
}
.card span,
.service span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.dark .card span {
  color: var(--cyan);
}
.dark .card h3 {
  color: #fff;
}
.dark .card p {
  color: #b8c7d6;
}
.card h3,
.service h3 {
  font-size: 22px;
  margin: 8px 0;
}
.card p,
.service p {
  color: var(--muted);
  font-size: 14px;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.service {
  grid-column: span 4;
  border: 1px solid var(--line);
  background: #fff;
}
.service:nth-child(4),
.service:nth-child(5) {
  grid-column: span 6;
}
.service img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service div {
  padding: 24px;
}
.service small {
  color: #7b8796;
}
.technology {
  background: #edf2f5;
}
.technology-copy {
  max-width: 760px;
}
.process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 48px 0 32px;
}
.process span {
  background: #fff;
  border-top: 3px solid var(--blue);
  padding: 18px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}
.technology-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}
.contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(135deg, #11263e, #0c1726);
  color: #fff;
}
.contact-copy {
  max-width: 700px;
}
.contact-copy > p:not(.eyebrow) {
  color: #c4d0dc;
}
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 36px;
  background: rgba(255, 255, 255, 0.05);
}
.contact-card p {
  color: #bdc9d4;
}
.contact-card a {
  color: var(--cyan);
  font-weight: 700;
}
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 8px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(9, 21, 34, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa8b8;
  font-size: 11px;
}
.footer-info {
  text-align: center;
  line-height: 1.2;
}
.footer-info p {
  margin: 1px 0;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 24px;
}
.footer-info a {
  color: var(--cyan);
}
.footer-info strong {
  color: #dbe6ef;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.top-button {
  position: fixed;
  right: 24px;
  bottom: 98px;
  z-index: 30;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 35, 60, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.top-button:hover,
.top-button:focus-visible {
  background: var(--blue);
}
@media (max-width: 900px) {
  main {
    padding-top: 0;
  }
  .site-header {
    height: 82px;
  }
  .section {
    padding-top: 192px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 16, 30, 0.96);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 12px 0;
  }
  .menu-button {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 620px;
    padding-top: 110px;
    padding-bottom: 55px;
  }
  .hero-panel {
    display: none;
  }
  .about-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .service {
    grid-column: span 6;
  }
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides span.active {
    animation: none;
    transform: scale(1.05);
  }
}
@media (max-width: 600px) {
  body {
    padding-bottom: 108px;
  }
  footer {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 10px;
  }
  .top-button {
    right: 16px;
    bottom: 118px;
    width: 46px;
    height: 46px;
  }
  .section {
    padding-top: 160px;
    padding-bottom: 78px;
  }
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-grid {
    gap: 42px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .product-category > header { grid-template-columns: 54px 1fr; }
  .product-category > header > div { padding: 16px 18px; }
  .product-category h3 { font-size: 21px; }
  .product-category-body { grid-template-columns: 1fr; padding: 12px 18px 22px; gap: 4px; }
  .product-category-body > img { height: 220px; }
  .product-items { grid-template-columns: 1fr; }
  .card {
    grid-template-columns: 1fr;
  }
  .card > img {
    min-height: 230px;
    height: 230px;
  }
  .card > div {
    padding: 4px 24px 26px;
  }
  .service,
  .service:nth-child(4),
  .service:nth-child(5) {
    grid-column: 1/-1;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    text-align: center;
  }
  .footer-contacts {
    justify-content: center;
  }
}
