/* Base */
html {
  overscroll-behavior-y: none;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 rgba(5, 8, 22, 0.9);
}
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.98) 0%, rgba(10, 14, 35, 0.98) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
html::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb 0%, #7c3aed 45%, #ef4444 100%);
  border: 2px solid rgba(5, 8, 22, 0.85);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 45%, #f87171 100%);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}
html::-webkit-scrollbar-corner {
  background: #050816;
}
body {
  margin: 0;
  font-family: 'Oxanium', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #050816;
  color: #fff;
  overscroll-behavior-y: none;
}

/* Scroll reveal отключён как блокирующий: контент всегда виден */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Game-like crisp white text */
.pixel-text {
  text-shadow:
    0 0 14px rgba(239, 68, 68, 0.18),
    0 0 22px rgba(59, 130, 246, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

/* Nicer horizontal carousel scrolling */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Красивый скроллбар в стиле сайта (синий → красный) */
.site-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 rgba(255, 255, 255, 0.06);
}
.site-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.site-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.site-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb 0%, #7c3aed 45%, #ef4444 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}
.site-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 45%, #f87171 100%);
  background-clip: padding-box;
}
.site-scrollbar::-webkit-scrollbar-corner {
  background: transparent;
}

/* Выпадающий список формата игры в блоке бронирования */
.booking-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.booking-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color-scheme: dark;
  background-color: #0a1127;
  color: #fff;
}

.booking-select option {
  background-color: #0a1127;
  color: #fff;
}

/* Shared card hover effect without text blur */
.card-hover {
  transition: transform 220ms ease, box-shadow 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card-hover:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 0 38px rgba(59, 130, 246, 0.18),
      0 0 46px rgba(239, 68, 68, 0.14);
  }
}

/* Шапка сайта */
.site-header__logo-mark {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-header__logo-mark::after {
  content: '';
  display: block;
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  background: #f87171;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.65);
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-header__link.is-active {
  color: #fff;
  background: rgba(59, 130, 246, 0.22);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header__link {
    padding: 0.35rem 0.4rem;
    font-size: 0.75rem;
  }
}

.site-header__cta {
  display: inline-flex;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone {
  flex-shrink: 0;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-header__mobile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-header__mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Sticky header */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.site-header.is-sticky .site-header__bar {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(5, 8, 22, 0.82);
}

/* Background layers (pointer-events заданы в разметке inline — см. index.php) */
.page-shell {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.site-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100lvh;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.site-bg__dim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: #050816;
  opacity: 0;
  will-change: opacity;
}
.site-header {
  position: relative;
  z-index: 20;
}
main#top,
main {
  position: relative;
  z-index: 10;
}
@media (max-width: 1023px) {
  .site-bg {
    /* Фиксируем высоту по «большому» viewport — иначе фон дёргается при скролле/скрытии панели браузера */
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    min-height: 100lvh;
  }
}
.site-bg__photo--mobile {
  display: none;
  opacity: 1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: #050816;
}
@media (max-width: 1023px) {
  .site-bg__photo--desktop {
    display: none !important;
  }
  .site-bg__photo--mobile {
    display: block !important;
    opacity: 1 !important;
    background-size: contain !important;
    background-position: center center !important;
    transform: translate3d(0, 0, 0);
  }
  /* Старые тёмные градиенты на мобильном выключаем — они делали фон чёрным */
  .site-bg__veil {
    display: none !important;
  }
  /* Лёгкая вуаль только у краёв, чтобы текст читался */
  .site-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 22, 0.35) 0%,
        rgba(5, 8, 22, 0.08) 22%,
        rgba(5, 8, 22, 0.05) 55%,
        rgba(5, 8, 22, 0.28) 100%
      );
  }

  .pixel-text {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.95),
      0 2px 10px rgba(0, 0, 0, 0.85),
      0 0 18px rgba(0, 0, 0, 0.7);
  }

  main h1,
  main h2,
  main h3,
  main .text-white,
  .site-header__brand .pixel-text {
    color: #fff !important;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.95),
      0 2px 12px rgba(0, 0, 0, 0.85),
      0 0 20px rgba(0, 0, 0, 0.65);
  }

  main p,
  main .text-white\/55,
  main .text-white\/60,
  main .text-white\/65,
  main .text-white\/70,
  main .text-white\/75,
  main .text-white\/80,
  main .text-white\/85,
  main .text-white\/90,
  .site-header__phone,
  .site-header__link,
  .site-header__mobile-link {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.92),
      0 2px 8px rgba(0, 0, 0, 0.75);
  }

  /* Карточки чуть плотнее — текст не «растворяется» в фоне */
  main .rounded-2xl.border,
  main .rounded-3xl.border,
  .site-header__bar {
    background-color: rgba(5, 8, 22, 0.72) !important;
  }
}

/* Offer cards: equal height and aligned blocks on mobile */
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  -webkit-line-clamp: 3;
}
#offerTrack {
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
}

#offerTrack .offer-card {
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: stretch;
}

#offerTrack .offer-card__media,
#offerTrack .offer-card__body,
#offerTrack .offer-card__prices,
#offerTrack .offer-card__tags,
#offerTrack .offer-card__cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#offerTrack .offer-card__cta {
  margin-top: auto;
}

/* Яндекс.Карта */
.yandex-map__frame {
  display: block;
  width: 100%;
  height: 22rem;
  min-height: 280px;
  border: 0;
}

@media (min-width: 768px) {
  .yandex-map__frame {
    height: 26rem;
  }
}

/* Legal / offer page */
.legal-doc .legal-link {
  color: rgba(147, 197, 253, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc .legal-link:hover {
  color: #fff;
}
.legal-page .legal-list {
  margin: 0;
  padding-left: 1.25rem;
}
.legal-page .legal-list li {
  margin-top: 0.5rem;
}
.legal-page .legal-list li:first-child {
  margin-top: 0;
}
.legal-section-body p:first-child {
  margin-top: 0;
}

/* Кнопки и строки с телефоном — без переноса номера */
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
  }
}
.contact-line {
  display: inline;
  white-space: nowrap;
}

/* Contact icons (location, footer) */
.contact-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.contact-icons__link {
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  vertical-align: top;
}

.contact-icons__link:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.contact-icons__link:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.85);
  outline-offset: 3px;
}

.contact-icons__svg,
.contact-icons__img {
  display: block;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

@media (max-width: 1023px) {
  .location-contact-icons {
    flex-wrap: nowrap;
    gap: 0.65rem;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .location-contact-icons .contact-icons__link {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .location-contact-icons .contact-icons__svg,
  .location-contact-icons .contact-icons__img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

@media (max-width: 639px) {
  .location-contact-icons .contact-icons__link {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .location-contact-icons .contact-icons__svg,
  .location-contact-icons .contact-icons__img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Compact contact icon rows (header, footer, widget, booking) */
.contact-icons--header,
.contact-icons--footer,
.contact-icons--booking,
.contact-icons--cta,
.contact-icons--mobile,
.contact-icons--widget {
  gap: 0.5rem;
}

.contact-icons--header .contact-icons__link,
.contact-icons--header .contact-icons__svg {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-basis: 36px;
}

.contact-icons--footer .contact-icons__link,
.contact-icons--footer .contact-icons__svg,
.contact-icons--booking .contact-icons__link,
.contact-icons--booking .contact-icons__svg,
.contact-icons--cta .contact-icons__link,
.contact-icons--cta .contact-icons__svg,
.contact-icons--mobile .contact-icons__link,
.contact-icons--mobile .contact-icons__svg,
.contact-icons--widget .contact-icons__link,
.contact-icons--widget .contact-icons__svg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex-basis: 40px;
}

.contact-icons--widget {
  flex-wrap: nowrap;
}

.social-widget__panel .contact-icons__link:hover {
  transform: translateY(-1px) translateZ(0);
}

/* Social fixed widget */
.social-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}
.social-widget__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-widget__main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  width: 52px;
  justify-content: center;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(29, 78, 216, 0.25) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  user-select: none;
  position: relative;
  overflow: visible;
  cursor: pointer;
}
.social-widget__main::before,
.social-widget__main::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 2px solid rgba(96, 165, 250, 0.55);
  opacity: 0;
  pointer-events: none;
  animation: social-phone-pulse 2.4s ease-out infinite;
}
.social-widget__main::after {
  animation-delay: 1.2s;
}
.social-widget__main svg,
.social-widget__main-icon {
  height: 26px;
  width: 26px;
  opacity: 1;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.social-widget__phone-ring {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: social-phone-ring 1.15s ease-in-out infinite;
}
@keyframes social-phone-ring {
  0%,
  45%,
  100% {
    transform: rotate(0deg);
  }
  8% {
    transform: rotate(-16deg);
  }
  16% {
    transform: rotate(14deg);
  }
  24% {
    transform: rotate(-12deg);
  }
  32% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-6deg);
  }
}
@keyframes social-phone-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-widget__phone-ring,
  .social-widget__main::before,
  .social-widget__main::after {
    animation: none;
  }
}
.social-widget__panel {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 22, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform-origin: right center;
  transform: translateX(6px) scaleX(0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}
.social-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.social-widget__icon:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}
.social-widget__icon--max {
  background: linear-gradient(135deg, #6d5cff 0%, #3b82f6 55%, #2563eb 100%);
  border-color: rgba(109, 92, 255, 0.55);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.social-widget__icon-svg {
  height: 18px;
  width: 18px;
}
.social-widget__icon--max:hover {
  background: linear-gradient(135deg, #7c6dff 0%, #4f8ef7 55%, #3b76eb 100%);
  border-color: rgba(140, 125, 255, 0.75);
}
.social-widget__icon--tg {
  background: linear-gradient(135deg, #5eb9f0 0%, #229ed9 100%);
  border-color: rgba(34, 158, 217, 0.55);
  color: #fff;
}
.social-widget__icon--tg:hover {
  background: linear-gradient(135deg, #72c4f4 0%, #2aa8e4 100%);
  border-color: rgba(42, 168, 228, 0.75);
}
.social-widget__icon--vk {
  background: linear-gradient(135deg, #5b88c4 0%, #0077ff 100%);
  border-color: rgba(0, 119, 255, 0.45);
  color: #fff;
}
.social-widget__icon--vk:hover {
  background: linear-gradient(135deg, #6b96cf 0%, #1a85ff 100%);
  border-color: rgba(26, 133, 255, 0.7);
}
.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.social-widget__icon--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  padding: 0;
  font-size: 10px;
  flex-shrink: 0;
}
.header-max-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(109, 92, 255, 0.55);
  background: linear-gradient(135deg, #6d5cff 0%, #3b82f6 55%, #2563eb 100%);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}
.header-max-btn:hover {
  filter: brightness(1.08);
  border-color: rgba(140, 125, 255, 0.75);
}
.header-max-btn svg {
  height: 18px;
  width: 18px;
}
.header-max-btn--menu {
  height: 36px;
  width: 36px;
}
.header-max-btn--menu svg {
  height: 16px;
  width: 16px;
}
.social-widget:hover .social-widget__panel,
.social-widget.is-open .social-widget__panel {
  transform: translateX(0) scaleX(1);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .social-widget {
    right: 12px;
    bottom: 12px;
  }
  .social-widget__main,
  .social-widget__panel {
    height: 50px;
    border-radius: 14px;
  }
  .social-widget__main {
    width: 50px;
  }
}

/* Mobile bottom dock: акции + скидка + телефон */
.mobile-dock {
  display: contents;
}
.mobile-dock__discount {
  display: none;
}
@media (min-width: 769px) {
  .mobile-dock__discount {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 10px;
    bottom: calc(16px + 52px + 8px);
    z-index: 60;
    gap: 0.2rem;
    width: 72px;
    padding: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    pointer-events: auto;
    cursor: pointer;
    border: 0;
    background: transparent;
    user-select: none;
  }
  .mobile-dock__discount:hover .mobile-dock__discount-img {
    transform: scale(1.06);
  }
  .mobile-dock__discount-img {
    display: block;
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
    transition: transform 160ms ease;
  }
  .mobile-dock__discount-text {
    font-size: 0.75rem;
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .mobile-dock {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 8, 22, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  }
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-dock__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.2rem 0.35rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    pointer-events: auto;
    cursor: pointer;
    border: 0;
    background: transparent;
    user-select: none;
  }
  .mobile-dock__discount-img {
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  }
  .mobile-dock__discount-text {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }
  .mobile-dock .promo-rail {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: row;
    width: auto;
    min-height: 0;
    height: 52px;
    padding: 0 1.1rem;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }
  .mobile-dock .promo-rail:hover {
    transform: none;
    filter: brightness(1.08);
  }
  .mobile-dock .promo-rail__label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }
  .mobile-dock .promo-rail__hint {
    font-size: 1rem;
  }
  .mobile-dock .social-widget {
    position: static;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
    justify-self: end;
  }
  .mobile-dock .social-widget__wrap {
    position: relative;
  }
  .mobile-dock .social-widget__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    transform-origin: bottom right;
    transform: translateY(8px) scale(0.92);
  }
  .mobile-dock .social-widget:hover .social-widget__panel,
  .mobile-dock .social-widget.is-open .social-widget__panel {
    transform: translateY(0) scale(1);
  }
  .mobile-dock .social-widget__main,
  .mobile-dock .social-widget__panel {
    height: 52px;
    border-radius: 16px;
  }
  .mobile-dock .social-widget__main {
    width: 52px;
  }
}

/* Gallery */
.gallery-track {
  -webkit-overflow-scrolling: touch;
}
.gallery-thumb {
  position: relative;
  overflow: hidden;
}
.gallery-thumb img {
  transition: transform 320ms ease, filter 320ms ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-thumb:hover img {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.05);
  }
}

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.booking-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(92svh, 52rem);
  padding-top: 3.25rem;
  overflow: visible;
}
.booking-modal__body {
  max-height: min(92svh, 52rem);
  overflow: auto;
}
.booking-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.booking-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
/* Hero: явные отступы и сетка — не зависят от Tailwind */
.hero-section {
  padding-top: clamp(4.5rem, 10vw, 6.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  z-index: 1;
  color: #fff;
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 24px;
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
  }
}
.hero-section__container {
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.hero-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-section__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: clamp(2.5rem, 4vw, 3.5rem);
    row-gap: clamp(2rem, 3vw, 2.5rem);
    align-items: stretch;
  }
  .hero-section__intro {
    grid-column: 1 / span 7;
    grid-row: 1;
    padding-right: 0.75rem;
    align-self: start;
  }
  .hero-section__visual {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .hero-section__stats {
    grid-column: 1 / span 7;
    grid-row: 2;
    align-self: end;
    margin-top: 0;
    padding-top: 1.25rem;
    margin-bottom: clamp(7.5rem, 13vh, 11.5rem);
  }
}
.hero-section__intro {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-section__visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-section__title {
  margin: 1.5rem 0 0;
  line-height: 1.08;
  color: #fff;
}
.hero-section__lead {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}
.hero-section__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .hero-section__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
.hero-section__stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 0;
}
@media (min-width: 640px) {
  .hero-section__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 1023px) {
  .hero-section__visual {
    display: none;
  }
  .hero-section__stats {
    position: relative;
    z-index: 1;
    margin-top: 1.75rem;
    padding-top: 0;
  }
}
.hero-section__stat-title {
  font-size: clamp(0.95rem, 1.05vw, 1.125rem);
  line-height: 1.3;
}
.hero-booking-card {
  background: #070b1c;
  isolation: isolate;
}
.hero-booking-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050816;
  line-height: 0;
  overflow: hidden;
}
.hero-booking-card__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 40rem);
  object-fit: contain;
  object-position: center center;
  background: #050816;
}
.booking-open-btn {
  cursor: pointer;
}

/* Promo rail (left) + promo modal slider — local */
.promo-rail {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  min-height: 8.5rem;
  padding: 0.85rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), rgba(239, 68, 68, 0.45));
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: filter 160ms ease, transform 160ms ease;
}
.promo-rail:hover {
  filter: brightness(1.08);
  transform: translateY(-50%) translateX(2px);
}
.promo-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.promo-rail__hint {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: auto;
}
.promo-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.promo-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.promo-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  max-height: min(96svh, 56rem);
  margin: auto;
  display: flex;
  flex-direction: column;
}
.promo-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 22, 0.85);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.promo-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.promo-modal__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(96svh, 56rem);
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 22, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
}
.promo-modal__head {
  flex-shrink: 0;
  padding: 1rem 3.25rem 0.5rem 1.15rem;
}
.promo-modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.promo-modal__subtitle {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
}
.promo-slider {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding: 0 0 1rem;
}
.promo-slider__viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.promo-slide[hidden] {
  display: none !important;
}
.promo-slide__media {
  display: block;
  width: 100%;
  height: 22rem;
  overflow: hidden;
  border: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #050816;
}
.promo-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.promo-slide__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.15rem 0.15rem;
}
.promo-slide__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.promo-slide__meta {
  margin: 0;
  color: rgba(147, 197, 253, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
}
.promo-slide__desc {
  margin: 0;
}
.promo-slide__text-scroll {
  max-height: none;
}
.promo-slide__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.promo-slide__desc.is-open .promo-slide__text-scroll {
  max-height: 9.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.45rem;
  margin-right: -0.15rem;
  -webkit-overflow-scrolling: touch;
}
.promo-slide__desc.is-open .promo-slide__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.promo-slide__more {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.promo-slide__more:hover {
  color: #bfdbfe;
}
.promo-slide__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0.15rem 0 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.promo-slide__price-alt {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.85rem;
}
.promo-slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0.2rem 0 0;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0.9rem;
  background: linear-gradient(90deg, #2563eb, #ef4444);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 160ms ease;
}
.promo-slide__cta:hover {
  filter: brightness(1.08);
}
.promo-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.85rem;
  padding: 0.15rem 1.15rem 0;
}
.promo-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.promo-slider__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.promo-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.promo-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.promo-slider__dot.is-active {
  width: 1.35rem;
  background: linear-gradient(90deg, #60a5fa, #f87171);
}
@media (max-width: 640px) {
  .promo-modal {
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    overflow: hidden;
  }
  .promo-modal__dialog,
  .promo-modal__card {
    max-height: min(94svh, 48rem);
    height: auto;
  }
  .promo-modal__card {
    min-height: min(78svh, 42rem);
    overflow: hidden;
  }
  .promo-modal__head {
    padding: 0.85rem 2.85rem 0.45rem 1rem;
  }
  .promo-modal__title {
    font-size: 1.1rem;
  }
  .promo-modal__subtitle {
    display: none;
  }
  .promo-modal__close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.35rem;
    height: 2.35rem;
  }
  .promo-slider {
    padding: 0 0 0.85rem;
    min-height: 0;
    overflow: hidden;
    flex: 1 1 auto;
  }
  .promo-slider__viewport {
    flex: 1 1 auto;
    overflow: hidden;
  }
  .promo-slide__media {
    height: min(48vw, 14.5rem);
  }
  .promo-slide__body {
    gap: 0.65rem;
    padding: 0.85rem 1rem 0.25rem;
  }
  .promo-slide__name {
    font-size: 1rem;
    line-height: 1.3;
  }
  .promo-slide__meta {
    font-size: 0.78rem;
  }
  .promo-slide__desc.is-open .promo-slide__text-scroll {
    max-height: 8.5rem;
  }
  .promo-slide__text {
    font-size: 0.88rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
  .promo-slide__more {
    margin-top: 0.35rem;
  }
  .promo-slide__price {
    font-size: 0.95rem;
  }
  .promo-slide__cta {
    margin-top: 0.1rem;
    padding: 0.78rem 0.95rem;
    font-size: 0.98rem;
  }
  .promo-slider__nav {
    margin-top: 0.75rem;
    padding: 0 1rem 0;
  }
  .promo-slider__btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}

/* Quiz modal (gift / 5% discount) */
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}
.quiz-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.quiz-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.quiz-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  max-height: min(94svh, 52rem);
  margin: auto;
  display: flex;
  flex-direction: column;
}
.quiz-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 22, 0.85);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.quiz-modal__card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: min(72svh, 38rem);
  max-height: min(94svh, 52rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 22, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.quiz-modal__head {
  flex-shrink: 0;
  padding: 1.35rem 3.4rem 0.7rem 1.4rem;
}
.quiz-modal__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.quiz-modal__subtitle {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.45;
}
.quiz-modal__progress {
  flex-shrink: 0;
  margin: 0 1.4rem 0.55rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quiz-modal__progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #ef4444);
  transition: width 220ms ease;
}
.quiz-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.7rem 1.15rem 1.4rem 1.4rem;
  -webkit-overflow-scrolling: touch;
}
.quiz-step__question {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
}
.quiz-step__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.quiz-step__btn {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.quiz-step__btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-1px);
}
.quiz-step__btn.is-selected {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.25);
}
.quiz-step__feedback-wrap {
  display: block;
  margin: 1rem 0 0.85rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.quiz-step__feedback-wrap[hidden] {
  display: none !important;
}
.quiz-step__feedback-label {
  display: block;
  margin: 0 0 0.55rem;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.quiz-step__textarea,
.quiz-modal .quiz-step__textarea {
  display: block;
  width: 100%;
  min-height: 6rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0b1224 !important;
  color: #f8fafc !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  outline: none;
  resize: vertical;
  font-family: inherit;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  caret-color: #93c5fd;
}
.quiz-step__textarea::placeholder,
.quiz-modal .quiz-step__textarea::placeholder {
  color: rgba(226, 232, 240, 0.55) !important;
  opacity: 1;
  font-weight: 500;
}
.quiz-step__textarea:focus,
.quiz-modal .quiz-step__textarea:focus {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background: #0f1830 !important;
}
.quiz-step__select-wrap {
  display: block;
  margin-bottom: 0.75rem;
}
.quiz-step__select-label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.quiz-dd {
  position: relative;
  z-index: 2;
}
.quiz-dd__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0b1224;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.quiz-dd__trigger:hover {
  border-color: rgba(147, 197, 253, 0.45);
  background: #0f1830;
}
.quiz-dd.is-open .quiz-dd__trigger,
.quiz-dd__trigger:focus-visible {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background: #0f1830;
}
.quiz-dd__value {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(226, 232, 240, 0.55);
  font-weight: 600;
  line-height: 1.35;
}
.quiz-dd__value.is-picked {
  color: #f8fafc;
}
.quiz-dd__chevron {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid rgba(248, 250, 252, 0.7);
  border-bottom: 2px solid rgba(248, 250, 252, 0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}
.quiz-dd.is-open .quiz-dd__chevron {
  transform: rotate(225deg) translateY(-1px);
}
.quiz-dd__panel {
  z-index: 96;
  max-height: min(22rem, 70svh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a1020;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.quiz-dd__panel[hidden] {
  display: none !important;
}
.quiz-dd__option {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.quiz-dd__option:hover {
  background: rgba(37, 99, 235, 0.22);
}
.quiz-dd__option.is-selected {
  background: rgba(37, 99, 235, 0.34);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.35);
}
.quiz-step__other-wrap {
  display: block;
  margin: 0 0 0.75rem;
}
.quiz-step__other-wrap[hidden] {
  display: none !important;
}
.quiz-step__other-input {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0b1224 !important;
  color: #f8fafc !important;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
.quiz-step__other-input::placeholder {
  color: rgba(226, 232, 240, 0.55) !important;
  opacity: 1;
  font-weight: 500;
}
.quiz-step__other-input:focus {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background: #0f1830 !important;
}
.quiz-step__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0.9rem;
  background: linear-gradient(90deg, #2563eb, #ef4444);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.quiz-step__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.quiz-result {
  text-align: center;
  padding: 0.35rem 0 0.15rem;
}
.quiz-result__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.quiz-result__code {
  margin: 0.75rem 0 0;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}
.quiz-result__hint {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.4;
}
.quiz-result__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.quiz-result__copy,
.quiz-result__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.quiz-result__copy {
  background: linear-gradient(90deg, #2563eb, #ef4444);
  color: #fff;
}
.quiz-result__close {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}
.quiz-result__error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.9rem;
}

/* Lightbox: [hidden] — надёжно вне hit-test; без Tailwind страница остаётся кликабельной */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.lightbox[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.lightbox:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: auto;
}

/* Мобильное меню: в классе .hidden не должно оставаться «невидимой мишени» */
#navMenu.hidden {
  pointer-events: none !important;
}

