/* =========================================
           1. БАЗОВЫЕ НАСТРОЙКИ И ШРИФТЫ
========================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;

  /* Структура для прижатого футера */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Контейнер для основного контента */
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
      padding: 40px 20px 0;
}

h1,
h2,
h3 {
  color: #2c3e50;
  margin-top: 0;
}

/* =========================================
           2. ШАПКА (HEADER) + МОБИЛЬНОЕ МЕНЮ
========================================= */
.site-header {
  background: #8b0000;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky; /* Липкая шапка */
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Логотип */
.logo {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  letter-spacing: 1px;
  z-index: 1002;
}

/* Правая часть (Телефон + Бургер) */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1002;
}

.header-phone {
  color: white;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.header-phone:before {
    content: "📞";
    margin-right: 8px;
    background-color: #fff;
    padding: 3px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Навигация (Десктоп) */
.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  padding: 5px 0;
}

/* Подчеркивание при наведении */
.main-nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s;
}
.main-nav a:hover:after {
  width: 100%;
}
.main-nav a.active {
    color: #fff; 
    font-weight: bold;
}

/* Кнопка Бургер */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  padding: 0;
}
.burger-btn span {
  background-color: white;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.burger-btn span:nth-child(1) {
  top: 0;
}
.burger-btn span:nth-child(2) {
  top: 9px;
}
.burger-btn span:nth-child(3) {
  top: 18px;
}

/* Анимация крестика */
.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* АДАПТИВ МЕНЮ */
@media (max-width: 768px) {
  .burger-btn {
    display: block;
  }
  .header-phone span {
    display: none; /* Скрываем цифры, оставляем трубку */
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #8b0000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }
  .main-nav.active {
    transform: translateY(0);
  }
  .main-nav a {
    font-size: 24px;
    margin: 15px 0;
  }
}

/* =========================================
           3. ГЛАВНАЯ СТРАНИЦА (БАННЕРЫ И БЛОКИ)
========================================= */

.swiper-slide {
  position: relative;
  overflow: hidden;
  height: 100%; /* Чтобы слайд занимал всю высоту слайдера */
  border-radius: 10px;
}
.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* Слой №1 */
}
/* Основной контейнер слайдера */
.main-slider {
  width: 100%;
  height: 600px;
  margin-bottom: 30px;
}

/* Затемняющий слой поверх картинки, чтобы текст всегда читался */
.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;

  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
}

.slide-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

/* Заголовок */
.slide-title {
  font-size: 3.5rem; 
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-title span {
  color: #51b4c1;
}

/* Описание */
.slide-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 550px;
  padding-left: 20px;
  line-height: 1.6;
  border-left: 3px solid #51b4c1;
  
}

/* Кнопка */
.btn-slider {
  display: inline-block;
  padding: 18px 45px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-slider:hover {
  background: #ff5e4d;
  transform: translateY(-3px); /* Эффект парения при наведении */
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
  .main-slider {
    height: 450px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-content .container {
    padding: 0 20px;
  }
  .btn-slider {
    width: 100%;
    max-width: 270px;
    margin-left: 0;
    padding: 15px 25px;
    text-align: center;
  }
}

/* Иконки преимуществ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.feature-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

/* Инфо-секции */
.info-section {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 80px 0;
}

.info-section.reverse {
  flex-direction: row-reverse;
}

.info-img {
  flex: 1;
  height: 350px;
}

.info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.info-text {
  flex: 1;
}
.info-text h2 {
  font-size: 32px;
  color: #8b0000;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .info-section,
  .info-section.reverse {
    flex-direction: column;
    gap: 20px;
  }
  .info-img {
    width: 100%;
    height: 250px;
  }
  .hero-banner h1 {
    font-size: 32px;
  }
}

/* =========================================
           4. КАТАЛОГ И КАРТОЧКИ ТОВАРОВ
========================================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.product-img-wrap {
  height: 220px;
  background: #eee;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 18px;
  margin: 0 0 10px 0;
}
.product-title a {
  color: #333;
  font-weight: bold;
}

.product-price {
  font-size: 20px;
  color: #8b0000;
  font-weight: bold;
  margin-bottom: 15px;
}
.btn-more {
  margin-top: auto;
  display: block;
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
}
.btn-more:hover {
  background: #8b0000;
}

/* Блок "4 ПРИЧИНЫ" */
.reasons-section {
  margin: 80px 0;
}
.reasons-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #2c3e50;
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две колонки */
  gap: 30px;
}

.reason-card {
  background: white;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #8b0000; /* Красная полоска слева */
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Большая цифра на фоне для стиля */
.reason-card::before {
  content: attr(data-num);
  position: absolute;
  right: 20px;
  top: 0;
  font-size: 100px;
  font-weight: 900;
  color: #f5f5f5;
  z-index: 0;
  line-height: 1;
}

.reason-content {
  position: relative;
  z-index: 1;
}

.reason-head {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.reason-icon {
  font-size: 30px;
  margin-right: 15px;
  color: #8b0000;
}
.reason-card h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}
.reason-card p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

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

/* =========================================
           5. СТРАНИЦА ТОВАРА (ДЕТАЛЬНАЯ)
========================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.product-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
}

.product-info h1 {
  font-size: 32px;
  line-height: 1.2;
}
.product-price-large {
  font-size: 28px;
  color: #8b0000;
  font-weight: bold;
  margin: 20px 0;
  display: inline-block;
  background: #fdf2f2;
  padding: 10px 20px;
  border-radius: 50px;
}
.product-specs ul {
  list-style: none;
  padding: 0;
}
.product-specs li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.btn-buy {
  display: inline-block;
  background: #8b0000;
  color: white;
  font-size: 18px;
  padding: 15px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}
.btn-buy:hover {
  background: #a50000;
}

.product-description {
  grid-column: 1 / -1;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

/* =========================================
           6. ФОРМА ЗАЯВКИ (CTA)
========================================= */
.cta-section {
  background: #2c3e50;
  padding: 50px 20px;
  margin-top: 60px;
  color: white;
  text-align: center;
}
.cta-section .h5 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
}
input[name="realaddr"] {
  display: none;
}

.inline {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.field {
  flex: 1;
}

.field input,
input[name="mes"] {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}
.field input:focus {
  border-color: #8b0000;
}

.submitbtn {
  background: #8b0000;
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}
.submitbtn:hover {
  background: #a50000;
}

.filefield .btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px dashed #aaa;
  display: inline-block;
}
.filefield input[type="file"] {
  display: none;
}

@media (max-width: 600px) {
  .inline {
    flex-direction: column;
  }
}

/* =========================================
           7. ПОДВАЛ (FOOTER)
========================================= */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
}
/* 11. СТРАНИЦА О КОМПАНИИ */

/* Секция Интро (Текст + Фото) */
.about-intro {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.about-text {
  flex: 1;
}
.about-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.about-text .lead {
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-img {
  flex: 1;
}
.about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 20px 20px 0px #eee;
}

/* Блок с цифрами (Статистика) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #2c3e50;
  color: white;
  padding: 40px;
  border-radius: 8px;
  margin: 60px 0;
  text-align: center;
}
.stat-item h3 {
  font-size: 48px;
  color: #8b0000;
  margin: 0;
  font-weight: 800;
}
.stat-item p {
  margin: 5px 0 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Цитата */
.director-quote {
  background: #fdf2f2;
  border-left: 5px solid #8b0000;
  padding: 30px;
  margin: 50px 0;
  font-style: italic;
  font-size: 18px;
  color: #555;
}
.director-sign {
  margin-top: 15px;
  font-weight: bold;
  font-style: normal;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
}
.director-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Адаптив */
@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .about-text h1 {
    font-size: 32px;
  }
}
/* =========================================
           О КОМПАНИИ
========================================= */

/* 1. Герой-блок (Центрированный) */
.story-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px auto;
}
.story-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.story-hero p {
  font-size: 20px;
  color: #666;
  line-height: 1.6;
}
.story-hero strong {
  color: #8b0000;
}

/* 2. Большая картинка на всю ширину */
.wide-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 3. Таймлайн (История) */
.timeline-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 80px;
}
.timeline-title h2 {
  font-size: 36px;
  position: sticky;
  top: 100px;
}

.timeline-list {
  border-left: 2px solid #eee;
  padding-left: 40px;
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
}
/* Точка на линии */
.timeline-item::before {
content: "";
    position: absolute;
    left: -47px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #8b0000;
    box-shadow: 0 0 0 1px #eee;
}
.year {
  font-size: 24px;
  font-weight: bold;
  color: #8b0000;
  margin-bottom: 10px;
  display: block;
}
.timeline-item h4 {
  font-size: 20px;
  margin: 0 0 10px 0;
}
.timeline-item p {
  color: #666;
  margin: 0;
}

/* 4. Фотогалерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 250px 250px;
  gap: 20px;
  margin-bottom: 80px;
}
/* Первая картинка занимает 2 колонки и 2 строки (Большая) */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.02);
}

/* Адаптив */
@media (max-width: 768px) {
  .story-hero h1 {
    font-size: 32px;
  }
  .timeline-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .timeline-title h2 {
    position: static;
    margin-bottom: 30px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
    height: 250px;
  }
}
/* =========================================
           12. СТРАНИЦА КОНТАКТЫ
========================================= */

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две колонки: Инфо и Карта */
  gap: 40px;
  margin-bottom: 60px;
}

/* Блок с информацией */
.contact-info-block {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: #fdf2f2;
  color: #8b0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 20px;
  flex-shrink: 0; /* Чтобы иконка не сплющивалась */
}
.contact-text h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #333;
}
.contact-text p,
.contact-text a {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}
.contact-text a {
  font-weight: bold;
  color: #2c3e50;
  border-bottom: 1px dotted #ccc;
}
.contact-text a:hover {
  color: #8b0000;
  border-bottom-color: #8b0000;
}

/* Карта */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 100%; /* Растянуть на высоту соседа */
  min-height: 400px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Социальные сети */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.social-btn {
  width: 40px;
  height: 40px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 20px;
}
.social-btn:hover {
  background: #8b0000;
  color: white;
  transform: translateY(-3px);
}

/* Блок реквизитов */
.requisites {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #777;
  margin-top: 30px;
  border: 1px dashed #ccc;
}
.requisites strong {
  color: #333;
}

.promo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Отступы между плитками */
    margin-top: 40px;
}

.promo-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 20px); /* 3 колонки */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-10px);
}

.promo-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promo-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
}

.promo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.btn-more {
    display: inline-block;
    margin-top: auto;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

.promo-page-hero {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.promo-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px; /* Чтобы баннер не занимал весь экран по высоте */
}

.breadcrumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 20px;
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

/* Добавляем разделитель "/" между пунктами */
.breadcrumbs li + li::before {
    content: "/";
    margin: 0 12px;
    color: #ccc;
    font-weight: 300;
}

.breadcrumbs a {
    color: #8b0000;
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumbs .active {
    color: #999;
    pointer-events: none; /* Текущая страница не должна быть кликабельной */
}


.ajax_form {
    max-width: 400px;
    padding: 30px;
    background: #c5c5c5;
    border-radius: 10px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-submit {
    background: #51b4c1;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.btn-submit:hover {
    background: #3d8a94;
}

/* Красный текст для ошибок */
.ajax_form span[class^="error_"] {
    color: #e74c3c;
    font-size: 0.8rem;
}

/* Контейнер для всех уведомлений */
.jGrowl {
    z-index: 9999 !important; /* Чтобы было поверх меню и всего остального */
    top: 20px !important;
    right: 20px !important;
}

/* Общий стиль плашки уведомления */
.jGrowl .jGrowl-notification {
    background: #333 !important; /* Темный фон для контраста */
    color: #fff !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-family: sans-serif;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0.95 !important;
}

/* Стиль для успешной отправки */
.jGrowl .jGrowl-notification.af-message-success {
    background: #51b4c1 !important;
    border: 1px solid #45a2ad;
}

/* Стиль для ошибок */
.jGrowl .jGrowl-notification.af-message-error {
    background: #e74c3c !important; /* Красный */
    border: 1px solid #c0392b;
}

/* Кнопка закрытия (крестик) */
.jGrowl .jGrowl-close {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .promo-card { flex: 1 1 100%; }
}

/* Адаптив */
@media (max-width: 900px) {
  .contacts-wrapper {
    grid-template-columns: 1fr;
  } /* Одна колонка */
  .map-wrapper {
    height: 300px;
  }
}

