/* ========== ОБЩИЕ СТИЛИ ДЛЯ ВСЕГО САЙТА ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== ШАПКА И НАВИГАЦИЯ ========== */
header {
  background: linear-gradient(to right, #000000, #2a0000, #000000);
  padding: 20px 0;
  border-bottom: 2px solid #8b0000;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ========== ЛОГОТИП СО ССЫЛКОЙ ========== */
.logo {
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(45deg, #ff3333, #8b0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 5px rgba(139, 0, 0, 0.5);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-menu a {
  color: #b0b0b0;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
  transition: all 0.3s;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.5);
}

.nav-menu .active {
  color: #ffffff;
  font-weight: bold;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  border-bottom: none;
  padding-bottom: 5px;
}

/* ========== ЗАГОЛОВКИ ========== */
h1,
h2,
h3 {
  background: linear-gradient(135deg, #ff4444, #8b0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
}

.page-title {
  padding: 60px 0 20px;
  text-align: center;
  position: relative;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b0000, transparent);
}

.page-title h1 {
  font-size: 48px;
  text-transform: uppercase;
  display: inline-block;
  padding: 0 30px;
  background: linear-gradient(135deg, #000000, #1a0000);
  border: 2px solid #8b0000;
  border-radius: 50px;
  padding: 15px 40px;
  -webkit-text-fill-color: #ffffff;
  background: linear-gradient(135deg, #8b0000, #4a0000);
  box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

/* ========== КНОПКИ ========== */
.btn {
  display: inline-block;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  color: #ffffff;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(45deg, #a52a2a, #6b0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

/* ========== КАРТОЧКИ ТОВАРОВ ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
  padding: 40px 0;
}

.product-card {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #8b0000;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: #ff4444;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
  background: linear-gradient(145deg, #1a0000, #2a0000);
}

/* ========== ФОТО ТОВАРОВ ========== */
.product-image {
  height: 250px;
  background: linear-gradient(145deg, #1a1a1a, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #8b0000;
  position: relative;
  padding: 15px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.3s;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
  background: #2a0000;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

/* ========== ТЕКСТ В КАРТОЧКАХ ========== */
.product-info {
  padding: 20px;
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-category {
  font-size: 14px;
  color: #ff6666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
  width: 100%;
  text-align: left;
}

.product-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
  width: 100%;
  text-align: left;
  line-height: 1.4;
}

.product-weight {
  color: #b0b0b0;
  font-size: 16px;
  width: 100%;
  text-align: left;
  font-weight: 500;
}

/* ========== СТИЛИ ДЛЯ ФОРМЫ КОНТАКТОВ ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 0 60px;
}

.contact-info,
.contact-form {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #8b0000;
  transition: all 0.3s;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
}

.contact-info:hover,
.contact-form:hover {
  border-color: #ff4444;
  box-shadow: 0 8px 30px rgba(139, 0, 0, 0.5);
  background: linear-gradient(145deg, #1a0000, #2a0000);
}

.contact-info h2,
.contact-form h2 {
  font-size: 32px;
  margin-bottom: 30px;
  border-bottom: 2px solid #8b0000;
  padding-bottom: 10px;
  display: inline-block;
}

.info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  font-size: 24px;
  min-width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.5);
}

.info-text h3 {
  color: #ff6666;
  font-size: 20px;
  margin-bottom: 5px;
  -webkit-text-fill-color: #ff6666;
  background: none;
}

.info-text p,
.info-text a {
  color: #d0d0d0;
  font-size: 18px;
}

.info-text a {
  color: #ff6666;
  text-decoration: none;
  transition: color 0.3s;
}

.info-text a:hover {
  color: #ff4444;
  text-decoration: underline;
}

/* ========== ФОРМА ========== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ff6666;
  font-weight: 500;
  text-shadow: 0 0 5px rgba(139, 0, 0, 0.3);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background: linear-gradient(145deg, #1a1a1a, #000000);
  border: 1px solid #8b0000;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff4444;
  box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
  background: linear-gradient(145deg, #2a0000, #1a0000);
}

.btn-submit {
  background: linear-gradient(45deg, #8b0000, #4a0000);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: linear-gradient(45deg, #a52a2a, #6b0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

/* ========== ГЛАВНАЯ СТРАНИЦА ========== */
.hero {
  padding: 120px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(139, 0, 0, 0.3)),
    url('https://via.placeholder.com/1920x600/1a0000/8b0000?text=') center/cover;
  border-bottom: 2px solid #8b0000;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(139, 0, 0, 0.2) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 22px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ========== О КОМПАНИИ - ГАЛЕРЕЯ ========== */
.about {
  padding: 60px 0;
  background: linear-gradient(45deg, #000000, #1a0000);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b0000, transparent);
}

.about h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  color: #8b0000;
}

.about-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(139, 0, 0, 0.5);
  border: 2px solid #8b0000;
}

.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #000;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-slide {
  flex: 0 0 100%;
  height: 600px;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Кнопки навигации */
.gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.gallery-prev,
.gallery-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(139, 0, 0, 0.8);
  border: 2px solid #ff4444;
  color: white;
  font-size: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  line-height: 1;
  padding-bottom: 6px;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: #8b0000;
  transform: scale(1.1);
  border-color: #ff6666;
}

/* Точки */
.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid #8b0000;
  backdrop-filter: blur(5px);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #8b0000;
}

.dot.active {
  background: #8b0000;
  transform: scale(1.3);
  border-color: #ff4444;
  box-shadow: 0 0 15px #ff4444;
}

.dot:hover {
  background: #a52a2a;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.benefits {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a0000, #000000);
}

.benefits h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
}

/* СПЕЦИАЛЬНО ДЛЯ СЕРТИФИКАТОВ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.certificate-item {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  transition: all 0.3s;
}

.certificate-item:hover {
  transform: translateY(-5px);
  border-color: #ff4444;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.certificate-item img {
  transition: transform 0.3s;
}

.certificate-item:hover img {
  transform: scale(1.02);
}

.benefit-item {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #8b0000;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.benefit-item:hover {
  border-color: #ff4444;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
  background: linear-gradient(145deg, #1a0000, #2a0000);
}

.benefit-item h3 {
  color: #ff6666;
  margin-bottom: 15px;
  font-size: 24px;
  -webkit-text-fill-color: #ff6666;
  background: none;
}

.benefit-item p {
  color: #c0c0c0;
}

/* ========== ФУТЕР ========== */
footer {
  background: linear-gradient(to right, #000000, #2a0000, #000000);
  padding: 40px 0;
  text-align: center;
  border-top: 2px solid #8b0000;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff4444, transparent);
}

footer p {
  color: #a0a0a0;
  position: relative;
  z-index: 1;
}

footer a {
  color: #ff6666;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ff4444;
  text-decoration: underline;
}

.about.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
  }

  .page-title h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  /* Шапка */
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    font-size: 32px;
    margin-bottom: 5px;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .nav-menu a {
    margin: 0 5px;
    font-size: 16px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  /* Герой */
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero p {
    font-size: 16px;
    padding: 0 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Заголовки */
  .page-title h1 {
    font-size: 28px;
    padding: 10px 20px;
  }

  h2 {
    font-size: 24px !important;
    word-break: break-word;
  }

  /* Контакты - одна колонка */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  /* Фото директора */
  .info-item div[style*='flex'] {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .info-item img {
    width: 120px !important;
    height: 120px !important;
  }

  /* Галерея */
  .gallery-slide {
    height: 300px;
  }

  .gallery-prev,
  .gallery-next {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .gallery-dots {
    padding: 6px 12px;
    gap: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  /* Преимущества */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-item {
    padding: 20px;
  }

  .benefit-item h3 {
    font-size: 20px;
  }

  .benefit-item p {
    font-size: 14px;
  }

  /* Товары */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 200px;
    padding: 10px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-category {
    font-size: 12px;
  }

  .product-weight {
    font-size: 14px;
  }

  /* Футер */
  footer {
    padding: 25px 0;
  }

  footer p {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  /* Очень маленькие телефоны */
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .nav-menu {
    gap: 5px;
  }

  .nav-menu a {
    font-size: 13px;
    padding: 5px 8px;
    margin: 2px;
  }

  .logo {
    font-size: 28px;
  }

  .page-title h1 {
    font-size: 20px;
    padding: 8px 15px;
  }

  h2 {
    font-size: 20px !important;
  }

  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .product-image {
    height: 180px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 24px;
  }

  .info-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .info-text p,
  .info-text a {
    font-size: 14px;
  }

  .gallery-slide {
    height: 250px;
  }
}
/* ========== БЛОК "МЫ В ЦИФРАХ" ========== */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(45deg, #000000, #1a0000);
  border-top: 2px solid #8b0000;
  border-bottom: 2px solid #8b0000;
}

.stats-section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 20px;
  color: #8b0000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(139, 0, 0, 0.1);
  border-radius: 15px;
  border: 1px solid #8b0000;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(139, 0, 0, 0.2);
  border-color: #ff4444;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.stat-number {
  font-size: 54px;
  font-weight: bold;
  color: #ff4444;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-text {
  font-size: 18px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .stat-number {
    font-size: 42px;
  }

  .stat-text {
    font-size: 16px;
  }
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
  .stats-section {
    padding: 40px 0;
  }

  .stats-section h2 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-item {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-text {
    font-size: 14px;
  }
}

/* Адаптация для маленьких телефонов */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 25px;
  }

  .stat-number {
    font-size: 42px;
  }
}
/* ========== АНИМАЦИИ ПРИ ПРОКРУТКЕ ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Базовый класс для всех анимированных элементов */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

/* Классы анимации */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-fadeInScale {
  animation: fadeInScale 0.8s ease forwards;
}

/* Задержки анимации */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}
/* ========== СОЦИАЛЬНЫЕ СЕТИ ========== */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s;
  border: 1px solid #ff4444;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: linear-gradient(45deg, #a52a2a, #6b0000);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.6);
}

/* ========== ПАРТНЁРЫ ========== */
.partners-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a0000, #000000);
  border-top: 1px solid #8b0000;
  border-bottom: 1px solid #8b0000;
}

.partners-section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  color: #8b0000;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-item {
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid #8b0000;
  border-radius: 30px;
  padding: 15px 10px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.partner-item:hover {
  background: rgba(139, 0, 0, 0.3);
  border-color: #ff4444;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(139, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .partner-item {
    font-size: 16px;
    padding: 12px 5px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
.social-icon .fa-tiktok {
  color: white;
}

.social-icon:hover .fa-tiktok {
  color: #ff0050; /* Розовый TikTok при наведении */
}
/* ========== СЕРТИФИКАТ С КАРУСЕЛЬЮ ========== */
.certificate-item {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #8b0000;
  transition: all 0.3s;
  grid-column: span 1;
}

.certificate-item:hover {
  border-color: #ff4444;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.certificate-item h3 {
  font-size: 28px;
  margin-bottom: 15px;
  text-align: center;
  color: #ff6666;
}

.certificate-item .certificate-track {
  display: flex;
  overflow: hidden;
  border-radius: 10px;
}

.certificate-item .certificate-track img {
  width: 100%;
  flex-shrink: 0;
  border: 2px solid #8b0000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.5);
}

/* Кнопки навигации */
.certificate-item button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139, 0, 0, 0.8);
  color: white;
  border: 2px solid #ff4444;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.certificate-item button:hover {
  background: #8b0000;
  transform: translateY(-50%) scale(1.1);
  border-color: #ff6666;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.certificate-item button:first-of-type {
  left: 10px;
}

.certificate-item button:last-of-type {
  right: 10px;
}

/* Точки */
.certificate-item div[style*='justify-content: center'] span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.certificate-item div[style*='justify-content: center'] span:first-child {
  background: #8b0000;
  border: 1px solid #ff4444;
}

.certificate-item div[style*='justify-content: center'] span:last-child {
  background: #444;
  border: 1px solid #8b0000;
}

.certificate-item div[style*='justify-content: center'] span:hover {
  transform: scale(1.2);
  background: #a52a2a;
}

/* Адаптация для мобилок */
@media (max-width: 768px) {
  .certificate-item h3 {
    font-size: 24px;
  }

  .certificate-item button {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .certificate-item div[style*='justify-content: center'] span {
    width: 10px;
    height: 10px;
  }
}
/* ========== СЕРТИФИКАТЫ БЕЗ КАРУСЕЛИ ========== */
.certificate-item {
  background: linear-gradient(145deg, #0a0a0a, #1a0000);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #8b0000;
  transition: all 0.3s;
}

.certificate-item:hover {
  border-color: #ff4444;
  box-shadow: 0 15px 35px rgba(139, 0, 0, 0.5);
}

.certificate-item img {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.certificate-item img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(139, 0, 0, 0.6);
  border-color: #ff4444;
}

@media (max-width: 768px) {
  .certificate-item div[style*='grid-template-columns: 1fr 1fr'] {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .certificate-item h3 {
    font-size: 28px !important;
  }
}
/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ СЕРТИФИКАТОВ ========== */
.certificate-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.certificate-modal.active {
  display: flex;
}

.certificate-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.certificate-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 3px solid #8b0000;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.7);
}

.certificate-modal-close {
  position: absolute;
  top: -40px;
  right: -10px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.certificate-modal-close:hover {
  color: #ff4444;
}
/* ========== ССЫЛКА НА WILDBERRIES ========== */
.wb-link {
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.wb-link:hover {
  background: linear-gradient(45deg, #8b0000, #4a0000);
  border-color: #ff4444;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.6);
}

.wb-link::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s;
}

.wb-link:hover::after {
  right: 15px;
  opacity: 1;
}

.partner-item.wb-link {
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}
/* ========== СОЦИАЛЬНЫЕ СЕТИ ========== */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  transition: all 0.3s;
  border: 2px solid #ff4444;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(45deg, #a52a2a, #6b0000);
  border-color: #ff6666;
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.6);
}

.wb-icon span {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .wb-icon span {
    font-size: 16px;
  }
}
/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ ВСЕХ СТРАНИЦ ========== */
@media (max-width: 768px) {
  /* ШАПКА */
  .header-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .logo {
    font-size: 24px;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .nav-menu a {
    margin: 0;
    font-size: 14px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* ГЛАВНАЯ */
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
    padding: 0 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* ПРЕИМУЩЕСТВА */
  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .benefit-item {
    padding: 20px;
  }

  .benefit-item h3 {
    font-size: 20px;
  }

  /* СЕРТИФИКАТЫ */
  .certificate-item div[style*='grid-template-columns: 1fr 1fr'] {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .certificate-item h3 {
    font-size: 24px !important;
  }

  /* ПАРТНЁРЫ */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .partner-item {
    font-size: 14px;
    padding: 10px 5px;
  }

  /* СТАТИСТИКА */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-text {
    font-size: 12px;
  }

  /* ФУТЕР */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .social-links {
    justify-content: center;
    gap: 8px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .footer-info p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
  .hero h1 {
    font-size: 24px;
  }

  .nav-menu a {
    font-size: 12px;
    padding: 4px 8px;
  }

  .partners-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-number {
    font-size: 28px;
  }
}
/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ ПРОДУКТОВ ========== */
@media (max-width: 768px) {
  .page-title h1 {
    font-size: 28px;
    padding: 10px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 20px 0;
  }

  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-category {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .page-title h1 {
    font-size: 22px;
  }
}
/* ========== ОПИСАНИЕ ТОВАРОВ ========== */
.product-description {
  font-size: 14px;
  color: #b0b0b0;
  margin: 10px 0;
  line-height: 1.5;
  font-style: italic;
  border-left: 2px solid #8b0000;
  padding-left: 10px;
}

.product-card:hover .product-description {
  color: #ffcccc;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (max-width: 768px) {
  .product-description {
    font-size: 13px;
    margin: 8px 0;
  }
}
/* ========== МОДАЛЬНОЕ ОКНО 8 МАРТА ========== */
.march8-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.march8-modal.active {
  display: flex;
}

.march8-content {
  position: relative;
  max-width: 550px;
  width: 92%;
  margin: 5px;
}

.march8-card {
  background: linear-gradient(145deg, #1a1a1a, #2a0000);
  border: 3px solid #ff6666;
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(255, 68, 68, 0.6);
}

.march8-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.march8-icon {
  font-size: 32px;
}

.march8-title {
  font-size: 32px;
  color: #ff6666;
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
}

/* КАРТИНКА С ВИДНЫМ ВЕРХОМ */
.march8-image-large {
  margin: 18px 0;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #ff6666;
  box-shadow: 0 12px 28px rgba(255, 68, 68, 0.6);
  max-height: 350px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #1a0000;
}

.march8-image-large img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
}

.march8-text {
  color: white;
  font-size: 17px;
  line-height: 1.6;
  margin: 15px 0;
  padding: 0 10px;
}

.march8-button {
  background: linear-gradient(45deg, #8b0000, #ff4444);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 17px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  border: 2px solid #ff6666;
  transition: all 0.3s;
  margin: 8px auto 0;
  min-width: 140px;
}

.march8-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255, 68, 68, 0.7);
}

.march8-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.march8-close:hover {
  background: rgba(255, 68, 68, 0.6);
  transform: scale(1.1);
}

/* Мобильная версия */
@media (max-width: 600px) {
  .march8-content {
    max-width: 450px;
    width: 94%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .march8-card {
    padding: 18px;
  }

  .march8-icon {
    font-size: 28px;
  }

  .march8-title {
    font-size: 28px;
  }

  .march8-image-large {
    max-height: 280px;
    margin: 15px 0;
  }

  .march8-text {
    font-size: 16px;
  }

  .march8-button {
    padding: 10px 22px;
    font-size: 16px;
    min-width: 130px;
  }
}

@media (max-width: 380px) {
  .march8-content {
    max-width: 340px;
  }

  .march8-image-large {
    max-height: 220px;
  }

  .march8-text {
    font-size: 15px;
  }
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 600px) {
  .march8-content {
    max-width: 380px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
  }

  .march8-card {
    padding: 15px;
  }

  .march8-icon {
    font-size: 24px;
  }

  .march8-title {
    font-size: 24px;
  }

  .march8-image-large {
    max-height: 160px;
  }

  .march8-image-large img {
    max-height: 160px;
  }

  .march8-text {
    font-size: 14px;
  }

  .march8-button {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 100px;
  }
}

@media (max-width: 380px) {
  .march8-content {
    max-width: 300px;
  }

  .march8-icon {
    font-size: 22px;
  }

  .march8-title {
    font-size: 22px;
  }

  .march8-image-large {
    max-height: 140px;
  }

  .march8-text {
    font-size: 13px;
  }
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ (ОДИН БЛОК) ========== */
@media (max-width: 600px) {
  .march8-content {
    max-width: 340px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
  }

  .march8-card {
    padding: 15px;
    border-width: 2px;
  }

  .march8-header {
    gap: 8px;
  }

  .march8-icon {
    font-size: 28px;
  }

  .march8-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .march8-image-large {
    max-height: 180px;
    margin: 10px 0;
  }

  .march8-image-large img {
    max-height: 180px;
    object-fit: cover;
  }

  .march8-text {
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.4;
  }

  .march8-button {
    padding: 8px 16px;
    font-size: 13px;
    min-width: 120px;
  }

  .march8-close {
    top: 5px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 22px;
  }
}

@media (max-width: 380px) {
  .march8-content {
    max-width: 280px;
  }

  .march8-icon {
    font-size: 24px;
  }

  .march8-title {
    font-size: 22px;
  }

  .march8-image-large {
    max-height: 150px;
  }

  .march8-text {
    font-size: 12px;
  }
}
/* ===== СТРАНИЦА УСЛУГИ ===== */
.services-hero {
    background: linear-gradient(135deg, #000000, #b32025);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    padding: 0 20px;
}

.services-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
}

.services-hero .btn {
    display: inline-block;
    background: linear-gradient(45deg, #8b0000, #ff4444);
    color: white;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

.services-hero .btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #a52a2a, #ff6666);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.6);
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 42px;
    }
    .services-hero p {
        font-size: 18px;
    }
    .services-hero .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 32px;
    }
    .services-hero p {
        font-size: 16px;
    }
}
/* ========== ШАПКА И НАВИГАЦИЯ ========== */
header {
  background: linear-gradient(to right, #000000, #2a0000, #000000);
  padding: 20px 0;
  border-bottom: 2px solid #8b0000;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-menu a {
  color: #b0b0b0;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
  transition: all 0.3s;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #8b0000, #4a0000);
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.5);
}

.nav-menu .active {
  color: #ffffff;
  font-weight: bold;
  background: linear-gradient(45deg, #8b0000, #4a0000);
}
.logo a {
    text-decoration: none;
}