/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */

body {
  font-family: "Roboto", sans-serif;
  /* Слои фона (сверху вниз):
     1. overlay — чтобы pattern не был слишком ярко-голубым;
     2. лента — webp с alpha, лежит в самом верху документа, не привязана к
        блокам, не обрезана и не растянута на всю страницу;
     3. pattern — казахский орнамент тайлом по всему body;
     4. base color — #2503a9.
     Карточки сайта с backdrop-filter blur'ят всю эту стопку через стекло
     автоматически — лента, попавшая под карточку, размывается «как стекло». */
  background: #2503a9;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* position:relative — делает body containing block для абсолютных
     детей (.bg-wave). Иначе они позиционируются от ICB и не клипаются.
     overflow-x: clip — обрезает горизонтально вылетающие абсолютные
     элементы (мобильная .bg-wave 1000px). Без этой пары documentElement
     scrollWidth превышает viewport, mobile-браузеры зумируют страницу
     и показывают её "как desktop". */
  position: relative;
  overflow-x: clip;
  /* Isolate stacking context so any z-index:-1 child stays inside body
     and doesn't slip behind body's own background. */
  isolation: isolate;
}

/* ==================== Page-wide pattern backdrop ====================
   Один глобальный слой узора на всю страницу. Сделан через body::before, а не
   на каждом блоке — так узор не «расходится» на стыках секций. position:fixed
   + repeat: тайл нативного размера 1024×1199 спокойно повторяется и заполняет
   viewport. opacity 0.06 — иначе ярко-голубой ассет перебивает тёмный дизайн. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/images/bg-pattern.webp");
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
}

/* Контент над фоновыми слоями body. */
.page-wrap,
main#content,
.footer {
  position: relative;
  z-index: 1;
}

/* ==================== Background ribbon (hero top decoration) ====================
   Лента — absolute-полоса в верхней части документа. Уезжает вверх вместе с
   hero при скролле — не залезает на секции ниже. У ассета есть alpha (VP8X),
   так что blend-mode и mask-fade не нужны: края определяются самой картинкой.
   backdrop-filter hero__card-а размывает её «как стекло». */
.bg-wave {
  /* Десктоп. Значения из Figma переведены в vw (Figma-канвас 1440px):
       1646.09 / 1440 = 114.3132vw
        897    / 1440 =  62.2917vw
        -23.95 / 1440 =  -1.6632vw
        -7     / 1440 =  -0.4861vw
     На любом viewport лента сохраняет пропорции и прилегает к краям. */
  position: absolute;
  width: 100vw;
  height: 50.2917vw;
  /* left: calc(50% - 114.3132vw / 2 - 1.6632vw); */
  top: 0.4861vw;
  /* transform: rotate(4.98deg); */
  background: url("/assets/images/bg-wave.webp") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}
/* Mobile: размер как был раньше — лента крупнее viewport и центрирована.
   Высота фиксированная (не aspect-ratio): нужны конкретные пиксели как в
   старой вёрстке. Новый ассет уже в правильной ориентации — rotate/scaleY
   из старого CSS не нужны. */
@media (max-width: 768px) {
  .bg-wave {
    width: 1000px;
    height: 850px;
    aspect-ratio: auto;
    top: -100px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* ==================== Utilities ==================== */
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* Decor must never overlay interactive content. Sections containing decor
   clip overflow so leaves/spirals positioned with negative offsets don't
   bleed onto neighbouring sections. `overflow: clip` (vs hidden) keeps
   position: sticky working inside catalog/news layouts. */
.hero,
.entertainment,
.services,
.places,
.info,
.ent-hero,
.ent-section,
.catalog,
.info-home,
.cat-decor-host {
  overflow-x: clip;
}

/* Inner content wrappers always stack above .decor (which uses z-index 0) */
.hero__content,
.entertainment__inner,
.services__inner,
.places__inner,
.info__inner,
.ent-hero__inner,
.ent-section__container,
.catalog__inner,
.info-home__inner,
.container {
  position: relative;
  z-index: 2;
}

img,
.hero__images,
.card__image,
.entertainment__image,
.places__image,
.footer__logos {
  user-select: none;
  -webkit-user-drag: none;
}

/* ==================== Page Wrapper ==================== */
.page-wrap {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  width: 100%;
  padding-top: 84px;
  flex: 1;
}

/* ==================== Glass Card ==================== */
.card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 21, 63, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
  border-radius: inherit;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0.3px 1px 2px 0 rgba(255, 255, 255, 0.4),
    inset 0.3px -1px 2px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

.card > * {
  position: relative;
  z-index: 1;
}

/* ==================== Mobile-only lang block in burger menu ==================== */
.header__nav-lang {
  display: none;
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: rgba(4, 21, 63, 0.3);
  border-radius: 8px;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset -1px -1px 4px 0 rgba(181, 60, 251, 0.8);
  pointer-events: none;
}

.header__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 108px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  height: 28px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 48px;
}

.header__link {
  font-size: 18px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header__link:hover {
  opacity: 0.8;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  position: relative;
  font-size: 18px;
}

.header__lang::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 21, 63, 0.4);
  border-radius: 40px;
}

.header__lang::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow:
    inset 1.5px 1.5px 2px 0 rgba(250, 0, 255, 0.6),
    inset -1px -1px 2px 0 rgba(173, 32, 255, 0.8);
  pointer-events: none;
}

.header__lang > * {
  position: relative;
  z-index: 1;
}

.header__lang-icon,
.header__lang-arrow {
  width: 18px;
  height: 18px;
}

.header__burger {
  display: none;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 16px 40px;
  border-radius: 40px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.btn:hover {
  transform: scale(1.02);
}

.btn--gradient {
  background: linear-gradient(100deg, #a100ff 5%, #fe0bbc 100%);
  box-shadow:
    inset 0 2px 2px 0 rgba(240, 215, 255, 0.4),
    inset -2px 0 2px 0 rgba(255, 205, 244, 0.4);
}

.btn--outline {
  background: rgba(3, 16, 47, 0.4);
  border: 2px solid #a100ff;
}

.btn--glass-sm {
  height: 52px;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 18px;
  gap: 8px;
  letter-spacing: 0.36px;
  background: rgba(4, 21, 63, 0.4);
  box-shadow:
    inset 1.5px 1.5px 2px 0 rgba(250, 0, 255, 0.6),
    inset -1px -1px 2px 0 rgba(173, 32, 255, 0.8);
}

.btn--glass-sm::before,
.btn--glass-sm::after {
  display: none;
}

.btn__arrow-right {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

/* ==================== Blue Decorative Orbs ====================
   Декоративный синий шар. Используется как акцент рядом с карточками.
   Размер задаётся переменной --s, позиция — инлайн-стилями (top/right/...).
   Лежит позади контента (z-index:0) — карточки с непрозрачным фоном
   автоматически перекрывают часть, торчат только края «из-под рамки». */
.blue-orb {
  position: absolute;
  width: var(--s, 60px);
  height: var(--s, 60px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1; /* позади siblings — карточка с backdrop-filter «съедает» blur'ом часть orb-а */
  background: radial-gradient(
    circle at 32% 30%,
    #4d7cff 0%,
    #1d52e5 60%,
    #0e2d8c 100%
  );
  box-shadow: 0 6px 20px rgba(29, 82, 229, 0.45);
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: 120px 108px 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7fr 3fr;
  align-items: center;
  gap: 32px;
  max-width: 1224px;
  margin: 0 auto;
}

.hero__card {
  position: relative;
  /* По Figma "Обложка": padding 80 80 80 104, radius 120, blur(20). */
  padding: 80px 80px 80px 104px;
  border-radius: 120px;
  overflow: hidden;
  min-width: 0;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 21, 63, 0.2);
  border-radius: 20px;
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow:
    inset 1px 0.7px 3px 0 rgba(206, 195, 255, 0.4),
    inset 0 -2px 4px 0 rgba(206, 195, 255, 0.4);
  pointer-events: none;
}

.hero__card > * {
  position: relative;
  z-index: 1;
}

.hero__ktz-logo {
  height: 56px;
  width: auto;
  margin-bottom: 52px;
}

.hero__title {
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__title--light {
  font-weight: 300;
}

.hero__title--bold {
  font-weight: 700;
}

.hero__subtitle {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.hero__images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.hero__illustration {
  width: 1500px;
  max-width: 210%;
  height: auto;
  /* object-fit: contain; */
  filter: drop-shadow(0 20px 40px rgba(161, 0, 255, 0.25));
}

.decor--leaf-hero {
  width: 180px;
  left: -60px;
  top: -60px;
  bottom: auto;
  transform: rotate(60deg);
}

/* ==================== Section separator (glow divider) ====================
   Глобальный засвет-разделитель между секциями. Сама обёртка height:0 — не
   занимает места в layout, не двигает соседние блоки. Внутренний ::before
   absolute по центру, эллипс — после blur(140px) становится мягким овальным
   засветом, который перекрывает кромку соседних секций.
   pointer-events:none — раздутый blur не перехватывает клики. */
.section-separator {
  position: relative;
  margin: 0 16px;
  width: 100%;
  height: 0;
  pointer-events: none;
}
.section-separator::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 64px;
  border-radius: 50%;
  background: #3411a8;
  filter: blur(140px);
}

/* ==================== Sections Common ==================== */
.section {
  position: relative;
  padding: 80px 0;
}

.section__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 108px;
  position: relative;
  z-index: 1;
}

.section__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.48px;
  margin-bottom: 32px;
}

.section__desc {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.section__desc-light {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.section__desc-bold {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* ==================== Entertainment ==================== */
.entertainment__layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.entertainment__image {
  flex-shrink: 0;
  width: 520px;
}

.entertainment__image img {
  width: 100%;
}

.entertainment__text {
  max-width: 600px;
}

.entertainment__text .btn {
  width: 336px;
}

.entertainment__btn--mobile {
  display: none;
}

.decor--spiral {
  width: 180px;
  right: -40px;
  top: auto;
  bottom: -60px;
  transform: rotate(-16deg);
}

/* ==================== Services ==================== */
.services__desc {
  max-width: 809px;
}

.services__grid {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.card--taxi {
  flex: 1;
  max-width: 807px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
}

/* Обёртка для taxi-карточки + декоративного orb рядом.
   Перехватывает flex/max-width у .card--taxi — карточка занимает её полностью.
   isolation: isolate ограничивает z-index:-1 orb-а контекстом обёртки,
   так backdrop-filter карточки blур'ит orb сзади. */
.orb-host--taxi {
  position: relative;
  flex: 1;
  max-width: 807px;
  min-width: 0;
  isolation: isolate;
  z-index: 2;
}
.orb-host--taxi > .card--taxi {
  flex: none;
  max-width: none;
  width: 100%;
}

.orb-host--taxi:has(.dropdown--open),
.card--taxi:has(.dropdown--open) {
  z-index: 40;
}

.card--taxi:has(.dropdown--open) .card__info {
  z-index: 50;
}

.blue-orb--taxi {
  --s: 82px;
  bottom: -32px;
  right: -5px;
}

/* Restaurant — два orb-а в левом нижнем углу секции (sibling карусели) */
.blue-orb--rest1 {
  --s: 88px;
  bottom: -36px;
  left: 80px;
}
.blue-orb--rest2 {
  --s: 44px;
  bottom: 110px;
  left: -20px;
}

/* Полезная информация — два orb-а в правом нижнем углу секции */
.blue-orb--info1 {
  --s: 98px;
  bottom: -40px;
  right: 100px;
}
.card__info {
  width: 384px;
}

.card__image--taxi-mobile {
  display: none;
}

.card__image--taxi-desktop {
  flex-shrink: 0;
}

.card__image--taxi-desktop img {
  width: 306px;
  height: auto;
}

.card__title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 8px;
}

.card__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

/* Taxi Input */
.taxi__dropdown {
  margin-bottom: 24px;
  position: relative;
  z-index: 30;
}

.taxi__dropdown .dropdown {
  position: relative;
  z-index: 30;
}

.taxi__dropdown .dropdown__menu {
  z-index: 400;
}

.taxi__input {
  width: 100%;
  padding: 8px 28px;
  height: 40px;
  border-radius: 40px;
  background: rgba(4, 21, 63, 0.3);
  border: 1px solid rgba(173, 32, 255, 0.5);
  box-shadow:
    inset -1px -1px 2px 0 rgba(173, 32, 255, 0.8),
    inset 1.5px 1.5px 2px 0 rgba(250, 0, 255, 0.6);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #e7eeff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
.taxi__input option {
  background: #1a1145;
  color: #e7eeff;
}

.taxi__input-arrow {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
  filter: brightness(0) invert(1);
}

/* ==================== Custom Dropdown ==================== */
.dropdown {
  position: relative;
  width: 100%;
  font-family: "Inter", sans-serif;
}

.dropdown > select {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 52px;
  padding: 12px 28px;
  border-radius: 40px;
  background: rgba(4, 21, 63, 0.6);
  color: #e7eeff;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid rgba(173, 32, 255, 0.55);
  box-shadow:
    inset 1.5px 1.5px 2px 0 rgba(250, 0, 255, 0.6),
    inset -1px -1px 2px 0 rgba(173, 32, 255, 0.8),
    0 0 16px rgba(161, 0, 255, 0.35);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.2s ease;
}

.dropdown__trigger:hover,
.dropdown--open .dropdown__trigger {
  box-shadow:
    inset 1.5px 1.5px 2px 0 rgba(250, 0, 255, 0.7),
    inset -1px -1px 2px 0 rgba(173, 32, 255, 0.9),
    0 0 24px rgba(161, 0, 255, 0.55);
}

.dropdown__label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown__chevron {
  flex-shrink: 0;
  color: #e7eeff;
  transition: transform 0.25s ease;
}

.dropdown--open .dropdown__chevron {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  z-index: 200;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #07072a;
  border-radius: 24px;
  border: 1px solid rgba(173, 32, 255, 0.65);
  box-shadow:
    inset 1.5px 1.5px 3px 0 rgba(250, 0, 255, 0.55),
    inset -1px -2px 4px 0 rgba(173, 32, 255, 0.75),
    0 8px 24px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(161, 0, 255, 0.55);
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.dropdown--open .dropdown__menu {
  display: block;
}

.dropdown__menu::-webkit-scrollbar {
  width: 6px;
}
.dropdown__menu::-webkit-scrollbar-thumb {
  background: rgba(161, 0, 255, 0.5);
  border-radius: 3px;
}

.dropdown__item {
  padding: 12px 28px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: #e7eeff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dropdown__item:hover,
.dropdown__item--active {
  background: rgba(161, 0, 255, 0.18);
}

.dropdown__item--disabled {
  color: rgba(231, 238, 255, 0.4);
  cursor: default;
}

/* Mini variant — для фильтров и узких селектов */
.dropdown--mini .dropdown__trigger {
  height: 40px;
  padding: 10px 20px;
  font-size: 14px;
}

.dropdown--mini .dropdown__chevron {
  width: 14px;
  height: 14px;
}

.dropdown--mini .dropdown__menu {
  padding: 8px 0;
  border-radius: 16px;
}

.dropdown--mini .dropdown__item {
  padding: 10px 20px;
  font-size: 14px;
}

.taxi__dropdown .dropdown__menu {
  z-index: 400;
  max-height: 300px;
  background: #080722;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-clip: padding-box;
}

.taxi__dropdown .dropdown__item {
  background: #080722;
}

.taxi__dropdown .dropdown__item:hover,
.taxi__dropdown .dropdown__item--active {
  background: #2a0754;
}

.taxi__numbers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.taxi__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 28px;
  background: rgba(4, 21, 63, 0.5);
  border-radius: 8px;
  position: relative;
}

.taxi__row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(120, 100, 255, 0.5) 0%,
    rgba(80, 60, 200, 0.15) 50%,
    rgba(120, 100, 255, 0.5) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.taxi__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 106px;
}

.taxi__phone-icon {
  width: 18px;
  height: 18px;
}

.taxi__name span {
  font-size: 16px;
}

.taxi__number {
  font-size: 16px;
}

/* Tickets */
.card--tickets {
  width: 394px;
  flex-shrink: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card--tickets .btn {
  width: 100%;
}

/* Schedule mini preview in services card */
.schedule-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.schedule-mini__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(4, 21, 63, 0.4);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
.schedule-mini__row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(120, 100, 255, 0.3),
    rgba(80, 60, 200, 0.1)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.schedule-mini__num {
  font-weight: 600;
  min-width: 44px;
  color: #a78bfa;
}
.schedule-mini__route {
  flex: 1;
  font-size: 12px;
}
.schedule-mini__time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.taxi__number {
  color: #e7eeff;
  text-decoration: none;
}
.taxi__number:hover {
  color: #a78bfa;
}

.decor--ellipse-services {
  width: 82px;
  right: 200px;
  top: -40px;
}

/* ==================== Places ==================== */
.places__layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.places__image {
  flex-shrink: 0;
  width: 520px;
}

.places__image img {
  width: 100%;
}

.places__image--mobile {
  display: none;
}

.places__text {
  max-width: 600px;
}

.places__text .btn {
  width: 415px;
  margin-top: 28px;
}

.decor--leaf-places {
  width: 133px;
  right: 0;
  top: -10px;
  transform: rotate(-3deg);
}

/* ==================== Checklist ==================== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 415px;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
  background: rgba(4, 21, 63, 0.5);
  border-radius: 8px;
  font-size: 20px;
  position: relative;
}

.checklist__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(120, 100, 255, 0.5) 0%,
    rgba(80, 60, 200, 0.15) 50%,
    rgba(120, 100, 255, 0.5) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.checklist__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.checklist__item--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.checklist__item--link:hover {
  background: rgba(161, 0, 255, 0.25);
  transform: translateX(4px);
}

/* ==================== Info ==================== */
.card--info {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 80px;
}

.info__content {
  flex: 1;
  max-width: 616px;
}

.info__content .btn {
  width: 415px;
  margin-top: 28px;
}

.info__image {
  flex-shrink: 0;
}

.info__image img {
  width: 413px;
  height: auto;
}

.info__image--mobile {
  display: none;
}

.decor--leaf-info {
  width: 250px;
  left: -82px;
  bottom: -60px;
  transform: rotate(-36deg);
}

.decor--ellipse-info {
  width: 98px;
  right: 80px;
  bottom: -40px;
}

/* ==================== Footer ==================== */
.footer {
  position: relative;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
  margin-top: 40px;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: rgba(4, 21, 63, 0.2);
  border-radius: 48px 48px 0 0;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 48px 48px 0 0;
  box-shadow: inset 0 1px 4px 0 rgba(181, 60, 251, 0.8);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 108px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer__logos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  height: 28px;
  width: auto;
}

.footer__logo-ktz {
  height: 48px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__col a {
  font-size: 14px;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.footer__col a:hover {
  opacity: 0.8;
}

.footer__contacts {
  width: 192px;
}

.footer__contacts-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.footer__phone {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fe0bbc;
  letter-spacing: 0.4px;
}

.footer__phone-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 7px;
}

.footer__email {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
}

.footer__bottom {
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== Mobile Tab Bar ==================== */
.tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  padding: 10px 12px 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: 20px 20px 0 0;
  justify-content: space-around;
  gap: 4px;
}

.tab-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 21, 63, 0.5);
  border-radius: 20px 20px 0 0;
}

.tab-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: inset 0 1px 1px 0 rgba(181, 60, 251, 0.6);
  pointer-events: none;
}

.tab-bar__item {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: 11px;
  font-family: "Roboto", sans-serif;
  color: rgba(204, 213, 217, 0.7);
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
}

.tab-bar__item--active {
  color: #fe0bbc;
}

.tab-bar__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-bar__icon svg {
  width: 26px;
  height: 26px;
}
.tab-bar__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.75;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.tab-bar__item--active .tab-bar__icon img {
  opacity: 1;
  transform: scale(1.05);
}

/* PWA install button is a burger-menu element only — on desktop/tablet
   the browser already exposes an install icon in the address bar (Chrome /
   Edge) or a menu item, and the standalone-row in the header looks ugly. */
.pwa-install-btn {
  display: none;
}

/* ==================== Mobile ==================== */
@media (max-width: 768px) {
  .page-wrap {
    padding-top: 60px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  /* Header */
  .header {
    height: calc(60px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header__inner {
    padding: 0 19px;
  }

  .header__logo {
    height: 20px;
  }

  .header__lang {
    display: none;
  }

  .header__burger {
    display: block;
  }

  /* Mobile nav: fullscreen overlay when burger is open */
  .header__nav {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 19px calc(24px + env(safe-area-inset-bottom, 0px));
    background: rgba(4, 4, 32, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    overflow-y: auto;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }
  .header__nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.2s ease,
      transform 0.25s ease,
      visibility 0s linear 0s;
  }
  .header__nav .header__link {
    display: flex;
    align-items: center;
    padding: 18px 8px;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header__nav .header__link:last-child {
    border-bottom: none;
  }

  /* Mobile language block внутри бургер-меню */
  .header__nav-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 8px;
  }
  .header__nav-lang-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .header__nav-lang-buttons {
    display: flex;
    gap: 8px;
  }
  .header__nav-lang-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(4, 21, 63, 0.5);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
      background 0.15s ease,
      border-color 0.15s ease;
  }
  .header__nav-lang-btn:hover {
    border-color: rgba(173, 32, 255, 0.6);
  }
  .header__nav-lang-btn--active {
    background: linear-gradient(100deg, #a100ff 5%, #fe0bbc 100%);
    border-color: transparent;
  }
  .pwa-install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(100deg, #a100ff 5%, #fe0bbc 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 18px rgba(161, 0, 255, 0.35);
    transition:
      transform 0.15s ease,
      opacity 0.15s ease;
  }
  .pwa-install-btn:hover {
    transform: translateY(-1px);
  }
  .pwa-install-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
  }
  .pwa-install-btn[hidden] {
    display: none;
  }

  /* Burger button: animates cleanly into ×.
     Using 3 absolutely-positioned <span> bars instead of <svg><line> because
     transform-origin on SVG line elements is unreliable across browsers. */
  .header__burger {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .header__burger-bar {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
      transform 0.25s ease,
      opacity 0.15s ease;
    transform-origin: center;
  }
  .header__burger-bar:nth-child(1) {
    top: 7px;
  }
  .header__burger-bar:nth-child(2) {
    top: 13px;
  }
  .header__burger-bar:nth-child(3) {
    top: 19px;
  }
  .header__burger--active .header__burger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .header__burger--active .header__burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .header__burger--active .header__burger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Body scroll lock while the burger overlay is open. Both html and body
     need overflow:hidden because scroll may live on either (html has
     overflow-x:hidden globally). overscroll-behavior also kills iOS bounce. */
  html:has(body.body--nav-open),
  body.body--nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  /* Hero */
  .hero {
    padding: 24px 0 0;
    min-height: auto;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 19px;
  }

  .hero__card {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 120px;
    border-radius: 5px;
    text-align: center;
  }

  .hero__card::after {
    box-shadow: inset 0 -2px 4px 0 rgba(206, 195, 255, 0.4);
  }

  .hero__ktz-logo {
    height: 40px;
    margin: 0 auto 28px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__images {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-top: -80px;
    display: flex;
    justify-content: center;
  }

  .hero__illustration {
    width: 88%;
    max-width: 100%;
    height: auto;
  }

  /* Hide all decorative elements on mobile by default */
  .decor {
    display: none;
  }
  /* Re-enable a small 3D circle (top of hero) and a small triangle
     (bottom-right of entertainment) — matches the mobile design. */
  .decor--leaf-hero {
    display: block;
    width: 100px;
    right: auto;
    left: -50px;
    top: -80px;
    bottom: auto;
    transform: rotate(40deg);
  }
  .decor--spiral {
    display: block;
    width: 110px;
    right: -30px;
    top: auto;
    bottom: -60px;
    transform: rotate(-10deg);
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }

  .section__container {
    padding: 0 19px;
  }

  .section__title {
    font-size: 28px;
    letter-spacing: 0.28px;
    margin-bottom: 20px;
  }

  .section__desc {
    font-size: 18px;
  }

  .section__desc-light {
    font-size: 16px;
  }

  .section__desc-bold {
    font-size: 18px;
  }

  .btn {
    height: 48px;
    font-size: 18px;
    padding: 14px 40px;
  }

  /* Entertainment */
  .entertainment__layout {
    flex-direction: column;
    gap: 32px;
  }

  .entertainment__image {
    width: 272px;
    margin: 0 auto;
    order: 1;
  }

  .entertainment__text {
    order: 0;
  }

  .entertainment__btn--desktop {
    display: none;
  }

  .entertainment__btn--mobile {
    display: inline-flex;
    width: 100%;
    order: 2;
  }

  /* Services */
  .services__grid {
    flex-direction: column;
    gap: 32px;
  }

  .card--taxi {
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    overflow: visible;
  }

  .card--taxi::before {
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .card--taxi::after {
    border-radius: 16px;
  }

  .blue-orb--taxi {
    --s: 60px;
    bottom: -22px;
    right: 24px;
  }

  .blue-orb--rest1 {
    --s: 64px;
    bottom: -38px;
    left: 14px;
  }
  .blue-orb--rest2 {
    --s: 32px;
    bottom: 70px;
    left: -10px;
  }
  .blue-orb--info1 {
    --s: 72px;
    bottom: -28px;
    right: 24px;
  }

  .card__info {
    width: 100%;
  }

  .card__title {
    font-size: 24px;
  }

  .card__subtitle {
    font-size: 14px;
  }

  .card__image--taxi-desktop {
    display: none;
  }

  .card__image--taxi-mobile {
    display: block;
    margin: 12px 0;
    text-align: center;
  }

  .card__image--taxi-mobile img {
    width: 204px;
    margin: 0 auto;
  }

  /* Taxi — mobile: match Figma, full width rows with space */
  .taxi__numbers {
    gap: 16px;
  }

  .taxi__row {
    min-height: 40px;
    padding: 10px 24px;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
  }

  .taxi__name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 0;
  }

  .taxi__phone-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .taxi__name span {
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }

  .taxi__number {
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }

  .taxi__input {
    padding: 10px 24px;
    height: 44px;
    font-size: 16px;
  }

  .dropdown__trigger {
    height: 48px;
    padding: 12px 24px;
    font-size: 16px;
  }

  .dropdown__item {
    padding: 14px 24px;
    font-size: 16px;
  }

  .dropdown--mini .dropdown__trigger {
    height: 44px;
    padding: 10px 22px;
    font-size: 15px;
  }

  .dropdown--mini .dropdown__item {
    padding: 12px 22px;
    font-size: 15px;
  }

  .taxi__dropdown {
    margin-bottom: 24px;
  }

  .card__subtitle {
    margin-bottom: 12px;
  }

  .card--tickets {
    width: 100%;
    padding: 24px;
    gap: 32px;
    border-radius: 16px;
  }

  .card--tickets::before {
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .card--tickets::after {
    border-radius: 16px;
  }

  .card--tickets .btn {
    height: 48px;
    font-size: 18px;
  }

  .btn--glass-sm {
    height: 40px;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 40px;
  }

  .btn--glass-sm::before {
    border-radius: 40px;
  }

  .btn--glass-sm::after {
    border-radius: 40px;
  }

  .btn--glass-sm .btn__arrow-right {
    width: 16px;
    height: 16px;
  }

  .dots__item {
    width: 6px;
    height: 6px;
  }

  .dots {
    gap: 6px;
  }

  /* Places */
  .places__layout {
    flex-direction: column;
    gap: 32px;
  }

  .places__image--desktop {
    display: none;
  }

  .places__image--mobile {
    display: block;
    width: 266px;
    margin: 16px auto;
  }

  .places__text .btn {
    width: 100%;
    margin-top: 16px;
  }

  .checklist {
    max-width: 100%;
  }

  .checklist__item {
    gap: 16px;
    padding: 8px 20px;
    font-size: 16px;
  }

  .checklist__icon {
    width: 20px;
    height: 20px;
  }

  /* Info */
  .card--info {
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
  }

  .card--info::before {
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .card--info::after {
    border-radius: 16px;
  }

  .info__content .btn {
    width: 100%;
    margin-top: 16px;
  }

  .info__image:not(.info__image--mobile) {
    display: none;
  }

  .info__image--mobile {
    display: block;
    margin: 16px auto;
    text-align: center;
  }

  .info__image--mobile img {
    width: 218px;
    margin: 0 auto;
  }

  /* Footer — hidden on mobile PWA */
  .footer {
    display: none;
  }

  /* Bottom padding for tab bar */
  .main {
    padding-bottom: 100px;
  }

  /* Tab Bar */
  .tab-bar {
    display: flex;
  }
}

/* ==================== Tablet tweaks ==================== */
@media (min-width: 769px) and (max-width: 1200px) {
  .header__inner {
    padding: 0 40px;
  }

  .hero {
    padding: 120px 40px 0;
  }

  .section__container {
    padding: 0 40px;
  }

  .footer__inner {
    padding: 60px 40px;
  }

  .hero__card {
    padding: 40px 40px 40px 60px;
    border-radius: 48px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__images {
    width: auto;
    height: auto;
  }
  .hero__illustration {
    width: 460px;
  }

  .entertainment__layout {
    gap: 40px;
  }

  .entertainment__image {
    width: 360px;
  }

  .services__grid {
    flex-direction: column;
  }

  .card--taxi {
    max-width: 100%;
  }

  .card--tickets {
    width: 100%;
  }

  .places__layout {
    gap: 40px;
  }

  .places__image {
    width: 360px;
  }

  .card--info {
    padding: 40px;
  }

  .info__image img {
    width: 300px;
  }

  .footer__links {
    gap: 40px;
  }
}
