@font-face {
  font-family: 'Arimo';
  src: url('fonts/Arimo.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arimo';
  src: url('fonts/Arimo-Italic.ttf') format('truetype');
  font-style: italic;
  font-display: swap;
}


/* ==================== INTER FONT FAMILY ==================== */

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraLightItalic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraBoldItalic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Переменная версия (если хочешь использовать) */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-V.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

    
    /* ===== Общие переменные =====
       --shapka-dur / --shapka-ease — время и кривая перехода шапки (большая <-> маленькая).
         Всё, что участвует в переходе (шапка, логотип, тексты, крючки), берёт значения отсюда,
         поэтому всё идёт синхронно в обе стороны.
       --page-k — масштаб страницы. Ставится из JS: 1 при ширине окна от 1320px,
         меньше 1 — на более узких окнах (чтобы вёрстка не обрезалась). */
    :root {
      --shapka-dur: 0.4s;
      --shapka-ease: ease;
      --shapka-fade: 0.16s;        /* быстрое затухание текстов при сжатии шапки */
      --page-k: 1;
    }

    /* Обёртка всей страницы (кроме лайтбокса и ползущего крючка).
       zoom пропорционально уменьшает вёрстку на окнах уже 1320px. */
    .page {
      zoom: var(--page-k);
    }

    body {
      margin: 0;
      border: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    main {
      width: 100%;
      display: flex;
      margin-left: auto;
      margin-right: auto;
      background-color: white;
      font-size: 18px;
      flex-direction: column;
      margin-top: 0px;
    }
    div {}

    header {
      width: 100%;
      display: flex;
      justify-content: center;
      color: white;
      margin: 0;
      border: 0;
      padding: 0;
      flex-direction: column;
      align-content: flex-start;
      flex-wrap: nowrap;
      align-items: center;
      /* Главное для закрепления */
      position: fixed;
      /* или fixed */
      top: 0;
      /* обязательно */
      z-index: 1000;
      /* чтобы шапка была поверх всего */
    }

    .shapka {
      background: #2F80ED;
      transition: all var(--shapka-dur) var(--shapka-ease);
      width: 100%;
      height: 108px;
      display: flex;
      color: white;
      margin: 0;
      border: 0;
      padding: 0;
      
    justify-content: center;
    }

    .shapka_center {
      display: flex;
      flex-direction: row;
      width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .logo {
      width: 100px;
      height: auto;
      margin: 4px 10px;
      flex-shrink: 0;
      /* чтобы не сжимался слишком сильно */
      object-fit: contain;
      /* сохраняет пропорции */
      transition: all var(--shapka-dur) var(--shapka-ease);
      filter: brightness(1) invert(0);
    }

    .prev_logo_text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-left: 80px;
      margin-right: 0px;
      min-width: 200px;
    }

    .prev_logo_text_attachment {
      font-size: 20px;
      line-height: 1.2;
    }

    .prev_logo_text_attachment_1 {
      font-size: 16px;
    }

    .prev_logo_text_attachment_2 {
      font-size: 24px;
      font-weight: bold;
    }

    .prev_logo_text_attachment_3 {
      font-size: 16px;
    }

    .prev_logo_text_attachment_4 {
      font-size: 16px;
    }

    .shapka_text_center {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-left: 75px;
      margin-right: 0;
      min-width: 435px;
    }

    .shapka_text_right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-left: auto;
      margin-right: 20px;
      margin-left:43px;
      min-width: 240px;
      
      font-family: Inter;
      font-size: 18px;
    }

    /* Класс, который будет добавляться при прокрутке */
    .shapka.shrink {
      height: 50px;
      transition: all var(--shapka-dur) var(--shapka-ease);
    }

    .shapka.shrink .shapka_center {
      display: flex;
      justify-content: flex-start;

    }

    /* ===== Блоки, которые исчезают в маленькой шапке =====
       Адрес («Астраханская область…») и «Звони в любое время / Телефон» теперь стоят
       на одном и том же месте в потоке в ОБОИХ режимах шапки; между режимами меняются
       только opacity / transform / visibility (никакой перестройки вёрстки).
       Раньше в маленькой шапке им менялись margin (-300 / 400px) и width, а соседний
       .prev_logo_text растягивался до 820px: блоки мгновенно «телепортировались» вправо,
       а когда margin анимировались, текст перестраивался (2 строки <-> 3 строки) и мельтешил.
       В маленькой шапке прозрачность падает быстрее (--shapka-fade), чтобы улетающий текст
       не успевал наложиться на строку «Гостевой комплекс…» и на иконки. */
    .shapka_text_center,
    .shapka_text_right_1,
    .shapka_text_right_2 {
      transition:
        opacity var(--shapka-dur) var(--shapka-ease),
        transform var(--shapka-dur) var(--shapka-ease),
        visibility var(--shapka-dur) var(--shapka-ease);
    }

    .shapka.shrink .shapka_text_center,
    .shapka.shrink .shapka_text_right_1,
    .shapka.shrink .shapka_text_right_2 {
      opacity: 0;
      visibility: hidden;
      transition:
        opacity var(--shapka-fade) ease-out,
        transform var(--shapka-dur) var(--shapka-ease),
        visibility var(--shapka-dur) var(--shapka-ease);
    }

    .shapka.shrink .shapka_text_center {
      transform: translateX(200px);       /* улетание вправо */
    }

    .shapka.shrink .shapka_text_right_1,
    .shapka.shrink .shapka_text_right_2 {
      transform: translateX(300px);       /* улетание вправо */
      height: 21px;
    }

    /* ===== Иконки мессенджеров =====
       Раньше в маленькой шапке им ставили margin-left:-600px и margin-top:-48px — мгновенно
       и с зависимостью от соседних блоков. Теперь это transform: плавно и синхронно с шапкой.
       translate(45px, -24px) даёт ТО ЖЕ итоговое положение, что было раньше:
         x: раньше иконки оказывались в 1033px от левого края колонки шапки, а блок теперь стоит
            в 988px -> сдвиг +45px;
         y: margin-top:-48px сдвигал иконки только на половину (колонка центрирована по высоте),
            то есть на -24px.
       Если поменяете ширины/отступы блоков в шапке — подправьте эти два числа. */
    .shapka_text_right_3 {
      min-width: 250px;
      display: flex;
      transition: transform var(--shapka-dur) var(--shapka-ease);
    }

    .shapka.shrink .shapka_text_right_3 {
      min-width: 250px;
      min-height: 56px;
      max-height: 56px;
      display: flex;
      visibility: visible;
      transform: translate(45px, -24px);
    }

    .logo_messenger {
      transition: margin-right var(--shapka-dur) var(--shapka-ease);
    }

    .shapka.shrink .logo_messenger {
      margin-right: 5px;
    }
    .shapka_text_center_1,
    .shapka_text_center_2,
    .shapka_text_center_3{
      font-family: Inter;
      font-size: 18px;
    }


.shapka_text_right_3 img {
  width: 32px;
  padding: 0;
  margin: 6px 5px 12px 0;
  transition: all 0.25s ease;          /* плавная анимация */
  cursor: pointer;
  transform-origin: center center;     /* точка вращения — центр иконки */
    text-decoration: none;
}

/* При наведении */
.shapka_text_right_3 img:hover {
  transform: scale(1.25) rotate(5deg); /* увеличение + поворот на 5° */
  filter: brightness(1.1);             /* чуть ярче (по желанию) */
}

/* При нажатии */
.shapka_text_right_3 img:active {
  transform: scale(1.05) rotate(2deg); /* лёгкое уменьшение + меньший поворот */
  filter: brightness(0.95);
  transition: all 0.1s ease;           /* быстрее реагирует на клик */
}

    .shapka.shrink .logo {
      transition: all var(--shapka-dur) var(--shapka-ease);
      height: auto;
      width: 45px;
      margin-left: 100px;
      /*filter: brightness(0) invert(1) opacity(1); Сделать картинку ЧБ Белой*/
    }

    .shapka.shrink .prev_logo_text {
      display: flex;
      flex-direction: row;
      min-width: 820px;
      /* Строка из 4 надписей широкая (820px), но «занимает» в шапке ровно столько же места,
         сколько в большой шапке (820 - 620 = 200px). Поэтому соседние блоки справа не сдвигаются
         при смене режима — раньше именно этот скачок «телепортировал» их. */
      margin-right: -620px;
    }

    .shapka.shrink .prev_logo_text_attachment {
      flex-shrink: 0;
      display: flex;
      align-items: end;
      width: max-content;
      
    align-items: center;
    }

    .shapka.shrink .prev_logo_text_attachment_1 {
      margin-left: 40px;
      font-size: 18px;
    }

    .shapka.shrink .prev_logo_text_attachment_2 {
      margin-left: 10px;
    }

    .shapka.shrink .prev_logo_text_attachment_3 {
      margin-left: 10px;
      font-size: 18px;
    }

    .shapka.shrink .prev_logo_text_attachment_4 {
      margin-left: 10px;
      font-size: 18px;
    }












    .header_background {
      width: 100%;
      height: 108px;
      /* Раньше #0A0A0A (почти чёрный). Это пустой «распорка»-блок под фиксированной шапкой:
         в покое он закрыт шапкой, но пока шапка плавно раскрывается 50px -> 108px,
         из-под неё выглядывала чёрная полоса. Прозрачный — полоса не видна. */
      background-color: transparent;
      margin-top: 0px;
    }


    section {
      margin: 0px;
    }

    

    .buy_button {
      margin: 20px;
      background-color: #0069ff;
      color: white;
      padding: 7px 20px;
      border-radius: 10px;
      width: fit-content;
      cursor: pointer;
      font-size: 32px;
      margin-left: auto;
      margin-right: 220px;
      font-weight: 600;
    }

    .buy_button:hover {
      background-color: #4b4b4b;
    }

    .buy_button:active {
      background-color: #818181;
    }

    .map {
      margin-left: auto;
      margin-right: auto;
      display: flex;
      justify-content: center;
      width: 1160px;
      flex-direction: row;
      margin-bottom: 20px;
      margin-top: 40px;
    }

    .map_text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-right: 65px;
      margin-left: 40px;
      font-size: 20px;
      background-color: #f5f5f5;
      margin-top: 145px;
      margin-bottom: auto;
      border-radius: 14px;
      padding: 15px 25px;
      color: #1f1f1f;
      font-family: Inter, sans-serif;
      font-size: 20px;
      line-height: 20px;
      font-weight: 500;
      line-height: 1.2;

      background-color: rgba(245, 245, 245, 0.64);  /* F5F5F5 + 64% прозрачности */
      backdrop-filter: blur(7px);                   /* блюр 14px */
      -webkit-backdrop-filter: blur(7px);           /* для Safari */
    }

    .map_text_item_1 {
      font-size: 20px;
      font-family: Inter, sans-serif;
    color: #1F1F1F;
      font-weight: 700;
    }

    .map_text_item_2 {
      margin-top: 8px;
      font-size: 14px;
      font-family: Inter, sans-serif;
      color: #1F1F1F;
      font-weight: 500;
    }

    .map_yandex {
      width: 556px;
      height: 433px;
      margin-right: 32px;
      border: 2px solid #ffffff;
      background-color: #ffffff52;
      border-radius: 8px;
      margin-top: -10px;
      margin-right: 0px;
    }

    .gallery_Start {
      margin-left: auto;
      margin-right: auto;
      width: 1160px;
      display: flex;
      flex-wrap: wrap;
      display: flex;
      margin-top: 100px;
    }

    .gallery_title {
      width: auto;
      font-size: 45px;
      font-weight: bold;
      margin-top: -60px;
      margin-bottom: 20px;
      margin-left: auto;
      margin-right: auto;
    }

    .gallery_imeges {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      flex-wrap: wrap;

      margin-left: 10px;
      margin-right: 10px;
      margin-top: 20px;
      height: auto;
      border-radius: 10px;
    }


    footer {
      width: 100%;
      height: 180px;
      display: flex;
      margin-left: auto;
      margin-right: auto;
      background-color: #2F80ED;
      color: white;
      margin-top: 60px;
      font-family: Inter, sans-serif;

  position: relative;       /* чтобы absolute работал внутри */
  overflow: visible;

    }

    .footer_conteiner {
      width: 1200px;
      display: flex;
      margin-left: auto;
      margin-right: auto;
      background-color: #2F80ED;
      color: white;
    }

    .logo_footer {
      height: 100px;
      width: auto;
      margin: auto;
      margin-left: 80px;
      margin-right: 50px;
    }

    .footer_text {
      padding: 20px;
      display: flex;
      text-align: center;
      justify-content: center;
      align-content: center;
      flex-direction: column;
    }





    
    /* Обёртка логотипа */
.logo-wrapper {
  position: relative;
  display: inline-block;
  z-index: 10;
}

/* Основной логотип */
.logo-wrapper .logo {
  position: relative;
  z-index: 3;                 /* логотип поверх крюка */
  width: 100px;
  height: auto;
  transition: all var(--shapka-dur) var(--shapka-ease);
}

/* ===== Крюк и синяя подложка под логотипом =====
   Режим шапки и hover-выезд крюка анимируются РАЗНЫМИ свойствами:
     translate — режим шапки: 0 (большая) -> -200px (маленькая, спрятано над экраном).
                 Время и кривая те же, что у самой шапки (--shapka-dur / --shapka-ease).
     transform — hover-выезд крюка из-под шапки (только в большой шапке), упругая кривая.
   Раньше: один `transition: all` с упругой кривой 0.45s на всё + и top, и transform
   одновременно (-200px + -200px). Из-за этого крюк и подложка при возврате шапки
   "отскакивали" ниже шапки (hover-анимация), а hover-правило перебивало режим шапки. */
.logo-wrapper .hook {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  height: auto;
  z-index: 1;                 /* под логотипом */
  opacity: 1;
  pointer-events: none;
  translate: 0 0;
  transform: translateY(0);
  transition:
    translate var(--shapka-dur) var(--shapka-ease),
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hook_background {
  position: absolute;
  top: 0px;
  left: 10px;
  width: 100px;
  height: 108px;
  z-index: 2;                 /* над крюком, под логотипом */
  opacity: 1;
  pointer-events: none;
  translate: 0 0;
  transition: translate var(--shapka-dur) var(--shapka-ease);
}

/* Hover: крюк выезжает вниз из-под шапки — только в большой шапке */
.shapka:not(.shrink) .logo-wrapper:hover .hook {
  transform: translateY(86px);
}

/* Маленькая шапка: крюк и подложка уезжают вверх за экран синхронно с шапкой */
.shapka.shrink .logo-wrapper .hook,
.shapka.shrink .hook_background {
  translate: 0 -200px;
}
.shapka.shrink .logo-wrapper .hook {
  /* если в момент сжатия крюк был выдвинут hover'ом — он убирается тем же темпом, что и шапка */
  transition:
    translate var(--shapka-dur) var(--shapka-ease),
    transform var(--shapka-dur) var(--shapka-ease);
}
.logo_messenger{
  
    text-decoration: none;
    height: 56px;
  }
  .shapka_text_right_3{
    height: 56px;

  }
  .shapka_text_right_1{
    margin-top: 16px;
  }


  .nav {
  display: flex;
  gap: 3px;                    /* расстояние между кнопками */
  padding: 14px 0 0px;
  margin: 0;
  width: 1200px;
  justify-content: right;
  margin-left: auto;
  margin-right: auto;
  
}


.nav_link {
  text-decoration: none;
}

.nav_link button {
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 9999px;        /* полностью круглые края */
  background-color: #F3F4F6;    /* светло-серый как на картинке */
  color: #1F2937;               /* тёмно-серый текст */
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* При наведении */
.nav_link button:hover {
  background-color: #E5E7EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* При нажатии */
.nav_link button:active {
  transform: translateY(0);
  background-color: #D1D5DB;
  box-shadow: none;
}

.videleno button{
  
  font-weight: 500;
}



.gallery {
min-width: 1240px;          /* или убери, если нужно на всю ширину */
  margin: 0px auto 0;
  padding: 0 0px;            /* если хочешь без боковых отступов — поставь 0 */
  box-sizing: border-box;
}

.gallery_title {
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Контейнер картинок */
.gallery_images {
  width: 1240px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;                  /* расстояние между картинками */
  justify-content: flex-start;
}


.gallery_images.is-hidden {
  display: none !important;
}

/* Базовый стиль всех картинок */
.gallery_img {
  object-fit: cover;          /* картинка подстраивается, не сжимается */
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
  margin-left: 0;
  margin-right: 0;
}

/* Маленькая картинка (по умолчанию) */
.gallery_img,
.gallery_img.small {
  width: 285px;
}

/* Большая картинка */
.gallery_img.large {
  width: 590px;
}

/* Небольшой hover-эффект (по желанию) */
.gallery_img:hover {
  transform: scale(1.02);
}







.hero {
width: 1180px;
margin-left: auto;
margin-right: auto;
display: flex;
}
.hero_left{
  min-width: 550px;
  display: flex;
    flex-direction: column;
}
.hero_left_1 {
  font-size: 53px;
  font-weight: 600;
  margin-top: 106px;
  margin-left: 90px;
  line-height: 50px;
  width: 550px;
  font-family: Arimo;
}
.hero_left_2 {
  font-size: 16px;
  font-weight: 400;
  font-family: Inter;
  margin-top: 55px;
  margin-left: 90px;
  line-height: 18px;
  width: 550px;
  color: #575757;
}
.hero_left_4 {
  font-size: 35px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 190px;
  margin-left: 93px;
  line-height: 16px;
}
.hero_left_5 {
  font-size: 16px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 20px;
  margin-left: 93px;
  line-height: 16px;
  color: #79D5F3;
}
.hero_left_BUTTON {
  font-size: 16px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 47px;
  margin-left: 90px;
  line-height: 16px;
  color: #FFFFFF;
  background-color: #56CCF2;
  border-radius: 1000px;
  border: 0px;
  width: 192px;
  height: 50px;
}
.hero_right{
  margin-top: 25px;
  margin-left: 0px;
display: flex;
    flex-direction: column;
}
.hero_right_PROMO {
  width: 548px;
  height: auto;
  margin-left: 80px;
}
.hero_right_1 {
  width: 630px;
  min-height: 262px;
  background-color: #5CBDDD;
  border-radius: 30px;
  margin-left: -20px;
  margin-top: -30px;
}
.hero_right_2 {
  font-size: 38px;
  transform: scaleY(1);
  font-weight: 700;
  font-family: Inter;
  line-height: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;    
  align-content: center;
    flex-direction: column;
  width: auto;
  height: 67px;
  
    align-items: center;
}
.hero_right_3 {
  width: 607px;
  min-height: 181px;
  background-color: #86CEE6;
  border-radius: 25px;
  margin: 0 11px;
  display: flex;
}
.hero_right_3_text_verh {
  display: flex;
  flex-direction: column;
  width: 283px;
  color: #FFFFFF;
  margin-left: 18px;
  margin-top: 19px;
}
.hero_right_3_img {
  display: flex;
}
.hero_right_3_text_verh_1 {
  font-size: 30px;

}
.hero_right_3_text_verh_2 {
  font-size: 18px;
}
.hero_right_3_text_niz {
  font-size: 14px;
  color: #030303;
  width: auto;
  display: flex;
flex-wrap: wrap;
}
.hero_right_3_img_bg{
  background-color: #F2F4F8;
margin-right: 15px;
margin-bottom: 4px;
margin-top: 2px;
}
.hero_right_3_text_niz_Tage{
  min-width: 60px;
  padding: 0px 5px 0px 5px;
}
.hero_right_3_img_1 {
  height: 160px;
  margin-top: 11px;
}
.hero_right_3_img_2 {
  margin-top: 11px;
  margin-left: 7px;
  height: 160px;
  margin-right: 12px;
}
.hero_right_3_text_niz_Tage {
}



.map-section {
  position: relative;
  width: 100%;
  overflow: visible;          /* разрешаем картинке выходить за пределы */
}

.map_bg {
  position: absolute;
  top: -755px;
  /* Раньше: left: 215px — от левого края ОКНА, а весь контент центрируется,
     поэтому на любой ширине, кроме исходной, лодка уезжала относительно карты.
     Теперь отсчёт от ЦЕНТРА страницы. 716.5px = 931.5 (центр при ширине вёрстки 1863px,
     т.е. окно 1878 с полосой прокрутки) - 215 (прежний left). На 1878x923 всё как было. */
  left: 50%;
  margin-left: -745px;
  width: 1177px;              /* подбери нужный размер */
  max-width: none;
  height: auto;
  z-index: 0;
  pointer-events: none;       /* не мешает кликам */
  opacity: 0.9;               /* можно регулировать */
}

/* Чтобы контент был поверх картинки */
.map {
  position: relative;
  z-index: 1;
}













.logo {
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition: filter 0.9s ease;
  cursor: pointer;
}

.logo:hover {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7))
          drop-shadow(0 0 19px rgba(255, 255, 255, 0.4))
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}
/* При нажатии — лёгкий "импакт" */
.logo:active {
  transform: scale(0.95);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  transition: transform 0.05s ease, filter 0.05s ease;
}


/* ===== Ползущая верёвка слева =====
   Собирается из частей, чтобы её длина подстраивалась под ЛЮБУЮ высоту окна:
     .scroll-rope_cap  — крюк с узлом (верхние 420 строк картинки «Крюк ползёт.png»)
     .scroll-rope_body — тело верёвки: повторяющийся кусок (img/Крюк ползёт тело.png)
   Высоту всего блока ставит JS: от крюка до низа окна, а в конце страницы —
   ровно до узла в футере. Раньше верёвка была одной картинкой фиксированной длины
   (подогнанной под окно ~923px): в низком окне две верёвки накладывались,
   в высоком или уменьшенном (--page-k) — между ними появлялся разрыв.
   Это блок вне .page, поэтому масштаб --page-k применяем вручную. */
.scroll-rope {
  position: fixed;
  left: calc(20px * var(--page-k));          /* слева */
  top: 100%;                                 /* изначально полностью под экраном */
  width: calc(50px * var(--page-k));
  height: 0;                                 /* высоту ставит JS */
  overflow: hidden;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.scroll-rope_cap {
  display: block;
  width: 100%;
  height: calc(200px * var(--page-k));       /* 420 строк × 50/105 */
  object-fit: cover;
  object-position: top;                      /* показываем только верх картинки */
}

.scroll-rope_body {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(200px * var(--page-k) - 0.5px);  /* -0.5px: перекрытие, чтобы не было волосяного шва */
  bottom: 0;
  background: url("img/Крюк ползёт тело.png") top left / 100% auto repeat-y;
}

/* Крепление на футере: только узел (нижние 105 строк картинки «Крюк ползёт низ.png»).
   Тело верёвки до узла тянет .scroll-rope, поэтому верхняя часть этой картинки больше не нужна
   (раньше она выступала вверх и на низких окнах накладывалась на крюк). */
.rope-anchor {
  position: absolute;
  left: 20px;               /* тот же отступ, что и у верёвки */
  bottom: 120px;            /* подстрой под свой футер (если меняешь — поправь ANCHOR_BOTTOM в JS) */
  width: 50px;
  height: 50px;             /* 105 строк × 50/105 */
  object-fit: cover;
  object-position: bottom;  /* показываем только низ картинки — узел */
  z-index: 51;
  pointer-events: none;
}





/* Затемнённый фон */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Сама картинка */
.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}









/* Общие стили для фото и видео в галерее */
.gallery_img {
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.gallery_img:hover {
  transform: scale(1.03);
}

/* Видео в галерее — без контролов */
.gallery_video {
  object-fit: cover;
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-media {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: none; /* по умолчанию скрыты */
}

.lightbox.active .lightbox-media.active {
  display: block;
}






.nav_button {
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 9999px;        /* полностью круглые края */
  background-color: #F3F4F6;    /* светло-серый как на картинке */
  color: #1F2937;               /* тёмно-серый текст */
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* При наведении */
.nav_button:hover {
  background-color: #E5E7EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* При нажатии */
.nav_button:active {
  transform: translateY(0);
  background-color: #D1D5DB;
  box-shadow: none;
}



#gallery_visitors{
  
}




.video-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.video-wrapper .gallery_video {
  display: block;
  width: 100%;
  height: 320px;          /* такая же высота, как у фото */
  object-fit: cover;
  border-radius: 12px;
}

/* Значок Play */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  padding-left: 4px;        /* чтобы треугольник выглядел ровно */
  pointer-events: none;     /* клик проходит на видео */
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

/* При наведении */
.video-wrapper:hover .play-icon {
  background: rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -50%) scale(1.1);
}






.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
    padding-bottom: 7px;
    padding-left: 3px;
}

.lightbox-next {
  right: 30px;
    padding-bottom: 5px;
    padding-left: 9px;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}













.reviews {
  width: 100%;
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

.reviews_title {
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  margin: 0 0 40px;
  color: #111;
  font-family: Inter;
}

/* ===== Карточка отзыва ===== */
.review_card {
  display: flex;
  gap: 16px;
  background: #f8f9fb;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 30px;
}

.review_avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review_avatar_img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.review_content {
  flex: 1;
  min-width: 0;
}

.review_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}

.review_name {
  font-weight: 600;
  font-size: 20px;
  color: #1F1F1F;
  font-family: Inter;
}

.review_date {
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
  font-family: Inter;
}

.review_text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  font-family: Inter;
}

/* ===== Форма ===== */
.review_form_wrapper {
  background: #f8f9fb;
  border-radius: 18px;
  padding: 28px 28px 24px;
}

.review_form_title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.review_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review_form_row {
  display: flex;
  gap: 14px;
}

.review_input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: #e8eaed;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: background 0.2s ease;
}

.review_input::placeholder {
  color: #9ca3af;
}

.review_input:focus {
  background: #dde0e4;
}

.review_input_phone{
  flex: 1;
  min-height: 48px !important;      /* принудительно */
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: #e8eaed;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: background 0.2s ease;

}

.review_textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #e8eaed;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.review_textarea::placeholder {
  color: #9ca3af;
}

.review_textarea:focus {
  background: #dde0e4;
}

.review_submit {
  align-self: flex-start;
  height: 48px;
  padding: 0 36px;
  border: none;
  border-radius: 9999px;
  background: #56CCF2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.review_submit:hover {
  background: #3bb8e0;
}

.review_submit:active {
  transform: scale(0.97);
}

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

  .review_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}











.footer_contacts {

    display: flex;
    flex-direction: column;
    justify-content: center;
  margin-left: 120px;
}

.footer_phone_block {
  display: flex;
  align-items: center;
}

.footer_phone_label {
  margin-right: 6px;
  font-size: 18px;
  color: #FFFFFF;
  font-family: Inter;
  font-weight: 200;
}

.footer_phone_number {
  font-size: 24px;
  color: #FFFFFF;
  font-family: Inter;
  font-weight: bold;
}

.footer_phone_name {
  margin-left: 6px;
  font-size: 18px;
  color: #FFFFFF;
  font-family: Inter;
  font-weight: 200;
}

.footer_email {
  font-size: 18px;
  color: #FFFFFF;
  font-family: Inter;
  font-weight: 200;
  margin-top: 10px;
  margin-bottom: 5px;
}

.footer_socials {
margin-bottom: 0px;

}
footer .img_icons_footers{
  width: 38px;
  margin-bottom: 0px;
}

footer .shapka_text_right_3 {
  height: 50px;
}








/* Показывать правую часть фото */
.gallery_img.pos_right {
  object-position: right center;
}

/* Показывать левую часть фото */
.gallery_img.pos_left {
  object-position: left center;
}

/* Чуть сместить вправо (не до конца) */
.gallery_img.pos_right_20 {
  object-position: 80% center;
}

/* Чуть сместить влево */
.gallery_img.pos_left_20 {
  object-position: 20% center;
}


/* =====================================================================
   СОСТОЯНИЯ КНОПОК (добавлено при аудите)
   Единые правила для всего сайта:
     нажатие   — кнопка «вдавливается» (scale 0.96–0.98), отклик быстрый (~0.1с)
     отпускание — плавный возврат (0.15–0.25с, берётся из transition базового состояния)
     наведение — лёгкий «подъём» или смена цвета (только устройства с мышью)
     фокус с клавиатуры (Tab) — заметная обводка; мышью/пальцем не показывается
     отключено / загрузка — приглушённый вид (пригодится, когда подключите форму отзывов)
   Блок стоит в конце файла, поэтому дополняет, а не ломает правила выше.
   ===================================================================== */

/* ---------- Фокус с клавиатуры (Tab) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #2F80ED;
  outline-offset: 3px;
}

/* на синей шапке, синем футере и тёмном лайтбоксе обводка белая */
.shapka a:focus-visible,
.shapka button:focus-visible,
footer a:focus-visible,
footer button:focus-visible,
.lightbox button:focus-visible {
  outline-color: #fff;
}

/* кнопки-«таблетки» лежат внутри ссылок: обводку рисуем один раз, вокруг кнопки */
.nav_link:focus-visible { outline: none; }
.nav_link:focus-visible button { outline: 3px solid #2F80ED; outline-offset: 3px; }
.nav_button:focus-visible,
.nav_link button:focus-visible { background-color: #E5E7EB; }

/* иконки мессенджеров: с клавиатуры — тот же «прыжок», что и при наведении мышью */
.logo_messenger:focus-visible img {
  transform: scale(1.25) rotate(5deg);
  filter: brightness(1.1);
}

/* логотип: с клавиатуры крюк выезжает так же, как при наведении
   (:has — чтобы не срабатывало после обычного клика мышью) */
.shapka:not(.shrink) .logo-wrapper:has(:focus-visible) .hook {
  transform: translateY(86px);
}

/* ---------- «Забронировать» (раньше у кнопки не было НИ ОДНОГО состояния) ---------- */
.hero_left_BUTTON {
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .hero_left_BUTTON:hover {
    background-color: #3bb8e0;               /* тот же цвет, что у «Отправить» */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(86, 204, 242, 0.45);
  }
}
.hero_left_BUTTON:active {
  background-color: #2fa9d3;
  transform: scale(0.97);
  box-shadow: none;
  transition-duration: 0.08s;
}

/* ---------- «Написать в Вацап» (раньше без реакции) ---------- */
.hero_left_5 {
  cursor: pointer;
  transform-origin: left center;
  transition: color 0.2s ease, transform 0.15s ease;
}
@media (hover: hover) {
  .hero_left_5:hover { color: #4DC4EC; transform: translateX(3px); }
}
.hero_left_5:active {
  color: #2BB3DE;
  transform: scale(0.97);
  transition-duration: 0.08s;
}

/* ---------- Поля формы: наведение и заметный фокус ---------- */
.review_input,
.review_textarea {
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .review_input:hover,
  .review_textarea:hover { background: #e2e5e9; }
}
.review_input:focus,
.review_textarea:focus {
  background: #dde0e4;
  box-shadow: 0 0 0 2px #56CCF2;             /* раньше фокус отличался только оттенком серого */
}

/* ---------- Лайтбокс: нажатие у стрелок и крестика ---------- */
.lightbox-btn:active {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(0.92);
  transition-duration: 0.1s;
}
.lightbox-close:hover { transform: scale(1.1); }
.lightbox-close:active {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0.92);
  transition-duration: 0.1s;
}

/* ---------- Галерея: нажатие на фото и на видео ---------- */
.gallery_img:active {
  transform: scale(0.99);
  transition-duration: 0.1s;
}
.video-wrapper:active .play-icon {
  background: rgba(0, 0, 0, 0.85);
  transform: translate(-50%, -50%) scale(0.92);
  transition-duration: 0.1s;
}

/* ---------- Отключено / идёт отправка ---------- */
.review_submit:disabled,
.hero_left_BUTTON:disabled,
.nav_button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.review_submit[aria-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}



/* =====================================================================
   БРОНИРОВАНИЕ — модальное окно, календарь и форма (версия для компьютеров)
   Разметка: блок #bkModal в index.html. Скрипт: блок «БРОНИРОВАНИЕ» в конце index.html.
   Цвета и скругления — те же, что у кнопок и форм отзывов на сайте.
   Мобильные стили этих же классов — в mobile.css.
   ===================================================================== */

/* Пока окно открыто, страница под ним не прокручивается. scrollbar-gutter не даёт
   странице «прыгать» вправо, когда пропадает полоса прокрутки. */
html.kd-lock,
html.kd-lock body { overflow: hidden; }
html.kd-lock { scrollbar-gutter: stable; }

/* Кнопка «Забронировать» на главном экране (раньше у неё не было курсора-руки и реакции на наведение) */
.hero_left_BUTTON {
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.hero_left_BUTTON:hover { background-color: #3bb8e0; }
.hero_left_BUTTON:active { transform: scale(0.97); }
.hero_left_BUTTON:focus-visible { outline: 3px solid #2F80ED; outline-offset: 3px; }

.bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;                      /* выше шапки (1000), ниже лайтбокса (9999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.58);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #1F1F1F;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bk-overlay,
.bk-overlay *,
.bk-overlay *::before,
.bk-overlay *::after { box-sizing: border-box; }   /* в style.css общего border-box нет */
.bk-overlay[hidden] { display: none; }
.bk-overlay.is-open { opacity: 1; }

.bk-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1060px;
  max-height: 100%;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s ease;
  outline: none;
}
.bk-overlay.is-open .bk-dialog { transform: none; }

.bk-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 38px 42px 34px;
}

.bk-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: #F3F4F6;
  color: #374151;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bk-close:hover { background: #E5E7EB; }

.bk-title {
  margin: 0 56px 8px 0;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  color: #111;
}
.bk-lead { margin: 0 0 24px; max-width: 640px; color: #575757; }

.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

/* ----- Календарь ----- */

.bk-cal { padding: 20px 22px 22px; border-radius: 22px; background: #f8f9fb; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bk-month { font-weight: 600; font-size: 19px; text-align: center; }

.bk-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: #F3F4F6;
  color: #1F1F1F;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bk-nav:hover:not(:disabled) { background: #E5E7EB; }
.bk-nav:disabled { opacity: 0.35; cursor: default; }

.bk-week,
.bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-week span { padding: 4px 0 6px; text-align: center; font-size: 13px; font-weight: 500; color: #9ca3af; }
.bk-grid.is-hidden { display: none; }

.bk-day {
  aspect-ratio: 1.25 / 1;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1F1F1F;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
.bk-pad { aspect-ratio: 1.25 / 1; }
.bk-day:hover:not(.is-busy):not(.is-past):not(.is-far):not(.is-start):not(.is-end) { background: #DDF3FB; }
.bk-day:focus-visible,
.bk-nav:focus-visible,
.bk-close:focus-visible,
.bk-link:focus-visible,
.bk-submit:focus-visible { outline: 3px solid #2F80ED; outline-offset: 2px; }

.bk-day.is-today { box-shadow: inset 0 0 0 2px #2F80ED; font-weight: 700; }
.bk-day.is-past,
.bk-day.is-far { background: transparent; color: #C5CAD3; cursor: default; }

/* Занятая ночь: штриховка, а не только цвет, чтобы различалось и без цвета */
.bk-day.is-busy {
  background: repeating-linear-gradient(135deg, #F2C4C0 0 5px, #F9E4E1 5px 10px);
  color: #9C3F38;
  cursor: not-allowed;
}
/* День заезда следующих гостей: утро свободно, дальше занято */
.bk-day.is-busy-start { background: linear-gradient(135deg, #fff 50%, #F2C4C0 50%); color: #1F1F1F; cursor: pointer; }
/* День выезда прежних гостей: утро занято, дальше свободно */
.bk-day.is-free-end { background: linear-gradient(135deg, #F2C4C0 50%, #fff 50%); }

.bk-day.is-range { background: #D7F0F9; border-radius: 4px; color: #1F1F1F; }
.bk-day.is-start,
.bk-day.is-end { background: #56CCF2; color: #fff; font-weight: 700; box-shadow: none; cursor: pointer; }

.bk-calstate { min-height: 0; font-size: 14px; color: #575757; }
.bk-calstate.is-loading,
.bk-calstate.is-error { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: #E8F4FB; }
.bk-calstate.is-error { background: #FDECEA; color: #A3342D; }

.bk-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: #575757; }
.bk-legend li { display: flex; align-items: center; gap: 7px; }
.bk-sw { display: inline-block; width: 18px; height: 18px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #d9dde3; }
.bk-sw-busy { background: repeating-linear-gradient(135deg, #F2C4C0 0 4px, #F9E4E1 4px 8px); box-shadow: none; }
.bk-sw-sel { background: #56CCF2; box-shadow: none; }
.bk-sw-past { background: #f1f2f4; box-shadow: none; }
.bk-hint { margin: 8px 0 0; font-size: 13px; color: #8b93a1; }

.bk-summary { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff; font-weight: 500; }
.bk-msg { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.bk-msg[hidden] { display: none; }
.bk-msg.is-error { background: #FDECEA; color: #A3342D; }
.bk-msg.is-info { background: #E8F4FB; color: #17607E; }

.bk-link {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: #2F80ED;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.bk-link[hidden] { display: none; }
.bk-calstate .bk-link { margin: 0 0 0 4px; padding: 0; color: inherit; }

/* ----- Форма ----- */

.bk-form { display: flex; flex-direction: column; gap: 14px; }
.bk-form-title { margin: 0; font-size: 21px; font-weight: 600; color: #111; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk-label { font-size: 14px; font-weight: 500; color: #575757; }
.bk-req { margin-left: 2px; color: #D8453D; }

.bk-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #e8eaed;
  color: #111;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.bk-input::placeholder { color: #9ca3af; }
.bk-input:focus { background: #dde0e4; box-shadow: 0 0 0 2px #56CCF2; }
.bk-input[aria-invalid="true"] { background: #FBEAE9; box-shadow: 0 0 0 2px #E5534B; }
.bk-textarea { min-height: 96px; padding: 13px 16px; resize: vertical; }

.bk-err { font-size: 13.5px; color: #C0392B; }
.bk-err:empty { display: none; }

.bk-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #575757; cursor: pointer; }
.bk-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: #2F80ED; cursor: pointer; }
.bk-check a { color: #2F80ED; }

/* Ловушка для ботов: вынесена за экран, а не скрыта display:none */
.bk-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.bk-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 9999px;
  background: #56CCF2;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.bk-submit:hover:not(:disabled) { background: #3bb8e0; }
.bk-submit:active:not(:disabled) { transform: scale(0.98); }
.bk-submit:disabled { cursor: progress; background: #8fdcf3; }
.bk-spin { display: none; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; border-radius: 50%; }
.bk-submit.is-sending .bk-spin { display: inline-block; animation: bk-rotate 0.8s linear infinite; }
@keyframes bk-rotate { to { transform: rotate(360deg); } }

.bk-note { margin: 0; font-size: 13.5px; color: #8b93a1; }
.bk-note a { color: #575757; }

/* ----- После отправки ----- */

.bk-done { max-width: 520px; margin: 0 auto; padding: 24px 0 8px; text-align: center; }
.bk-done[hidden],
.bk-main[hidden] { display: none; }
.bk-done .bk-title { margin: 0 0 14px; outline: none; }
.bk-done-icon { position: relative; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: #56CCF2; }
.bk-done-icon::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 17px;
  width: 20px;
  height: 36px;
  border: solid #fff;
  border-width: 0 6px 6px 0;
  transform: rotate(40deg);
}
.bk-done-text { margin: 0 0 12px; font-size: 17px; color: #374151; }
.bk-done-num { margin: 0 0 22px; font-size: 14px; color: #8b93a1; }
.bk-done-btn { max-width: 280px; margin: 0 auto; }

@media (max-width: 920px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .bk-scroll { padding: 30px 26px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-overlay, .bk-dialog { transition: none; }
  .bk-submit.is-sending .bk-spin { animation-duration: 2.4s; }
}
/* =====================================================================
   ОТЗЫВЫ (плашка источника, форма с согласием) · НИЖНЯЯ КНОПКА «ЗАБРОНИРОВАТЬ»
   ===================================================================== */

/* Справа в шапке отзыва: дата и (для отзывов с Авито) серая плашка с источником */
.review_meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.review_source {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #6b7280;
  background: #eceef1;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Форма отзыва: ловушка для ботов, согласие, подсказка и сообщения */
.review_hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.review_check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #575757; cursor: pointer; }
.review_check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #2F80ED; cursor: pointer; }
.review_check a { color: #2F80ED; }
.review_note { margin: 0; font-size: 13.5px; color: #8b93a1; }
.review_msg { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.review_msg[hidden] { display: none; }
.review_msg.is-error { background: #FDECEA; color: #A3342D; }
.review_msg.is-ok { background: #E4F5EA; color: #1B6B3A; }
.review_input[aria-invalid="true"],
.review_textarea[aria-invalid="true"] { background: #FBEAE9; box-shadow: 0 0 0 2px #E5534B; }
.review_submit:disabled { cursor: progress; background: #8fdcf3; }

/* Нижний блок с кнопкой «Забронировать» (тот же вид, что у кнопки на первом экране) */
.cta_end { text-align: center; padding: 70px 20px 90px; }
.cta_end_title {
  margin: 0 0 14px;
  font-family: Inter, sans-serif;
  font-size: 45px;
  font-weight: bold;
  color: #111;
}
.cta_end_text { margin: 0 auto 30px; max-width: 560px; font-size: 18px; line-height: 1.5; color: #575757; }
.cta_end_BUTTON {
  font-size: 16px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 16px;
  color: #FFFFFF;
  background-color: #56CCF2;
  border-radius: 1000px;
  border: 0px;
  width: 192px;
  height: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.cta_end_BUTTON:hover { background-color: #3bb8e0; }
.cta_end_BUTTON:active { transform: scale(0.97); }
.cta_end_BUTTON:focus-visible { outline: 3px solid #2F80ED; outline-offset: 3px; }

/* Ссылка на политику в подвале (юридические страницы: privacy.html, consent.html) */
.footer_legal {
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
  font-size: 0.9em;
}
.footer_legal:hover { opacity: 1; }
/* Вложения к отзыву: кнопка «Прикрепить фото или видео» и список выбранных файлов */
.review_attach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.review_file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.review_attach_btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: #E5E7EB; color: #1F1F1F;
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s ease;
}
.review_attach_btn:hover { background: #d8dbe0; }
.review_attach_hint { font-size: 13px; color: #8b93a1; }
.review_files { flex: 1 0 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.review_files:empty { display: none; }
.review_file_item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: #fff; border-radius: 12px; }
.review_file_thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #e5e7eb; }
.review_file_thumb.is-video { display: flex; align-items: center; justify-content: center; background: #1F1F1F; color: #fff; font-size: 14px; }
.review_file_name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #575757; }
.review_file_del {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  padding: 0; border: 0; border-radius: 50%; background: #F3F4F6; color: #374151; cursor: pointer;
}
.review_file_del:hover { background: #E5E7EB; }
.review_file_del svg { display: block; pointer-events: none; }

/* Кнопка «Забронировать» перед отзывами и увеличение картинок карточки «Мангальная зона / Прихожая» */
.cta_mid { padding-top: 60px; padding-bottom: 30px; }
[data-lightbox] { cursor: zoom-in; }
