
/* Адаптация блока отзывов для мобильных устройств */
@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;
  }
}



.lang-switcher{
  display:flex; gap:8px; align-items:center;
  margin-left:20px;
}
.lang-switcher a{
  text-decoration:none; font-size:12px; font-weight:700;
  color:#333; border:1px solid #d6dcea; border-radius:14px;
  padding:5px 10px; background:#fff;
}
.lang-switcher a.is-active{
  background:#000000; border-color:#000000; color:#fff;
}
@media (max-width:768px){ .lang-switcher{width:100%; margin:10px 0 0 0;} }



/* Кнопка-гамбургер */
.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{
    justify-content:flex-start;
  }
  .navbar ul{
    display:flex !important;
    position:static;
    background:transparent;
    box-shadow:none;
    padding:0;
    margin:0 0 0 auto;
    gap:20px;
    align-items:center;
  }
  .navbar .lang-switcher{
    margin-left:20px !important;
    margin-top:0 !important;
    align-self:center;
  }
  .menu-toggle{ display:none; }
}


    header, section, footer { width: 100%; padding: 40px 20px; text-align: center; }
    header { background: #e4e4e4; }
    header h1 {     font-size: 4vw;
    margin-bottom: 0vw;
    line-height: 4vw;
    font-weight: 600;
    color:#ffffffe0;}
    header p {    font-size: 1em;
    color:#ffffffe0;
    margin-bottom: 1vw;
    font-weight: 500;}


@media (max-width: 768px) {
      header h1 {     font-size: 7vw;

    line-height: 7vw;
}
}

/* Очень узкие экраны — чуть меньше отступов */
@media (max-width: 360px) {
      header h1 {     font-size: 12vw;

    line-height: 12vw;
}
}


    .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: 200px;
      object-fit: cover;
      border-radius: 4px;
    }




/* Стиль шапки с текстом поверх изображения */
#hero-section {
position: relative;
height: 400px;
    min-height: 400px;
    max-height: 400px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: #000;
    margin:0px;
    padding:0px;
    background-image: url(img/header_bg1.jpg);
}


  #myVideo,
  #hero-section .hero-bg-video {
min-height: 100%;
     position: absolute; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .22s linear;
    opacity: 0;
}

#video_shadow
{
       position: absolute; 
    width: 100%;
    height: 100%;
       object-fit: cover;
       min-height: 100%;
       background-color:#00000050;

}
/* Полупрозрачный фон для текста, чтобы повысить читаемость */
#hero-section .hero-overlay {
position: absolute;
    /* left: -10%; */
    /* padding-top: 20px; */
    color: #fff;
    /* text-shadow: 1px 1px 10px black; */
    border: 0px solid #CCC;
    /* max-width: 500px; */
    /* margin: 20px auto; */
    text-shadow: 1px 1px 1px black;
}


/* Индивидуальные стили для кнопки на фоне */
#hero-section .cta-button {
  margin-top: 15px;
  padding: 12px 100px;
  background-color: #ffffffba;
 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000000c4;
  text-decoration: none;
  border-radius: 5px;
  font-size: 2vw;
  font-weight: 600;
  /* transition: background-color 0.3s ease; */
  text-shadow: 0 0 BLACK;
}


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


    /* Блок преимуществ */
    .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: 1024px;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 22px;
      background: #ffffff;
      border: 1px solid #e7e9ee;
      border-radius: 12px;
      box-shadow: 0 10px 24px rgba(18, 38, 63, 0.06);
    }
    .contact input, .contact textarea {
      width: 100%;
      padding: 11px 12px;
      border: 1px solid #d8deea;
      border-radius: 8px;
      background: #ffffff;
      color: #1f2733;
      font-size: 14px;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .contact input:focus,
    .contact textarea:focus {
      border-color: #8db7ff;
      box-shadow: 0 0 0 3px rgba(0, 112, 240, 0.12);
      outline: none;
    }
    .contact textarea {
      min-height: 110px;
      resize: vertical;
    }
    .contact button {
      padding: 12px;
      background-color: #0070f0;
      border: none;
      color: #fff;
      cursor: pointer;
      border-radius: 8px;
      font-weight: 600;
      transition: background-color 0.25s ease, transform 0.15s ease;
    }
    .contact button:hover { background-color: #005dc7; }
    .contact button:active { transform: translateY(1px); }

    .booking-calendar,
    .booking-services {
      text-align: left;
      padding: 12px;
      border: 1px solid #e8edf6;
      border-radius: 10px;
      background: #fcfdff;
    }
    .booking-services p {
      margin-bottom: 8px;
      font-weight: 600;
      color: #2f3744;
      font-size: 13px;
      letter-spacing: .01em;
    }
    .calendar-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
      gap: 10px;
    }
    .calendar-month-label {
      font-size: 15px;
      font-weight: 700;
      color: #283447;
      text-transform: capitalize;
      text-align: center;
      flex: 1 1 auto;
    }
    .calendar-nav-btn {
      width: 32px;
      height: 32px;
      border: 1px solid #d9e2f0;
      padding: 0px !important;
      border-radius: 8px;
      background: #fff;
      color: #3a4f6d;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      transition: .2s ease;
    }
    .calendar-nav-btn:hover:not(:disabled) {
      border-color: #a9c3ef;
      color: #1b3f80;
      background: #f5f9ff;
    }
    .calendar-nav-btn:disabled {
      opacity: .4;
      cursor: not-allowed;
    }
    .calendar-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      margin-bottom: 6px;
      color: #6a7483;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      text-align: center;
    }
    .booking-calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
    }
    .calendar-day {
      border: 1px solid #e6ebf3;
      border-radius: 8px;
      background: #fff;
      min-height: 95px;
      padding: 6px 6px 7px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .calendar-day.is-outside-month {
      background: #fbfcfe;
      border-color: #edf1f7;
      opacity: .65;
    }
    .calendar-day.has-available {
      background-color: #2aae84;
      border-color: #c9dbfb;
      box-shadow: inset 0 0 0 1px rgba(0, 112, 240, 0.05);
    }
    .calendar-day-number {
      font-size: 12px;
      font-weight: 700;
      color: #3a4b61;
    }
    .calendar-day-slots {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .calendar-slot {
      border-radius: 6px;
      font-size: 11px;
      line-height: 1.2;
      padding: 4px 6px;
      text-align: center;
      border: 1px solid transparent;
    }
    .calendar-slot.is-available {
      border-color: #c4d7f7;
      background: #f5f9ff;
      color: #1c3f7f;
      cursor: pointer;
      transition: .2s ease;
    }
    .calendar-slot.is-available:hover {
      border-color: #8fb3ed;
      background: #eaf3ff;
    }
    .calendar-slot.is-available.is-active {
      border-color: #0070f0;
      background: #d04f08;
      color: #fff;
      box-shadow: 0 3px 9px rgba(0, 112, 240, 0.23);
    }
    .calendar-slot.is-unavailable,
    .calendar-slot.is-empty {
      background: #f1f3f7;
      border-color: #e4e8ee;
      color: #8a93a0;
      cursor: not-allowed;
    }

    #booking-services-container {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 22px;
      color: #586171;
      font-size: 14px;
    }
    .service-group {
      background: #fff;
      border: 1px solid #e8edf6;
      border-radius: 8px;
      padding: 10px;
    }
    .service-group-title {
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 700;
      color: #3b4a5f;
      letter-spacing: .02em;
      text-transform: uppercase;
    }
    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .service-choice {
      display: block;
      position: relative;
      cursor: pointer;
    }
    .service-choice input[type="radio"] {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .service-card {
      display: flex;
      align-items: flex-end;
      width: 100%;
      min-height: 82px;
      border-radius: 10px;
      border: 1px solid #dfe6f2;
      overflow: hidden;
      position: relative;
      transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    }
    .service-card::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
      pointer-events: none;
    }
    .service-card-title {
      position: relative;
      z-index: 2;
      width: 100%;
      padding: 10px 12px;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 700;
    }
    .service-card-zone {
      background-size: cover;
      background-position: center;
      color: #fff;
      height: 200px;
    }
    .service-card-zone::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(8, 18, 36, .0) 0%, rgba(8, 18, 36, .2) 100%);
      z-index: 1;
    }
    .service-card-zone-muu {
      background: linear-gradient(180deg, #f6f8fc 0%, #edf2f9 100%);
      color: #344258;
    }
    .service-card-zone-muu::before {
      content: none;
    }
    .service-card-zone-muu .service-card-title {
      color: #344258;
      text-shadow: none;
    }
    .service-card-icon {
      position: absolute;
      z-index: 2;
      top: 12px;
      right: 12px;
      width: 22px;
      height: 22px;
      border: 1px solid #c8d3e3;
      border-radius: 50%;
      background:
        linear-gradient(#c8d3e3, #c8d3e3) center/10px 1px no-repeat,
        linear-gradient(#c8d3e3, #c8d3e3) center/1px 10px no-repeat,
        #fdfefe;
      box-shadow: 0 1px 2px rgba(42, 61, 92, 0.08);
    }
    .service-card-duration {
      background: linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
      color: #2c3d56;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-height: 72px;
    }
    .service-card-duration .service-card-title {
      padding: 10px;
      font-size: 15px;
    }
    .service-choice:hover .service-card {
      border-color: #b8c9e6;
      box-shadow: 0 6px 14px rgba(24, 47, 86, 0.1);
      transform: translateY(-1px);
    }
    .service-choice input[type="radio"]:focus-visible + .service-card {
      outline: 2px solid #86b6ff;
      outline-offset: 2px;
    }
    .service-choice input[type="radio"]:checked + .service-card {
      border: 2px solid #2a7be4;
      box-shadow: 0 8px 16px rgba(42, 123, 228, 0.16);
    }
    .service-choice input[type="radio"]:checked + .service-card .service-card-title {
      text-shadow: 0 1px 2px rgba(0,0,0,.35);
    }
    .service-choice input[type="radio"]:checked + .service-card-duration .service-card-title {
      color: #0b4fab;
      text-shadow: none;
    }
    #booking-form-status {
      font-size: 20px;
      color: #208111;
      min-height: 18px;
      text-align: left;
      padding-top: 2px;
    }

    @media (max-width: 640px) {
      .contact form {
        padding: 16px;
      }
      .booking-calendar,
      .booking-services {
        padding: 9px 10px;
      }
      .calendar-day {
        min-height: 82px;
        padding: 5px;
      }
      .calendar-slot {
        font-size: 10px;
        padding: 3px 4px;
      }
      .service-grid {
        grid-template-columns: 1fr;
      }
      .service-card {
        min-height: 78px;
      }
      .service-card-zone {
        height: 122px;
      }
      .service-card-duration {
        min-height: 64px;
      }
    }

    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;
}





 .ms-zones { padding: 48px 0; }
  .ms-zones__container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
  .ms-zones__grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ms-zone { border: 1px solid rgba(0,0,0,.08); border-radius: 16px; overflow: hidden; background: #fff; }
  .ms-zone__media { aspect-ratio: 16 / 9; background: #f3f3f3; }
  .ms-zone__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .ms-zone__body { padding: 18px 18px 20px; }
  .ms-zone__title { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
  .ms-zone__text { margin: 0; font-size: 16px; line-height: 1.55; opacity: .9; }

  @media (max-width: 768px) {
    .ms-zones__grid { grid-template-columns: 1fr; }
  }

  .ms-zones h2
  {
    padding-bottom: 40px;
  }

/* Elegant interactive motion layer */
.navbar ul li a{
  position: relative;
}
.navbar ul li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:#0070f0;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .25s ease;
}
.navbar ul li a:hover::after{
  transform:scaleX(1);
}

.feature,
.package,
.audience-card,
.ms-zone,
.testimonial,
.urgency{
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature:hover,
.package:hover,
.audience-card:hover,
.ms-zone:hover,
.testimonial:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 26px rgba(22,38,61,.14);
}
.urgency:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(214,81,8,.16);
}

#hero-section .hero-overlay h1,
#hero-section .hero-overlay p{
  animation:heroFadeUp .9s ease both;
}
#hero-section .hero-overlay p{
  animation-delay:.12s;
}
#hero-section .hero-overlay .cta-button{
  animation:heroFadeUp .9s ease .22s both;
}

.package .package-cta,
.urgency .urgency-cta,
.prepayment-button,
#booking-form button[type="submit"]{
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.package .package-cta:hover,
.urgency .urgency-cta:hover,
.prepayment-button:hover,
#booking-form button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(0,0,0,.14);
}

.calendar-day.has-available{
  animation:softGlow 2.4s ease-in-out infinite;
}
.calendar-slot.is-available{
  transition:transform .16s ease, background-color .18s ease, border-color .18s ease;
}
.calendar-slot.is-available:hover{
  transform:translateY(-1px);
}

.reveal-item{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal-item.reveal-from-left{
  transform:translateX(-34px);
}
.reveal-item.reveal-from-right{
  transform:translateX(34px);
}
.reveal-item.reveal-soft-zoom{
  transform:translateY(12px) scale(.98);
}
.reveal-item.is-visible{
  opacity:1;
  transform:translateY(0);
}

@keyframes heroFadeUp{
  from{opacity:0; transform:translateY(16px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes softGlow{
  0%,100%{ box-shadow: inset 0 0 0 1px rgba(0,112,240,.06); }
  50%{ box-shadow: inset 0 0 0 1px rgba(0,112,240,.22), 0 0 0 3px rgba(0,112,240,.06); }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
  }
}
