:root {
  --yellow: #ffd700;
  --dark: #111111;
  --light: #f9f9f9;
  --nav-bg: #ffffff;
  --text-dark: #333333;
}

/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  padding-top: 0; /* шапка не фиксирована */
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* === MAIN NAV === */
.main-nav {
  background-color: var(--nav-bg);
  height: 80px;
  position: relative; /* для абсолютного позиционирования моб.меню */
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo img {
      height: 81px;
    margin-top: 7px;
}

/* Меню */
nav ul {
  display: flex;
  gap: 24px;
}
nav ul li a {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s;
  font-family: system-ui;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--text-dark);
}

/* Гамбургер */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}










/* === TOP BAR === */
.top-bar {
  background-color: #ff851e;
  height: 50px;
  width: 100%;
}

.top-bar-container {
  display: flex;
  justify-content: space-between; /* Элементы по краям */
  align-items: center;
  height: 100%;
  max-width: 1200px; /* Ограничиваем ширину контейнера */
  margin: 0 auto; /* Центрируем контейнер */
  padding: 0 20px; /* Отступы по бокам */
  position: relative;
}

/* Вертикальная разделительная полоска ПО ЦЕНТРУ */
.top-bar-container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 60%;
  top: 20%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Стили для телефонного номера */
.top-phone {
  margin-right: auto; /* Прижимаем к левому краю */
  padding-right: 20px;
}

/* Стили для кнопки */
.top-cta {
  margin-left: auto; /* Прижимаем к правому краю */
  padding-left: 20px;
}

.top-phone a {
  color: var(--light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* Запрещаем перенос текста */
}

.top-phone i {
  margin-right: 6px;
}

.top-cta .btn {
  font-size: 0.85rem;
  padding: 4px 8px;
  white-space: nowrap;
}







.block {
	
	font-size: 40px;
    padding: 0px 0px 10px;
}


















.hero {
  position: relative;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 2px,
      transparent 2px,
      transparent 5px
    ),
    url('../img/bs.jpg') no-repeat center center/cover;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 112px);
  padding: 20px 20px 40px;
  text-align: center;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-texts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: rgb(255 255 255 / 72%);
  color: #3f3f3f;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  min-height: 600px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* Вертикальная разделительная линия для десктопов */
.hero-texts::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

/* Горизонтальная разделительная линия для мобильных */
.hero-texts::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
}

.hero-left,
.hero-right {
  flex: 1 1 500px;
  padding: 20px;
  box-sizing: border-box;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-right: 40px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 40px;
}

.hero-video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 3px;
  pointer-events: none;
  user-select: none;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  transition: opacity 1s ease-in-out;
}

.hero-subtitle {
  font-size: 1.75rem;
  line-height: 1.4;
  transition: opacity 1s ease-in-out;
}

.button-container {
  margin-top: -8px;
}

.btn {
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: Arial, sans-serif;
  display: inline-block;
}

.btn-yellow {
  background-color: #fff;
  color: var(--dark);
  padding: 6px 12px;
}

.btn-yellow:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

.btn-dark.large {
  background-color: var(--yellow);
  color: var(--dark);
  padding: 10px 80px;
  font-size: 16px;
  border-radius: 8px;
}

.btn-dark.large:hover {
  background-color: #ff851e;
  color: #fff;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .hero-texts {
    width: 90%;
  }
}

/* Адаптация при увеличении масштаба (125%-150%) и для мобильных */
@media (max-width: 768px), (max-height: 700px) {
  .hero-texts {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    padding: 15px;
  }

  .hero-texts::before {
    display: none;
  }

  .hero-texts::after {
    display: block;
    top: calc(50% - 20px); /* Точное позиционирование между блоками */
  }

  .hero-left,
  .hero-right {
    width: 100%;
    padding: 30px 20px;
  }

  .hero-left {
    text-align: center;
    padding-right: 20px;
    padding-bottom: 40px;
  }

  .hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto; /* Убираем фиксированную высоту */
  }

  .hero-video {
    max-height: 400px; /* Увеличиваем максимальную высоту */
    width: auto; /* Позволяем видео сохранять пропорции */
    max-width: 100%; /* Но не больше ширины контейнера */
  }
}

/* Адаптация для смартфонов */
@media (max-width: 576px) {
  .hero-texts {
    width: 100%;
    padding: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .btn-dark.large {
    font-size: 24px;
    padding: 14px 28px;
  }
}

/* Адаптация для очень узких экранов */
@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-dark.large {
    font-size: 20px;
    padding: 12px 24px;
  }
}























.hero-paint {
	background-color: #ffffffb3;
	color: #363636;
    border: 1px solid var(--dark);
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	margin: -30px auto 0;
}












/* === SERVICES === */
.services {
  padding: 80px 0;
  background: url(../img/11.jpg) no-repeat center center;
  background-size: cover;
}
.services .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #373737;
  background-color: #f8d948;
  border-radius: 4px;
}


.service-description {
  font-size: 0.9em;
  color: #fff;
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  justify-items: center;
}

.service-card {
  background-color: #438eb02e;
    border: 1px solid #202020;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 200px;
    transition: transform 0.3s;
    box-shadow: 10px 11px 10px rgb(0 0 0);
}
.service-card:hover {
  transform: scale(1.05);
}
.service-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.service-card h3 {
  color: var(--yellow);
  padding: 12px;
  font-size: 1.1rem;
}

/* === WHY CHOOSE US === */
.why-choose-us {
  position: relative;
  background-color: #292929;
  background-image: url(/img/222.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
}
.why-choose-us .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--yellow);
}
.why-choose-us .section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--light);
}
.trust-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.trust-icon {
  text-align: center;
}
.trust-icon i {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.trust-icon p {
  color: var(--light);
}

/* Counters */
.counters {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}
.counter {
  text-align: center;
}
.counter span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}
.counter p {
  margin-top: 8px;
}

/* Rating Widget */
.rating-widget {
  text-align: center;
  margin-bottom: 40px;
}
.rating-widget .stars {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.rating-widget a {
  color: var(--light);
  text-decoration: underline;
}

/* CTA Button */
.cta-btn {
  display: block;
  margin: 0 auto 60px;
  background-color: var(--yellow);
  color: var(--dark);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-align: center;
}
.cta-btn:hover {
  background-color: #e6c200;
}

/* Video Container */
.video-container {
  text-align: center;
  margin-bottom: 40px;
}
.video-container video {
  max-width: 100%;
  border-radius: 8px;
}

/* Testimonial Card */
.testimonial-card {
  background-color: #292929;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto 40px;
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card h4 {
  font-weight: bold;
  color: var(--yellow);
}

/* Guarantees List */
.guarantees-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.guarantees-list li {
  position: relative;
  padding-left: 24px;
  color: var(--light);
}
.guarantees-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--yellow);
}








/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto 60px;
}
.faq-section h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--yellow);
}
.faq-item + .faq-item {
  margin-top: 12px;
}
.faq-question {
  width: 100%;
  background-color: #111111;
  color: var(--light);
  border: none;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-size: 1rem;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
}
.faq-question.active::after {
  content: '–';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #1a1a1a;
  padding: 0 16px;
  transition: max-height 0.3s ease;
}
.faq-answer.open {
  max-height: 200px;
  padding: 12px 16px;
}









/* Partners Section */
.partners {
  background-color: #8a609ce0;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.partners .section-title {
  text-align: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
}

.partner-logo {
  width: 120px;
  height: 120px;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 8px rgb(0 0 0 / 57%), -2px -2px 4px rgb(255 255 255 / 0%);
    position: relative;

}

.partner-logo img {
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

/* Эффект "вдавленной" кнопки при наведении */
.partner-logo:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) inset,
              -2px -2px 4px rgba(255, 255, 255, 0.5) inset;
  border-color: #d0d0d0;
}

.partner-logo:hover img {
  transform: scale(0.95);
  opacity: 1;
  filter: brightness(1.05);
}

/* Небольшая анимация при клике */
.partner-logo:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) inset,
              -1px -1px 2px rgba(255, 255, 255, 0.5) inset;
}










/* Back to Top Button */
#to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--yellow);
  color: var(--dark);
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
}
#to-top:hover {
  background-color: #e6c200;
}





/* === GALLERY === */
.gallery {
  padding: 80px 0;
  background-color: var(--dark);
}

.gallery .section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 40px;
  padding: 10px 20px;
  display: inline-block;
  background-color: rgba(0,0,0,0.7);
  border-radius: 8px;
}

/* Сетка карточек — жёсткие квадраты */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  max-width: calc(200px * 5 + 16px * 4);
}

/* Карточка категории или фото */
.gallery-item {
  width: 100%;
  background-color: #292929;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.2);
}

/* Обёртка под картинкой — соотношение 1:1 */
.gallery-item .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover .thumb img {
  transform: scale(1.1);
}

/* Плейсхолдер без превью */
.gallery-item .thumb .no-preview {
  width: 100%;
  height: 100%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-style: italic;
}

/* Заголовок карточки */
.gallery-item h3 {
  margin: 12px 8px;
  font-size: 1rem;
  text-align: center;
  color: var(--light);
  padding: 0 8px;
}

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--yellow);
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #fff;
}










.location-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.location-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem;
  color: #333;
  background-color: #f8d948;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}





.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.footer-column {
  flex: 1 1 30%;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #f1c40f; /* например, твой фирменный желтый цвет */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff; /* белый текст для тёмного фона */
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}





.payment-methods {
  text-align: center;
  margin: 20px 0;
}

.payment-methods img {
  margin: 0 10px;
  vertical-align: middle;
  height: auto;
}











.social_first {
  display: flex;
  list-style: none;
  padding: 20px;
  margin: 0;
  gap: 50px; /* Расстояние между иконками */
  justify-content: center; /* Выравнивание по центру */
  flex-wrap: wrap; /* Перенос при необходимости */
}

.social_first a {
  display: inline-flex; /* Flex внутри flex-контейнера */
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  gap: 8px; /* Расстояние между иконкой и текстом */
}

.social_first a:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.social_first img {
  width: 40px;
  height: 40px;
  flex-shrink: 0; /* Запрет уменьшения размера */
}



.social-review-logos {
  list-style: none;
  padding: 0;
}

.social-review-logos li {
  margin-bottom: 10px;
}

.social-review-logos a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.social-review-logos a:hover {
  transform: translateX(5px);
}

.social-review-logos img {
  margin-right: 10px;
  width: 30px;
  height: 30px;
}





/* Адаптация для мобильных */
@media (max-width: 768px) {
  .gallery {
    padding: 60px 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-width: calc(150px * 3 + 16px * 2);
  }
  
  .gallery-item h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
}





/* контейнер лишь для отступов и центрирования */
.county {
  width: 150px;
  height: 150px;
  margin: 30px auto 0;
  overflow: hidden; /* на случай, если картинка чуть больше */
}

/* саму картинку делаем 100% размера контейнера */
.county img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* сохраняет пропорции */
  display: block;
}


















@media (max-width: 768px) {
  .review-card {
    padding: 20px;
  }
  
  .review-author-img {
    width: 50px;
    height: 50px;
  }



.menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  
  
 .main-nav {
    background-color: var(--nav-bg);
    height: 40px;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    z-index: 1000;
    padding: 0;
    margin: 0;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }
  nav ul li a {
    display: block;
    padding: 16px 0;
    font-size: 1.25rem;
    color: var(--text-dark);
  }
  
  
  .btn-dark.large {
   background-color: #ffd700;
   color: #111111;
   padding: 4px 30px;
}

.logo img {
      height: 40px;
    margin-top: 7px;
}




.hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}



.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
  


}



.copyr {
	text-align: center;
}



@media (max-width: 650px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}





@media (max-width: 600px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}







@media (max-width: 550px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}





@media (max-width: 500px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}



@media (max-width: 450px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}


@media (max-width: 400px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}




















@media (max-width: 360px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}