/* === ЦВЕТА === */
:root {
  --color-orange: #FF5F00;
  --color-gray: #333333;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

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

img {
  max-width: 100%;
}

body {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  min-width: 320px;
}

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

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.flex {
  display: flex;
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1920px;
  padding: 0 60px;
  margin: 0 auto;
}

/* === HEADER === */
.header {
  padding: 10px 0;
}

.header__container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #A0A0A0;
}

/* Логотип */
.header__logo {
  justify-self: start;
}

.header__logo img {
  height: 70px;
  width: auto;
}

/* Навигация */
.header__nav {
  justify-self: center;
}

.header__list {
  gap: 40px;
}

.header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header__link:hover {
  color: var(--color-orange);
}

/* Контакты */
.header__contacts {
  justify-self: end;
  align-items: center;
  gap: 25px;
}

.header__phone {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-gray);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-orange);
}

.header__email {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-gray);
}

.header__email:hover {
  color: var(--color-orange);
}

/* Соцсети */
.header__socials {
  gap: 10px;
}

.header__social img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.header__social:hover img {
  transform: scale(1.1);
}

.hero__title {
  margin: 0 0 20px 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

#fittext {
    visibility: hidden;
}

#fittext.ready {
    visibility: visible;
}

.hero__title-top {
  display: block;
  white-space: nowrap;
  color: var(--color-gray);
}

.hero__title-bottom {
    display: block;
    text-align: right;
    color: var(--color-orange);
    font-size: 53px;
    position: relative;
    z-index: 200;
}

.hero {
  padding-top: 20px;
}

.hero__image {
  position: relative;
  top: -80px;
}

.hero__image-wrapper {
  position: relative;
}

.hero__desc {
  font-size: 20px;
  text-transform: uppercase;
  width: 800px;
  text-align: center;
  color: #646464;
  font-weight: 700;
  position: absolute;
  bottom: 80px;
  right: 170px;
}

.hero__desc-accent {
  color: var(--color-orange);
}

.hero__btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: absolute;
  bottom: 110px;
  left: 30px;
}

.hero__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__btn-icon img {
  width: 24px;
  height: 24px;
}

.hero__btn-text {
  padding: 20px 40px;
  background-color: var(--color-orange);
  border-radius:50px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.hero__btn:hover .hero__btn-icon {
  animation: pulse 0.6s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-nav__left img {
  width: 304px;
  height: 135px;
}

.catalog-list__img {
  width: 169px;
  height: 120px;
  border: 1px solid #A0A0A0;
  border-radius: 5px;
}

.catalog-list__item {
  margin-right: 10px;
}

.hero-nav .wrap {
  border-top: 1px solid #A0A0A0;
  padding-top: 30px;
  margin-bottom: 130px;
}

.hero-nav__text {
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  text-transform: uppercase;
  width: 280px;
}

.hero-nav__left,
.hero-nav__right {
  align-items: center;
}

.hero-nav__text {
  margin-left: 10px;
}

/* === ABOUT === */
.about__wrapper {
  height: 90vh;
  background-image: url(../img/about-1.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 67%;
  margin-bottom: 130px;
}

.about__wrapper-2 {
  height: 90vh;
  background-image: url(../img/about-2.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 67%;
  margin-bottom: 130px;
}

.about__title {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  line-height: 1;
  width: 50%;
  font-size: 42px;
}

.about__title-accent {
  color: var(--color-orange);
}

.about__text {
  width: 30%;
}

.about__link {
  color: #646464;
  text-decoration: underline;
}

.about__content {
  padding-top: 100px;
}


/* === FEATURES === */
.features {
  margin-bottom: 130px;
  background-image: url(../img/bg-featurs.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -100px center;
}

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

/* Общие стили карточек */
.features__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 20px;
  height: 424px;
}

/* Карточка 1 - позиция 1 (с фоном) */
.features__card--1 {
  background-color: #fff5f0;
  grid-column: 1;
  grid-row: 1;
}

/* Карточка 2 - позиция 2 (без фона) */
.features__card--2 {
  background-color: transparent;
  grid-column: 2;
  grid-row: 1;
  background-color: #fff;
}

/* Карточка 3 - позиция 4 (с фоном) */
.features__card--3 {
  background-color: #fff5f0;
  grid-column: 4;
  grid-row: 1;
}

/* Карточка 4 - позиция 7 (с фоном) */
.features__card--4 {
  background-color: #fff5f0;
  grid-column: 3;
  grid-row: 2;
}

/* Заголовок */
.features__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-orange);
}

/* Текст */
.features__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-orange);
}

.features__card--2 {
  border: 1px solid #FF5F00;
}

/* === DIRECTIONS === */
.directions {
  margin-bottom: 130px;
}

.directions__heading {
  margin: 0 0 40px 0;
  font-family: "Unbounded", sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-gray);
}

.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 30px;
}

/* Позиции карточек */
.directions__card--1 {
  grid-column: 1;
  grid-row: 1;
}

.directions__card--2 {
  grid-column: 2;
  grid-row: 1;
}

.directions__card--3 {
  grid-column: 3;
  grid-row: 1;
}

/* Позиция 4 пустая */

.directions__card--4 {
  grid-column: 2;
  grid-row: 2;
}

.directions__card--5 {
  grid-column: 3;
  grid-row: 2;
}

/* Стили карточки */
.directions__card {
  display: flex;
  flex-direction: column;
}

.directions__image {
  border-radius: 60px 30px 60px 30px;
  overflow: hidden;
  margin-bottom: 20px;
}

.directions__image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.directions__card:hover .directions__image img {
  transform: scale(1.05);
}

.directions__title {
  margin: 0 0 15px 0;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray);
}

.directions__text {
  margin: 0 0 15px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-gray);
  flex-grow: 1;
}

.directions__link {
  font-size: 14px;
  color: var(--color-gray);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.directions__link:hover {
  color: var(--color-orange);
}

.gallery {
  margin-bottom: 130px;
}

.gallery__btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.gallery__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.gallery__btn-icon img {
  width: 24px;
  height: 24px;
}

.gallery__btn-text {
  padding: 20px 40px;
  background-color: var(--color-orange);
  border-radius:50px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.gallery__btn:hover .gallery__btn-icon {
  animation: pulse 0.6s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.gal-bg {
  height: 60vh;
  background-image: url(../img/gal-bg.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  justify-content: center;
}

/* === WHY === */
.why {
  margin-bottom: 130px;
  background-image: url(../img/bg-featurs.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.why__heading {
  margin: 0 0 15px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: var(--color-gray);
}

.why__subtitle {
  margin: 0 0 40px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray);
  max-width: 600px;
}

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

/* Общие стили карточек */
.why__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 20px;
  background-color: #fff5f0;
  height: 424px;
}

/* Позиции карточек */
.why__card--1 {
  grid-column: 1;
  grid-row: 1;
}

.why__card--2 {
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #FF5F00;
  background: #fff;
}

.why__card--3 {
  grid-column: 3;
  grid-row: 1;
}

/* Позиции 4 и 5 пустые в первом ряду */

.why__card--4 {
  grid-column: 2;
  grid-row: 2;
}

.why__card--5 {
  grid-column: 3;
  grid-row: 2;
  border: 1px solid #FF5F00;
  background: #fff;
}

.why__card--6 {
  grid-column: 4;
  grid-row: 2;
}

/* Заголовок */
.why__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-orange);
}

/* Текст */
.why__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-orange);
}

/* === SEO === */
.seo {
  margin-bottom: 130px;
}

.seo__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  border-radius: 60px;
  padding: 60px;
  box-shadow: 0px 1px 20px 0px rgba(0, 0, 0, 0.05);
}

/* Левая часть */
.seo__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-orange);
}

.seo__title-accent {
  color: var(--color-gray);
}

/* Правая часть */
.seo__right {
  max-width: 550px;
}

.seo__subtitle {
  margin: 25px 0 15px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-gray);
}

.seo__text {
  margin: 0 0 15px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-gray);
}

/* Скрытый блок */
.seo__hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.seo__hidden.active {
  max-height: 1000px;
}

/* Ссылка */
.seo__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--color-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.seo__link:hover {
  color: #e55500;
}

/* === CALC === */
.calc {
  margin-bottom: 130px;
}

.calc__wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Картинка */
.calc__image {
  border-radius: 30px;
  overflow: hidden;
}

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

/* Контент */
.calc__content {
  text-align: center;
  max-width: 700px;
}

.calc__title {
  margin: 0 0 20px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-gray);
}

.calc__text {
     margin: 0 0 30px 0;
    font-size: 22px;
    line-height: 1.3;
    color: var(--color-gray);
    padding: 0 100px;
}

/* === FOOTER === */
.footer {
  padding: 0;
  background-color: #333333;
}

.footer__wrapper {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Верхняя часть */
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Нижняя часть */
.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Колонки */
.footer__col {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col:last-child {
  border-right: none;
}

/* Телефон */
.footer__col--phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__phone {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__phone:hover {
  color: var(--color-orange);
}

/* Логотип */
.footer__col--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 60px;
}

.footer__logo img {
  width: 200px;
  padding: 30px 0;
}

/* Email */
.footer__col--email {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__email {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--color-orange);
}

/* Инфо */
.footer__col--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer__copyright {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  color: #FBFBFB;
}

.footer__policy {
  font-size: 11px;
  text-transform: uppercase;
  color: #FBFBFB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__policy:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__developer {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  color: #FBFBFB;
}

.footer__ur {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  color: #FBFBFB;
}

.footer__developer a {
  color: #FBFBFB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__developer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Навигация */
.footer__col--nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__nav {
  display: flex;
  gap: 25px;
}

.footer__nav-link {
  font-size: 12px;
  text-transform: uppercase;
  color: #FBFBFB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Соцсети */
.footer__col--social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.footer__social-link:hover {
  transform: scale(1.1);
}

.footer__social-link img {
  width: 44px;
  height: 44px;
}

/* === POPUP === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.popup.active {
  visibility: visible;
  opacity: 1;
}

/* Затемнение */
.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* Контент */
.popup__content {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 20px;
  padding: 50px 40px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-30px);
  transition: transform 0.3s ease;
}

.popup.active .popup__content {
  transform: translateY(0);
}

/* Кнопка закрытия */
.popup__close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup__close:hover {
  color: var(--color-orange);
}

/* Заголовок */
.popup__title {
  margin: 0 0 10px 0;
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: var(--color-gray);
}

.popup__subtitle {
  margin: 0 0 30px 0;
  font-size: 14px;
  text-align: center;
  color: #888;
}

/* Форма */
.popup__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup__input,
.popup__textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-gray);
  transition: border-color 0.3s ease;
}

.popup__input:focus,
.popup__textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.popup__input::placeholder,
.popup__textarea::placeholder {
  color: #aaa;
}

.popup__textarea {
  min-height: 100px;
  resize: vertical;
}

/* Чекбокс */
.popup__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.popup__checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-orange);
  cursor: pointer;
}

.popup__checkbox label {
  font-size: 13px;
  color: #888;
}

.popup__checkbox a {
  color: var(--color-orange);
  text-decoration: underline;
}

/* Кнопка отправки */
.popup__submit {
  padding: 18px 40px;
  background-color: var(--color-orange);
  border: none;
  border-radius: 50px;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup__submit:hover {
  background-color: #e55500;
}

/* Блокировка скролла */
body.no-scroll {
  overflow: hidden;
}

.popup__textarea {
  resize: vertical;
  min-height: 80px;
}

.popup__product-info {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 16px;
}

/* =============================================
   КАТАЛОГ — ОБЩИЕ СТИЛИ
   ============================================= */

/* Заголовок страницы */
.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Хлебные крошки */
.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: #888;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #333;
}

/* =============================================
   КАТАЛОГ — LAYOUT (две колонки)
   ============================================= */
.catalog__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* =============================================
   САЙДБАР (левая колонка)
   ============================================= */
.catalog__sidebar {
  position: sticky;
  top: 100px;
  padding-bottom: 30px;
}

/* Поиск */
.catalog__search {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.catalog__search-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.catalog__search-input:focus {
  border-color: var(--accent);
}

.catalog__search-btn {
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.catalog__search-btn:hover {
  background: #e08a00;
}

/* Заголовки сайдбара */
.catalog__sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

/* Список категорий */
.catalog__cats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.catalog__cats li {
  margin-bottom: 4px;
}

.catalog__cats a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
}

.catalog__cats a:hover,
.catalog__cats .current-cat > a,
.catalog__cats a.active {
  background: #f5f5f5;
  color: #FF5F00;
  font-weight: 600;
}

.catalog__cats a span {
  opacity: 0.6;
  font-size: 13px;
}

/* Фильтр тип оборудования */
.catalog__filter {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.catalog__filter li {
  margin-bottom: 4px;
}

.catalog__filter a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
}

.catalog__filter a:hover,
.catalog__filter a.active {
  background: #f5f5f5;
  color: #FF5F00;
  font-weight: 600;
}

/* =============================================
   СЕТКА КАРТОЧЕК (правая колонка)
   ============================================= */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =============================================
   КАРТОЧКА КАТЕГОРИИ (на странице каталога)
   ============================================= */
.catalog__cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.catalog__cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.catalog__cat-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.catalog__cat-card-placeholder {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.catalog__cat-card-title {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* =============================================
   КАРТОЧКА ТОВАРА (на странице категории)
   ============================================= */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card__img {
  display: block;
}

.product-card__img img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
}

.product-card__placeholder {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.product-card__title {
  padding: 12px 16px 4px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.product-card__title a {
  color: #333;
  text-decoration: none;
}

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

.product-card__link {
  display: inline-block;
  padding: 8px 16px 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.product-card__link:hover {
  text-decoration: underline;
}

/* =============================================
   СТРАНИЦА ТОВАРА
   ============================================= */
.product-single__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Галерея */
.product-single__main-img {
  margin-bottom: 12px;
}

.product-single__main-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.product-single__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-single__thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  opacity: 0.6;
  transition: all 0.3s;
}

.product-single__thumb:hover,
.product-single__thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

/* Заголовок товара */
.product-single__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Таблица характеристик */
.product-single__specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.product-single__specs tr {
  border-bottom: 1px solid #eee;
}

.product-single__spec-label {
  padding: 10px 16px 10px 0;
  font-weight: 600;
  color: #666;
  width: 40%;
  font-size: 15px;
}

.product-single__spec-value {
  padding: 10px 0;
  font-size: 15px;
  color: #333;
}

/* Кнопка DWG */
.product-single__dwg-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  transition: background 0.3s;
}

.product-single__dwg-btn:hover {
  background: #e0e0e0;
}

/* Кнопка запросить цену на странице товара */
.product-single__price-btn {
  display: inline-block;
  margin-top: 24px;
  margin-bottom:30px;
  padding: 14px 36px;
  background: #FF5F00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Onest', sans-serif;
  transition: background 0.3s;
}

.product-single {
    margin-bottom:120px;
}

.product-single__price-btn:hover {
  background: #e55500;
}

/* Убираем серую плашку под кнопкой */
.product-single__info .hero__btn::after {
  display: none;
}

/* Инфо-блок справа — всё по левому краю */
.product-single__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Назад в каталог */
.product-single__back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

.product-single__back:hover {
  text-decoration: underline;
}

/* Описание */
.product-single__description {
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.product-single__description h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

/* Пагинация */
.catalog__pagination {
  margin-top: 32px;
  text-align: center;
}

.catalog__pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
}

.catalog__pagination .page-numbers.current,
.catalog__pagination .page-numbers:hover {
  background: var(--accent);
  color: #fff;
}

/* Popup textarea */
.popup__textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.popup__product-info {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 16px;
}

.catalog__content {
  padding-bottom: 120px;
}


/* =============================================
   МОБИЛЬНЫЙ ФИЛЬТР КАТЕГОРИЙ
   ============================================= */

/* Скрыт на десктопе */
.catalog__mobile-filter {
  display: none;
  margin-bottom: 16px;
}

.catalog__mobile-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #eee;
  border-radius: 8px;
  background: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  outline: none;
}

.catalog__mobile-select:focus {
  border-color: var(--accent);
}

/* Ограничение высоты главного фото товара */
.product-single__main-img {
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-single__main-img img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =============================================
   АДАПТИВ
   ============================================= */
@media (max-width: 1024px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-single__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
    .hero__title {

    text-align: center;
}
    
    
    .catalog__mobile-filter {
    display: block;
  }

  /* Скрываем десктопные категории и фильтры */
  .catalog__sidebar-title,
  .catalog__cats,
  .catalog__filter {
    display: none;
  }

  /* Поиск остаётся видимым */
  .catalog__search {
    margin-bottom: 0;
  }
  
  .catalog__search {
    display: block;
  }

  .catalog__search-input {
    width: 100%;
    box-sizing: border-box;
  }
    
  .catalog__layout {
    grid-template-columns: 1fr;
  }

  .catalog__sidebar {
    position: static;
  }

  .catalog__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-single__top {
    grid-template-columns: 1fr;
  }

  .product-single__title {
    font-size: 22px;
  }
  
  /* Уменьшаем отступы контейнера */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Шапка — скрываем меню, показываем бургер */
  .header__nav {
    display: none;
  }

  /* Каталог — карточки на всю ширину */
  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Поиск и фильтр на всю ширину */
  .catalog__search-row {
    flex-direction: column;
    gap: 10px;
  }

  .catalog__search-row input,
  .catalog__search-row select {
    width: 100%;
  }

  /* Заголовок каталога */
  .catalog__title {
    font-size: 24px;
  }
  
  /* Кнопка "Запросить цену" на всю ширину на мобилке */
  .product-single__price-btn {
    width: 100%;
    text-align: center;
  }

  /* Кнопка в карточках каталога тоже на всю ширину */
  .catalog-card__btn {
    width: 100%;
    text-align: center;
  }
  
  /* Убираем курсор зума на мобилке */
  .product-single__main-img img {
    cursor: default;
    pointer-events: none;
  }
  
}

@media (max-width: 480px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* 2 карточки в ряд на маленьких экранах */
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .catalog__title {
    font-size: 20px;
  }
  
    .catalog__layout {
    gap: 15px;
}
}










/* =============================================
   АДАПТИВ — ГЛАВНАЯ, ШАПКА, ПОДВАЛ
   ============================================= */

/* ---------- ПЛАНШЕТ ---------- */
@media (max-width: 1024px) {

  /* Hero */
  .hero__title-top {
    white-space: normal;
    font-size: 24px;
  }

  .hero__title-bottom {
    font-size: 40px;
  }

  .hero__image {
    top: -40px;
  }

  .hero__desc {
    width: 60%;
    font-size: 14px;
    right: 50px;
    bottom: 60px;
  }

  .hero__btn {
    bottom: 60px;
    left: 10px;
  }

  .hero__btn-text {
    font-size: 14px;
    padding: 14px 24px;
  }

  .hero__btn-icon {
    width: 50px;
    height: 50px;
  }

  /* Hero nav */
  .hero-nav .wrap {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }

  .catalog-list {
    flex-wrap: wrap;
    gap: 8px;
  }

  .catalog-list__img {
    width: 100px;
    height: 75px;
  }

  /* About */
  .about__wrapper,
  .about__wrapper-2 {
    height: auto;
    background-size: 100%;
    background-position: bottom center;
    padding-bottom: 50vw;
    margin-bottom: 60px;
  }

  .about__title {
    width: 100%;
    font-size: 28px;
  }

  .about__text {
    width: 100%;
  }

  .about__content {
    padding-top: 40px;
  }

  /* Features */
  .features {
    margin-bottom: 60px;
  }

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

  .features__card--1 { grid-column: 1; grid-row: 1; }
  .features__card--2 { grid-column: 2; grid-row: 1; }
  .features__card--3 { grid-column: 1; grid-row: 2; }
  .features__card--4 { grid-column: 2; grid-row: 2; }

  .features__card {
    height: auto;
    min-height: 280px;
  }

  .features__title {
    font-size: 22px;
  }

  /* Directions */
  .directions {
    margin-bottom: 60px;
  }

  .directions__heading {
    font-size: 32px;
  }

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

  .directions__card--1 { grid-column: 1; grid-row: 1; }
  .directions__card--2 { grid-column: 2; grid-row: 1; }
  .directions__card--3 { grid-column: 1; grid-row: 2; }
  .directions__card--4 { grid-column: 2; grid-row: 2; }
  .directions__card--5 { grid-column: 1; grid-row: 3; }

  /* Why */
  .why {
    margin-bottom: 60px;
  }

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

  .why__card--1 { grid-column: 1; grid-row: 1; }
  .why__card--2 { grid-column: 2; grid-row: 1; }
  .why__card--3 { grid-column: 1; grid-row: 2; }
  .why__card--4 { grid-column: 2; grid-row: 2; }
  .why__card--5 { grid-column: 1; grid-row: 3; }
  .why__card--6 { grid-column: 2; grid-row: 3; }

  .why__card {
    height: auto;
    min-height: 250px;
  }

  .why__title {
    font-size: 22px;
  }

  /* SEO */
  .seo {
    margin-bottom: 60px;
  }

  .seo__wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
    border-radius: 30px;
    gap: 30px;
  }

  /* Calc */
  .calc {
    margin-bottom: 60px;
  }

  .calc__wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .calc__text {
    padding: 0;
    font-size: 18px;
  }

  /* Gallery */
  .gallery {
    margin-bottom: 60px;
  }

  .gal-bg {
    height: 40vh;
    background-size: cover;
    background-position: center;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
  }

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

  .footer__col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
  }

  .footer__col:last-child {
    border-bottom: none;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer__col--logo {
    padding: 20px;
  }

  .footer__logo img {
    padding: 10px 0;
  }
}

/* ---------- МОБИЛКА ---------- */
@media (max-width: 1024px) {

  /* Header */
  .header__container {
    grid-template-columns: 1fr 1fr;
  }

  .header__contacts {
    gap: 12px;
  }

  .header__email {
    display: none;
  }

  .header__phone {
    font-size: 14px;
  }

  .header__logo img {
    height: 45px;
  }

  /* Hero */
  .hero {
    padding-top: 10px;
  }

  .hero__title-top {
    white-space: normal;
    font-size: 16px;
  }

  .hero__title-bottom {
    font-size: 28px;
    text-align: center;
  }

  .hero__image {
    top: 0;
  }

  .hero__image-wrapper {
    position: static;
  }

  .hero__desc {
    position: static;
    width: 100%;
    font-size: 13px;
    text-align: left;
    margin: 15px 0;
  }

  .hero__btn {
    position: static;
    margin: 15px 0;
  }

      .hero__btn-text {
        font-size: 13px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

  .hero__btn-icon {
    width: 45px;
    height: 45px;
  }

  /* Hero Nav */
  .hero-nav .wrap {
    margin-bottom: 40px;
    padding-top: 20px;
  }

  .hero-nav__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-nav__left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .hero-nav__right {
    display: none;
  }

  .catalog-list__item {
    margin-right: 0;
  }

  .catalog-list__img {
    width: 70px;
    height: 55px;
  }

  .hero-nav__text {
    width: 100%;
    font-size: 16px;
    margin-left: 0;
    text-align: center;
  }

  /* About */
      .about__wrapper, .about__wrapper-2 {
        padding-bottom: 1px;
        margin-bottom: 40px;
        background: none;
    }

  .about__title {
    font-size: 22px;
  }

  .about__text {
    font-size: 14px;
  }

  .about__content {
    padding-top: 2px;
  }

  /* Features */
  .features {
    margin-bottom: 40px;
  }

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

  .features__card--1,
  .features__card--2,
  .features__card--3,
  .features__card--4 {
    grid-column: 1;
    grid-row: auto;
  }

  .features__card {
    height: auto;
    min-height: auto;
    padding: 24px;
  }

  .features__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  /* Directions */
  .directions {
    margin-bottom: 40px;
  }

  .directions__heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

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

  .directions__card--1,
  .directions__card--2,
  .directions__card--3,
  .directions__card--4,
  .directions__card--5 {
    grid-column: 1;
    grid-row: auto;
  }

  .directions__image {
    border-radius: 20px 10px 20px 10px;
  }

  /* Gallery */
  .gallery {
    margin-bottom: 40px;
  }

  .gal-bg {
    height: 200px;
    border-radius: 15px;
  }

  .gallery__btn-text {
    font-size: 14px;
    padding: 14px 20px;
  }

  .gallery__btn-icon {
    width: 45px;
    height: 45px;
  }

  /* Why */
  .why {
    margin-bottom: 40px;
  }

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

  .why__card--1,
  .why__card--2,
  .why__card--3,
  .why__card--4,
  .why__card--5,
  .why__card--6 {
    grid-column: 1;
    grid-row: auto;
  }

  .why__card {
    height: auto;
    min-height: auto;
    padding: 24px;
  }

  .why__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  /* SEO */
  .seo {
    margin-bottom: 40px;
  }

  .seo__wrapper {
    padding: 20px;
    border-radius: 20px;
    gap: 20px;
  }

  .seo__right {
    max-width: 100%;
  }

  /* Calc */
  .calc {
    margin-bottom: 40px;
  }

  .calc__image {
    border-radius: 15px;
  }

  .calc__text {
    padding: 0;
    font-size: 16px;
  }

  .calc__title {
    font-size: 24px;
  }

  /* Footer */
  .footer__col {
    padding: 16px 12px;
  }

  .footer__col--logo {
    padding: 16px;
  }

  .footer__logo img {
    padding: 5px 0;
    max-height: 50px;
  }

  .footer__phone,
  .footer__email {
    font-size: 16px;
  }

  .footer__nav {
    gap: 12px;
  }

  /* Popup */
  .popup__content {
    margin: 10px;
    padding: 30px 20px;
  }

  .popup__title {
    font-size: 22px;
  }
}

/* ---------- МАЛЕНЬКИЙ МОБИЛЬНИК ---------- */
@media (max-width: 480px) {

  .hero__title-top {
    font-size: 14px;
  }

  .hero__title-bottom {
    font-size: 24px;
  }

  .hero__desc {
    font-size: 12px;
  }

  .hero__btn-text {
    font-size: 12px;
    padding: 10px 16px;
  }

  .hero__btn-icon {
    width: 40px;
    height: 40px;
  }

  .about__title {
    font-size: 18px;
  }

  .directions__heading {
    font-size: 20px;
  }

  .why__title {
    font-size: 18px;
  }

  .features__title {
    font-size: 18px;
  }

  .calc__title {
    font-size: 20px;
  }

  .gal-bg {
    height: 150px;
  }

  .gallery__btn-text {
    font-size: 12px;
    padding: 10px 16px;
  }

  .gallery__btn-icon {
    width: 36px;
    height: 36px;
  }
}

/* =============================================
   БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ============================================= */

/* Мобильные иконки — скрыты на десктопе */
.header__mobile-right {
  display: none;
  align-items: center;
  gap: 10px;
}

.header__mobile-icon svg {
  display: block;
}

/* Бургер */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-gray);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 999;
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-menu__link {
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-gray);
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu__link:hover {
  color: var(--color-orange);
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray);
  text-decoration: none;
}

.mobile-menu__email {
  font-size: 16px;
  color: #666;
  text-decoration: none;
}

/* Мобильная/десктопная hero картинка */
.hero__image--mobile {
  display: none;
}

.hero__image--desktop {
  display: block;
}

/* ---------- МОБИЛКА — показываем иконки и бургер ---------- */
@media (max-width: 1024px) {

  /* Показываем мобильную часть хедера */
  .header__mobile-right {
    display: flex;
  }
.header__nav {
    display:none;
}
  /* Скрываем десктопные контакты */
  .header__contacts {
    display: none;
  }

  /* Шапка — 2 колонки */
  .header__container {
    grid-template-columns: auto 1fr;
  }

  .header__mobile-right {
    justify-self: end;
  }

  /* Hero картинка */
  .hero__image--desktop {
    display: none;
  }

  .hero__image--mobile {
    display: block;
    width: 100%;
    border-radius: 20px;
  }
}

/* Бургер всегда поверх меню */
.header {
  position: relative;
  z-index: 1001;
}


@media (max-width: 768px) {

  /* Текст поверх мобильной картинки — левый нижний угол */
  .hero__image-wrapper {
    position: relative;
  }

  .hero__desc {
    font-size: 12px;
    text-align: center;
    color: #646464;
  }
}

@media (max-width: 1440px) {
    .hero__title-bottom {
        font-size: 42px;
    }
    .hero__image {
        top: -63px;
    }
    .hero__desc {
        font-size: 16px;
        width: 500px;
        bottom: 42px;
    }
    .catalog-list .catalog-list__item:nth-last-child(-n+2) {
      display: none;
    }
    .about__content {
        padding-top: 20px;
    }
}

@media (max-width: 1440px) {

  /* Features — 3 колонки вместо 4 */
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features__card--1 { grid-column: 1; grid-row: 1; }
  .features__card--2 { grid-column: 2; grid-row: 1; }
  .features__card--3 { grid-column: 3; grid-row: 1; }
  .features__card--4 { grid-column: 2; grid-row: 2; }

  .features__card {
    height: auto;
    min-height: 300px;
  }

  /* Why — 3 колонки вместо 4 */
  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why__card--1 { grid-column: 1; grid-row: 1; }
  .why__card--2 { grid-column: 2; grid-row: 1; }
  .why__card--3 { grid-column: 3; grid-row: 1; }
  .why__card--4 { grid-column: 1; grid-row: 2; }
  .why__card--5 { grid-column: 2; grid-row: 2; }
  .why__card--6 { grid-column: 3; grid-row: 2; }

  .why__card {
    height: auto;
    min-height: 300px;
  }
  
  .about__wrapper {
     margin-bottom: 0; 
  }
  .about__wrapper-2 {
     margin-bottom: 0;  
  }
}



@media (max-width: 1280px) {
    .hero__title-bottom {
        font-size: 36px;
    }
    .hero__image {
        top: -53px;
    }
    .hero__desc {
        font-size: 14px;
        width: 450px;
        bottom: 38px;
        right: 140px;
    }
    .header__list {
        gap: 20px;
    }
    .header__contacts {
        gap: 10px;
    }
    .catalog-list .catalog-list__item:nth-last-child(-n+3) {
      display: none;
    }
    .about__title {
        font-size: 32px;
    }
    .about__wrapper {
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .hero__title-top {
        font-size: 49px;
        text-align: center;
    }
    .hero__title-bottom {
        font-size: 28px;
    }
    .hero__image {
        top: -3px;
    }
    .hero__desc {
        font-size: 12px;
        width: 100%;
        bottom: 24px;
        right: 120px;
        text-align:center;
    }
    .calc__content {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero__image {
        top: 0;
    }
        .about__wrapper {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {

  /* Why — 1 колонка */
  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__card--1,
  .why__card--2,
  .why__card--3,
  .why__card--4,
  .why__card--5,
  .why__card--6 {
    grid-column: 1;
    grid-row: auto;
  }

  /* Features — тоже 1 колонка */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__card--1,
  .features__card--2,
  .features__card--3,
  .features__card--4 {
    grid-column: 1;
    grid-row: auto;
  }
}









/* =============================================
   СТРАНИЦА УСЛУГИ (отдельная)
   ============================================= */
.service-single {
  padding: 40px 0 120px;
}

.service-single__title {
  margin: 0 0 30px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-gray);
}

.service-single__image {
  margin-bottom: 40px;
  border-radius: 30px;
  overflow: hidden;
}

.service-single__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.service-single__content {
  max-width: 1200px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray);
  margin-bottom: 40px;
}

.service-single__image {
  margin-bottom: 40px;
  border-radius: 30px;
  overflow: hidden;
  max-width: 1200px;
}

.service-single__content h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--color-gray);
}

.service-single__content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 10px;
  color: var(--color-gray);
}

.service-single__content p {
  margin: 0 0 15px;
}

.service-single__content ul {
  margin: 0 0 20px 20px;
}

.service-single__content li {
  margin-bottom: 8px;
}

.service-single__back {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-single__back:hover {
  color: #e55500;
  text-decoration: underline;
}

/* Страница услуг — отступ сверху */
.directions--page {
  padding: 40px 0 120px;
}

.directions--page .breadcrumbs {
  margin-bottom: 20px;
}

/* =============================================
   АДАПТИВ — УСЛУГИ
   ============================================= */
@media (max-width: 768px) {

  .service-single {
    padding: 20px 0 60px;
  }

  .service-single__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .service-single__image {
    border-radius: 15px;
    margin-bottom: 25px;
  }

  .service-single__image img {
    max-height: 300px;
  }

  .service-single__content {
    font-size: 15px;
  }

  .directions--page {
    padding: 20px 0 60px;
  }
}



/* =============================================
   СТРАНИЦА УСЛУГИ (отдельная) — КРАСИВАЯ
   ============================================= */
.service-single {
  padding: 40px 0 120px;
}

.service-single__title {
  margin: 0 0 50px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-gray);
}

/* --- Блок 1: Картинка + Описание --- */
.service-single__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-single__image-block {
  border-radius: 30px;
  overflow: hidden;
  background: #f5f7fa;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-single__image-block img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.service-single__text-block {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-gray);
}

.service-single__text-block p {
  margin: 0 0 20px;
}

.service-single__text-block p:last-child {
  margin-bottom: 0;
}

/* --- Блок 2: Преимущества --- */
.service-single__advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  background: #f5f7fa;
  border-radius: 30px;
  padding: 60px;
}

.service-single__advantages-title {
  margin: 0 0 35px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-gray);
}

.service-single__advantages-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-single__advantage-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #dfe3e8;
}

.service-single__advantage-item:last-child {
  border-bottom: none;
}

.service-single__advantage-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-orange);
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-orange);
}

.service-single__advantage-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray);
}

.service-single__advantages-right {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-single__advantages-right img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* --- CTA кнопка --- */
.service-single__cta {
  text-align: center;
  margin-bottom: 40px;
}

.service-single__cta-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.service-single__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-single__cta-icon img {
  width: 24px;
  height: 24px;
}

.service-single__cta-text {
  padding: 20px 40px;
  background-color: var(--color-orange);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.service-single__cta-btn:hover .service-single__cta-icon {
  animation: pulse 0.6s ease infinite;
}

/* --- Назад --- */
.service-single__back {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-single__back:hover {
  color: #e55500;
  text-decoration: underline;
}

/* --- Страница списка услуг --- */
.directions--page {
  padding: 40px 0 120px;
}

.directions--page .breadcrumbs {
  margin-bottom: 20px;
}

/* =============================================
   АДАПТИВ — УСЛУГИ
   ============================================= */
/* =============================================
   АДАПТИВ УСЛУГИ — БОЛЬШОЙ ПЛАНШЕТ
   ============================================= */
@media (max-width: 1200px) {
  .service-single__row {
    gap: 40px;
  }

  .service-single__text-block {
    font-size: 16px;
  }

  .service-single__advantages {
    padding: 40px;
    gap: 40px;
  }

  .service-single__advantages-title {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  /* Блок 1: картинка сверху, текст снизу */
  .service-single__row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .service-single__image-block {
    max-height: 400px;
  }

  .service-single__image-block img {
    max-height: 380px;
    object-fit: cover;
    width: 100%;
  }

  /* Блок 2: преимущества сверху, картинка снизу */
  .service-single__advantages {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px;
    margin-bottom: 50px;
  }

  /* Меняем порядок: картинка снизу */
  .service-single__advantages-right {
    order: -1;
    max-height: 350px;
  }

  .service-single__advantages-right img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
  }

  .service-single__title {
    font-size: 32px;
    margin-bottom: 35px;
  }

  .service-single__cta-text {
    font-size: 16px;
    padding: 18px 32px;
  }

  .service-single__cta-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .service-single {
    padding: 20px 0 60px;
  }

  .service-single__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .service-single__row {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }

  .service-single__image-block {
    border-radius: 20px;
    padding: 15px;
  }

  .service-single__text-block {
    font-size: 15px;
  }

  .service-single__advantages {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
  }

  .service-single__advantages-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .service-single__advantage-item {
    padding: 14px 0;
    gap: 15px;
  }

  .service-single__advantage-num {
    width: 35px;
    height: 35px;
    min-width: 35px;
    font-size: 14px;
  }

  .service-single__advantage-text {
    font-size: 15px;
  }

  .service-single__cta-text {
    font-size: 14px;
    padding: 14px 24px;
  }

  .service-single__cta-icon {
    width: 50px;
    height: 50px;
  }

  .directions--page {
    padding: 20px 0 60px;
  }
}








/* =============================================
   СТРАНИЦА КОНТАКТЫ
   ============================================= */
.contacts {
  padding: 40px 0 120px;
}

.contacts__heading {
  margin: 0 0 50px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-gray);
}

/* Сетка */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Левая часть: карточки контактов --- */
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__card {
  padding: 35px 30px;
  border: 2px dashed #ccc;
  border-radius: 20px;
  transition: border-color 0.3s ease;
}

.contacts__card:hover {
  border-color: var(--color-orange);
}

.contacts__label {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 8px;
}

.contacts__value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray);
  text-decoration: none;
  margin: 0;
  transition: color 0.3s ease;
}

a.contacts__value:hover {
  color: var(--color-orange);
}

/* --- Правая часть: форма --- */
.contacts__form-wrapper {
  background: #FFF3ED;
  border: 2px solid #eee;
  border-radius: 20px;
  padding: 50px 40px;
}

.contacts__form-title {
  margin: 0 0 30px 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-gray);
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts__input,
.contacts__textarea {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-gray);
  outline: none;
  transition: border-color 0.3s ease;
}

.contacts__input::placeholder,
.contacts__textarea::placeholder {
  color: #aaa;
}

.contacts__input:focus,
.contacts__textarea:focus {
  border-color: var(--color-orange);
}

.contacts__textarea {
  min-height: 100px;
  resize: vertical;
}

/* Чекбокс */
.contacts__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contacts__checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-orange);
  cursor: pointer;
}

.contacts__checkbox label {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

.contacts__checkbox a {
  color: var(--color-orange);
  text-decoration: underline;
}

.contacts__checkbox a:hover {
  text-decoration: none;
}

/* Кнопка */
.contacts__submit {
  align-self: flex-start;
  padding: 16px 40px;
  background: var(--color-orange);
  border: none;
  border-radius: 50px;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contacts__submit:hover {
  background: #e55500;
}

/* =============================================
   АДАПТИВ — КОНТАКТЫ
   ============================================= */
@media (max-width: 1024px) {
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts__form-wrapper {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .contacts {
    padding: 20px 0 60px;
  }

  .contacts__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .contacts__card {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .contacts__value {
    font-size: 16px;
  }

  .contacts__form-wrapper {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .contacts__form-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .contacts__input,
  .contacts__textarea {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
  }

  .contacts__submit {
    width: 100%;
    text-align: center;
    padding: 14px 30px;
  }
}







/* =============================================
   ГАЛЕРЕЯ
   ============================================= */
.gallery-section {
  margin-bottom: 50px;
}

.gallery-section__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.gallery-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-section__item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-section__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-section__item:hover img {
  transform: scale(1.05);
}

/* ЛАЙТБОКС */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox__img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10001;
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  z-index: 10001;
  user-select: none;
}

.gallery-lightbox__prev {
  left: 20px;
}

.gallery-lightbox__next {
  right: 20px;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  color: #FF5F00;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .gallery-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-section__title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .gallery-section__grid {
    grid-template-columns: 1fr;
  }
}





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

/* --- Секция 1: Введение --- */
.about-intro {
  margin-bottom: 60px;
}

.about-intro__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.about-intro__text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.about-intro__image {
  border-radius: 16px;
  overflow: hidden;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* --- Секция 2: Как мы работаем --- */
.about-steps {
  margin-bottom: 60px;
  padding: 50px 0;
}

.about-steps__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.about-steps__subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.about-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-step {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-step__number {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #FF5F00;
  margin-bottom: 16px;
}

.about-step__name {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.about-step__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* --- Секция 3: Клиенты (бегущая строка) --- */
.about-clients {
  margin-bottom: 60px;
  padding: 50px 0;
}

.about-clients__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.about-clients__marquee {
  overflow: hidden;
  position: relative;
}

.about-clients__marquee::before,
.about-clients__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.about-clients__marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.about-clients__marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.about-clients__track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.about-clients__logo {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-clients__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.about-clients__logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- АДАПТИВ --- */
@media (max-width: 1024px) {
  .about-intro__content {
    grid-template-columns: 1fr;
  }

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

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

  .about-steps__title {
    font-size: 22px;
  }

  .about-clients__title {
    font-size: 22px;
  }

  .about-step {
    padding: 24px;
  }

  .about-step__number {
    font-size: 28px;
  }
}

@media (max-width: 480px) { 
    .hero-nav {
        display:none;
    }
}


@media (max-width: 768px) {
    #fittext {
        font-size: 28px !important;
        text-align: center;
        visibility: visible !important;
    }

    .hero__title {
        text-align: center;
    }

    .hero__title-bottom {
        text-align: center;
    }
}

