:root {
  /* Основная цветовая палитра */
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a1a1a;
  --accent-orange: #ff4d00;
  --accent-glow: #ff6b2b;
  --text-light: #ffffff;
  --text-gray: #9a9a9a;

  /* Тени */
  --neon-shadow: 0 0 10px var(--accent-orange), 0 0 20px var(--accent-orange),
    0 0 30px var(--accent-glow);
  --depth-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Заменим старые стили кнопок на новые */
.btn-forge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  height: 3rem;
  overflow: hidden;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_forge 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(var(--primary-dark), var(--primary-dark)),
    linear-gradient(
      137.48deg,
      var(--accent-orange) 10%,
      #ff3300 45%,
      #ff6600 67%,
      var(--accent-glow) 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

.btn-forge strong {
  z-index: 2;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--text-light);
  text-shadow: 0 0 4px var(--accent-orange);
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  z-index: -1;
  background: rgba(255, 77, 0, 0.636);
}

.circle:nth-of-type(1) {
  background: rgba(255, 77, 0, 0.8);
}

.circle:nth-of-type(2) {
  background: rgba(255, 102, 0, 0.8);
}

.btn-forge:hover #container-stars {
  z-index: 1;
  background-color: var(--primary-dark);
}

.btn-forge:hover {
  transform: scale(1.1);
}

.btn-forge:active {
  border: double 4px var(--accent-orange);
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn-forge:active .circle {
  background: var(--accent-orange);
  transform: scale(1);
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
  background-image: radial-gradient(
    rgba(255, 119, 0, 0.8) 1px,
    /* Увеличиваем яркость */ transparent 1%
  );
  background-size: 30px 30px; /* Уменьшаем размер для большей плотности */
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
  background-image: radial-gradient(
    rgba(255, 77, 0, 0.6) 1px,
    /* Увеличиваем яркость */ transparent 1%
  );
  background-size: 40px 40px;
  opacity: 0.7; /* Увеличиваем общую видимость */
}

@keyframes animStar {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-135rem) scale(1.2);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg) scale(1);
  }
  to {
    transform: rotate(0) scale(1.2);
  }
}

@keyframes gradient_forge {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Стилизация секций */
.section {
  padding: 80px 0;
  position: relative;
  background-color: var(--secondary-dark);
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: var(--depth-shadow);
}

.page-header {
  display: none;
}

/* Стилизация заголовков */
.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(
    to right,
    var(--text-light),
    var(--accent-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Основные стили контейнера */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.align-items-center {
  align-items: center;
}

/* Колонки */
.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
}

/* Логотип */
.logo {
  display: block;
  max-width: 100%;
}

.logo img {
  max-width: 100%;
  height: auto;
}

/* Кнопка мобильного меню */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px 0;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Навигация */
.main-nav {
  display: flex;
  justify-content: flex-end;
}

/* Главное меню */
.main-menumain-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flex-c-sb {
  justify-content: space-between;
  gap: 30px;
}

/* Пункты меню */
.menu-item {
  position: relative;
}

.menu-item a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.menu-item.active a {
  color: #ff4d00;
}

.menu-item a:hover {
  color: #ff4d00;
}

/* Стрелка в меню */
.main-menu-arrow {
  position: relative;
  padding-right: 20px;
}

.main-menu-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* Мобильные стили */
@media (max-width: 767px) {
  .d-md-none {
    display: block;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 1000;
  }

  .main-nav.active {
    display: block;
  }

  .main-menumain-menu {
    flex-direction: column;
    gap: 15px;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item a {
    display: block;
    padding: 10px 0;
  }
}

/* Анимация мобильного меню */
.menu-toggle.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.menu-toggle.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Фиксированный хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-main {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
}

/* Верхняя часть хедера */
.header-top {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
  font-size: 0.9rem;
  height: 40px; /* Фиксированная высота для верхней части */
  transition: transform 0.3s ease;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--text-gray);
}

.company-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.company-address i {
  color: var(--accent-orange);
  font-size: 0.8rem;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Нижняя часть хедера */
.header-bottom {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: transform 0.3s ease;
}

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

.align-items-center {
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
}

/* Стили для логотипа */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--text-light), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Стили для навигации */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--accent-orange);
}

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

/* Маленькая версия кнопки для хедера */
.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  height: 2.5rem;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
  .company-address {
    display: none;
  }
}

@media (max-width: 992px) {
  .header-top {
    display: none;
  }

  .header-bottom {
    padding: 0.5rem 0;
  }

  .nav-list {
    display: none;
  }

  /* Добавить стили для мобильного меню */
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero секция */
.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding-top: 80px; /* Высота header */
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
    url("../img/hero-bg.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 77, 0, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s infinite;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Обновленные стили для hero-content */
.hero-content .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: fadeInTitle 1s ease forwards 0.5s;
}

.hero-content .title::after {
  content: "|";
  position: absolute;
  right: -15px;
  animation: cursorBlink 1s infinite;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 1.5s;
}

.hero-content .btn-forge {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 2s;
}

/* Анимации для текста */
@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
    color: var(--accent-orange);
  }
  50% {
    opacity: 0;
  }
}

/* Добавляем эффект градиента для текста */
.hero-content .title {
  background: linear-gradient(
    90deg,
    var(--text-light) 0%,
    var(--accent-orange) 50%,
    var(--text-light) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInTitle 1s ease forwards 0.5s, gradientMove 8s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
  .nav-list {
    display: none; /* Здесь позже добавим мобильное меню */
  }

  .hero-content {
    padding: 0 20px;
  }

  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .btn-forge {
    padding: 10px 20px;
  }
}

/* Каталог */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.card {
  position: relative;
  border-radius: 30px;
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5),
    -20px -20px 60px rgba(255, 77, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  isolation: isolate;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 77, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.9);
  border-top: 1px solid rgba(255, 77, 0, 0.1);
  position: relative;
  z-index: 2;
}

.card-content h3 {
  position: relative;
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
}

.card-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
  transition: width 0.3s ease;
}

.card:hover .card-content h3::after {
  width: 100px;
}

.card-content p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Заменяем старый эффект свечения на более аккуратный */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    225deg,
    transparent 40%,
    rgba(255, 77, 0, 0.1) 45%,
    rgba(255, 77, 0, 0.15) 50%,
    rgba(255, 77, 0, 0.1) 55%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: 30px;
}

.card:hover::before {
  opacity: 1;
}

/* Добавляем эффект глубины для кнопки внутри карточки */
.card .btn-forge {
  transform: translateZ(20px);
  margin: 0 auto;
}

/* Анимация появления карточек */
.card.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.card.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Добавим стили для форм */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 12px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.2);
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

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

/* Добавьте после существующих стилей hero секции */

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
}

/* Добавьте медиа-запрос для видео */
@media (max-width: 768px) {
  .video-background video {
    display: none; /* На мобильных устройствах показываем статичный фон */
  }

  .hero {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
      url("../img/hero-bg-mobile.jpg") center/cover no-repeat;
  }
}

/* About Section */
.about-content {
  position: relative;
  margin-top: 2rem;
  overflow: hidden; /* Для правильного обтекания */
}

.about-text {
  color: var(--text-gray);
  line-height: 1.6;
}

.about-content {
  display: flex;
}

.about-decoration {
  width: 100%;
}

/* Основные стили для анимации ковки */
.forge-animation {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: contrast(1.1) saturate(1.2);
}

.forge-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Стили для элементов SVG */
.anvil {
  fill: #2a2a2a;
  stroke: #222;
  stroke-width: 2;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.anvil-base {
  fill: #222;
  stroke: #1a1a1a;
  stroke-width: 2;
}

.metal-rod {
  stroke: #e0e0e0;
  stroke-width: 6;
  stroke-linecap: round;
}

.forge-elements {
  transform-origin: 200px 200px;
}

.forge-pattern {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  filter: drop-shadow(0 0 3px var(--accent-orange));
}

.forge-detail {
  fill: none;
  stroke: #c0c0c0;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
}

.forge-dot {
  fill: var(--accent-orange);
  filter: drop-shadow(0 0 2px var(--accent-orange));
}

.hammer-handle {
  stroke: #a67c52;
  stroke-width: 8;
  stroke-linecap: round;
  transform-origin: 320px 150px;
}

.hammer-head {
  fill: #444;
  stroke: #333;
  stroke-width: 2;
  transform-origin: 320px 150px;
}

.heat-point {
  fill: #ff9d00;
  opacity: 0.8;
  filter: blur(3px) drop-shadow(0 0 10px var(--accent-orange));
}

.primary-heat {
  transform-origin: center;
}

.secondary-heat {
  transform-origin: center;
}

/* Контейнер для искр */
.forge-sparks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Стили для индивидуальных искр */
.forge-sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}

/* Анимации */
@keyframes hammerSwing {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-30deg);
  }
  30% {
    transform: rotate(-25deg);
  }
  35% {
    transform: rotate(-30deg);
  }
  45%,
  55% {
    transform: rotate(10deg);
  }
}

@keyframes drawSpiral {
  0% {
    stroke-dashoffset: 300;
  }
  50%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes heatPulse {
  0%,
  100% {
    transform: scale(1);
    fill: #ff9d00;
    filter: blur(3px) drop-shadow(0 0 10px var(--accent-orange));
  }
  50% {
    transform: scale(1.5);
    fill: #ffcc00;
    filter: blur(5px) drop-shadow(0 0 15px #ffcc00);
  }
}

@keyframes patternGlow {
  0%,
  100% {
    opacity: 0.8;
    filter: drop-shadow(0 0 3px var(--accent-orange));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--accent-orange));
  }
}

@keyframes sparkFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}
/* Стили для параграфов */
.about-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-text .lead-text {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Очистка обтекания после секции */
.about-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Адаптивность */
@media (max-width: 992px) {
  .about-decoration {
    float: none;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .about-text {
    text-align: left;
  }
}

/* Advantages Section */
.advantages-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 2;
}

.advantage-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 120px;
  font-weight: 800;
  color: rgba(255, 77, 0, 0.15);
  z-index: 0;
  transition: all 0.3s ease;
  line-height: 1;
}

.advantage-card:hover .advantage-number {
  color: rgba(255, 77, 0, 0.25);
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.advantage-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.advantage-icon i {
  font-size: 24px;
  color: var(--accent-orange);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 77, 0, 0.08);
  box-shadow: 0 0 30px rgba(255, 77, 0, 0.2);
  border-color: var(--accent-orange);
}

.advantage-card:hover .advantage-icon {
  background: var(--accent-orange);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-orange);
}

.advantage-card:hover .advantage-icon i {
  color: var(--text-light);
}

/* Линия соединения карточек */
.advantages-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-orange),
    transparent
  );
  z-index: 1;
  opacity: 0.3;
}

/* Стили для контейнера искр внутри номеров */
.number-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Стили для искр внутри номеров */
.number-sparkles .sparkle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Анимация вращения иконок */
@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-text {
    font-size: 1.3rem;
  }
}

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

  .advantage-card {
    padding: 20px;
  }
}

/* Process Section */
.process-steps {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
}

/* Линия соединения этапов */
.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-orange),
    transparent
  );
  transform: translateX(-50%);
}

.step {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

/* Обновляем стили для номеров этапов */
.step-number {
  font-size: 4rem;
  font-weight: 800;
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 1;
  color: rgba(255, 77, 0, 0.2);
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
  transition: all 0.3s ease;
  line-height: 1;
}

/* Добавляем псевдоэлемент для свечения */
.step-number::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 77, 0, 0.1);
  filter: blur(10px);
  animation: numberGlow 2s ease-in-out infinite;
  z-index: -1;
}

/* Анимация свечения */
@keyframes numberGlow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Эффект при наведении на карточку */
.step:hover .step-number {
  color: rgba(255, 77, 0, 0.4);
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.4), 0 0 40px rgba(255, 77, 0, 0.2);
  transform: scale(1.05);
}

.step:hover .step-number::before {
  animation: numberGlow 1s ease-in-out infinite;
  filter: blur(15px);
}

.step-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  margin-left: 60px;
  position: relative;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(255, 77, 0, 0.1);
  transition: all 0.3s ease;
}

/* Эффект при наведении */
.step-content:hover {
  transform: translateY(-5px);
  background: rgba(255, 77, 0, 0.05);
  box-shadow: var(--neon-shadow);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-icon i {
  font-size: 24px;
  color: var(--text-light);
}

.step-content:hover .step-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: var(--neon-shadow);
}

.step h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Чередование сторон для десктопа */
@media (min-width: 768px) {
  .step:nth-child(even) .step-content {
    margin-left: 0;
    margin-right: 60px;
  }

  .step:nth-child(even) .step-number {
    left: auto;
    right: 0;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .process-steps::before {
    left: 30px;
  }

  .step {
    flex-direction: column;
  }

  .step-content {
    margin-left: 30px;
    width: calc(100% - 30px);
  }

  .step-number {
    font-size: 3rem;
    left: 15px;
  }
}

/* Анимация для иконок */
@keyframes rotate-glow {
  0% {
    transform: rotate(0deg);
    box-shadow: 0 0 10px var(--accent-orange);
  }
  100% {
    transform: rotate(360deg);
    box-shadow: 0 0 20px var(--accent-orange);
  }
}

.step-icon:hover {
  animation: rotate-glow 1s infinite linear;
}

/* Обновленные стили галереи */
.gallery-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* Изменено с 5 на 8 колонок */
  gap: 1em;
  width: 100%;
  height: 300px; /* Уменьшена высота для лучшего отображения в ряд */
  transition: all 400ms ease;
  perspective: 1000px;
}

.gallery-box {
  position: relative;
  background-position: center;
  background-size: cover;
  transition: all 400ms ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--depth-shadow);
}

/* Обновленные стили для изображений */
.box-1 {
  background-image: url("/images/gallerys/1.jpg");
}
.box-2 {
  background-image: url("/images/gallerys/2.jpg");
}
.box-3 {
  background-image: url("/images/gallerys/3.jpg");
}
.box-4 {
  background-image: url("/images/gallerys/4.jpg");
}
.box-5 {
  background-image: url("/images/gallerys/5.jpg");
}
.box-6 {
  background-image: url("/images/gallerys/6.jpg");
}
.box-7 {
  background-image: url("/images/gallerys/7.jpg");
}
.box-8 {
  background-image: url("/images/gallerys/8.jpg");
}

.gallery-container:hover .gallery-box {
  filter: grayscale(100%) opacity(24%);
  transform: scale(0.95);
}

.gallery-container .gallery-box:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
  box-shadow: var(--neon-shadow);
}

/* Обновляем эффект расширения при наведении */
.gallery-container:has(.box-1:hover) {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.gallery-container:has(.box-2:hover) {
  grid-template-columns: 1fr 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.gallery-container:has(.box-3:hover) {
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
}

.gallery-container:has(.box-4:hover) {
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
}

.gallery-container:has(.box-5:hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr 1fr 1fr 1fr;
}

.gallery-container:has(.box-6:hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr 1fr 1fr;
}

.gallery-container:has(.box-7:hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 2fr 1fr;
}

.gallery-container:has(.box-8:hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 2fr;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    height: auto;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 200px);
  }
}

/* Остальные стили остаются без изменений */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: all 400ms ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-description {
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.4;
  transform: translateY(20px);
  opacity: 0;
  transition: all 400ms ease;
}

.gallery-box:hover .gallery-overlay {
  opacity: 1;
}

.gallery-box:hover .gallery-description {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 200ms;
}

/* Добавьте стили для искр в секции about */
.about.section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.9),
    rgba(10, 10, 10, 0.95)
  );
}

.section-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.stars-container {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  animation: rotateStars 180s linear infinite;
}

.stars-container::before,
.stars-container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 119, 0, 0.15) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
}

.stars-container::before {
  animation: sparkleFade 4s ease-in-out infinite;
  background-size: 40px 40px;
}

.stars-container::after {
  animation: sparkleFade 4s ease-in-out infinite reverse;
  background-size: 30px 30px;
  animation-delay: -2s;
}

/* Добавьте z-index для контента, чтобы он был поверх искр */
.about-content,
.advantages-grid {
  position: relative;
  z-index: 2;
}

@keyframes rotateStars {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sparkleFade {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Добавьте эффект свечения для карточек преимуществ при наведении */
.advantage-card {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 77, 0, 0.05);
  box-shadow: var(--neon-shadow);
}

.advantage-card:hover .advantage-icon {
  animation: iconGlow 2s infinite;
}

@keyframes iconGlow {
  0%,
  100% {
    text-shadow: 0 0 10px var(--accent-orange), 0 0 20px var(--accent-orange);
  }
  50% {
    text-shadow: 0 0 20px var(--accent-orange), 0 0 30px var(--accent-glow);
  }
}

/* Обновленные стили для искр */
.about.section {
  position: relative;
  overflow: hidden;
}

.sparkles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-orange), 0 0 25px var(--accent-glow);
  opacity: 0;
  z-index: 1;
  transform-origin: center;
}

/* Анимация для искр */
@keyframes sparkleMove {
  0% {
    transform: translate(0, 100vh) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: translate(calc(var(--x-move) * 20px), calc(100vh - 100px))
      scale(var(--scale));
  }
  30% {
    opacity: 1;
    transform: translate(calc(var(--x-move) * -30px), calc(100vh - 200px))
      scale(var(--scale)) rotate(calc(var(--rotation) * 180deg));
  }
  50% {
    opacity: 0.8;
    transform: translate(calc(var(--x-move) * 40px), calc(100vh - 300px))
      scale(var(--scale)) rotate(calc(var(--rotation) * 360deg));
  }
  70% {
    opacity: 0.6;
    transform: translate(calc(var(--x-move) * -20px), calc(100vh - 400px))
      scale(var(--scale)) rotate(calc(var(--rotation) * 540deg));
  }
  90% {
    opacity: 0.3;
    transform: translate(calc(var(--x-move) * 10px), calc(100vh - 500px))
      scale(var(--scale)) rotate(calc(var(--rotation) * 720deg));
  }
  100% {
    transform: translate(0, 0) scale(0) rotate(calc(var(--rotation) * 900deg));
    opacity: 0;
  }
}

/* Анимация мерцания */
@keyframes sparkleBlink {
  0%,
  100% {
    opacity: var(--base-opacity);
  }
  50% {
    opacity: var(--max-opacity);
  }
}

/* Располагаем искры в разных местах */
.sparkle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}
.sparkle:nth-child(2) {
  left: 20%;
  top: 40%;
  animation-delay: 0.3s;
}
.sparkle:nth-child(3) {
  left: 30%;
  top: 60%;
  animation-delay: 0.6s;
}
.sparkle:nth-child(4) {
  left: 40%;
  top: 80%;
  animation-delay: 0.9s;
}
.sparkle:nth-child(5) {
  left: 50%;
  top: 30%;
  animation-delay: 1.2s;
}
.sparkle:nth-child(6) {
  left: 60%;
  top: 50%;
  animation-delay: 1.5s;
}
.sparkle:nth-child(7) {
  left: 70%;
  top: 70%;
  animation-delay: 1.8s;
}
.sparkle:nth-child(8) {
  left: 80%;
  top: 40%;
  animation-delay: 2.1s;
}
.sparkle:nth-child(9) {
  left: 90%;
  top: 60%;
  animation-delay: 2.4s;
}
.sparkle:nth-child(10) {
  left: 95%;
  top: 80%;
  animation-delay: 2.7s;
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Убедимся, что контент поверх искр */
.about-content,
.advantages-grid {
  position: relative;
  z-index: 2;
}

/* Добавим эффект свечения для карточек */
.advantage-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 77, 0, 0.1);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 77, 0, 0.05);
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.2);
  border-color: var(--accent-orange);
}

/* Стили для секции с картой */
.contacts-info {
  position: relative;
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.light-beam {
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 77, 0, 0.1) 50%,
    transparent 55%
  );
  animation: beam 8s infinite;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 77, 0, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(255, 77, 0, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  animation: particlesMove 20s infinite linear;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding: 2rem;
  background: rgba(26, 26, 26, 0.9);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.contact-info i {
  color: var(--accent-orange);
  margin-right: 10px;
}

.map {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map iframe {
  filter: grayscale(100%) invert(92%) hue-rotate(180deg);
}

/* Добавьте эффект при наведении */
.map:hover iframe {
  filter: none;
  transition: filter 0.3s ease;
}

/* Обновленные стили для секции с формой */
.contact-form-section {
  background: var(--primary-dark);
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Стили для левой части с текстом */
.form-content {
  position: relative;
  padding-right: 2rem;
}

.form-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--text-light), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.form-content .lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.benefits-list li {
  margin: 1.2rem 0;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--text-light);
}

.benefits-list i {
  color: var(--accent-orange);
  margin-right: 1rem;
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 50%;
  padding: 1rem;
}

.arrow-animation {
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--accent-orange);
  animation: arrowPulse 2s infinite;
  filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.3));
}

/* Стили для формы */
.contact-form {
  background: rgba(26, 26, 26, 0.9);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 77, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group:last-of-type {
  margin-bottom: 2.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(255, 77, 0, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 77, 0, 0.2);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Стилизация кнопки внутри формы */
.contact-form .btn-forge {
  width: 100%;
  margin-top: 1rem;
  height: 3.5rem;
}

/* Анимация стрелки */
@keyframes arrowPulse {
  0%,
  100% {
    transform: translateX(0) translateY(-50%);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px) translateY(-50%);
    opacity: 1;
  }
}

/* Медиа-запрос для адаптивности */
@media (max-width: 992px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .arrow-animation {
    display: none;
  }

  .form-content {
    text-align: center;
    padding-right: 0;
  }

  .benefits-list li {
    justify-content: center;
  }
}

/* Анимации */
@keyframes beam {
  0%,
  100% {
    transform: translateX(-50%) rotate(45deg);
  }
  50% {
    transform: translateX(0) rotate(45deg);
  }
}

@keyframes particlesMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Стили для футера */
.footer {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 77, 0, 0.2),
    transparent
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--text-light), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-description {
  color: var(--text-gray);
  line-height: 1.6;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
}

.footer-nav ul,
.footer-contacts ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li,
.footer-contacts ul li {
  margin-bottom: 0.8rem;
}

.footer-nav a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-orange);
}

.footer-nav a:hover::before {
  width: 100%;
}

.footer-contacts ul li {
  color: var(--text-gray);
  display: flex;
  align-items: center;
}

.footer-contacts ul li i {
  color: var(--accent-orange);
  margin-right: 10px;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 77, 0, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--accent-orange);
  box-shadow: 0 5px 15px rgba(255, 77, 0, 0.2);
}

.social-link:hover::before {
  opacity: 1;
  animation: pulseGlow 2s infinite;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 77, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-gray);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Обновленные стили для шапки */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-social {
  display: flex;
  gap: 1rem;
}

.header .social-link {
  width: 35px;
  height: 35px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.header .social-link:hover {
  transform: translateY(-2px);
  color: var(--accent-orange);
  box-shadow: 0 5px 15px rgba(255, 77, 0, 0.2);
  background: rgba(255, 77, 0, 0.15);
}

.contact-phone {
  position: relative;
  padding-left: 2rem;
}

.contact-phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 77, 0, 0.3),
    transparent
  );
}

.phone-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--accent-orange);
}

/* Медиа-запрос для адаптивности */
@media (max-width: 992px) {
  .header-social {
    display: none; /* Скрываем соцсети на мобильных */
  }

  .contact-phone::before {
    display: none;
  }
}

/* Стили для искр узора */
.forge-sparkle {
  position: absolute;
  background: var(--accent-orange);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(1px);
}

@keyframes forgeSparkle {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0) translate(var(--moveX, 30px), var(--moveY, -30px));
    opacity: 0;
  }
}

/* Обновленные стили для хедера */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header-top {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
  font-size: 0.9rem;
  height: 60px; /* Фиксированная высота для верхней части */
  transition: transform 0.3s ease;
}

.header-main {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.2rem 0;
  transition: transform 0.3s ease;
}

/* Класс для скрытия верхней части при скролле */
.header.scrolled .header-top {
  transform: translateY(-100%);
}

.header.scrolled .header-bottom {
  transform: translateY(-60px); /* Смещаем вверх на высоту header-top */
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Стили страницы категории */
.category-page {
  padding: 120px 0 60px;
  background: var(--primary-dark);
}

.category-image-wrapper {
  position: sticky;
  top: 100px;
}

.category-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-gallery {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

.category-content {
  padding-left: 40px;
}

.category-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.category-short-desc {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.category-full-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.benefits-list i {
  color: var(--accent-orange);
}

.category-order {
  margin-top: 40px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .category-content {
    padding-left: 0;
    margin-top: 30px;
  }

  .category-image-wrapper {
    position: static;
  }
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Для поддержки Safari */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  position: relative;
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(255, 77, 0, 0.2);
  border: 1px solid rgba(255, 77, 0, 0.1);
  transform: translateY(-50px);
  transition: transform 0.4s ease;
  overflow: hidden;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-button {
  position: absolute;
  right: 20px;
  top: 15px;
  color: var(--text-gray);
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-button:hover {
  color: var(--accent-orange);
  transform: rotate(90deg);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}
