:root {
  --bg: #071017;
  --bg-soft: #0d1b25;
  --card: #102331;
  --card-2: #142a3a;
  --text: #f5f8fb;
  --muted: #c6d0d8;
  --steel: #aeb9c4;
  --line: rgba(255,255,255,.14);
  --accent: #e3a92f;
  --accent-2: #67d7ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

.container {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 23, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #f9d77a);
  color: #1a1304;
  font-weight: 900;
  letter-spacing: -.04em;
  box-shadow: 0 14px 30px rgba(227,169,47,.24);
}

.brand-text {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: .91rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,.09);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  padding: 11px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--white);
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(103,215,255,.20), transparent 33%),
    radial-gradient(circle at 82% 24%, rgba(227,169,47,.18), transparent 29%),
    linear-gradient(135deg, #071017 0%, #102433 48%, #071017 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .77rem;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ffd878);
  color: #1a1304;
  box-shadow: 0 18px 34px rgba(227,169,47,.22);
}

.btn.ghost {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255,255,255,.07);
}

.hero-panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}

.panel-topline {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 5px 5px 16px;
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    var(--card);
}

.panel-card p,
.service-card p,
.cabinet-copy p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.large-card {
  min-height: 190px;
  margin-bottom: 14px;
}

.compact-card {
  margin-top: 14px;
}

.panel-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-weight: 900;
  letter-spacing: .14em;
}

.overview {
  background:
    linear-gradient(180deg, var(--bg) 0%, #0c1922 100%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

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

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

.service-card {
  position: relative;
  min-height: 320px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(103,215,255,.10);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 24px;
  background: rgba(227,169,47,.14);
  color: var(--accent);
  font-weight: 900;
  border: 1px solid rgba(227,169,47,.28);
}

.split-section {
  background: #eef3f7;
  color: #101b22;
}

.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.split-section .eyebrow,
.lab-section .eyebrow,
.gallery-section .eyebrow {
  color: #a97710;
}

.list-card {
  padding: 32px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(16, 27, 34, .12);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 18px;
  border-radius: 18px;
  background: #f3f7fa;
  font-weight: 900;
  color: #142536;
}

.clean-list span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(227,169,47,.16);
}

.lab-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(103,215,255,.16), transparent 35%),
    #f8fbfd;
  color: #101b22;
}

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

.feature-card {
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(16,35,49,.06), rgba(16,35,49,.02)),
    #ffffff;
  border: 1px solid rgba(16,35,49,.12);
  box-shadow: 0 18px 45px rgba(16,35,49,.08);
}

.feature-card h3 {
  margin-bottom: 0;
  color: #102331;
}

.cabinet-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7,16,23,.94), rgba(13,34,49,.97)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 110px);
}

.cabinet-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 38px;
  align-items: center;
}

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

.cabinet-list article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
}

.cabinet-list span,
.process-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .16em;
}

.maquila-section {
  background: #0b151d;
}

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

.process-card {
  min-height: 190px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 22px 52px rgba(0,0,0,.22);
}

.gallery-section {
  background: #edf2f6;
  color: #101b22;
}

.gallery-grid {
  columns: 4 240px;
  column-gap: 18px;
}

.gallery-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(16,35,49,.12);
  box-shadow: 0 18px 42px rgba(16,35,49,.10);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #071017;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-weight: 900;
  color: var(--white);
}

.footer a {
  font-weight: 800;
  color: var(--accent);
}

@media (max-width: 980px) {
  .section-pad {
    padding: 72px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7,16,23,.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero-grid,
  .split-grid,
  .cabinet-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .navbar {
    width: min(100% - 22px, 1220px);
  }

  .brand-text {
    font-size: .9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .panel-row,
  .overview-grid,
  .feature-grid,
  .cabinet-list,
  .process-grid,
  .clean-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .gallery-grid {
    columns: 1;
  }
}
