:root {
  --ink: #08090b;
  --graphite: #1f252b;
  --steel: #5d6872;
  --line: #d8dee3;
  --mist: #f4f7f9;
  --white: #ffffff;
  --cyan: #20a9df;
  --cyan-dark: #0879ad;
  --shadow: 0 18px 48px rgba(8, 9, 11, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 222, 227, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 172px;
}

.brand img {
  width: min(230px, 46vw);
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  padding: 8px 0;
  color: var(--graphite);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan-dark);
}

.lang-link {
  border-left: 1px solid var(--line);
  padding-left: 24px !important;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.92) 0%, rgba(3, 6, 9, 0.78) 34%, rgba(3, 6, 9, 0.18) 66%),
    url("../img/hero-industrial.png") center / cover no-repeat;
}

.hero .section-inner {
  display: grid;
  align-items: center;
  padding: 96px 0 72px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 760px;
  word-break: normal;
}

.hero-text {
  max-width: 630px;
  margin: 26px 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  background: var(--cyan);
  color: var(--ink);
}

.button.primary:hover {
  background: #49bee9;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--white);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.stats-band {
  background: var(--ink);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--cyan);
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: var(--graphite);
  color: var(--white);
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  color: var(--steel);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

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

.card,
.project-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 9, 11, 0.03);
}

.card {
  padding: 28px;
}

.card h3,
.project-card h3,
.contact-panel h3,
.form-panel h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p,
.project-card p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--steel);
}

.card ul,
.project-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--steel);
}

.accent-line {
  width: 48px;
  height: 4px;
  margin-bottom: 20px;
  background: var(--cyan);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(32, 169, 223, 0.12);
  color: var(--cyan-dark);
  font-weight: 900;
}

.feature p {
  margin: 2px 0 0;
  color: var(--steel);
}

.panel {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel p {
  color: rgba(255, 255, 255, 0.75);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-cloud span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-weight: 800;
  text-align: center;
}

.image-showcase {
  padding-top: 0;
}

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

.work-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 9, 11, 0.03);
}

.work-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-photo figcaption {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.work-photo strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.work-photo span {
  color: var(--steel);
}

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

.project-card {
  padding: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 30px;
}

.contact-person {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

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

.contact-person strong {
  display: block;
  font-size: 1.08rem;
}

.contact-person span,
.contact-person a {
  display: block;
  margin-top: 5px;
  color: var(--steel);
}

.contact-person a:hover {
  color: var(--cyan-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

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

input:focus,
select:focus,
textarea:focus,
.button:focus,
.nav-toggle:focus {
  outline: 3px solid rgba(32, 169, 223, 0.32);
  outline-offset: 2px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 0.92rem;
}

.page-hero {
  padding: 78px 0;
  background: var(--ink);
  color: var(--white);
}

.page-hero h1 {
  max-width: 840px;
}

.page-hero .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 44px 0;
  background: var(--white);
  color: var(--steel);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 190px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--cyan-dark);
}

@media (max-width: 920px) {
  .nav-wrap {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .lang-link {
    border-left: 0;
    padding-left: 0 !important;
  }

  .hero {
    min-height: 640px;
    background:
      linear-gradient(180deg, rgba(3, 6, 9, 0.92) 0%, rgba(3, 6, 9, 0.76) 52%, rgba(3, 6, 9, 0.34) 100%),
      url("../img/hero-industrial.png") 62% center / cover no-repeat;
  }

  .stats-grid,
  .cards,
  .split,
  .showcase-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: min(196px, 58vw);
  }

  .hero .section-inner {
    padding: 72px 0 54px;
  }

  h1 {
    font-size: clamp(2.24rem, 10.5vw, 3.35rem);
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 54px 0;
  }

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

  .card,
  .project-card,
  .contact-panel,
  .form-panel,
  .panel {
    padding: 22px;
  }

  .logo-cloud {
    grid-template-columns: 1fr;
  }

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