﻿@import url("shared-base.css");

/* ==========================================================================
   Главный экран (Hero)
   ========================================================================== */
.top-bg-wrapper {
  background: url("../img/hero-bg.webp") no-repeat center top;
  background-size: cover;
  position: relative;
}

.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.hero__title--highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 24px 0;
  max-width: 450px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.hero__btn-primary,
.hero__btn-secondary {
  position: relative;
  z-index: 5;
}

.hero__pulse {
  display: none;
}

.hero__pulse img {
  height: 40px;
}

.hero__image-wrap {
  padding-top: 50px;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero__image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(210, 236, 43, 0.15));
  transform: scale(1.15);
  transform-origin: right center;
}

/* ==========================================================================
   Категории
   ========================================================================== */
.categories {
  padding: 10px 0 25px 0;
  position: relative;
  z-index: 5;
}

.categories__container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

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

.category-card {
  background-color: rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 100%);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 180px;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(210, 236, 43, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 236, 43, 0.3);
  box-shadow: 0 0 25px rgba(210, 236, 43, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 130px;
}

.category-card__icon {
  color: var(--accent-green);
  margin-bottom: 0px;
}

.category-card__image-wrap {
  position: absolute;
  right: 0%;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.category-card__img {
  max-height: none;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  opacity: 0.9;
  transform: scale(2.3);
  transform-origin: right center;
}

.category-card:hover .category-card__img {
  transform: scale(2.4);
}

.category-card__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: auto;
  line-height: 1.3;
  max-width: 75%;
}

.category-card__link {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-top: 15px;
}

.category-card__link .arrow {
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__link {
  color: var(--accent-green);
}

.category-card:hover .category-card__link .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   О компании (About Us)
   ========================================================================== */
.about {
  padding: 15px 0 30px 0;
  position: relative;
  z-index: 5;
  background-color: var(--bg-main);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}



.about__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 440px;
}

.about__facts {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: auto;
  margin-bottom: 16px;
}

.about__fact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__fact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(210, 236, 43, 0.08);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(210, 236, 43, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__fact:hover .about__fact-icon {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(210, 236, 43, 0.4);
}

.about__fact-info {
  display: flex;
  flex-direction: column;
}

.about__fact-number {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.about__fact-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 190px;
}

.about__facts-divider {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.12);
}

.about__image-wrap {
  position: relative;
  z-index: 1;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  min-height: 380px;
  margin-left: -120px;
  width: calc(100% + 120px);
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Оборудование (Equipment Catalog) - ИСПРАВЛЕНО
   ========================================================================== */
.equipment {
  padding: 0 0 15px 0;
  position: relative;
  z-index: 5;
  background-color: var(--bg-main);
}

.equipment__container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

.equipment__header {
  margin-bottom: 18px;
}

.equipment__header .section-subtitle {
  margin-bottom: 6px;
}

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

.equipment-card {
  background-color: rgba(255, 255, 255, 0.02);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 100%);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 236, 43, 0.3);
  box-shadow: 0 0 25px rgba(210, 236, 43, 0.3);
}

.equipment-card__image-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.equipment-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  background: transparent;
  transform: scale(1.1);
}

.equipment-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipment-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-white);
}

.equipment-card__desc {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0;
}

.equipment-card__link {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-top: auto;
  padding-top: 12px;
}

.equipment-card__link .arrow {
  transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-card__link {
  color: var(--accent-green);
}

.equipment-card:hover .equipment-card__link .arrow {
  transform: translateX(4px);
}

.equipment__actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
}

/* Тонкая серая прозрачная линия вдоль кнопки */
.equipment__actions::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.equipment__actions .btn-outline {
  position: relative;
  z-index: 2;
  background-color: var(--bg-main);
}

/* ==========================================================================
   Реализованные проекты (Projects Gallery / Slider)
   ========================================================================== */
.projects {
  padding: 10px 0 60px 0;
  position: relative;
  z-index: 5;
  background-color: var(--bg-main);
}

.projects__container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

.projects__header {
  margin-bottom: 24px;
}

.projects__subtitle.section-subtitle {
  margin: 0;
  display: inline-block;
}

.projects__slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.projects__slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 10px 0 15px 0;
  scrollbar-width: none;
}

.projects__slider::-webkit-scrollbar {
  display: none;
}

/* Круглые неоновые/зеленые стрелки навигации */
.projects__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #0b0e0f;
  border: 1.5px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px rgba(210, 236, 43, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.projects__arrow:hover {
  background-color: var(--accent-green);
  color: #0b0e0f;
  box-shadow: 0 0 25px rgba(210, 236, 43, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.projects__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.projects__arrow--prev {
  left: -24px;
}

.projects__arrow--next {
  right: -24px;
}

/* Карточки проектов */
.project-card {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
  height: 192px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 236, 43, 0.4);
  box-shadow: 0 0 25px rgba(210, 236, 43, 0.3);
}

/* Отключаем реакцию мыши на карточки во время прокрутки */
.projects__slider.is-scrolling .project-card {
  pointer-events: none;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-card__img {
  transform: scale(1.06);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  border-radius: 12px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-card__title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: color 0.3s ease;
}

.project-card:hover .project-card__title {
  color: var(--accent-green);
}

/* Точки-пагинаторы (dots) */
.projects__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.projects__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.projects__dot:hover {
  background-color: rgba(210, 236, 43, 0.5);
}

.projects__dot--active {
  background-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(210, 236, 43, 0.6);
  transform: scale(1.25);
}

/* ==========================================================================
   Сервис и преимущества (Services and Advantages)
   ========================================================================== */
.services {
  padding: 10px 0 60px 0;
  position: relative;
  z-index: 5;
  background-color: var(--bg-main);
}

.services__container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services__header {
  margin-bottom: 24px;
}

.services__header .section-subtitle {
  margin-bottom: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.service-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.service-item:first-child {
  padding-left: 0;
}

.service-item:last-child {
  padding-right: 0;
}

.service-item__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(210, 236, 43, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item__icon svg {
  width: 32px;
  height: 32px;
}

.service-item:hover .service-item__icon {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(210, 236, 43, 0.35);
  border-color: #e7d930;
}

.service-item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item__title {
  color: var(--text-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.service-item:hover .service-item__title {
  color: var(--accent-green);
}

.service-item__desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   Получите консультацию специалиста (Consultation)
   ========================================================================== */
.consultation {
  width: 100%;
  padding: 50px 0;
  background: var(--accent-gradient);
  border-radius: 0;
  position: relative;
  z-index: 5;
  color: #0b0e0f;
  box-shadow: 0 0 50px rgba(210, 236, 43, 0.4);
}

.consultation__container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

.consultation__card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

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

.consultation__title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 12px 0;
  color: #0b0e0f;
  letter-spacing: -0.3px;
}

.consultation__desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(11, 14, 15, 0.8);
  margin: 0;
}

.consultation__form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.consultation__input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.consultation__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.consultation__input:hover,
.consultation__input:focus {
  border-color: #0b0e0f;
  background: rgba(0, 0, 0, 0.35);
}

.consultation__btn {
  background: #0b0e0f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, background-color 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.consultation__btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.consultation__policy {
  grid-column: 1 / -1;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(11, 14, 15, 0.75);
  cursor: pointer;
}

.consultation__checkbox {
  accent-color: #0b0e0f;
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}



/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (min-width: 1025px) {
  .hero__pulse {
    display: block;
    position: absolute;
    left: 94%;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    width: 55vw;
    min-width: 350px;
  }

  .hero__pulse img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 992px) {

  .hero__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__title {
    font-size: 44px;
    /* Уменьшаем размер заголовка на планшете */
    max-width: 450px;
    /* Принудительно делаем 3 строчки вместо 2 */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero__actions {
    justify-content: center;
    margin-bottom: 12px;
  }

  .hero {
    padding-bottom: 15px;
  }

  .categories {
    padding-top: 10px;
  }

  .hero__image-wrap {
    display: none;
    /* Убираем изображение хиро на планшетах */
  }

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

  .services__grid {
    gap: 30px;
  }

  .service-item,
  .service-item:first-child,
  .service-item:last-child {
    padding: 0;
    border-right: none;
  }

  .services {
    padding: 10px 0 50px 0;
  }

  .consultation.consultation {
    padding: 20px 20px;
    background: transparent;
    box-sizing: border-box;
    box-shadow: none;
  }

  .consultation .consultation__container {
    width: 90%;
    max-width: 100%;
    padding: 0;
  }

  .consultation .consultation__card {
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    background: var(--accent-gradient);
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
    box-shadow: 0 0 40px rgba(210, 236, 43, 0.4);
  }

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

  .consultation__input:nth-child(3),
  .consultation__btn {
    grid-column: 1 / -1;
  }

  .projects {
    padding: 10px 0 50px 0;
  }

  .project-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    height: 176px;
  }

  .about {
    padding: 10px 0 50px 0;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .about__text {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .about__image-wrap {
    display: none;
  }
}

.slider-arrow-mobile {
  display: none !important;
}

.slider-dots-mobile {
  display: none;
  /* Скрыто на ПК */
}

@media (max-width: 576px) {

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 15px;
  }

  .hero__container {
    flex-direction: column;
    text-align: left;
    /* центрировать к леву */
    align-items: flex-start;
    gap: 20px;
  }

  .hero__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* выравнивание по левому краю */
    text-align: left;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 15px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    align-items: flex-start;
  }

  .hero__actions .btn,
  .hero__actions .btn-outline {
    width: 100%;
  }

  .hero__pulse {
    display: none;
  }

  .hero__image-wrap {
    display: none;
    /* скрыто, как просил пользователь */
  }

  /* Контейнер для скролл-лент на мобильных */
  .slider-wrap-mobile {
    position: relative;
    display: flex;
    align-items: center;
  }

  /* Прячем стрелочки ВСЕХ слайдеров на телефонах (даже проектов) */
  .slider-arrow-mobile,
  .projects__arrow {
    display: none !important;
  }

  /* Показываем точки на мобильных */
  .slider-dots-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }

  /* Горизонтальный скролл 1 в 1 как в projects__slider */
  .categories__grid,
  .equipment__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    /* как в projects */
    padding: 10px 0 15px 0;
    width: 100%;
    margin: 0;
    /* Убрали кастомные отступы, теперь 1 в 1 как projects__slider */
  }

  .categories__grid::-webkit-scrollbar,
  .equipment__grid::-webkit-scrollbar {
    display: none;
  }

  .category-card,
  .equipment-card {
    flex: 0 0 100%;
    /* 1 в 1 как project-card: только 1 карточка на экран */
    width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
  }

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

  .services__grid {
    gap: 24px;
  }

  .service-item {
    justify-content: flex-start;
    text-align: left;
  }

  .services {
    padding: 10px 0 40px 0;
  }

  .consultation.consultation {
    padding: 15px 15px;
    background: transparent;
    box-sizing: border-box;
  }

  .consultation .consultation__card {
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    background: var(--accent-gradient);
    padding: 24px 16px;
  }

  .consultation__title {
    font-size: 24px;
  }

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

  .consultation__input:nth-child(3),
  .consultation__btn {
    grid-column: auto;
  }

  .projects {
    padding: 10px 0 40px 0;
  }

  .project-card {
    flex: 0 0 100%;
    width: 100%;
    height: 170px;
  }

  .project-card__title {
    font-size: 15px;
  }

  .projects__arrow {
    width: 38px;
    height: 38px;
    background-color: rgba(11, 14, 15, 0.9);
  }

  .projects__arrow--prev {
    left: 8px;
  }

  .projects__arrow--next {
    right: 8px;
  }

  .about {
    padding: 30px 0 50px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .about__facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about__facts-divider {
    display: none;
  }

  .about__fact-number {
    font-size: 32px;
  }

  .about__image-wrap {
    min-height: 150px;
    height: 150px;
    margin-left: 0;
    width: 100%;
  }



  .hero {
    padding-top: 100px;
  }

  .hero__title {
    font-size: 36px;
  }


}

/* ==========================================================================
   Адаптивное отображение фонового изображения на мобильных телефонах
   ========================================================================== */
@media (max-width: 767px) {
  div.top-bg-wrapper.top-bg-wrapper {
    background-image: none;
    background: transparent;
  }

  .hero {
    background: url("../img/hero-bg.webp") no-repeat 10% top;
    background-size: 200% auto;
  }

  section#categories.categories {
    background-image: none;
    background-color: var(--bg-main);
  }
}