/* ===== Modals ===== */
    .modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--ease), visibility var(--ease);
    }

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

    .modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(4px);
    }

    .modal-dialog {
      position: relative;
      background: rgba(6, 3, 6, 0.95);
      color: #f3f3f3;
      border: 1px solid rgba(89, 60, 144, 0.3);
      border-radius: 16px;
      padding: 32px;
      max-width: 640px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: #593C90 #111111;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
      transform: scale(0.92) translateY(16px);
      transition: transform var(--ease);
    }

    .modal-dialog--hall {
      max-width: 960px;
      padding: 28px;
    }

    .modal.active .modal-dialog {
      transform: scale(1) translateY(0);
    }

    .modal-dialog::-webkit-scrollbar {
      width: 8px;
    }

    .modal-dialog::-webkit-scrollbar-track {
      background: rgba(6, 3, 6, 0.95);
      border-radius: 8px;
      margin: 12px 0;
    }

    .modal-dialog::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, #5E2177 0%, #593C90 100%);
      border-radius: 8px;
      border: 2px solid #111111;
    }

    .modal-dialog::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, #593C90 0%, #FFDE59 100%);
    }

    .modal-dialog.city {
      max-width: 400px;
      background: var(--card);
      color: #fff;
      border: 1px solid var(--border);
    }

    .modal-dialog.city .modal-title {
      background: var(--grad);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(89, 60, 144, 0.35);
      border-radius: 50%;
      color: #fff;
      cursor: pointer;
      font-size: 1.2rem;
      transition: all var(--ease);
      line-height: 1;
      z-index: 2;
    }

    .modal-close:hover {
      background: var(--purple-dark);
      color: #fff;
      border-color: var(--purple-dark);
    }

    .modal-hall-grid {
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 28px;
      align-items: start;
    }

    .modal-header-sticky {
      position: relative;
      flex-shrink: 0;
      overflow: hidden;
      width: 100%;
    }

    .modal-dialog--hall .hall-photos,
    .modal-dialog--hall .modal-slider {
      display: flex;
      width: 100%;
      height: 260px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-snap-stop: always;
      scrollbar-width: none;
      -webkit-overflow-scrolling: auto;
      overscroll-behavior-x: contain;
      touch-action: pan-x;
      border-radius: 12px;
      border: 1px solid rgba(89, 60, 144, 0.25);
      background: #1a0b2e;
    }

    .modal-dialog--hall .hall-photos::-webkit-scrollbar,
    .modal-dialog--hall .modal-slider::-webkit-scrollbar {
      display: none;
    }

    .modal-dialog--hall .hall-photos img,
    .modal-dialog--hall .hall-photo,
    .modal-dialog--hall .modal-slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      display: block;
      position: static;
      opacity: 1;
      visibility: visible;
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }

    .modal-dialog--hall .modal-slider-dots {
      position: absolute;
      bottom: 12px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 5;
      margin: 0;
      padding: 0;
    }

    .modal-slider-dots .dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      cursor: pointer;
      transition: all 0.3s;
    }

    .modal-slider-dots .dot.active {
      width: 24px;
      border-radius: 4px;
      background: #FFDE59;
    }

    .modal-scroll-content {
      min-width: 0;
    }

    .modal-footer {
      margin-top: 16px;
    }

    .btn-check-date {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 10px 16px;
      background: linear-gradient(135deg, #593C90, #5E2177);
      color: #FFFFFF;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      min-height: 44px;
      box-shadow: 0 4px 16px rgba(89, 60, 144, 0.35);
      transition: transform 0.2s;
      text-decoration: none;
    }

    .btn-check-date:active {
      transform: scale(0.98);
    }

    .modal-body {
      font-size: 0.9rem;
      line-height: 1.55;
    }

    .modal-title {
      font-size: 1.6rem;
      font-weight: 800;
      margin-bottom: 10px;
      color: var(--purple2);
      -webkit-text-fill-color: var(--purple2);
      padding-right: 40px;
    }

    .modal-lead {
      color: #d4d4d4;
      margin-bottom: 14px;
    }

    .modal-address {
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.95rem;
      margin: 0 0 12px;
    }

    .modal-alert {
      background: rgba(255, 152, 0, 0.12);
      border-left: 3px solid #ff9800;
      padding: 10px 12px;
      margin-bottom: 12px;
      font-size: 0.85rem;
      color: #ffcc80;
    }

    .modal-facts {
      list-style: none;
      margin: 0 0 14px;
      padding: 0;
      color: #e8e8e8;
    }

    .modal-facts li {
      margin-bottom: 6px;
    }

    .modal-accordion {
      border: 1px solid rgba(89, 60, 144, 0.22);
      border-radius: 10px;
      margin-bottom: 10px;
      overflow: hidden;
      background: #0a0a0a;
    }

    .modal-accordion summary {
      padding: 12px 14px;
      font-weight: 700;
      color: #FFDE59;
      cursor: pointer;
      background: rgba(89, 60, 144, 0.12);
      list-style: none;
      line-height: 1.35;
    }

    .modal-accordion summary::-webkit-details-marker { display: none; }

    .modal-accordion[open] summary {
      border-bottom: 1px solid rgba(89, 60, 144, 0.22);
    }

    .modal-accordion > *:not(summary) {
      padding: 0 14px 12px;
    }

    .modal-list {
      margin: 10px 0 0;
      padding-left: 18px;
      color: #e8e8e8;
    }

    .modal-list li { margin-bottom: 4px; }

    .modal-spec-table {
      margin: 10px 0 0;
      display: grid;
      gap: 0;
    }

    .modal-spec-table > div {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.85rem;
    }

    .modal-spec-table dt {
      color: #a8a8a8;
      font-weight: 500;
    }

    .modal-spec-table dd {
      color: #fff;
      font-weight: 600;
      margin: 0;
      text-align: right;
    }

    .modal-price-block {
      margin-top: 10px;
      color: #e8e8e8;
    }

    .modal-price-block p {
      margin-bottom: 10px;
    }

    .modal-price-block strong {
      color: var(--purple2);
    }

    .modal-note {
      font-size: 0.8rem;
      color: #bdbdbd;
      margin: 10px 0 6px;
    }

    .modal-note--warn {
      color: #d32f2f;
      font-weight: 600;
    }

    .modal-body .btn-primary {
      margin-top: 16px;
      width: 100%;
      justify-content: center;
    }

    .city-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }

    .city-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 12px;
      color: #fff;
      font-weight: 600;
      transition: all var(--ease);
    }

    .city-list a:hover {
      border-color: var(--purple-dark);
      background: rgba(94, 33, 119, 0.12);
      color: var(--purple2);
    }

    .city-list li.current a {
      border-color: var(--purple-dark);
      background: rgba(94, 33, 119, 0.15);
      color: var(--purple2);
      pointer-events: none;
    }

    @media (max-width: 768px) {
      .modal:not(.active) {
        display: none !important;
      }

      .modal {
        padding: 0;
        align-items: stretch;
        justify-content: flex-start;
        background: #060306;
        z-index: 40000;
        overflow: hidden;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
      }

      .modal.active {
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }

      .modal-overlay {
        display: none;
      }

      .modal.active .modal-dialog {
        transform: none;
      }

      .modal-close {
        position: fixed;
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 24px;
        font-weight: 700;
        background: rgba(89, 60, 144, 0.9);
        border: 2px solid rgba(255, 255, 255, 0.3);
        z-index: 40010;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .modal-close:hover {
        background: #593C90;
      }

      .modal-dialog,
      .modal-dialog--hall {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        max-height: none;
        margin: 0;
        border-radius: 0;
        border: none;
        padding: 0;
        transform: none;
        overflow: hidden;
        background: #060306;
        box-shadow: none;
        display: flex;
        flex-direction: column;
      }

      .modal-hall-grid {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        gap: 0;
        align-items: stretch;
        width: 100%;
      }

      .modal-header-sticky {
        flex-shrink: 0;
        position: relative;
        z-index: 100;
        background: #060306;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
      }

      .modal-dialog--hall .hall-photos,
      .modal-dialog--hall .modal-slider {
        width: 100%;
        height: 100%;
        min-height: 0;
        border: none;
        border-radius: 0;
      }

      .modal-dialog--hall .modal-slider-dots {
        bottom: 16px;
      }

      .modal-scroll-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
      }

      .modal-body {
        padding: 24px 16px 16px;
        flex: 1;
      }

      .modal-footer {
        position: sticky;
        bottom: 0;
        margin-top: auto;
        background: rgba(6, 3, 6, 0.98);
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(89, 60, 144, 0.3);
        z-index: 100;
      }

      .modal-body .btn-booking,
      .modal-body .btn-primary {
        position: static;
        width: 100%;
        min-height: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
      }

      .modal-body .modal-title {
        color: #593C90;
        font-size: 22px;
        font-weight: 700;
        padding-right: 48px;
        margin-bottom: 8px;
        line-height: 1.25;
      }

      .modal-body .modal-lead {
        color: rgba(255, 255, 255, 0.88);
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
      }

      .modal-address {
        color: rgba(255, 255, 255, 0.75);
        font-size: 14px;
        margin: 0 0 16px;
        line-height: 1.4;
      }

      .modal-facts {
        list-style: none;
        padding: 0;
        margin: 0 0 16px;
      }

      .modal-facts li {
        color: rgba(255, 255, 255, 0.88);
        font-size: 14px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(89, 60, 144, 0.2);
      }

      .modal-facts li:last-child {
        border-bottom: none;
      }

      .modal .accordion {
        margin: 12px 0;
        border: 1px solid rgba(89, 60, 144, 0.3);
        border-radius: 12px;
        overflow: hidden;
        background: rgba(89, 60, 144, 0.05);
      }

      .modal .accordion-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        background: rgba(89, 60, 144, 0.15);
        border: none;
        padding: 16px 18px;
        color: #FFDE59;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        font-family: 'Montserrat', sans-serif;
      }

      .modal .accordion-header:hover,
      .modal .accordion-header.active {
        background: rgba(89, 60, 144, 0.25);
        color: #FFDE59;
      }

      .modal .accordion-header > span:first-child {
        flex: 1;
        min-width: 0;
        white-space: normal;
        overflow-wrap: break-word;
      }

      .modal .accordion-header .arrow {
        color: #FFDE59;
        transition: transform 0.3s;
        font-size: 12px;
        flex-shrink: 0;
      }

      .modal .accordion-header.active .arrow {
        transform: rotate(180deg);
      }

      .modal .accordion-body {
        max-height: 0;
        background: rgba(6, 3, 6, 0.5);
        transition: max-height 0.4s ease;
      }

      .modal .accordion-body.open {
        max-height: 2400px;
        padding: 16px 20px;
      }

      .modal .accordion-body ul:not(.equipment-list) li {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        padding: 10px 0 10px 28px;
        position: relative;
        border-bottom: 1px solid rgba(89, 60, 144, 0.1);
      }

      .modal .accordion-body ul:not(.equipment-list) li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #FFDE59;
        font-weight: 700;
      }

      .modal .equipment-list li {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(89, 60, 144, 0.1);
      }

      .modal .equipment-list li:last-child,
      .modal .accordion-body ul li:last-child {
        border-bottom: none;
      }

      .modal-dialog.city {
        padding: 16px;
      }

      .modal-dialog.city .modal-close {
        position: fixed;
      }
    }
