  /* Добавляем стили для работы меню */
    .dropdown-menu {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: 
        opacity 0.3s ease, 
        transform 0.3s ease, 
        visibility 0.3s ease;
    }
    
    .group:hover .dropdown-menu,
    .group:focus-within .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
     
     /* Аккордеон для мобильного меню */
   
    
    .accordion-open .accordion-content {
      max-height: 500px;
    }
    
    .accordion-open .accordion-arrow {
      transform: rotate(180deg);
    }

        /* Плавные переходы для меню */
    .mega-menu {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: 
        opacity 0.3s ease, 
        transform 0.3s ease, 
        visibility 0.3s ease;
    }
    
    .group:hover .mega-menu,
    .group:focus-within .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    /* Крупная сетка */

     .grid-overlay {
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
            background-size: 50px 50px;
        }

    .bankruptcy-item {
    display: flex;
    align-items: flex-start;
  }
  
  .bankruptcy-marker {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    background-color: #FEE2E2;
    color: #B91C1C;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }
  
  .bankruptcy-marker::before {
    content: "•";
  }
 


  /* Пульсация кнопки */

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(226, 223, 27, 0.541);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(220, 221, 134, 0);
  }
}

/* Пульсация кнопки */

.pulse-2 {
  animation: pulse-animation-2 2s infinite;
}

@keyframes pulse-animation-2 {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.497);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(231, 235, 13, 0);
  }
}


/* Эффект приблежения изображения */

  .zoom-bg {
    animation: slow-zoom 24s infinite alternate ease-in-out;
    transform-origin: center;
    will-change: transform;
  }
  
  @keyframes slow-zoom {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.1);
    }
  }


   .leaf {
    transition: transform 0.3s ease-out;
    animation: float 8s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
  }
  
  @media (pointer: fine) {
    body:hover .leaf {
      transition-duration: 0.1s;
    }
    
    body:hover .leaf:nth-child(1) {
      transform: 
        translateY(calc(var(--mouse-y) * -0.5px + var(--scroll-y) * -0.2px)) 
        translateX(calc(var(--mouse-x) * -0.5px + var(--scroll-y) * -0.1px))
        rotate(calc(var(--mouse-x) * 0.2deg));
    }
    
    body:hover .leaf:nth-child(2) {
      transform: 
        translateY(calc(var(--mouse-y) * 0.5px + var(--scroll-y) * 0.2px)) 
        translateX(calc(var(--mouse-x) * 0.5px + var(--scroll-y) * 0.1px))
        rotate(calc(var(--mouse-x) * 0.3deg + 45deg));
    }
  }

 /* Оформление карусели фотографий номеров */

        
        .swiper-pagination-bullet {
            background: rgba(255, 255, 255, 0.7);
            width: 8px;
            height: 8px;
        }
        .swiper-pagination-bullet-active {
            background: #fff;
        }
        .swiper-button-next, .swiper-button-prev {
            color: white;
            background: rgba(0, 0, 0, 0.3);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: none;
            transition: all 0.3s ease;
        }
        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 16px;
            font-weight: bold;
        }
        .swiper:hover .swiper-button-next, 
        .swiper:hover .swiper-button-prev {
            display: flex;
        }

  /* Оформление карточек инфраструктуры */

      .infrastructure-card {
            aspect-ratio: 3/4; /* Соотношение сторон */
        }
        
        @media (max-width: 768px) {
            .infrastructure-card {
                aspect-ratio: 3/2; /* Вертикальное соотношение для мобильных */
            }
        }


  /* Оформление карточек блога */

      .blog-card {
            aspect-ratio: 3/4; /* Соотношение сторон */
        }
        
        @media (max-width: 768px) {
            .blog-card {
                aspect-ratio: 3/2; /* Вертикальное соотношение для мобильных */
            }
        }

/* Оформление для pop up */

        .popup-overlay {
            animation: fadeIn 0.3s ease-out forwards;
        }
        
        .popup-content {
            animation: slideIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
        }
        
        .popup-closing .popup-overlay {
            animation: fadeOut 0.3s ease-out forwards;
        }
        
        .popup-closing .popup-content {
            animation: slideOut 0.3s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
        }
        
        .popup {
        transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .popup.closing {
        opacity: 0;
        visibility: hidden;
        }

        .popup-overlay {
        transition: opacity 0.3s ease;
        }

        .popup.closing .popup-overlay {
        opacity: 0;
        }
        
        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        
        @keyframes slideIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes slideOut {
            0% { opacity: 1; transform: translateY(0); }
            100% { opacity: 0; transform: translateY(20px); }
        }
        
        .close-btn svg {
            transition: transform 0.3s ease;
        }
        
        .close-btn:hover svg {
            transform: rotate(90deg);
        }

        /* Карточки инфраструктуры */

          .card-link {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card-link:hover {
    transform: translateY(-5px);
  }
  .card-link:hover .bubble {
    background-color: #b2f5ea;
  }
  .bubble {
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .circle-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card-link:hover .circle-btn {
    transform: translateX(4px);
  }

/* Поисковый Календарь */

 :root {
            --primary: #0d9488;
            --primary-light: #54d4ca;
            --primary-dark: #084663;
            --text: #1F2937;
            --light-bg: #f9fbfb;
            --border: #e5e9eb;
            --success: #10B981;
            --error: #EF4444;
        }
  
.ws-search-container {
            position: relative;
            width: 100%;
            max-width: 880px;
        }
        .ws-search-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            width: 100%;
            padding: 18px;
            position: relative;
            z-index: 10;
            border: 1px solid var(--border);
            box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
        }
        .ws-search-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }
        .ws-search-input {
            border: 1px solid var(--border);
            border-radius: 12px;
            background: white;
            cursor: pointer;
            position: relative;
            padding: 12px;
            display: flex;
            align-items: center;
            height: 64px;
            transition: all 0.2s ease;
        }
        .ws-search-input:hover {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        }
        .ws-search-input.active {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
        }
        .ws-icon-wrapper {
            background: #0ea4e91f;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            flex-shrink: 0;
            transition: background 0.2s ease;
        }
        .ws-search-input.active .ws-icon-wrapper {
            background: rgba(13, 148, 136, 0.15);
        }
        .ws-input-content {
            flex-grow: 1;
            min-width: 0;
        }
        .ws-input-content .ws-label {
            font-size: 0.7rem;
            color: #6B7280;
            margin-bottom: 2px;
            display: block;
            font-weight: 500;
        }
        .ws-input-content .ws-value {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ws-reset-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            color: #9CA3AF;
            cursor: pointer;
            font-size: 14px;
            padding: 5px;
            border-radius: 50%;
            display: none;
            width: 24px;
            height: 24px;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .ws-search-input.has-value .ws-reset-btn {
            display: flex;
        }
        .ws-reset-btn:hover {
            color: var(--error);
            background-color: #FEE2E2;
        }
        .ws-calendar-container {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            transform: translate(-50%, -50%) scale(0.95);
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 100;
            width: 100%;
            max-width: 680px;
            position: fixed;
            top: 50%;
            left: 50%;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        .ws-calendar-container.active {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
            pointer-events: all;
        }
        .ws-calendar-months {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            padding: 0;
        }
        .ws-calendar-month {
            padding: 15px;
            position: relative;
        }
        .ws-calendar-month:first-child {
            border-right: 1px solid var(--border);
        }
        .ws-calendar-header {
            background: var(--primary);
            color: white;
            padding: 14px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        .ws-header-top {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            justify-content: space-between;
        }
        .ws-month-title {
            font-size: 1.05rem;
            font-weight: 600;
            min-width: 110px;
            text-align: center;
            margin-bottom: 10px;
        }
        .ws-nav-buttons {
            display: flex;
            gap: 4px;
        }
        .ws-nav-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 14px;
            cursor: pointer;
            border: none;
            transition: background 0.2s ease;
        }
        .ws-nav-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        .ws-duration-container {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            padding: 6px 12px;
            flex-shrink: 0;
            margin: 0 10px;
        }
        .ws-calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            margin-top: 10px;
        }
        .ws-day-name {
            color: #6B7280;
            font-weight: 600;
            text-align: center;
            padding: 8px 0;
            font-size: 0.75rem;
            text-transform: uppercase;
        }
        .ws-calendar-day {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 36px;
            width: 36px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            z-index: 1;
            margin: 0 auto;
            font-size: 0.85rem;
            transition: all 0.15s ease;
            border: 1px solid var(--border);
            background-color: white;
        }
        .ws-calendar-day:hover {
            background: var(--primary-light);
            color: var(--primary);
            border-color: var(--primary);
        }
        .ws-calendar-day.selected {
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-color: var(--primary);
        }
        .ws-calendar-day.in-range {
            background: var(--primary-light);
            color: var(--primary);
            border-color: var(--primary-light);
        }
        .ws-calendar-day.start-date {
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-color: var(--primary);
        }
        .ws-calendar-day.end-date {
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-color: var(--primary);
        }
        .ws-calendar-day.start-date.end-date {
            border-radius: 6px;
        }
        .ws-calendar-day.today {
            color: var(--primary);
            font-weight: 700;
            border: 1px solid var(--primary);
        }
        .ws-calendar-day.disabled {
            color: #D1D5DB;
            cursor: not-allowed;
            background: #F9FAFB;
            border-color: var(--border);
        }
        .ws-guests-selector {
            background: white;
            border-radius: 16px;
            border: 1px solid var(--border);
            transform: translate(-50%, -50%) scale(0.95);
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 100;
            width: 100%;
            max-width: 340px;
            position: fixed;
            top: 50%;
            left: 50%;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        .ws-guests-selector.active {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
            pointer-events: all;
        }
        .ws-guests-header {
            padding: 15px;
            background: var(--primary);
            color: white;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .ws-guests-header h2 {
            font-size: 1.1rem;
            font-weight: 600;
        }
        .ws-guests-body {
            padding: 15px;
        }
        .ws-guest-type {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }
        .ws-guest-info {
            flex: 1;
        }
        .ws-guest-info h3 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2px;
        }
        .ws-guest-info p {
            font-size: 0.75rem;
            color: #6B7280;
        }
        .ws-guest-counter {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .ws-counter-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            font-size: 16px;
            background: white;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .ws-counter-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        .ws-counter-btn:not(:disabled):hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }
        .ws-counter-value {
            font-size: 0.9rem;
            font-weight: 600;
            min-width: 24px;
            text-align: center;
        }
        .ws-children-ages {
            padding: 12px 0;
            max-height: 250px;
            overflow-y: auto;
        }
        .ws-children-ages h3 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 8px;
        }
        .ws-age-select-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 10px;
        }
        .ws-age-select-wrapper span {
            font-size: 0.85rem;
            font-weight: 500;
            white-space: nowrap;
        }
        .ws-age-select {
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 10px 12px;
            background: white;
            font-size: 0.85rem;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.8rem center;
            background-size: 0.8em;
            width: 120px;
            transition: border-color 0.2s ease;
        }
        .ws-age-select:focus {
            border-color: var(--primary);
            outline: none;
        }
        .ws-search-btn {
            background: var(--primary);
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0 20px;
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            grid-column: span 1;
            height: 64px;
            gap: 8px;
            transition: background 0.2s ease, transform 0.1s ease;
        }
        .ws-search-btn:hover {
            background: var(--primary-dark);
        }
        .ws-search-btn:active {
            transform: scale(0.98);
        }
        /* Адаптивность */
        @media (max-width: 1024px) {
            .ws-search-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .ws-search-btn {
                grid-column: span 2;
                height: auto;
                padding: 12px;
            }
            .ws-calendar-months {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 768px) {
            .ws-search-card {
                padding: 15px;
            }
            .ws-search-grid {
                grid-template-columns: 1fr;
            }
            .ws-search-btn {
                grid-column: span 1;
            }
            .ws-calendar-container {
                max-width: 95vw;
                width: 95vw;
                grid-template-columns: 1fr;
            }
            .ws-calendar-container.active {
                transform: translate(-50%, -50%) scale(1);
            }
            .ws-calendar-header {
                flex-wrap: wrap;
                gap: 10px;
                justify-content: space-between;
            }
            .ws-header-top {
                flex-wrap: wrap;
                justify-content: space-between;
                gap: 8px;
            }
            .ws-duration-container {
                order: 0;
                width: auto;
                flex-grow: 1;
                justify-content: center;
                margin: 0 10px;
            }
            .ws-nav-buttons {
                order: -1;
            }
            .ws-calendar-month {
                padding: 10px;
            }
            .ws-calendar-month:first-child {
                border-right: none;
                border-bottom: 1px solid var(--border);
            }
            .ws-month-title {
                min-width: auto;
                font-size: 0.95rem;
            }
            .ws-calendar-grid {
                gap: 2px;
            }
            .ws-calendar-day {
                height: 32px;
                width: 32px;
                font-size: 0.8rem;
            }
            .ws-calendar-month:last-child {
                display: none;
            }
            .ws-guest-type {
                flex-direction: row;
                align-items: center;
                gap: 10px;
                justify-content: space-between;
            }
            .ws-guest-info {
                flex: 1;
            }
            .ws-guest-counter {
                flex: 0 0 auto;
            }
            .ws-children-ages {
                max-height: 200px;
            }
            .ws-age-select-wrapper {
                flex-direction: row;
                align-items: center;
                gap: 10px;
            }
            .ws-age-select-wrapper span {
                flex: 1;
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .ws-age-select {
                width: 100px;
                flex-shrink: 0;
            }
            #ws-apply-guests {
                height: 44px;
                font-size: 0.85rem;
                padding: 0 16px;
            }
        }