/* Russo One - кириллица */
@font-face {
  font-family: 'Russo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/russo/russo-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Montserrat - латиница + кириллица */
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0000-00FF;
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/montserrat/Montserrat-Medium.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0000-00FF;
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0000-00FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

h1, h2 {
  font-family: 'Russo', sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.font-rus { font-family: 'Russo', sans-serif; }
.font-ms { font-family: 'Montserrat', sans-serif; }

  :root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --accent: #0099ff;
    --text-dark: #333;
    --text-light: #fff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.3);
  }

  .m-color {
    color: var(--accent) !important;
  }

  /* Навбар */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-contacts {
    color: #fff;
  }

  .navbar.scrolled {
    background: var(--primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-brand {
    display: flex;
    flex-direction: column;
  }

  .slogan {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.8;
  }

  /* Контент шапки */
  .header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../../img/web/header.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
  }

  .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);  /* Менять интенсивность фона */
  }

  .header-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 20px;
  }

  .header-title {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 500px;
  }

  .header-buttons .btn {
    padding: 10px 24px;
    font-weight: 500;
    font-size: 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .header-buttons .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
  }

  .header-buttons .btn-primary:hover {
    background: #004ad3;
    color: #FFF;
    transform: translateY(-3px);
  }

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

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

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

  /* ========== ОСНОВНЫЕ СТИЛИ ИКОНОК ========== */
  .icons {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    background: transparent !important;
  }

  /* Общий размер иконок для десктопа */
  .icons i {
    font-size: 2.5rem;
    line-height: 1;
  }

  /* ========== СТИЛИ ОТДЕЛЬНЫХ ИКОНОК ========== */
  /* WhatsApp */
  .whatsapp-link {
    border-color: #25D366;
  }

  .fa-whatsapp {
    color: #25D366;
  }

  /* Telegram */
  .telegram-link {
    border-color: #016ba0;
  }

  .fa-telegram {
    color: #14b1ff;
  }

  /* Телефон (только для мобильных) */
  .phone-link {
    border-color: #6cceff;
  }

  .fa-phone {
    color: #d1f0ff;
  }

.phone-top a{color: #d1f0ff;}
.phone-top a:hover{color: #FFF; text-decoration: none;}

  /* Выравнивание иконки телефона */
  .phone-link i {
    font-size: 2.2rem !important;
    vertical-align: middle;
    margin-top: 5px;
  }

  /* ========== ЭФФЕКТЫ ПРИ НАВЕДЕНИИ ========== */
  .whatsapp-link:hover,
  .telegram-link:hover,
  .phone-link:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  /* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ========== */
  @media (max-width: 991.98px) {
    .icons a {
      width: 50px;
      height: 50px;
    }

    .icons i {
      font-size: 1.8rem;
    }

    .phone-link i {
      font-size: 1.6rem !important;
      vertical-align: middle;
      margin-top: 3px;
    }

  }

  /* ========== КНОПКА ЗВОНКА ========== */
  .call-btn {
    font-size: 1.1rem;
    background: var(--accent);
    color: white;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  @media (min-width: 992px) {
    .call-btn {
      font-size: 1.2rem;
      padding: 10px 25px;
    }
  }

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

  /* ========== ЭФФЕКТЫ ПРИ НАВЕДЕНИИ ========== */
  .whatsapp-link:hover,
  .telegram-link:hover,
  .phone-link:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  /* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ========== */
  @media (max-width: 991.98px) {
    .icons a {
      width: 36px;
      height: 36px;
    }

    .fa-whatsapp,
    .fa-telegram,
    .fa-phone {
      font-size: 1.2rem;
      /* 19px */
    }

    .icons {
      gap: 10px;
    }
  }

  /* Мобильное меню */
  @media (max-width: 991.98px) {
    .navbar-collapse {
      background: rgba(255, 255, 255, 0.98);
      padding: 20px;
      margin-top: 15px;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .call-btn {
      width: 100%;
      margin: 10px 0;
    }
  }

  /* Отступ навигации по секциям */
  .section-anchor {
    scroll-margin-top: 80px;
    display: block;
  }



  /* Слайдер карусель */

  .carousel {
    /* max-width: 800px; */
    margin: 0 auto;
  }

  .thumbnails {
    /* max-width: 500px; */
    margin: 0 auto;
  }

  .img-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
  }

  .img-thumbnail:hover,
  .img-thumbnail.active {
    opacity: 1;
    border-color: #0d6efd;
    transform: scale(1.02);
  }

  /* Адаптивность */
  @media (max-width: 768px) {
    .carousel {
      margin-bottom: 15px;
    }

    .img-thumbnail {
      padding: 0.25rem;
    }
  }


  /* ради стрелок с Font Awesome  */
  .gallery-container {
    /* max-width: 800px; */
    margin: 0 auto;
  }

  .carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
  }

  .carousel-arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
  }

  .carousel-arrow.prev {
    left: -25px;
  }

  .carousel-arrow.next {
    right: -25px;
  }

  /* Таймер */

  .timer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 100px;
  }

  .timer-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
  }

  .timer-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-top: 5px;
  }

  .timer-separator {
    font-size: 2.5rem;
    color: white;
    margin: 0 5px;
    line-height: 1;
  }

  .pulse {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптивность */
  @media (max-width: 768px) {
    .timer-box {
      min-width: 70px;
    }

    .timer-number {
      font-size: 2rem;
      font-weight: 600;
    }

    .timer-label {
      font-size: 0.8rem;
    }

    .timer-wrapper {
      gap: 4px;
    }
  }

  /* /Таймер */