/* PREMIUM MODERN STYLE - Высококачественный современный дизайн */

:root {
  /* Современная цветовая схема */
  --primary-color: #2c4a63;
  --primary-dark: #1e3549;
  --secondary-color: #333333;
  --accent-color: #f0f0f0;
  --light-color: #f7f7f7;
  --dark-color: #1a1a1a;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;

  /* Тени */
  --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --box-shadow-xl: 0 12px 28px rgba(0, 0, 0, 0.2);

  /* Переходы */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Радиусы скругления */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-pill: 50px;
  --border-radius-circle: 50%;
}

/* Общие стили */


body {
  font-family: 'Archivo', sans-serif;
  color: var(--dark-color);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

/* Современные заголовки с подчеркиванием */
.sec-title {
  position: relative;
  margin-bottom: 5.5rem;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.sec-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  border-radius: var(--border-radius-pill);
}

.text-center .sec-title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Современные кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn i {
  margin-left: 6px;
  font-size: 1.1em;
  transition: var(--transition-normal);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-sm);
}

/* Современный прелоадер */
.preloader {
  background-color: var(--secondary-color);
}

.preloader-inner .loader {
  border-color: var(--primary-color);
  border-top-color: transparent;
}

/* Современный хедер */
.header-layout1 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow-sm);
}

.sticky-wrapper.sticky .header-layout1 {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--box-shadow-md);
}

.main-menu a {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0.8rem;
}

.main-menu>ul>li>a:hover,
.main-menu>ul>li.active>a {
  color: var(--primary-color);
}

.main-menu>ul>li>a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.main-menu>ul>li>a:hover:after,
.main-menu>ul>li.active>a:after {
  width: 70%;
}

/* Анимация для активного пункта меню */
.main-menu>ul>li.active>a {
  font-weight: 700;
  transform: translateY(-1px);
}

/* Стили для мобильного меню */
.mobile-menu a {
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.mobile-menu>ul>li.active>a {
  color: var(--primary-color);
  font-weight: 700;
}

/* Современный герой-секция */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.fullscreen-banner {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
}

.banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
  text-align: center;
}

.banner-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.8s;
  text-align: center;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Современные карточки услуг */
.service-card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  padding: 1.8rem;
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #eaeaea;
  margin-bottom: 1.5rem;
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transition: var(--transition-slow);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
}

.service-card:hover:before {
  height: 100%;
}

.service-card:hover .service-card_title a,
.service-card:hover .service-card_text {
  color: white;
}

.service-card_icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 4px;
  margin-bottom: 1.2rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-card_icon {
  transform: scale(1.1);
}

.service-card_title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  transition: var(--transition-normal);
}

.service-card_text {
  transition: var(--transition-normal);
}

/* Современная секция "О нас" */
.about-thumb2 {
  position: relative;
}

.about-img-1 {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.about-img-1 img {
  transition: var(--transition-slow);
}

.about-thumb2:hover .about-img-1 img {
  transform: scale(1.05);
}

.about-counter-wrap {
  position: absolute;
  bottom: 30px;
  right: -30px;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow-lg);
  transition: var(--transition-normal);
}

.about-counter-wrap:hover {
  transform: translateY(-5px) !important;
}

/* Современные проекты */
.project-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  transition: var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  transition: var(--transition-slow);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  transition: var(--transition-normal);
}

.project-card:hover .project-content {
  background: linear-gradient(to top, var(--primary-color), rgba(0, 0, 0, 0));
}

/* Современные продукты */
.section-padding {
  padding: 120px 0;
}

.product-block {
  background-color: var(--light-color);
}

.product-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.product-row:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.product-row.reverse {
  flex-direction: row-reverse;
}

.product-image {
  flex: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-text {
  flex: 1;
  padding: 40px;
}

.product-text h2 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
  font-size: 1.6rem;
}

.product-text h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Современный футер */
.footer-wrapper {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
}

.footer-widget .widget-title {
  color: white;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.footer-widget .widget-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-widget a {
  transition: var(--transition-fast);
}

.footer-widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-btn a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-circle);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition-normal);
}

.social-btn a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

/* Анимации при прокрутке */
.fade-in-up {
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Адаптивность */
@media (max-width: 1199px) {
  .banner-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 991px) {
  .banner-title {
    font-size: 2.5rem;
  }

  .product-row {
    flex-direction: column;
  }

  .product-row.reverse {
    flex-direction: column;
  }

  .product-image,
  .product-text {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .banner-title {
    font-size: 2.2rem;
  }

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

  .sec-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 575px) {
  .banner-title {
    font-size: 1.8rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .sec-title {
    font-size: 1.6rem;
  }
}