/* =========================================
   1. НАСТРОЙКИ И ПЕРЕМЕННЫЕ (ROOT)
   ========================================= */
:root {
  /* Цветовая палитра */
  --primary-color: #2b5876; /* Глубокий синий (Статус) */
  --secondary-color: #4e4376; /* Фиолетовый (Творчество) */
  --accent-color: #ff6b6b; /* Яркий коралл/Оранжевый (Энергия/DOMS) */
  --text-dark: #2d3436;
  --text-light: #636e72;
  --white: #ffffff;

  /* Градиент фона (Живой и яркий) */
  --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);

  /* Эффект стекла (Glassmorphism) */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: 1px solid rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --blur: blur(12px);

  /* Отступы */
  --container-width: 1200px;
  --header-height: 80px;
}

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Плавная прокрутка к якорям */
}

body {
  font-family: "Open Sans", sans-serif;
  color: --text-dark;
  background: linear-gradient(
    120deg,
    #e0c3fc 0%,
    #8ec5fc 100%
  ); /* Яркий пастельный фон */
  background-attachment: fixed; /* Фон стоит на месте при прокрутке */
  overflow-x: hidden; /* Скрываем горизонтальную прокрутку */
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* Контейнер для центровки контента */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Утилита для стекла (применяем ко всем карточкам) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px); /* Легкий взлет при наведении */
  box-shadow: 0 15px 40px rgba(31, 38, 135, 0.15);
}

/* =========================================
   2. ПЛАВАЮЩИЙ ФОН (PARALLAX)
   ========================================= */

.parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.floating-wrapper {
  position: absolute;
  width: 120px;
  will-change: transform;
}

.floating-item {
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
  animation: floatBob 6s ease-in-out infinite;
}

@keyframes floatBob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(22deg);
  }
}

.floating-wrapper:nth-child(1) .floating-item {
  animation-delay: 0s;
}

.floating-wrapper:nth-child(2) .floating-item {
  animation-delay: -1s;
  width: 160px;
}

.floating-wrapper:nth-child(3) .floating-item {
  animation-delay: -3s;
  transform: rotate(-15deg);
}

.floating-wrapper:nth-child(4) .floating-item {
  width: 90px;
  animation-duration: 8s;
}

.layer-deep {
  z-index: -2;
}

.layer-deep .floating-item {
  width: 50px;
  opacity: 0.4;
  filter: blur(4px);
  animation-duration: 4s;
  box-shadow: none;
}
/* =========================================
   3. ШАПКА (HEADER)
   ========================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-wrapper {
  display: flex;
  justify-content: space-between; /* Распределяет Лого, Меню и Вход по краям */
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo {
  flex: 1; /* Дает пространство слева */
  display: flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  flex: 2; /* Занимает центральную часть */
  display: flex;
  justify-content: center; /* Ровно по центру */
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* Кнопки */
.btn {
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
}

.btn-marketplace {
  color: #9c21a6 !important; /* Твой цвет */
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: 0.3s;
  border: 1px solid #9c21a6;
  padding: 8px 15px;
  border-radius: 50px;
}

.btn-marketplace:hover {
  background: #9c21a6;
  color: white !important;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #ff5252;
}

.nav-auth-group {
  flex: 1; /* Дает пространство справа */
  display: flex;
  justify-content: flex-end; /* Прижимает к правому краю */
  align-items: center;
  gap: 20px;
}

.btn-reg {
  background-color: var(--primary-color); /* Твой фирменный цвет */
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-reg:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.burger-menu {
  display: none; /* Скрыт на ПК */
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
  padding-top: 140px; /* Отступ от шапки */
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight-text {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* =========================================
   5. DOMS SECTION
   ========================================= */
.doms-section {
  padding: 80px 0;
}

.doms-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid rgba(255, 165, 2, 0.3); /* Оранжевая обводка */
  position: relative;
  overflow: hidden;
}

.doms-info {
  flex: 1;
  padding-right: 40px;
}

.badge {
  background: #f1c40f;
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
}

.doms-image-decoration {
  flex: 1;
  height: 300px;
  background: url("https://via.placeholder.com/500x300?text=DOMS+Promo")
    no-repeat center center;
  background-size: cover;
  border-radius: 15px;
}

/* =========================================
   MARQUEE (БРЕНДЫ) - ПРОСТАЯ CSS АНИМАЦИЯ
   ========================================= */

.marquee-section {
  padding: 50px 0;
  overflow: hidden;
  background: transparent;
}

.marquee-title {
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 20px;
  width: 100%;
}

.marquee-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  cursor: default;
  user-select: none;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.marquee-track:active {
  cursor: grabbing;
}

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

.brand-item {
  height: 180px;
  width: 200px;
  max-width: 250px;
  background-color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  object-fit: contain;
}

.brand-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

/* =========================================
   СТИЛИ ДЛЯ КЛИЕНТОВ (CLIENTS MARQUEE)
   ========================================= */

.client-item {
  height: 120px; /* Клиенты обычно чуть меньше брендов в ленте */
  width: 180px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  object-fit: contain;
  flex-shrink: 0;
}

.client-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
  position: relative;
}

.reverse-direction {
  animation-direction: reverse;
}

/* =========================================
   СЕКЦИЯ ПРОДУКТОВ (КАТАЛОГ)
   ========================================= */

.products-section {
  padding: 100px 0; /* Больше воздуха сверху и снизу */
  position: relative;
  z-index: 1;
}

/* 1. ЗАГОЛОВОК (Строго по центру) */
.section-title {
  text-align: center; /* Центрирование */
  font-size: 2.5rem; /* Крупный размер */
  font-weight: 800; /* Жирный шрифт (Montserrat) */
  color: var(--primary-color);
  margin-bottom: 60px; /* Отступ до карточек */
  position: relative;
  width: 100%;
}

/* Декоративная линия под заголовком */
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color); /* Оранжевый акцент */
  margin: 20px auto 0; /* auto по бокам центрирует блочный элемент */
  border-radius: 2px;
}

/* 2. СЕТКА (GRID) */
.products-grid {
  display: grid;
  /* Умная сетка: карточки сами перестраиваются от 1 до 3 в ряд */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px; /* Расстояние между карточками */
  padding: 0 10px;
}

/* 3. КАРТОЧКА ТОВАРА (Ссылка) */
.product-card {
  /* Сброс стилей ссылки */
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрируем иконку и текст внутри */
  text-align: center;

  /* Размеры и отступы */
  height: 100%; /* Чтобы все карточки были одной высоты */
  padding: 40px 30px;

  /* Стеклянный эффект (усиливаем существующий класс glass-card) */
  background: rgba(255, 255, 255, 0.65); /* Чуть более плотный фон */
  border: 1px solid rgba(255, 255, 255, 0.6);

  /* Анимация перехода */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Пружинистый эффект */
}

/* 4. ИКОНКА ВНУТРИ */
.card-icon {
  font-size: 3.5rem; /* Большая иконка */
  color: var(--accent-color); /* Акцентный цвет */
  margin-bottom: 25px;

  /* Для анимации иконки */
  display: inline-block;
  transition: transform 0.4s ease;
}

/* 5. ТЕКСТ ВНУТРИ */
.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-light); /* Серый текст для описания */
  line-height: 1.6;
}

/* =========================================
   WOW-ЭФФЕКТ ПРИ НАВЕДЕНИИ (HOVER)
   ========================================= */

.product-card:hover {
  /* Карточка "взлетает" вверх */
  transform: translateY(-15px);

  /* Становится белее и ярче */
  background: #ffffff;
  border-color: #ffffff;

  /* Глубокая красивая тень */
  box-shadow: 0 20px 40px rgba(31, 38, 135, 0.15);
}

/* При наведении иконка чуть поворачивается и растет */
.product-card:hover .card-icon {
  transform: scale(1.1) rotate(10deg);
  color: #ff4757; /* Можно сделать цвет чуть ярче при наведении */
}

/* Делаем заголовок карточки цветным при наведении */
.product-card:hover h3 {
  color: var(--accent-color);
}
/* =========================================
   YENİLƏNMİŞ ŞİRKƏT HƏYATI SEKSİYASI
   ========================================= */

.events-section {
  padding: 80px 0;
}

/* Ümumi Grid tənzimləmələri (Həm yuxarı, həm aşağı sıra üçün) */
.info-grid,
.events-grid {
  display: grid;
  /* 3 dənə yan-yana. Ekran balacalananda (mobil) avtomatik alt-alta düşəcək */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

/* Yuxarıdakı blokla aşağıdakı blok arasındakı məsafə */
.mb-50 {
  margin-bottom: 50px;
}

/* Kartların Dizaynı */
.event-block {
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;

  /* Gözəl kölgə və keçid */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effekti - Kartın üstünə gələndə qalxır */
.event-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: #fff; /* Tam ağ olur */
}

/* Başlıq və İkon */
.event-block h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-block h3 i {
  color: var(--accent-color); /* Narıncı ikonlar */
  font-size: 1.2em;
}

/* Mətn */
.event-block p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1; /* Mətn sahəsi yeri doldurur */
  margin-bottom: 20px;
}

/* Şəkil yeri (Aşağıdakı 3 kart üçün) */
.event-img-placeholder {
  width: 100%;
  height: 200px; /* Hündürlük */
  background: #f0f0f0; /* Boz fon (şəkil yüklənənə qədər) */
  border-radius: 12px;
  overflow: hidden;
  margin-top: auto;
}

.event-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Şəkli kəsmədən doldurur */
}

/* =========================================
   СЕКЦИЯ КОНТАКТОВ
   ========================================= */

.contacts-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* 1. СЕТКА (GRID) */
.contacts-grid {
  display: grid;
  /* Две колонки: левая (инфо) чуть уже, правая (карты) чуть шире */
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: start; /* Выравнивание по верху */
}

/* Адаптив для телефонов: одна колонка */
@media (max-width: 991px) {
  .contacts-grid {
    grid-template-columns: 1fr; /* Становится в один столбик */
  }
}

/* 2. ЛЕВАЯ КОЛОНКА (ИНФОРМАЦИЯ) */
.contact-info {
  padding: 40px;
  border-radius: 20px;
  height: 100%; /* Растягиваем на всю высоту */
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Блок с иконкой и текстом */
.info-item {
  display: flex;
  /* Было: align-items: flex-start; */
  align-items: center; /* <-- СТАВИМ CENTER */
  gap: 20px;
}

/* Стиль иконок (Телефон, Почта) */
.info-item i {
  font-size: 1.5rem;
  color: #fff;
  background: var(--accent-color); /* Оранжевый круг */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Чтобы иконка не сплющилась */
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Текст контактов */
.info-item p {
  margin: 0;
  line-height: 1.6;
  font-size: 1.1rem;
  font-weight: 500;
}

.info-item a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s;
}

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

/* 3. СОЦИАЛЬНЫЕ СЕТИ */
.social-links-block {
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05); /* Легкая линия разделитель */
}

.social-links-block h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

/* Кнопки соцсетей */
.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Индивидуальные цвета брендов */
.social-btn.insta {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-btn.tiktok {
  background: #000000;
}

.social-btn.linkedin {
  background: #0077b5;
}

/* Эффект нажатия */
.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 4. ПРАВАЯ КОЛОНКА (КАРТЫ) */
.maps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-card {
  padding: 25px;
  border-radius: 20px;
}

.map-card h4 {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.map-card h4 i {
  color: var(--accent-color);
}

.map-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  margin-left: 28px; /* Отступ под иконку */
}

/* Рамка для карты */
.map-frame {
  border-radius: 12px;
  overflow: hidden; /* Чтобы карта не вылезала за скругленные углы */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 250px; /* Высота карты */
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================
   FOOTER И РАБОЧАЯ РАКЕТА (ИСПРАВЛЕНО)
   ========================================= */

.main-footer {
  background: #ffffff;
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 5px 0;
}
.developer-link a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.developer-link a:hover {
  color: var(--accent-color);
}

/* --- КНОПКА (БАЗА) --- */
.scroll-top-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible !important;
  position: relative;
  z-index: 1000;
}

.pencil-wrapper {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pencil-icon {
  display: inline-block;
  font-size: 1.2rem;
  transform: rotate(135deg);
  will-change: transform, opacity;
}

.rocket-smoke {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  background: linear-gradient(to bottom, #ff4757, #ffa502, transparent);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.scroll-top-btn:hover .pencil-icon {
  transform: rotate(135deg);
  animation: rumble 0.1s infinite;
}

@keyframes rumble {
  0% {
    transform: rotate(135deg) translate(0, 0);
  }
  50% {
    transform: rotate(135deg) translate(1px, 1px);
  }
  100% {
    transform: rotate(135deg) translate(0, 0);
  }
}

@media (max-width: 768px) {
  /* --- HEADER & NAVIGATION --- */
  header {
    height: 70px; /* Фиксируем высоту шапки */
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 2000;
  }

  /* Скрываем кнопку BirMarket в шапке на мобилках, чтобы не мешала */
  header .btn-birmarket {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Полностью прячем */
    width: 100%; /* На весь экран, чтобы ничего не мешало */
    height: 100vh;
    background: #ffffff;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    z-index: 1500;
  }

  .nav-menu.active {
    right: 0; /* Выезд */
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  /* Добавляем кнопку BirMarket ВНУТРЬ мобильного меню в самый низ */
  .nav-menu::after {
    content: "BirMarket-dən al";
    display: block;
    margin-top: 40px;
    padding: 12px 30px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
  }

  /* --- HERO SECTION (Главный экран) --- */
  .hero-section {
    padding-top: 100px !important; /* Отступ от фиксированной шапки */
    text-align: center;
  }

  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* --- GRID FIXES (Карточки и Контакты) --- */
  .products-grid,
  .contacts-grid,
  .events-grid,
  .info-grid {
    grid-template-columns: 1fr !important; /* Только одна колонка */
    gap: 20px;
    padding: 0 15px;
  }

  .product-card,
  .event-block,
  .contact-info {
    width: 100% !important;
    margin: 0 auto;
  }

  /* Исправляем разлетающиеся картинки декора (карандаши и т.д.) */
  .hero-section img[class*="decor"] {
    display: none; /* На мобилках они только мешают и создают скролл */
  }

  /* --- FOOTER --- */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .scroll-top-btn {
    position: relative;
    margin: 20px auto;
    width: 180px;
  }
}
