
/* Адаптация блока отзывов для мобильных устройств */
@media (max-width: 768px) {
  #testimonials .testimonials {
    flex-direction: column; /* элементы располагаются друг под другом */
    gap: 20px;              /* расстояние между карточками */
  }
  #testimonials .testimonial {
    flex: 1 1 100%;         /* карточка занимает всю доступную ширину */
  }
}


/* Адаптация блока "О нас" для мобильных устройств */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;        /* элементы располагаются вертикально */
    text-align: center;            /* выравнивание текста по центру */
  }
  .about-section .about-image,
  .about-section .about-text {
    flex: 1 1 100%;                /* каждый блок занимает всю ширину */
  }
  .about-section .about-text {
    margin-top: 20px;              /* дополнительный отступ сверху для отделения от картинки */
  }
}





    /* Базовые стили */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: Arial, sans-serif; color: #333; background-color: #f9f9f9; line-height: 1.6; }

    /* Навигационная панель */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #ffffff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 2000;
    }
    .navbar .logo img {
      height: 54px;
    }
    .navbar ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }
    .navbar ul li a {
      text-decoration: none;
      color: #333;
      font-weight: bold;
      transition: color 0.3s;
    }
    .navbar ul li a:hover {
      color: #0070f0;
    }

    
    /* Mobile navbar */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;              /* переносим меню под логотип */
    padding: 10px 16px;
  }

  .navbar .logo img {
    height: 44px;                 /* чуть меньше логотип */
  }

  .navbar ul {
    width: 100%;
    margin-top: 10px;
    padding: 0;
    flex-direction: column;       /* вертикальный список */
    gap: 10px;
  }

  .navbar ul li a {
    display: block;
    padding: 12px 14px;           /* удобная зона тапа */
    border-radius: 8px;
    background: #f7f7f8;          /* светлый фон для кнопок */
    color: #333;
  }

  .navbar ul li a:hover {
    color: #0070f0;
    background: #eef4ff;
  }
}

/* Очень узкие экраны — чуть меньше отступов */
@media (max-width: 360px) {
  .navbar {
    padding: 8px 12px;
  }
  .navbar ul li a {
    padding: 10px 12px;
  }
}


/* Кнопка-гамбургер */
.menu-toggle{
  display:none;
  background:none;
  border:0;
  width:44px;
  height:44px;
  position:relative;
  cursor:pointer;
}
.menu-toggle .bar{
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:#333;
  border-radius:1px;
  transition:transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle .bar:nth-child(1){ top:14px; }
.menu-toggle .bar:nth-child(2){ top:21px; }
.menu-toggle .bar:nth-child(3){ top:28px; }

/* Мобильная версия меню */
@media (max-width: 768px){
  .navbar{
    position: sticky; /* уже есть, оставим */
    top: 0;
  }
  .menu-toggle{ display:block; }

  .navbar ul{
    /* скрыто по умолчанию */
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    padding:12px 16px;
    margin:0;
    flex-direction:column;
    gap:8px;
    z-index:1999;
  }
  .navbar.is-open ul{
    display:flex;
  }

  .navbar ul li a{
    display:block;
    padding:12px 14px;
    border-radius:8px;
    background:#f7f7f8;
    color:#333;
    text-decoration:none;
    font-weight:600;
  }
  .navbar ul li a:hover{
    color:#0070f0;
    background:#eef4ff;
  }

  /* Анимация крестика */
  .navbar.is-open .menu-toggle .bar:nth-child(1){
    transform:rotate(45deg);
    top:21px;
  }
  .navbar.is-open .menu-toggle .bar:nth-child(2){
    opacity:0;
  }
  .navbar.is-open .menu-toggle .bar:nth-child(3){
    transform:rotate(-45deg);
    top:21px;
  }
}

/* Десктоп: принудительно показываем горизонтальное меню */
@media (min-width: 769px){
  .navbar ul{
    display:flex !important;
    position:static;
    background:transparent;
    box-shadow:none;
    padding:0;
    gap:20px;
  }
  .menu-toggle{ display:none; }
}


    header, section, footer { width: 100%; padding: 40px 20px; text-align: center; }
    header { background: #e4e4e4; }
    header h1 { font-size: 2.4em; margin-bottom: 10px; }
    header p { font-size: 1.15em; color: #FFF; margin-bottom: 20px; }
    .cta-button { display: inline-block; margin-top: 20px; padding: 12px 25px; background-color: #0070f0; color: #fff; text-decoration: none; border-radius: 3px; transition: background-color 0.3s ease; }
    .cta-button:hover { background-color: #005dc7; }

    /* Изображения */
    header picture img {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 4px;
    }
    .feature picture img,
    .package picture img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 4px;
    }




/* Стиль шапки с текстом поверх изображения */
#hero-section {
  position: relative;
  min-height: 400px;        /* высота шапки */
  color: #fff;              /* цвет текста */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('img/original/1_bg.jpg'); /* путь к фоновому изображению */
  background-size: cover;
  background-position: center;
}

/* Полупрозрачный фон для текста, чтобы повысить читаемость */
#hero-section .hero-overlay {
  background-color: rgba(0,0,0,0.5);
  padding: 40px 20px;
  border-radius: 6px;
  color: #fff;
}

/* Индивидуальные стили для кнопки на фоне */
#hero-section .cta-button {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #0070f0;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}


#hero-section .cta-button:hover {
  background-color: #005dc7;
}


    /* Блок преимуществ */
    .features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }
    .feature {
      flex: 1 1 280px;
      background: #fff;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .feature h3 { margin-top: 15px; margin-bottom: 10px; font-size: 1.2em; }
    .feature p { color: #666; font-size: 0.95em; }

    /* Блок пакетов и цен */
    .packages {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 20px;
    }
    .package {
      flex: 1 1 280px;
      background: #fff;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .package h3 { margin-top: 15px; margin-bottom: 10px; font-size: 1.3em; }
    .package .price { font-size: 1.5em; font-weight: bold; color: #0070f0; margin-bottom: 10px; }
    .package p { font-size: 0.9em; color: #666; margin-bottom: 15px; }
    .package ul { text-align: left; margin: 10px 0; padding-left: 20px; }
    .package ul li { font-size: 0.85em; margin-bottom: 5px; }
    .package .package-cta {
      display: inline-block;
      padding: 10px 20px;
      background-color: #0070f0;
      color: #fff;
      border-radius: 3px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
    .package .package-cta:hover { background-color: #005dc7; }

    /* Блок "Как забронировать" */
    .steps {
      max-width: 800px;
      margin: 0 auto;
      text-align: left;
    }
    .steps h2 { margin-bottom: 20px; }
    .steps ol {
      counter-reset: step;
      list-style: none;
      padding-left: 0;
    }
    .steps ol li {
      position: relative;
      padding-left: 40px;
      margin-bottom: 15px;
    }
    .steps ol li:before {
      counter-increment: step;
      content: counter(step) ".";
      position: absolute;
      left: 0;
      top: 0;
      font-weight: bold;
      color: #0070f0;
    }

    /* Общая настройка сетки и карточек */
#testimonials .testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
#testimonials .testimonial {
  position: relative;                    /* для псевдоэлемента */
  flex: 1 1 calc(33.333% - 20px);
  padding: 50px 20px 20px;              /* сверху увеличен отступ под значок */
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
  overflow: hidden;
}

/* Псевдоэлемент с кавычками */
#testimonials .testimonial::before {
  content: "❝";
  font-size: 50px;
  color: rgba(0,0,0,0.1);
  position: absolute;
  top: 10px;
  left: 15px;
}

/* Цветовые варианты для каждой карточки */
#testimonials .testimonial:nth-child(1) {
  background-color: #eef5ff;
  border-top: 4px solid #0070f0;
}
#testimonials .testimonial:nth-child(2) {
  background-color: #f4fbf6;
  border-top: 4px solid #1ca97c;
}
#testimonials .testimonial:nth-child(3) {
  background-color: #fff5e6;
  border-top: 4px solid #d65108;
}

/* Круглый аватар */
#testimonials .testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Текст отзыва и имя */
#testimonials .testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}
#testimonials .testimonial span {
  display: block;
  font-weight: bold;
  color: #333;
}


    /* Блок срочного предложения */
    .urgency {
      background-color: #fff4e6;
      border: 1px solid #ffd6a0;
      padding: 20px;
      border-radius: 5px;
      max-width: 800px;
      margin: 20px auto;
    }
    .urgency h3 { color: #d65108; margin-bottom: 10px; }
    .urgency p { color: #934b00; margin-bottom: 10px; }
    .urgency .urgency-cta {
      display: inline-block;
      padding: 10px 20px;
      background-color: #d65108;
      color: #fff;
      border-radius: 3px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
    .urgency .urgency-cta:hover { background-color: #a83706; }

    /* Контакты */
    .contact { background: #e4e4e4; padding: 40px 20px; }
    .contact h2 { margin-bottom: 15px; }
    .contact-details { margin-bottom: 25px; }
    .contact-details p { margin: 3px 0; }
    .contact-details a { color: #0070f0; text-decoration: none; }
    .contact-details a:hover { text-decoration: underline; }
    .contact form {
      margin-top: 20px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .contact input, .contact textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 3px;
    }
    .contact button {
      padding: 12px;
      background-color: #0070f0;
      border: none;
      color: #fff;
      cursor: pointer;
      border-radius: 3px;
      transition: background-color 0.3s ease;
    }
    .contact button:hover { background-color: #005dc7; }

    footer { background: #f2f2f2; color: #777; font-size: 0.8em; padding: 20px; text-align: center; }

    /* Лайтбокс */
    .lightbox-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.8);
      align-items: center;
      justify-content: center;
      z-index: 3000;
    }
    .lightbox-overlay img {
      max-width: 90%;
      max-height: 90%;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      border-radius: 4px;
    }




/* Сетка для отзывов: три столбца */
#testimonials .testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Стили отдельного отзыва */
#testimonials .testimonial {
  flex: 1 1 calc(33.333% - 20px); /* равная ширина в три колонки */
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  text-align: center;
}

/* Стили для круглого фото клиента */
#testimonials .testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;          /* делает изображение круглым */
  object-fit: cover;
  margin-bottom: 15px;
}

/* Стили текста отзыва и имени */
#testimonials .testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}
#testimonials .testimonial span {
  font-weight: bold;
  color: #0070f0;
  display: block;
}


/* Секция боли клиента с выразительным фоном и белым текстом */
/* Светлый фон и контрастный текст для боли клиента */
.pain-section {
  background: linear-gradient(135deg, #f7fbff, #eef5fc);
  color: #333333;
  padding: 50px 20px;
  text-align: center;
  border-bottom: 4px solid #d7e3f5; /* лёгкий акцент внизу */
}

/* Заголовок */
.pain-section h2 {
  font-size: 1.8em;
  color: #1e3a71;       /* насыщенный оттенок для контраста */
  margin-bottom: 15px;
}

/* Текстовые строки */
.pain-section p {
  font-size: 1.1em;
  margin-bottom: 8px;
}

/* Акцентная надпись */
.pain-section .highlight {
  display: inline-block;
  background-color: #eaf2ff;
  color: #2b4d88;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: 600;
}


/* Заголовок увеличенного размера */
.pain-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Подзаголовки/вопросы */
.pain-section p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Можно добавить небольшие акцентные блоки */
.pain-section .highlight {
  display: inline-block;
  background-color: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: bold;
}


/* Секция "О нас" с двухколоночной структурой */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  background-color: #ffffff;
}
.about-section .about-image {
  flex: 1 1 40%;
}
.about-section .about-image img {
  width: 100%;
  border-radius: 4px;
}
.about-section .about-text {
  flex: 1 1 50%;
  text-align: left;
}
.about-section .about-text h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
}
.about-section .about-text p {
  margin-bottom: 10px;
  line-height: 1.6;
}



/* Секция аудитории */
.audience-section {
  padding: 40px 20px;
  text-align: center;
}
.audience-section h2 {
  font-size: 1.6em;
  margin-bottom: 25px;
}
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.audience-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  text-align: center;
}
.audience-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}
.audience-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #1e3a71;
}
.audience-card p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.4;
}


/* Секция карты */
.map-section {
  padding: 40px 20px;
  text-align: center;
}
.map-section h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

/* Карта на всю ширину контейнера */
.map-container {
  width: 100%;
  margin: 0 auto;
}
.map-container iframe {
  width: 100%;
  height: 450px;        /* при желании можно изменить высоту */
  border: none;
  border-radius: 6px;
}
.map-container p {
  margin-top: 8px;
  font-size: 0.9em;
}
.map-container a {
  color: #0070f0;
  text-decoration: none;
}
.map-container a:hover {
  text-decoration: underline;
}


.prepayment-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.prepayment-section h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.prepayment-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.prepayment-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0070f0;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.prepayment-button:hover {
  background-color: #005bb5;
}

