/* Хедер */
	body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400; /* Обычный */
}

h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; /* Жирный */
}


    .header.white-bg {
      background-color: #ffffff;
      border-bottom: 1px solid #ccc;
      padding: 10px 0;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      height: 70px;
    }

    .logo-text {
      font-size: 10px;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .menu a {
      margin-left: 20px;
      text-decoration: none;
      color: #000;
      font-weight: 500;
      font-size: 18px;
    }

    .language-dropdown {
      position: relative;
      display: inline-block;
      margin-left: 20px;
    }

    .language-btn {
      display: flex;
      align-items: center;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      color: #000;
    }

    .language-btn img {
      margin-right: 5px;
      width: 16px;
      height: 12px;
    }

    .flag-icon {
      width: 16px;
      height: 12px;
      margin-right: 8px;
      vertical-align: middle;
    }

    .language-list {
      display: none;
      position: absolute;
      background-color: #fff;
      min-width: 140px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 5px 0;
      z-index: 1000;
      border: 1px solid #ccc;
      border-radius: 4px;
      top: 100%;
      left: 0;
    }

    .language-dropdown.open .language-list {
      display: block;
    }

    .language-list li {
      list-style: none;
    }

    .language-list a {
      display: flex;
      align-items: center;
      padding: 8px 15px;
      text-decoration: none;
      color: #000;
      font-size: 14px;
    }

    .language-list a:hover {
      background-color: #f0f0f0;
    }

    .burger {
        display: none;
    }

    /* хедер адаптика */

    @media (max-width: 1024px) {
    .menu a {
        font-size: 16px;
        margin-left: 15px;
    }
    }

    @media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo img {
        height: 50px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ccc;
        padding: 10px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        margin: 10px 20px;
        font-size: 16px;
    }

    .language-dropdown {
        margin: 10px 20px;
    }

    .language-list {
        position: static;
        box-shadow: none;
        border: none;
    }

    .burger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
        border: none;
        background: none;
        margin-left: auto;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    }

    @media (max-width: 480px) {
    .menu a {
        font-size: 14px;
    }

    .language-btn {
        font-size: 12px;
    }

    .language-list a {
        font-size: 12px;
    }
    }



    /* Первый блок */
    .hero-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0px 20px;
      margin-block: 20px;
      background-color: #fef9f9;
      background-size: cover;       /* Растягивает изображение по блоку */
      background-position: center;  /* Центрирует */
      background-repeat: no-repeat;
      height: 692px;
    }

    .hero-content h1 {
      font-size: 36px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .hero-content p {
      font-size: 18px;
      color: #555;
      margin-bottom: 20px;
    }

    .hero-buttons {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .btn-primary {
      background-color: #0071e3;
      color: white;
      border: none;
      padding: 10px 20px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
    }

    .btn-outline {
      background-color: transparent;
      color: #0071e3;
      border: 1px solid #0071e3;
      padding: 10px 20px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
    }

    .hero-image img {
      max-width: 600px;
      width: 100%;
      margin-top: 30px;
    }

    /* Первый блок адаптика*/
    /* ----------- АДАПТИВНОСТЬ ----------- */

    /* Планшеты и ниже */
    @media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-block {
        height: 500px;
    }

    .btn-primary,
    .btn-outline {
        padding: 8px 18px;
        font-size: 16px;
    }
    }

   /* Смартфоны */
@media (max-width: 768px) {
  .hero-block {
    height: auto;
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-buttons {
    flex-direction: row;        /* ← делаем в строку */
    flex-wrap: nowrap;          /* ← запрещаем перенос */
    justify-content: center;
    gap: 10px;
  }

  .btn-primary,
  .btn-outline {
    width: auto;                /* ← убираем 100% ширину */
    white-space: nowrap;        /* ← не переносим текст */
    font-size: 15px;
    padding: 10px 16px;
  }
}

    /* Маленькие устройства */
    @media (max-width: 480px) {
    .hero-content h1 {
        font-size: 20px;
    }

    .hero-block {
        height: 250px;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px;
    }
    }


    /* 2ой тип блока поделенный пополам */

    .split-block {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .split-item {
      flex: 1;
      padding: 40px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      border: 1px solid #e0e0e0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .split-item h2 {
      font-size: 36px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .split-item p {
      font-size: 16px;
      color: #666;
      margin-bottom: 20px;
    }

    .split-buttons {
      display: flex;
      gap: 10px;
      margin-bottom: 30px;
    }

    .split-item img {
      width: 200px;
      height: auto;
      border-radius: 100%;
    }

    /* Темная и светлая тема */
    .split-item.dark {
      background-color: #fff;
      color: #000;
      height: 500px;
    }

    .split-item.dark p {
      color: #ccc;
    }

    .split-item.light {
      background-color: #fff;
      color: #000;
    }

    /* Кнопки */
    .btn-primary {
      background-color: #0071e3;
      color: white;
      border: none;
      padding: 10px 20px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
    }

    .btn-outline {
      background-color: transparent;
      color: #0071e3;
      border: 1px solid #0071e3;
      padding: 10px 20px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
    }

    /* Планшеты */
    @media (max-width: 1024px) {
    .split-item {
        flex: 1 1 100%;
    }

    .split-item h2 {
        font-size: 28px;
    }

    .btn-primary,
    .btn-outline {
        font-size: 14px;
        padding: 8px 16px;
    }
    }

    @media (max-width: 768px) {
  .split-block {
    flex-direction: column;
    gap: 20px;
  }

  .split-item {
    padding: 30px 15px;
    min-height: 300px;
  }

  .split-item h2 {
    font-size: 24px;
  }

  .split-buttons {
    flex-direction: row;         /* ← в один ряд */
    flex-wrap: wrap;             /* ← перенос по строке, если не влезает */
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: auto;                 /* ← убираем 100% */
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;        /* ← не переносим текст */
  }
}

    /* слайдер ссылок */
    .custom-slider-section {
      padding: 0px 0 20px;
      
    }

    /* Затемняющий оверлей */
    .slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* Можно изменить интенсивность */
        border-radius: 12px;
        z-index: 1;
    }

    /* Контент поверх оверлея */
        .slide-content {
        position: absolute;
        color: #fff;
        z-index: 2; /* Поверх overlay */
        }

        /* Улучшение заголовков */
        .slide-content h3 {
        margin: 0 0 10px;
        font-size: 26px; /* Было 20px */
        font-weight: 700;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Читаемость */
        color: #fff;
        }

        /* Кнопка — тоже лучше на тёмном фоне */
        .slide-content .btn {
        padding: 10px 20px;
        background: #0071e3;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        }

    .custom-swiper {
      width: 100%;
      padding: 0px 0;
      height: 550px;
    }

    .swiper-slide-large {
      width: 70%; /* Можно уменьшить до 60% по желанию */
      max-width: 1000px;
      height: 400px;
      background-color: #f0f0f0;
      border-radius: 12px;
      position: relative;
      transition: opacity 0.3s ease;
      opacity: 0.5;
    }

    .swiper-slide {
      background-color: #f0f0f0;
      border-radius: 12px;
      height: 300px;
      position: relative;
      transition: opacity 0.3s ease;
      opacity: 0.5;
    }

    .swiper-slide-active {
      opacity: 1;
    }

    .swiper-slide-prev,
    .swiper-slide-next {
      opacity: 0.7;
    }

    .slide-content {
      position: absolute;
      color: #000;
    }

    .slide-content h3 {
      margin: 0 0 10px;
      font-size: 32px;
    }

    .slide-content .btn {
      padding: 8px 16px;
      background: #0071e3;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Рандомные позиции заголовков и кнопок */
    .random-pos-1 { top: 20px; left: 20px; }
    .random-pos-2 { bottom: 30px; right: 30px; }
    .random-pos-3 { top: 50%; left: 10%; transform: translateY(-50%); }
    .random-pos-4 { bottom: 40px; left: 40px; }
    .random-pos-5 { top: 40px; right: 20px; }
    .random-pos-6 { bottom: 50px; right: 60px; }
    .random-pos-7 { top: 30px; left: 60%; }

    /* Пагинация */
    .swiper-pagination {
      margin-top: 20px;
      position: static;
      text-align: center;
    }

    /* Адаптивность для слайдера */

/* Планшеты (<= 1024px) */
@media (max-width: 1024px) {
  .custom-swiper {
    height: 420px;
  }

  .swiper-slide-large {
    width: 85%;
    height: 320px;
  }

  .slide-content h3 {
    font-size: 22px;
  }

  .slide-content .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Смартфоны (<= 768px) */
@media (max-width: 768px) {
  .custom-swiper {
    height: 360px;
  }

  .swiper-slide-large {
    width: 90%;
    height: 280px;
  }

  .slide-content h3 {
    font-size: 18px;
    text-align: center;
  }

  .slide-content .btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
    margin-top: 10px;
  }

  .slide-content.random-pos-1,
  .slide-content.random-pos-2,
  .slide-content.random-pos-3,
  .slide-content.random-pos-4,
  .slide-content.random-pos-5,
  .slide-content.random-pos-6,
  .slide-content.random-pos-7 {
    top: auto !important;
    bottom: 20px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    text-align: center;
  }
}

    /* Малые устройства (<= 480px) */
    @media (max-width: 480px) {
    .swiper-slide-large {
        height: 240px;
    }

    .slide-content h3 {
        font-size: 16px;
    }

    .slide-content .btn {
        font-size: 13px;
    }
    }

    @media (max-width: 1024px) {
    .custom-swiper {
        height: 420px;
    }

    .swiper-slide-large {
        width: 85%;
        height: 320px;
        background-size: cover;
        background-position: center;
    }

    .slide-content h3 {
        font-size: 26px;
    }

    .slide-content .btn {
        font-size: 16px;
        padding: 10px 18px;
    }
    }

    @media (max-width: 768px) {
    .custom-swiper {
        height: 360px;
    }

    .swiper-slide-large {
        width: 90%;
        height: 280px;
        background-size: cover;
        background-position: center;
    }

    .slide-content h3 {
        font-size: 24px;
        text-align: center;
    }

    .slide-content .btn {
        display: inline-block;
        font-size: 15px;
        padding: 10px 20px;
        margin-top: 8px;
    }

    .slide-content.random-pos-1,
    .slide-content.random-pos-2,
    .slide-content.random-pos-3,
    .slide-content.random-pos-4,
    .slide-content.random-pos-5,
    .slide-content.random-pos-6,
    .slide-content.random-pos-7 {
        top: 15% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        text-align: center;
    }
    }

    @media (max-width: 480px) {
    .custom-swiper {
        height: 300px;
    }

    .swiper-slide-large {
        height: 240px;
    }

    .slide-content h3 {
        font-size: 22px;
    }

    .slide-content .btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .slide-content.random-pos-1,
    .slide-content.random-pos-2,
    .slide-content.random-pos-3,
    .slide-content.random-pos-4,
    .slide-content.random-pos-5,
    .slide-content.random-pos-6,
    .slide-content.random-pos-7 {
        top: 12% !important;
    }
    }


    /* Соц сети */
    .social-section {
      padding: 0px 0px 20px 0px;
    }

    .social-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 20px;
      height: 150px;
      background-image: url('../img/2565-14.jpg'); /* Фоновое изображение */
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      overflow: hidden;
    }

    .social-item {
    box-shadow: 0 0 0 10px white;
    }

    .social-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
      padding: 10px;
      text-decoration: none;
      transition: background-color 0.3s ease;
      height: 100%;
      backdrop-filter: brightness(0.9);
    }

    .social-item:hover {
      background-color: rgba(0, 0, 0, 0.2);
    }

    .social-item i {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .social-item span {
      font-size: 14px;
      line-height: 1.2;
    }

    /* Базовые стили */
.social-section {
  padding: 0 0 20px 0;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  height: 150px;
  background-image: url('../img/2565-14.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  height: 100%;
  backdrop-filter: brightness(0.9);
  box-shadow: 0 0 0 10px white;
}

.social-item:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.social-item i {
  font-size: 24px;
  margin-bottom: 10px;
}

.social-item span {
  font-size: 14px;
  line-height: 1.2;
}


/* Адаптивность */

@media (max-width: 1200px) {
  .social-grid {
    grid-template-columns: repeat(6, 1fr);
    height: auto;
  }
}

@media (max-width: 992px) {
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .social-item i {
    font-size: 22px;
  }

  .social-item span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    height: auto;
  }

  .social-item {
    padding: 12px 8px;
  }

  .social-item i {
    font-size: 20px;
  }

  .social-item span {
    font-size: 12px;
  }
}

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

  .social-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px;
    height: auto;
    gap: 10px;
  }

  .social-item i {
    font-size: 20px;
    margin-bottom: 0;
  }

  .social-item span {
    font-size: 14px;
    text-align: left;
  }
}


    /* Футер */
    .footer {
      background-color: #f3f4f6;
      color: #1f2937;
      padding: 60px 30px;
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      line-height: 1.7;
      border-top: 1px solid #d1d5db;
    }

    .footer a {
      color: #2563eb;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer a:hover {
      color: #1d4ed8;
      text-decoration: underline;
    }

    .footer-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
    }

    .footer-column {
      flex: 1 1 30%;
      min-width: 280px;
      display: flex;
      flex-direction: column;
    }

    .footer-column h3, .footer-column h4 {
      font-weight: 700;
      color: #111827;
      margin-bottom: 16px;
      font-size: 1.2rem;
      text-transform: uppercase;
    }

    .footer-column p {
      margin-bottom: 12px;
      color: #4b5563;
    }

    .contact-block p {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .icons a {
      margin-left: 10px;
      font-size: 18px;
      color: #2563eb;
    }

    .icons a:hover {
      color: #1d4ed8;
    }

    .form-column iframe {
      width: 100%;
      max-width: 100%;
      height: 300px;
      border: none;
      border-radius: 10px;
      box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    }

    .links-column {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 20px;
    }

    .link-group ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .link-group li {
      margin-bottom: 10px;
    }

    .link-group a {
      color: #4b5563;
      font-weight: 500;
    }

    .link-group a:hover {
      color: #2563eb;
      text-decoration: underline;
    }

    .footer-logo {
      width: 340px;
      margin-bottom: 20px;
    }

    .footer-bottom {
      border-top: 1px solid #e5e7eb;
      background-color: #f3f4f6;
      padding: 20px 30px;
      margin-top: 40px;
    }

    .footer-bottom-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      color: #6b7280;
    }

    .footer-bottom-links a {
      margin-left: 20px;
      color: #6b7280;
      text-decoration: none;
    }

    .footer-bottom-links a:hover {
      color: #2563eb;
    }

    /* Адаптив */
    @media (max-width: 992px) {
      .footer-container {
        flex-direction: column;
      }

      .form-column iframe {
        height: 260px;
      }
    }

    .special-offer-banner {
      background-image: url('img/predlojeniya.jpg'); /* Подставь своё изображение */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 60px 20px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.089);
      
      margin: 40px auto;
      max-width: 1200px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    

    .special-offer-banner::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0); /* затемнение */
      z-index: 0;
      border-radius: 16px;
    }

    .special-offer-content {
      position: relative;
      z-index: 1;
      color: white;
    }

    .special-offer-content h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.3;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0);
    }

    .special-offer-content h2 span {
      color: #fff;
      font-weight: 600;
      font-size: 28px;
      display: block;
    }

    .btn-special {
      display: inline-block;
      padding: 12px 24px;
      background-color: #0071e3;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      transition: background-color 0.3s ease;
    }

    .btn-special:hover {
      background-color: #005bb5;
    }

    .overlay {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* затемнение */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.offer-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
}

.offer-content h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-special {
  background-color: #0071e3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Иконки процентов */
.discount-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.percent-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.637);
  font-size: 32px;
  pointer-events: none;
  user-select: none;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
  .special-offer-section {
    height: 250px;
  }

  .offer-content h2 {
    font-size: 20px;
  }

  .percent-icon {
    font-size: 24px;
  }
}

    /* Адаптивность */
    @media (max-width: 768px) {
      .special-offer-content h2 {
        font-size: 28px;
      }

      .special-offer-content h2 span {
        font-size: 22px;
      }

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