* {
  box-sizing: border-box;
}

:root {
  --page-padding-x: 40px;
  --header-padding-x: 60px;
  --accent-color: #ff9800;
}

/* Подключение Proxima Nova (положи файлы шрифта в папку fonts) */
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Regular.woff2") format("woff2"),
    url("fonts/ProximaNova-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Semibold.woff2") format("woff2"),
    url("fonts/ProximaNova-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Proxima Nova", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #111;
  background-color: #f5f5f5;
}

.page {
  min-height: 100vh;
  background-color: #ffffff;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--page-padding-x);
}

/* ===== ШАПКА ===== */

.header {
  display: grid;
  grid-template-columns: auto 1fr; /* слева логотип, справа контент */
  grid-template-rows: auto auto; /* верх и низ справа */
  align-items: stretch;
  border-bottom: 1px solid #e3e3e3;
  background-color: #ffffff;
}

.header__logo {
  grid-row: 1 / 3; /* логотип на две строки */
  padding: 8px var(--header-padding-x);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1c1c1c; /* тёмная подложка для логотипа */
}

.header__logo img {
  width: 200px;
  height: auto;
  display: block;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px var(--header-padding-x);
  font-size: 14px;
  background-color: #111111;
  color: #ffffff;
}

.header__city {
  opacity: 0.9;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header__phone,
.header__email {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header__phone:hover,
.header__email:hover {
  color: var(--accent-color);
  opacity: 1;
}

.header__phone {
  font-size: 22px;
  font-weight: 600;
}

.header__email {
  font-size: 15px;
  opacity: 0.9;
}

.header__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 12px var(--header-padding-x);
  background-color: #f5f5f5;
}

.header__nav-link {
  position: relative;
  text-decoration: none;
  color: #222222;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.header__nav-link:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: none;
}

/* Простая адаптация под мобильные устройства */

@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .header__logo {
    grid-row: auto;
    justify-content: center;
  }

  .header__top {
    padding-inline: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .header__bottom {
    padding-inline: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.page-main {
  padding: 0;
}

/* ===== КАТАЛОГ ===== */

.catalog {
  margin-top: 32px;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.catalog-sidebar {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 20px 16px;
}

.catalog-sidebar__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.catalog-sidebar__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border: none;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.catalog-sidebar__item:last-of-type {
  border-bottom: none;
}

.catalog-sidebar__arrow {
  color: #b71c1c;
  font-size: 16px;
}

.catalog-sidebar__item--active,
.catalog-sidebar__item:hover {
  color: var(--accent-color);
  background-color: #fafafa;
}

.catalog-content {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 20px 24px 28px;
}

.catalog-category {
  display: none;
}

.catalog-category--active {
  display: block;
}

.catalog-category__placeholder {
  padding: 24px 0;
  color: #777;
  font-size: 15px;
}

.catalog-power {
  margin-bottom: 24px;
}

.catalog-power__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.catalog-power__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.catalog-power__item {
  padding: 4px 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  color: #222;
  transition: color 0.2s ease;
}

.catalog-power__item:hover {
  color: var(--accent-color);
}

.catalog-power__item--active {
  color: var(--accent-color);
  font-weight: 600;
}

.catalog-products {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr 2fr 1.3fr;
}

/* Прочее оборудование: панели (одна активна) */
.catalog-other-panel {
  display: none;
}
.catalog-other-panel--active {
  display: block;
}

.catalog-products--other {
  grid-template-columns: 2fr 0.9fr 0.9fr 1.2fr 1.2fr;
}
.catalog-products--avr {
  grid-template-columns: 2fr 0.9fr 0.9fr 1.2fr 1.2fr;
}
.catalog-products--containers {
  grid-template-columns: 2fr 1.2fr 0.8fr 1.2fr;
}
.catalog-products--stabilizers {
  grid-template-columns: 2.2fr 1.2fr 0.7fr 1.2fr 0.7fr 1.2fr;
}
.catalog-products--masts {
  grid-template-columns: 2fr 0.8fr 1.2fr 1fr 0.8fr 1fr 1.1fr;
}

.catalog-products__header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  background-color: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.catalog-products__col {
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-products__col:last-child {
  border-right: none;
}

.catalog-products__col--main {
  display: flex;
  gap: 12px;
}

.catalog-products__col--price {
  text-align: center;
}

.catalog-product {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  font-size: 13px;
  border-top: 1px solid #e0e0e0;
}

.catalog-product--hidden {
  display: none;
}

.catalog-product__main {
  align-items: flex-start;
}

.catalog-product__image-placeholder {
  width: 70px;
  height: 90px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* Изображения для дизельных генераторов по порядку */
.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(1)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/1.png");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(2)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/2.png");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(3)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/3.jpg");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(4)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/4.jpg");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(5)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/5.jpg");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(6)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/6.jpg");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(7)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/7.webp");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(8)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/8.webp");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(9)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/9.jpg");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(10)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/10.png");
}

.catalog-category[data-category="diesel"]
  .catalog-product:nth-of-type(11)
  .catalog-product__image-placeholder {
  background-image: url("img/diesel/11.webp");
}

/* Изображения для газовых генераторов по порядку */
.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(1)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/1.jpg");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(2)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/2.jpg");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(3)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/3.jpg");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(4)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/4.jpg");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(5)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/5.webp");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(6)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/6.webp");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(7)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/7.webp");
}

.catalog-category[data-category="gas"]
  .catalog-product:nth-of-type(8)
  .catalog-product__image-placeholder {
  background-image: url("img/gas/8.webp");
}

/* Изображения для бензиновых генераторов по порядку */
.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(1)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/1.jpg");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(2)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/2.webp");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(3)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/3.jpg");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(4)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/4.jpg");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(5)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/5.jpg");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(6)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/6.webp");
}

.catalog-category[data-category="petrol"]
  .catalog-product:nth-of-type(7)
  .catalog-product__image-placeholder {
  background-image: url("img/petrol/7.jpg");
}

/* Изображения для компрессоров по порядку */
.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(1)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/1.jpg");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(2)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/2.png");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(3)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/3.jpg");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(4)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/4.png");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(5)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/5.jpg");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(6)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/6.webp");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(7)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/7.jpg");
}

.catalog-category[data-category="compressors"]
  .catalog-product:nth-of-type(8)
  .catalog-product__image-placeholder {
  background-image: url("img/compressor/8.webp");
}

/* Прочее оборудование: Блоки АВР (1–3), Контейнеры (4–6), Стабилизаторы (7–9), Мачты (10–12) */
.catalog-products--avr .catalog-product:nth-of-type(1) .catalog-product__image-placeholder {
  background-image: url("img/other/1.jpg");
}
.catalog-products--avr .catalog-product:nth-of-type(2) .catalog-product__image-placeholder {
  background-image: url("img/other/2.jpg");
}
.catalog-products--avr .catalog-product:nth-of-type(3) .catalog-product__image-placeholder {
  background-image: url("img/other/3.jpg");
}
.catalog-products--containers .catalog-product:nth-of-type(1) .catalog-product__image-placeholder {
  background-image: url("img/other/4.jpg");
}
.catalog-products--containers .catalog-product:nth-of-type(2) .catalog-product__image-placeholder {
  background-image: url("img/other/5.jpg");
}
.catalog-products--containers .catalog-product:nth-of-type(3) .catalog-product__image-placeholder {
  background-image: url("img/other/6.jpg");
}
.catalog-products--stabilizers .catalog-product:nth-of-type(1) .catalog-product__image-placeholder {
  background-image: url("img/other/7.webp");
}
.catalog-products--stabilizers .catalog-product:nth-of-type(2) .catalog-product__image-placeholder {
  background-image: url("img/other/8.webp");
}
.catalog-products--stabilizers .catalog-product:nth-of-type(3) .catalog-product__image-placeholder {
  background-image: url("img/other/9.jpg");
}
.catalog-products--masts .catalog-product:nth-of-type(1) .catalog-product__image-placeholder {
  background-image: url("img/other/10.jpg");
}
.catalog-products--masts .catalog-product:nth-of-type(2) .catalog-product__image-placeholder {
  background-image: url("img/other/11.png");
}
.catalog-products--masts .catalog-product:nth-of-type(3) .catalog-product__image-placeholder {
  background-image: url("img/other/12.jpg");
}

.catalog-product__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-product__name {
  font-weight: 600;
}

.catalog-product__meta {
  font-size: 12px;
  color: #777;
}

.catalog-product__extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.catalog-product__compare {
  display: none;
  align-items: center;
  gap: 4px;
  color: #555;
}

.catalog-product__compare input {
  width: 14px;
  height: 14px;
}

.catalog-product__warranty {
  color: #d32f2f;
}

.catalog-product__mods {
  font-size: 12px;
  line-height: 1.4;
}

.catalog-product__price-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.catalog-product__price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.catalog-product__price {
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-product__price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.catalog-product__availability {
  font-size: 12px;
  color: #2e7d32;
}

.catalog-product__button {
  display: none;
  padding: 8px 18px;
  border-radius: 2px;
  border: none;
  background-color: #b71c1c;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.catalog-product__button:hover {
  background-color: #d32f2f;
}

.catalog-product__button:active {
  transform: translateY(1px);
}

.catalog-product__discount-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 12px;
  color: #b71c1c;
  cursor: pointer;
  text-decoration: underline;
}

.catalog-product__discount-link--phone {
  text-decoration: none;
}

/* ===== Модалка изображения товара ===== */

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.product-modal--open {
  display: flex;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 24px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 20px 24px 24px;
}

.product-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.product-modal__image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.product-modal__image {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.product-modal__info {
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
  font-size: 14px;
}

.product-modal__name {
  font-weight: 600;
  margin-bottom: 4px;
}

.product-modal__power {
  color: #555;
}

/* ===== КАК СДЕЛАТЬ ЗАКАЗ ===== */

.how-to-order {
  padding: 48px 0 56px;
  border-top: 1px solid #e8e8e8;
}

.how-to-order__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: #111;
}

.how-to-order__intro {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  max-width: 720px;
}

.how-to-order__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: order-step;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-to-order__item {
  counter-increment: order-step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

.how-to-order__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 50%;
}

.how-to-order__num::before {
  content: counter(order-step);
}

.how-to-order__content {
  min-width: 0;
}

.how-to-order__item-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
}

.how-to-order__item-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.how-to-order__link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.how-to-order__link:hover {
  border-bottom-color: var(--accent-color);
}

/* ===== О КОМПАНИИ ===== */

.about {
  padding: 48px 0 56px;
  border-top: 1px solid #e8e8e8;
}

.about__title {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 600;
  color: #111;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.about__info {
  padding: 24px 28px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.about__company-name {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.about__details {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 14px;
}

.about__term {
  margin: 0;
  color: #666;
  font-weight: 400;
}

.about__value {
  margin: 0;
  color: #111;
  font-weight: 500;
}

.about__contacts {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.about__hours {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.about__hours-label {
  font-weight: 600;
  color: #111;
}

.about__link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.about__link:hover {
  color: #e68900;
  border-bottom-color: #e68900;
}

.about__map-block {
  min-width: 0;
}

.about__map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #eee;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.about__map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.about__address {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

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

/* Кнопка «Наверх» */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease,
    transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top:hover {
  background-color: #e68900;
  transform: translateY(-2px);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

  .catalog-sidebar {
    order: -1;
  }

  .catalog-products__header {
    display: none;
  }

  .catalog-products,
  .catalog-product {
    display: block;
  }

  .catalog-products__col,
  .catalog-product__price-cell {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* ===== ФУТЕР ===== */

.footer {
  position: relative;
  margin-top: auto;
  background-color: #2c2e33;
  color: #b0b2b8;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

.footer__diagonal {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: repeating-linear-gradient(
    -42deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.04) 2px,
    rgba(255, 255, 255, 0.04) 4px
  );
  pointer-events: none;
}

.footer__container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #d0d2d6;
  margin-bottom: 16px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  color: #b0b2b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer__company {
  font-size: 14px;
  color: #d0d2d6;
  margin-bottom: 12px;
}

.footer__details {
  margin: 0;
  color: #b0b2b8;
  line-height: 1.65;
}

.footer__details .footer__link {
  color: #b0b2b8;
}

.footer__details .footer__link:hover {
  color: var(--accent-color);
}

.footer__bottom {
  padding-top: 20px;
}

.footer__copyright {
  margin: 0;
  font-size: 13px;
  color: #8a8d94;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
