@font-face {
  font-family: 'Code Pro';
  src: url('/local/templates/strelka/fonts/code_pro.otf') format('opentype');
}
@font-face {
  font-family: 'a_AvanteBs';
  src: url('/local/templates/strelka/fonts/aavantebs.ttf') format('truetype');
}
:root {
  --primary-red: #ff2a00;
  --dark-bg: #000;
  --text-white: #fff;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  transition: 1s;
}

[data-animate].animated {
  opacity: 1;
  animation: fadeInUp 0.8s ease-out;
}

/* Исправление горизонтального скролла */
html, body {
/*  overflow-x: hidden;*/
  max-width: 100%;
}

    body {
      font-family: 'a_AvanteBs', sans-serif;
      background-color: #000;
      color: #fff;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    header {
      background-color: #000;
      padding: 1rem 0;
    }
h1  {text-transform: uppercase;}  
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {margin-bottom: 1rem;}
h2 {
      font-family: 'Code Pro', sans-serif;
      font-size: 3rem;

    }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

a:visited {
  color: inherit;
}

a:hover {
  color: #ff2a00 !important;
}

/* Анимация подчеркивания для ссылок */
a:not(.nav-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff2a00;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}
a.card:hover::after, .footer-right-block a:hover::after {
  content: none;
  width: 0;
}

footer {background-color: #000;
    z-index: 100;
    position: relative;}

.contact-form a:not(.nav-link)::after {content: none;}
.contact-form .d-flex.flex-column {padding-left: 10px}

/* Особые стили для навигационных ссылок */
.nav-link {
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* Ховер для иконок */
.bi-telegram,
.bi-telephone,
.bi-envelope {
  transition: all 0.3s ease;
}

.bi-telegram:hover,
.bi-telephone:hover,
.bi-envelope:hover {
  color: #ff2a00 !important;
  transform: scale(1.15);
}

/* Ховер для кнопок слайдера */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,42,0,0.1) !important;
}

/* Ховер для элементов сервисов */
.service-item:hover .service-label {
  background: rgba(255,42,0,0.9) !important;
  color: white !important;
}




    .navbar-brand img {
/*      height: 40px;*/
      height: 50px;
    }
    .nav-link {text-transform: uppercase;font-size: 15px;}
.burger-btn {
  background: transparent;
  border: none;
  padding: 12px;
  z-index: 1000;
  position: relative;
}

.burger-line {
  display: block;
  width: 30px;
  height: 2px;
  background: white;
  margin: 6px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация бургера в крестик */
.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню */

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  padding: 40px 20px 20px;
  transition: all 0.5s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   overflow-y: auto; /* Разрешаем скролл только внутри меню */
  -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  padding: 15px 0;
  position: relative;
  transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
  transform: translateX(10px);
  opacity: 0.8;
}

.btn-consultation {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: #ff2a00;
  color: white !important;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none !important;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
  margin-left: 40px;
}

/* Анимированный блик */
.btn-consultation::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: none;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Эффекты при взаимодействии */
.btn-consultation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.btn-consultation:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(255, 68, 68, 0.3);
}




.hero {
  position: relative;
  overflow: hidden;
  background-color: #000;
/*  height: 100vh;*/
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-girl {max-height: 100vh; object-fit: contain;}
.hero-text1{font-family: 'a_AvanteBs';
font-weight: 400;
font-size: 36px;
line-height: normal;
    letter-spacing: 1px;
text-align: center;
}
.hero-text2{font-family: 'a_AvanteBs';
font-weight: 400;
font-size: 14px;
line-height: normal;
    letter-spacing: 1px;
margin-left: 30%;
    text-align: right;
    width: 50%;
}





.chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.chat-modal.active {
  opacity: 1;
  visibility: visible;
}

.chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}

.chat-box-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  transition: transform 0.3s;
}


.mainform {display: none;}
.chat-box {
  background: #fff;
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  max-width: 360px;
  font-family: 'a_AvanteBs', sans-serif;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  padding: 8px;
}
.chat-header {
  background: #ff2a00;
  padding: 1rem;
  color: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.chat-header .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 0.75rem;
  object-fit: cover;
  border: 3px solid #fff;
}
.chat-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.chat-body {
  padding: 1rem;
}
.chat-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 16px;
/*  color: #e1e1e1;*/
    font-weight: 300;
}
.chat-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.chat-btn {
  flex: 1;
  padding: 0.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #ff2a00;
  color: #fff;
  font-size: 14px;
}
.chat-btn-outline {
  background-color: #fff;
  color: #ff2a00;
  border: 2px solid #e1e1e1;
}
.chat-footer {
font-size: 14px;
    color: #e1e1e1;
    text-align: right;
}
.text-vasilisi {font-family: 'Code Pro', sans-serif; text-transform: uppercase; font-size: 15px;}





    .services {
      background-color: #000;
      padding: 120px 0 60px;
    }
    .services h2 {
      font-family: 'Code Pro', sans-serif;
      font-size: 2.5rem;
    }
.services {
  background-color: #000;
  padding: 120px 0 60px;
  overflow-x: hidden; /* Основное исправление */
}

.services-slider-holder {
  overflow: hidden; /* Дополнительная страховка */
}

.services-slider {
  overflow: hidden !important; /* Важно для Swiper */
}

#services .swiper-wrapper {
  width: auto !important; /* Исправление для Swiper */
}


#services .swiper-slide {
  width: 100% !important;
/*  margin-right: 0 !important;*/
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
}

.service-item {
  border-radius: 20px;
  overflow: hidden;
  height: 190px;
  display: flex;
  transform: scale(0.95);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-item:hover {
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(255,42,0,0.2);
}

.service-item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.service-label {
  position: absolute;
  top: 10px;
  right: 12px;  
  color: #fff;
  font-family: 'Code Pro', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: right;
}

.service-label-black {color: #000;}

.hashtag-label {
  background-color: #ff2a00;
  color: white;
  font-family: 'Code Pro', sans-serif;
  font-size: 25px;
  padding: 10px 20px 10px 40px;
  border-bottom-left-radius: 50px;
  text-transform: uppercase;
  float: right;
  line-height: normal;
  letter-spacing: 5px;
}

.swiper-button-next,
.swiper-button-prev {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0%);
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
}

.swiper-button-prev::after {
  transform: rotate(-135deg);
  left: 14px;
}

.swiper-button-next::after {
  transform: rotate(45deg);
  right: 14px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ff2a00;
}

.swiper-pagination, .swiper-pagination-cases, .swiper-pagination-team{
  position: relative;
  width: auto;
  bottom: auto;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: none;
  opacity: 1;
  margin: 0 6px !important;
  border-radius: 0;
  border: 1px solid #fff;
}

.swiper-pagination-bullet-active {
  background: #ff2a00;
  transform: scale(1.3);
  border: 1px solid #ff2a00;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  width: auto;
}

@media (max-width: 768px) {
  .service-item {
    height: 150px;
  }
  
  .slider-controls {
    flex-wrap: wrap;
    gap: 15px;
  }
}


.present {font-family: 'Code Pro', sans-serif;
  color: white;
font-weight: 400;
font-size: 15px;
leading-trim: Cap height;
line-height: normal;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
text-decoration: none;
}

.cases {
  padding: 60px 0;
  overflow-x: hidden;
}

.cases h2 {
  font-family: 'Code Pro', sans-serif;
  font-size: 2.5rem;
}

.cases-slider {
  overflow: hidden;
/*  padding: 20px 0;*/
}

#cases .swiper-slide {
  height: auto;
/*  width: calc(25% - 20px) !important;*/
  margin-right: 20px !important;
  width: 100%!important;
}

.case-card {
  background-color: #1a1a1a;
  border: none;
  color: #fff;
  padding: 0;
  height: 300px; /* Фиксированная высота */
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  #cases .swiper-slide {
    width: calc(33.33% - 20px) !important; /* 3 колонки */
  }
}

@media (max-width: 992px) {
  #cases .swiper-slide {
    width: calc(50% - 20px) !important; /* 2 колонки */
  }
}

@media (max-width: 576px) {
  #cases .swiper-slide {
    width: 100% !important; /* 1 колонка */
    margin-right: 0 !important;
  }
  
  .case-card {
/*    height: 250px;*/
    height: 180px;
  }
}


.ivent-title {font-family: 'Code Pro', sans-serif;
    font-size: 29px;}
.about-cifr-block {    display: flex;
    justify-content: center;}
   .about-cifr {font-family: 'a_AvanteBs';
font-weight: 400;
font-size: 200px;
line-height: normal;
vertical-align: middle;
text-transform: uppercase;
color: #FE2F00;
padding-right: 40px;
}
.about-cifr-block p{font-family: 'Code Pro', sans-serif;
font-weight: 400;
font-size: 29px;
line-height: normal;
text-transform: uppercase;
    text-align: left;
}
.pantone {font-family: 'Code Pro', sans-serif;
font-weight: 400;
font-size: 34px;
line-height: normal;
letter-spacing: 2px;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
color: #FE2F00}

#team img {width: 100%;}
.team-name {font-family: 'a_AvanteBs';
font-weight: 400;
font-size: 25px;
line-height: normal;
}
.team-prof {font-family: 'a_AvanteBs';
font-weight: 400;
font-size: 20px;
line-height: normal;
letter-spacing: 2px;
}

.team-slider {
  overflow: hidden;
  padding: 20px 0;
}

.team-member {
/*  padding: 15px;*/
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

/*.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}*/

#partners h4 {font-family: 'Code Pro', sans-serif;
font-weight: 400;
font-size: 24px;
line-height: normal;
text-transform: uppercase;
}
#partners p {font-family: 'a_AvanteBs', sans-serif;}

.client-logo {
  height: auto;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(100%);
  transform: scale(1.05);
}

#contacts h5 {color: #4C4C4C; font-family: 'Code Pro', sans-serif; font-size: 44px;}
#contacts h3 {font-family: 'Code Pro', sans-serif; letter-spacing: 2px; font-size: 66px;}
.footer-logo-red{
    background-color: #FE2F00;
    padding: 40px;
}
.footer-logo-red img{max-height: 140px;}
.footer-right-block {display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;}

.footer-left-block{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}    
.footer-logo-niz {max-width: 180px;}


@media (max-width: 768px){
  #contacts h3 {
    font-size: 30px;
}
.footer-right-block {
    align-items: center;
}
.about-cifr-block p {
    font-size: 24px;}
.about-cifr {
    font-size: 150px;}    
.hero-text2 {
    margin-left: 0;
    text-align: right;
    width: 100%;
}    
.hero-text1 {
    font-size: 24px;}
.hashtag-label {
    font-size: 22px;    }

.hero video{
    width: 800px;
    height: auto;
}    
}

.swiper-wrapper {
    height: auto!important;
}

.chat-footer:visited {
        color: #e1e1e1;
}

.chat-btn:hover {
    transform: translateY(-2px);
}
