:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-dark: #13171b;
  --surface-dark-2: #1b2025;
  --text: #17191c;
  --muted: #687078;
  --line: #dfe3e7;
  --accent: #f2a900;
  --accent-dark: #c98900;
  --white: #ffffff;
  --max-width: 1200px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(16, 23, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
  scroll-margin-top: 90px;
}

.section--muted {
  background: var(--bg);
}

.section--dark {
  color: var(--white);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(242, 169, 0, 0.12),
      transparent 28%
    ),
    var(--surface-dark);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 500px;
  margin-bottom: 8px;
  color: var(--muted);
}

.section-heading--light > p {
  color: #aab2b9;
}

/* Шапка */

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(19, 23, 27, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #141414;
  background: var(--accent);
  font-size: 18px;
  font-weight: 900;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__text strong {
  font-size: 17px;
  line-height: 1.1;
}

.logo__text small {
  margin-top: 4px;
  color: #9fa7ae;
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  color: #d8dde1;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 12px;
}

.header__phone {
  font-weight: 800;
  white-space: nowrap;
}

.text-button {
  padding: 4px 8px;
  margin-right: -8px;
  border-radius: 5px;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.text-button:hover {
  color: #ffca4a;
  background-color: rgba(242, 169, 0, 0.12);
}

.text-button:active {
  transform: translateY(1px) scale(0.97);
  background-color: rgba(242, 169, 0, 0.24);
}

.text-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .text-button {
    transition: none;
  }
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* Первый экран */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--white);
  background:
    linear-gradient(
      105deg,
      rgba(9, 12, 15, 0.98) 0%,
      rgba(17, 22, 27, 0.9) 50%,
      rgba(27, 32, 37, 0.84) 100%
    ),
    repeating-linear-gradient(
      120deg,
      transparent 0 44px,
      rgba(255, 255, 255, 0.025) 44px 46px
    ),
    #14191e;
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 620px;
  height: 620px;
  content: "";
  border: 90px solid rgba(242, 169, 0, 0.13);
  border-radius: 50%;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );
  background-size: 70px 70px;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  align-items: stretch;
  align-content: center;
  gap: 70px;
  min-height: 760px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: #bdc5cc;
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button--primary {
  color: #171717;
  background: var(--accent);
}

.button--primary:hover {
  background: #ffba19;
}

.button--outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

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

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

.button--wide {
  width: 100%;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.hero__features li {
  display: flex;
  flex-direction: column;
}

.hero__features strong {
  color: var(--white);
  font-size: 18px;
}

.hero__features span {
  color: #929ba3;
  font-size: 13px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card__label {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.hero-card > p {
  color: var(--muted);
}

.hero-card .hero-card__hint {
  margin: 0;
  font-size: 14px;
}

.hero-card .max-contact-block {
  margin-top: 24px;
  margin-bottom: auto;
}

.max-contact-block {
  display: grid;
  gap: 14px;
}

button:disabled {
  cursor: default;
}

/* Продукция */

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

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.product-card__visual {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(145deg, #424a51, #171b1f);
}

.product-card__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    150deg,
    transparent 40%,
    rgba(242, 169, 0, 0.18)
  );
}

.product-card__content {
  padding: 25px;
}

.product-card__content p {
  min-height: 74px;
  color: var(--muted);
  font-size: 14px;
}

.card-link {
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.product-card__visual--bars span {
  position: absolute;
  z-index: 1;
  left: -40px;
  width: 330px;
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      #9ca4aa 0 8px,
      #626a70 8px 12px
    );
  border-radius: 10px;
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.35);
  transform: rotate(-15deg);
}

.product-card__visual--bars span:nth-child(1) {
  top: 45px;
}

.product-card__visual--bars span:nth-child(2) {
  top: 76px;
  left: -15px;
}

.product-card__visual--bars span:nth-child(3) {
  top: 107px;
  left: -30px;
}

.product-card__visual--bars span:nth-child(4) {
  top: 138px;
  left: -5px;
}

.product-card__visual--bars span:nth-child(5) {
  top: 169px;
  left: -45px;
}

.product-card__visual--bent span {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 130px;
  border: 17px solid #818a91;
  border-right: 0;
  border-bottom: 0;
  border-radius: 22px 0 0;
  transform: rotate(20deg);
}

.product-card__visual--bent span:nth-child(1) {
  top: 38px;
  left: 55px;
}

.product-card__visual--bent span:nth-child(2) {
  top: 65px;
  left: 90px;
  opacity: 0.7;
}

.product-card__visual--bent span:nth-child(3) {
  top: 92px;
  left: 125px;
  opacity: 0.45;
}

.product-card__visual--mesh span {
  position: absolute;
  z-index: 1;
  inset: 25px;
  background-image:
    linear-gradient(#8f989e 5px, transparent 5px),
    linear-gradient(90deg, #8f989e 5px, transparent 5px);
  background-size: 36px 36px;
  transform:
    perspective(400px)
    rotateX(55deg)
    rotateZ(-12deg);
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.3);
}

.product-card__visual--frame span {
  position: absolute;
  z-index: 1;
  left: 35px;
  width: 230px;
  height: 12px;
  background: #8c949a;
  border-radius: 7px;
  transform: rotate(-12deg);
}

.product-card__visual--frame span:nth-child(1) {
  top: 55px;
}

.product-card__visual--frame span:nth-child(2) {
  top: 105px;
}

.product-card__visual--frame span:nth-child(3) {
  top: 82px;
  transform: rotate(78deg);
}

.product-card__visual--frame span:nth-child(4) {
  top: 82px;
  left: 128px;
  transform: rotate(78deg);
}

/* Услуги */

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #343b42;
  border-left: 1px solid #343b42;
}

.service {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  min-height: 210px;
  padding: 34px;
  border-right: 1px solid #343b42;
  border-bottom: 1px solid #343b42;
}

.service__number {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.service p {
  max-width: 440px;
  margin-bottom: 0;
  color: #a9b0b6;
}

/* О компании */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about__visual {
  min-height: 520px;
  padding: 30px;
  background: var(--bg);
  border-radius: var(--radius);
}

.factory {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
  background:
    linear-gradient(
      rgba(19, 23, 27, 0.1),
      rgba(19, 23, 27, 0.55)
    ),
    repeating-linear-gradient(
      90deg,
      #5a6268 0 10px,
      #454c52 10px 23px
    );
  border-radius: 12px;
}

.factory::before,
.factory::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  content: "";
  background: #242a2f;
}

.factory::before {
  left: 18%;
}

.factory::after {
  right: 18%;
}

.factory__beam {
  position: absolute;
  z-index: 2;
  top: 22%;
  left: 0;
  width: 100%;
  height: 25px;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.factory__hook {
  position: absolute;
  z-index: 3;
  top: 22%;
  left: 50%;
  width: 9px;
  height: 130px;
  background: #1f252a;
}

.factory__hook::after {
  position: absolute;
  bottom: -20px;
  left: -14px;
  width: 34px;
  height: 34px;
  content: "";
  border: 9px solid #1f252a;
  border-top: 0;
  border-radius: 0 0 24px 24px;
}

.factory__floor {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 27%;
  background:
    repeating-linear-gradient(
      100deg,
      #252a2f 0 25px,
      #30363b 25px 48px
    );
}

.factory__bundle {
  position: absolute;
  z-index: 4;
  bottom: 18%;
  width: 230px;
  height: 55px;
  background:
    repeating-linear-gradient(
      90deg,
      #a2a9ae 0 5px,
      #5e666c 5px 9px
    );
  border-radius: 8px;
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.35);
}

.factory__bundle--one {
  left: 9%;
  transform: rotate(4deg);
}

.factory__bundle--two {
  right: 7%;
  bottom: 8%;
  transform: rotate(-4deg);
}

.about__content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 38px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 29px;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

/* Этапы */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
}

.steps li {
  min-height: 270px;
  padding: 30px;
  background: var(--white);
}

.steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  place-items: center;
  color: #171717;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.steps p {
  color: var(--muted);
  font-size: 14px;
}

/* Связаться с нами */

.request {
  color: var(--white);
  background:
    linear-gradient(
      115deg,
      rgba(242, 169, 0, 0.16),
      transparent 35%
    ),
    var(--surface-dark);
}

.request__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.request__copy p:not(.eyebrow) {
  color: #aeb5bb;
  font-size: 17px;
}

.request__contacts {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.request__contacts a {
  font-size: 20px;
  font-weight: 800;
}

.contact-card {
  padding: 34px;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius);
}

/* Карта склада */

.section.warehouse {
  padding: 48px 0;
}

.warehouse__panel {
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.8fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-dark);
}

.warehouse__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px;
  color: var(--white);
}

.warehouse__info .eyebrow {
  color: var(--accent);
}

.warehouse__info h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 3vw, 42px);
}

.warehouse__city {
  margin-bottom: 6px;
  color: #bdc5cc;
  font-size: 14px;
}

.warehouse__address {
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.warehouse__info .button {
  gap: 14px;
  padding: 12px 20px;
  text-align: center;
}

.warehouse__map {
  min-width: 0;
  background: var(--bg);
}

.warehouse__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

@media (max-width: 760px) {
  .warehouse__panel {
    grid-template-columns: 1fr;
  }

  .warehouse__info {
    padding: 28px;
  }

  .warehouse__info h2 {
    margin-bottom: 18px;
  }

  .warehouse__address {
    margin-bottom: 20px;
  }

  .warehouse__map iframe {
    height: 380px;
    min-height: 380px;
  }
}

/* Реквизиты организации */

.section.requisites {
  padding: 48px 0 56px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.requisites__heading {
  margin-bottom: 24px;
}

.requisites__heading h2 {
  margin-bottom: 14px;
}

.requisites__notice {
  max-width: 800px;
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
}

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

.requisites__card {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.requisites__card h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.requisites__list {
  margin: 0;
}

.requisites__list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.requisites__list > div:first-child {
  padding-top: 0;
}

.requisites__list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.requisites__list dt {
  color: var(--muted);
}

.requisites__list dd {
  min-width: 0;
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .requisites__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .requisites__card {
    padding: 22px;
  }

  .requisites__list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Подвал */

.footer {
  padding: 70px 0 24px;
  color: #dbe0e4;
  background: #0b0e11;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 70px;
}

.logo--footer {
  color: var(--white);
}

.footer__note {
  max-width: 390px;
  margin-top: 20px;
  color: #818a92;
}

.footer h3 {
  color: var(--white);
  font-size: 15px;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__grid a,
.footer__grid p {
  margin: 0;
  color: #9ba3aa;
  font-size: 14px;
}

.footer__grid a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 22px;
  color: #6f7880;
  border-top: 1px solid #252a2f;
  font-size: 12px;
}

/* Адаптивность */

@media (max-width: 1050px) {
  .header__contacts {
    display: none;
  }

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

  .about {
    gap: 45px;
  }

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

@media (max-width: 820px) {
  .section {
    padding: 74px 0;
  }

  .section-heading {
    display: block;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #13171b;
    border-bottom: 1px solid #31373c;
  }

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

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid #292f34;
    font-size: 16px;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-card {
    max-width: 590px;
  }

  .about,
  .request__inner {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 420px;
  }

  .request__inner {
    gap: 40px;
  }

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

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 590px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header__inner {
    min-height: 72px;
  }

  .logo__text small {
    display: none;
  }

  .nav {
    top: 72px;
  }

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

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .hero-card {
    padding: 25px;
  }

  .product-grid,
  .service-list,
  .steps,
  .stats,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 42px 1fr;
    min-height: auto;
    padding: 25px 20px;
  }

  .about__visual {
    min-height: 330px;
    padding: 16px;
  }

  .factory {
    min-height: 300px;
  }

  .stats {
    gap: 15px;
  }

  .steps li {
    min-height: auto;
  }

  .steps li > span {
    margin-bottom: 30px;
  }

  .contact-card {
    padding: 25px;
  }

  .footer__grid > div:first-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
  }
}