:root {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --bg-3: #F7F7F7;
  --card: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #1F1F1F;
  --muted: #6E6E68;
  --muted-2: #A2A29B;
  --line: #ECEAE5;
  --line-2: #D6D3CC;
  --brand-primary: #e80092;
  --brand-secondary: #38a2ea;
  --brand-magenta: #e80092;
  --brand-cyan: #38a2ea;
  --accent: var(--brand-primary);
  --accent-deep: var(--brand-primary);
  --accent-soft: #fde4f1;
  --promo-gradient: linear-gradient(135deg, #fde4f1 0%, #fdd5e8 50%, #fce1d1 100%);
  --home-shell-bg: #f9f9f9;
  --safe-area-bg: #f9f9f9;
  --home-sticky-top: 92px;
  --pui-bg-tabbar: rgba(21, 24, 26, .5);
  --cb-green: #17b26a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --f-display: 'Manrope', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B0B0B; --bg-2: #0B0B0B; --bg-3: #151515;
  --card: #151515; --ink: #F2EFE8; --ink-2: #D6D2C8;
  --muted: #9C9C94; --muted-2: #6B675E;
  --line: #242220; --line-2: #373530;
  --accent-soft: #3a0e29;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--home-shell-bg); }
body {
  position: relative;
  isolation: isolate;
  font-family: var(--f-body);
  color: var(--ink);
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.app { background: var(--bg); min-height: 100vh; min-height: 100dvh; }
html[data-safe-area-screen="event"] { background: #15181a; }
html[data-safe-area-screen="event"] body { background: transparent; }
html[data-safe-area-screen="event"] body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: clamp(560px, 72svh, 760px);
  background-color: #15181a;
  background-image: var(--event-safe-area-image, none);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
html[data-safe-area-screen="account"],
html[data-safe-area-screen="account"] body,
html[data-safe-area-screen="about"],
html[data-safe-area-screen="about"] body,
html[data-safe-area-screen="certs"],
html[data-safe-area-screen="certs"] body { background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }

/* Full-screen blur between SPA pages */
.kiv-route-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  pointer-events: auto;
  background: rgba(48, 50, 55, 0);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  backdrop-filter: blur(0px) saturate(100%);
  opacity: 1;
  isolation: isolate;
  will-change: background, backdrop-filter;
}
.kiv-route-transition.is-covering { animation: kiv-route-blur-in 300ms ease-out both; }
.kiv-route-transition.is-revealing { animation: kiv-route-blur-out 360ms ease-in both; }
.kiv-route-transition.is-covering .kiv-route-transition-loader { animation: kiv-route-loader-in 300ms ease-out both; }
.kiv-route-transition.is-revealing .kiv-route-transition-loader { animation: kiv-route-loader-out 360ms ease-in both; }
.kiv-route-transition-loader {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(240px, 32vw, 420px);
  aspect-ratio: 16 / 9;
  filter: drop-shadow(0 12px 24px rgba(28, 28, 32, 0.16));
}
@keyframes kiv-route-blur-in {
  from { background: rgba(48, 50, 55, 0); -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%); }
  to { background: rgba(48, 50, 55, 0.34); -webkit-backdrop-filter: blur(34px) saturate(65%); backdrop-filter: blur(34px) saturate(65%); }
}
@keyframes kiv-route-blur-out {
  from { background: rgba(48, 50, 55, 0.34); -webkit-backdrop-filter: blur(34px) saturate(65%); backdrop-filter: blur(34px) saturate(65%); }
  to { background: rgba(48, 50, 55, 0); -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%); }
}
@keyframes kiv-route-loader-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes kiv-route-loader-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kiv-route-transition.is-covering,
  .kiv-route-transition.is-revealing,
  .kiv-route-transition.is-covering .kiv-route-transition-loader,
  .kiv-route-transition.is-revealing .kiv-route-transition-loader { animation-duration: 1ms; }
}

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: transparent;
  border-bottom: 0;
}
.header-inner { max-width: 1440px; margin: 0 auto; padding: 8px 32px; display: flex; align-items: center; justify-content: center; gap: 0; }
.logo { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; color: var(--ink); position: relative; z-index: 3; }
.site-logo-image { width: auto; object-fit: contain; display: block; }
.logo-mark { border-radius: 50%; background: var(--brand-primary); color: white; display: grid; place-items: center; }
.header-tabbar .logo { height: 64px; padding: 0 10px; flex: 0 0 auto; border-radius: 1000px; }
.header-tabbar .site-logo-image { height: 60px; max-width: 132px; }
.header-tabbar .logo-mark { width: 56px; height: 56px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -0.015em; }
.logo-sub { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-family: var(--f-mono); }
.header-navigation-tabs { position: relative; height: 76px; width: 100%; max-width: 860px; flex: 0 1 860px; min-width: 0; }
.desktop-navigation-tabs__common-buttons {
  align-items: center;
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  background-color: var(--pui-bg-tabbar);
  border-radius: 1000px;
  display: flex;
  gap: 2px;
  height: 76px;
  left: 0;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  transition: all .3s ease;
  z-index: 2;
  top: 0;
  width: 100%;
  box-shadow: 0 12px 32px rgba(21, 24, 26, .12);
}
.desktop-navigation-tabs__common-buttons.has-menu-open { overflow: visible; }
.main-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav-link { height: 64px; border-radius: 1000px; color: rgba(255, 255, 255, .88); display: inline-flex; align-items: center; padding: 0 19px; white-space: nowrap; font-size: 15px; font-weight: 600; position: relative; transition: background-color .2s ease, color .2s ease; }
.nav-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-link.active { background: rgba(255, 255, 255, .96); color: #15181a; font-weight: 700; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-left: auto; min-width: 0; }
.city-switch { position: relative; }
.header-tabbar .city-btn { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0; border: 0; border-radius: 1000px; font-size: 13px; font-weight: 600; background: transparent; color: #fff; transition: background-color .2s ease; }
.header-action-glyph { display: block; width: 32px; height: 32px; flex: 0 0 32px; }
.header-tabbar .city-btn:hover,
.header-tabbar .city-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }
.city-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 8px; z-index: 50; }
.city-menu-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); padding: 8px 12px 10px; font-family: var(--f-mono); }
.city-item { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; }
.city-item:hover { background: var(--bg-3); }
.city-item.is-active { color: var(--brand-primary); font-weight: 600; }
.city-count { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--bg-3); border: 1px solid transparent; border-radius: 100px; width: 260px; color: var(--muted); transition: background 0.15s, border-color 0.15s; }
.search-box:focus-within { background: var(--card); border-color: var(--brand-primary); color: var(--ink); }
.search-box input { border: none; outline: none; background: transparent; flex: 1; font-size: 14px; color: var(--ink); }
.header-tabbar .icon-btn { position: relative; width: 64px; height: 64px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: #fff; transition: background-color .2s ease, color .2s ease; }
.header-tabbar .icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.badge { position: absolute; top: 8px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--brand-primary); color: white; border-radius: 9px; font-size: 9px; font-weight: 700; display: grid; place-items: center; font-family: var(--f-mono); }

/* Account button in header */
.header-tabbar .account-btn {
  width: 64px; min-width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  padding: 0; border: 0;
  border-radius: 50%; background: transparent; color: #fff;
  transition: background-color .2s ease;
}
.header-tabbar .account-btn:hover { background: rgba(255, 255, 255, .12); }
.account-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.header-tabbar .account-avatar { width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover; }
.header-tabbar .account-avatar-yandex { background: #FC3F1D; font-size: 15px; }
.header-tabbar .account-name { display: none; }
.account-name { font-size: 13px; font-weight: 600; }
.account-bonus { font-family: var(--f-mono); font-size: 11px; color: var(--brand-primary); padding-left: 8px; border-left: 1px solid var(--line); }
.header-tabbar :is(.nav-link, .city-btn, .icon-btn, .account-btn):focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.mobile-tabbar { display: none; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: transform 0.08s, background 0.15s, border-color 0.15s, color 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-primary); color: white; }
.btn-primary:hover { background: #c8007b; }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* PAGE HEAD ROW — title + all-chip + ChipBar inline */
.main { max-width: 1440px; margin: 0 auto; padding: 32px 32px 80px; }
.app[data-screen-label="Home"] { background: var(--home-shell-bg); }
.main.home-main {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  isolation: isolate;
}
.home-hero-surface {
  position: sticky;
  top: var(--home-sticky-top);
  z-index: 0;
  padding: 24px 0 32px;
  background: transparent;
}
.home-surface-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.home-hero-inner { max-width: none; }
.home-hero-inner .kiv-hero-shell { margin-bottom: 0; }
.home-hero-inner .kiv-hero-feat { padding-inline: 32px; scroll-padding-inline: 32px; }
.home-content-surface {
  background: #fff;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  border-radius: 120px 120px 0 0;
}
.home-content-inner { padding: 40px 32px 80px; }
.app[data-screen-label="Home"] > .site-footer {
  position: relative;
  z-index: 3;
  background: #fff;
}
.page-head-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: nowrap; }
.page-h1-flat { font-family: var(--f-display); font-weight: 800; font-size: 44px; letter-spacing: -0.035em; line-height: 1; margin: 0; white-space: nowrap; flex: 0 0 auto; }
.all-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 100px; background: var(--bg-3); font-size: 14px; font-weight: 500; transition: background 0.15s; flex: 0 0 auto; }
.all-chip:hover { background: var(--accent-soft); color: var(--brand-primary); }
.page-head-chips { flex: 1; min-width: 0; overflow: hidden; }
.page-head-chips .chip-bar { margin: 0; }

/* Shared loading shimmer for calendar cells, catalog cards, and delayed images. */
.kiv-skeleton-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #d2d2d2 0%, #b7b7b7 100%);
}
.kiv-skeleton-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 29%, rgba(255,255,255,.16) 39%, rgba(255,255,255,.74) 50%, rgba(255,255,255,.16) 61%, transparent 71%);
  background-repeat: no-repeat;
  transform: translate3d(-115%, 0, 0);
  animation: kiv-hero-shimmer 1.8s linear infinite;
  will-change: transform;
}

/* CALENDAR STRIP — white bg, no fill */
.cal-strip {
  position: relative; display: flex; align-items: stretch;
  margin: 0 0 32px; padding: 0 48px;
  background: transparent;
}
.cal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 56px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); display: grid; place-items: center;
  color: var(--ink); z-index: 3;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  box-shadow: var(--shadow-sm);
}
.cal-arrow:hover { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.cal-arrow-left { left: 0; }
.cal-arrow-right { right: 0; }
.cal-scroller { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; flex: 1; padding: 6px 4px 2px; }
.cal-scroller::-webkit-scrollbar { display: none; }
.cal-day-wrap {
  position: relative; flex: 0 0 64px; height: 76px;
}
.cal-day-wrap.is-range-selected:not(.is-range-start)::before {
  content: ''; position: absolute; left: -4px; top: 0; width: 4px; height: 100%;
  background: var(--brand-primary); z-index: 0;
}
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-width: 0; padding: 10px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  position: relative; z-index: 1;
}
.cal-day:hover { border-color: var(--line); }
.cal-day.is-active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); box-shadow: none; }
.cal-day-wrap.is-range-selected .cal-day { border-radius: 0; }
.cal-day-wrap.is-range-start .cal-day { border-radius: var(--r-md) 0 0 var(--r-md); }
.cal-day-wrap.is-range-end .cal-day { border-radius: 0 var(--r-md) var(--r-md) 0; }
.cal-day-wrap.is-range-start.is-range-end .cal-day { border-radius: var(--r-md); }
.cal-day.is-active.is-empty { opacity: 1; }
.cal-day.is-today:not(.is-active) { border-color: var(--brand-primary); }
.cal-day.is-active .cal-dow, .cal-day.is-active .cal-mon { color: rgba(255,255,255,0.85); }
.cal-day.is-active .cal-num { color: white; }
.cal-dow { font-size: 11px; font-family: var(--f-mono); color: var(--muted); text-transform: lowercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.cal-day.is-wknd .cal-dow { color: var(--brand-primary); }
.cal-day.is-active.is-wknd .cal-dow { color: rgba(255,255,255,0.95); }
.cal-num { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.cal-day.is-wknd .cal-num { color: var(--brand-primary); }
.cal-day.is-active.is-wknd .cal-num { color: white; }
.cal-mon { font-size: 10px; font-family: var(--f-mono); color: var(--muted-2); text-transform: lowercase; margin-top: 4px; }
.cal-group-reset {
  position: absolute; width: 22px; height: 22px; border-radius: 50%; top: -4px; right: -4px;
  z-index: 3; display: grid; place-items: center;
  border: 0; padding: 0; background: var(--line); color: var(--ink-2);
}
.cal-group-reset::before,
.cal-group-reset::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; border-radius: 100px; background: currentColor;
  transform-origin: center;
}
.cal-group-reset::before { transform: translate(-50%, -50%) rotate(45deg); }
.cal-group-reset::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cal-group-reset:hover { background: var(--line); color: var(--ink-2); }
.cal-group-reset:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }
.cal-strip-skeleton { pointer-events: none; }
.cal-skeleton-scroller { padding-block: 6px 2px; }
.cal-skeleton-day {
  flex: 0 0 64px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border-radius: var(--r-md);
}
.cal-skeleton-arrow {
  border: 0;
  box-shadow: none;
  background: linear-gradient(180deg, #d2d2d2 0%, #b7b7b7 100%);
}
.cal-skeleton-line { position: relative; z-index: 1; display: block; border-radius: 999px; background: rgba(255,255,255,.62); }
.cal-skeleton-dow { width: 24px; height: 7px; }
.cal-skeleton-num { width: 34px; height: 18px; }
.cal-skeleton-mon { width: 28px; height: 7px; }

/* CHIP BAR */
.chip-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.chip-bar::-webkit-scrollbar { display: none; }
.chip-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; color: var(--ink); flex-shrink: 0; transition: background 0.15s; }
.chip-icon:hover { background: var(--line); }
.chip-scroller { display: flex; gap: 8px; }
.chip-pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 100px; background: var(--bg-3); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background 0.15s, color 0.15s; flex-shrink: 0; }
.chip-pill:hover { background: var(--line); }
.chip-pill.is-active { background: var(--brand-primary); color: white; }
.chip-icon-inner { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 700; background: var(--cb-green); color: white; font-family: var(--f-mono); }
.chip-cyan .chip-icon-inner { background: var(--brand-cyan); }
.chip-magenta .chip-icon-inner { background: var(--brand-magenta); color: white; font-size: 11px; }

/* HERO FEATURE */
.hero-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; cursor: pointer; }
.hero-left, .hero-right { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1/1; }
.hero-left > .hero-glass { position: absolute; inset: 0; z-index: 1; }
.hero-glass > div { width: 100%; height: 100%; aspect-ratio: auto !important; }
.hero-glass-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(232,0,146,0.28) 0%, rgba(56,162,234,0.22) 60%, rgba(15,15,14,0.58) 100%), linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.15)); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.hero-glass-content { position: relative; z-index: 2; padding: 28px 32px; height: 100%; display: flex; flex-direction: column; }
.hero-score { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 100px; background: var(--cb-green); color: white; font-family: var(--f-display); font-weight: 700; font-size: 13px; }
.hero-score-dot { width: 8px; height: 8px; border-radius: 50%; background: white; opacity: 0.6; }
.hero-glass-body { margin-top: auto; color: white; }
.hero-eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.hero-title { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 12px; color: white; text-wrap: balance; }
.hero-sub { font-size: 15px; margin: 0 0 18px; color: rgba(255,255,255,0.85); max-width: 380px; }
.hero-cb { background: var(--cb-green); color: white; padding: 5px 12px 5px 8px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; align-self: flex-start; width: auto; }
.hero-cb > * { flex: 0 0 auto; }
.hero-cb .cb-dot { background: white; color: var(--cb-green); }
.hero-cta { margin-top: 20px; align-self: flex-start; padding: 14px 22px; border-radius: 100px; background: white; color: var(--ink); font-size: 14px; font-weight: 600; transition: background 0.15s, color 0.15s; }
.hero-cta:hover { background: var(--brand-primary); color: white; }
.hero-right > div { width: 100%; height: 100%; aspect-ratio: auto !important; }
.hero-fav { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; z-index: 3; transition: transform 0.15s; }
.hero-fav:hover { transform: scale(1.08); }

/* GRID + FLAT CARDS */
.grid-wrap { display: flex; flex-direction: column; gap: 20px; margin-bottom: 80px; }
.grid { display: grid; gap: 28px 20px; }
.grid-flat { grid-template-columns: repeat(4, 1fr); }
.card-flat { cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.flat-media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-3); }
.flat-media > div:first-child { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }
.flat-media-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; transform: scale(1); transform-origin: center; transition: transform 0.45s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.card-flat:hover .flat-media-image { transform: scale(1.045); }
.flat-badges { position: absolute; bottom: 10px; left: 10px; display: flex; flex-direction: row; align-items: center; gap: 6px; z-index: 2; max-width: calc(100% - 60px); }
.flat-badges > * { flex: 0 0 auto; height: auto; align-self: center; }
.cb-dot { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: white; color: var(--cb-green); font-family: var(--f-mono); font-size: 9px; font-weight: 700; flex-shrink: 0; }
.badge-tickets { padding: 4px 10px; border-radius: 100px; background: rgba(255,255,255,0.95); color: var(--ink); font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); white-space: nowrap; }
.tour-rating-badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 0 9px; border-radius: 100px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 6px 20px rgba(15,15,14,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.tour-rating-badge .rating-inline { gap: 4px; font-size: 11px; line-height: 1; }
.tour-rating-badge .rating-inline svg { width: 12px; height: 12px; }
.flat-rating .rating-inline { color: var(--ink); font-size: 11px; font-weight: 700; }
.flat-rating .rating-inline svg { width: 11px; height: 11px; }
.tour-popular-badge { min-height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 0; border-radius: 999px; background: var(--brand-primary); color: #fff; font-size: 10px; font-weight: 750; line-height: 1; letter-spacing: .01em; white-space: nowrap; pointer-events: none; box-shadow: none; }
.flat-labels { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 72px); }
.flat-rating { position: static; min-height: 22px; padding: 0 7px; pointer-events: none; }
.flat-popular { position: static; }
.flat-fav { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; padding: 0; line-height: 0; border: 0; border-radius: 50%; display: grid; place-items: center; z-index: 2; transition: transform .18s ease, background-color .2s ease, color .2s ease; }
.flat-fav svg { display: block; margin: 0; }
.flat-fav:hover { transform: scale(1.06); }
.flat-body { padding: 0 4px; display: flex; flex-direction: column; gap: 4px; }
.flat-title { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: -0.015em; margin: 0; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flat-cat { font-size: 13px; color: var(--muted); }
.flat-meta { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.card-flat-skeleton { cursor: default; pointer-events: none; }
.card-skeleton-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.flat-media.card-skeleton-media { background: linear-gradient(180deg, #d2d2d2 0%, #b7b7b7 100%); }
.card-skeleton-pill,
.card-skeleton-circle { position: absolute; z-index: 2; display: block; background: rgba(255,255,255,.7); }
.card-skeleton-pill { border-radius: 999px; }
.card-skeleton-rating { top: 10px; left: 10px; width: 52px; height: 22px; }
.card-skeleton-favorite { top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; }
.card-skeleton-price { left: 10px; bottom: 10px; width: 92px; height: 24px; }
.card-skeleton-body { min-height: 72px; padding: 0 4px; display: flex; flex-direction: column; gap: 7px; }
.card-skeleton-line { display: block; height: 11px; border-radius: 999px; background: linear-gradient(180deg, #dedede 0%, #c9c9c9 100%); }
.card-skeleton-title-wide { width: 92%; height: 15px; }
.card-skeleton-title-short { width: 68%; height: 15px; }
.card-skeleton-category { width: 48%; height: 9px; }
.card-skeleton-meta { width: 62%; height: 9px; }
.flat-media-load-skeleton { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-skeleton-preload { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }

.card-promo { position: relative; border-radius: var(--r-md); padding: 20px; aspect-ratio: 4/3; background: var(--promo-gradient); display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; overflow: hidden; }
.promo-close { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.6); color: var(--ink); display: grid; place-items: center; }
.promo-body { margin-top: 12px; }
.promo-title { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: 28px; line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.promo-sub { font-size: 12px; color: var(--ink-2); max-width: 180px; line-height: 1.35; }
.promo-cta { align-self: flex-start; padding: 12px 18px; border-radius: 100px; background: var(--brand-primary); color: white; font-size: 13px; font-weight: 600; }
.empty { padding: 80px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.rating-count { font-size: 12px; color: var(--muted); }

/* EVENT PAGE */
.app[data-screen-label="Event"] { --event-sticky-top: 0px; overflow: visible; background: transparent; }
.app[data-screen-label="Event"] .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
}
.event-page {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #fff;
  isolation: isolate;
}
.back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.15s, color 0.15s; }
.back-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.crumb-sep { color: var(--muted-2); }
.crumb-cur { color: var(--ink); }

/* Full-viewport image stays beneath the rising content surface. */
.event-hero {
  position: sticky;
  top: var(--event-sticky-top);
  z-index: 0;
  width: 100%;
  height: clamp(480px, 62vh, 640px);
  height: clamp(480px, 62svh, 640px);
  margin: 0;
  overflow: hidden;
  background: var(--bg-3);
}
.event-hero-media { position: relative; width: 100vw; height: 100%; border-radius: 0; overflow: hidden; background: var(--bg-3); }
.event-hero-media > div:first-child { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }
.event-hero-media img,
.event-hero-media > .photo-placeholder { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.event-image-load { position: relative; width: 100%; height: 100%; overflow: hidden; }
.event-image-load > img { opacity: 0; transition: opacity .24s ease, transform .45s ease; }
.event-image-load.is-ready > img { opacity: 1; }
.event-image-skeleton { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; }

.event-content-surface {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  margin-top: -112px;
  background: #fff;
  border-radius: 120px 120px 0 0;
  overflow: clip;
}
.event-content-inner {
  --event-content-gutter: 32px;
  --event-section-gap: 56px;
  --event-block-gap: 20px;
  --event-card-padding: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px var(--event-content-gutter) 80px;
}
.event-content-head { max-width: 900px; }
.event-content-head .event-h1 { color: var(--ink); font-size: 64px; margin: 0 0 16px; text-wrap: balance; }
.event-content-head .event-sub { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }

/* Event loading preview mirrors the final page geometry and releases per data surface. */
.event-page-skeleton { pointer-events: none; user-select: none; }
.event-skeleton-hero { background: linear-gradient(180deg, #d2d2d2 0%, #b7b7b7 100%); }
.event-skeleton-hero-actions { align-items: center; }
.event-skeleton-rating { display: block; width: 154px; height: 46px; border-radius: 999px; }
.event-skeleton-favorite { display: block; width: 46px; height: 46px; border-radius: 50%; }
.event-skeleton-block { display: block; min-width: 0; border-radius: 999px; }
.event-skeleton-content-head { width: min(100%, 900px); }
.event-skeleton-eyebrow { margin-bottom: 20px; }
.event-skeleton-pill { width: 104px; height: 26px; }
.event-skeleton-pill-wide { width: 132px; }
.event-skeleton-pill-short { width: 78px; }
.event-skeleton-title { height: 46px; border-radius: 14px; }
.event-skeleton-title-wide { width: 72%; height: 46px; margin-bottom: 12px; }
.event-skeleton-title-short { width: 48%; height: 46px; }
.event-skeleton-heading { width: 168px; height: 24px; margin-bottom: var(--event-block-gap); border-radius: 8px; }
.event-skeleton-copy { display: flex; flex-direction: column; gap: 10px; max-width: 800px; }
.event-skeleton-copy-line { width: 100%; height: 14px; border-radius: 7px; }
.event-skeleton-copy-line-wide { width: 90%; }
.event-skeleton-copy-line-short { width: 64%; }
.event-skeleton-text-link { width: 116px; height: 14px; margin-top: 16px; border-radius: 7px; }
.event-skeleton-photo { display: block; aspect-ratio: 4 / 3; height: auto; }
.event-skeleton-stats .ev-stat { gap: 8px; }
.event-skeleton-stat-label { width: 78px; height: 8px; }
.event-skeleton-stat-value { width: 112px; height: 16px; }
.event-skeleton-heading-meeting { width: 154px; }
.event-skeleton-meet-copy { width: min(100%, 620px); }
.event-skeleton-meet-kicker { width: 86px; height: 8px; margin-bottom: 10px; }
.event-skeleton-meet-address { width: min(88%, 520px); height: 20px; border-radius: 8px; }
.event-skeleton-meet-note { width: min(72%, 420px); height: 12px; margin-top: 10px; }
.event-skeleton-meet-link { flex: 0 0 126px; width: 126px; height: 13px; }
.event-skeleton-map { height: 380px; min-height: 380px; border-radius: var(--r-lg); }
.event-skeleton-booking { box-shadow: none; }
.event-skeleton-price { width: 164px; height: 34px; border-radius: 10px; }
.event-skeleton-note { width: 96px; height: 9px; margin-top: 8px; }
.event-skeleton-booking-divider { height: 1px; margin: 20px 0 10px; background: var(--line); }
.event-skeleton-booking-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.event-skeleton-row-label { width: 116px; height: 10px; }
.event-skeleton-row-label-short { width: 86px; }
.event-skeleton-row-value { width: 104px; height: 12px; }
.event-skeleton-row-value-short { width: 68px; }
.event-skeleton-booking-button { width: 100%; height: 52px; margin-top: 16px; border-radius: 999px; }
.event-skeleton-heading-lower { width: 142px; }
.event-skeleton-lower-section { padding-bottom: 0; }
.event-skeleton-lower-copy { width: 100%; }
.event-skeleton-heading-similar { width: 190px; }

.event-hero-actions { position: absolute; left: 32px; bottom: 128px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.event-hero-rating { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 100px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 8px 28px rgba(15,15,14,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); cursor: pointer; font: inherit; transition: transform .18s ease, background .18s ease; }
.event-hero-rating .rating-count { color: var(--ink-2); }
.event-hero-rating:hover { transform: translateY(-1px); background: #fff; }
.event-hero-rating:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }
.event-fav-big { position: static; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); display: grid; place-items: center; transition: transform 0.15s; box-shadow: 0 8px 28px rgba(15,15,14,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.event-fav-big:hover { transform: scale(1.08); }
.event-fav-big.is-fav { color: var(--brand-primary); }
.event-fav-big.is-fav svg { fill: var(--brand-primary); }

/* Floating CTA hidden on desktop — only appears on mobile */
.kiv-floating-cta { display: none; }

/* Hero cards — fixed size with horizontal scroll when many */
.kiv-hero-shell {
  position: relative;
  margin-bottom: 28px;
  background: transparent;
}
.kiv-hero-feat {
  display: flex !important;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0;
  justify-content: flex-start;
  background: transparent;
}
.kiv-hero-feat::-webkit-scrollbar { display: none; }
.kiv-hero-feat > .kiv-hero-card {
  flex: 0 0 400px;
  width: 400px;
  height: 520px;
  aspect-ratio: 10 / 13 !important;
  border-radius: 28px !important;
  scroll-snap-align: start;
}
.kiv-hero-card-skeleton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: default;
  background: linear-gradient(180deg, #d2d2d2 0%, #b7b7b7 100%);
  box-shadow: none;
}
.kiv-hero-card-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 29%, rgba(255,255,255,.16) 39%, rgba(255,255,255,.74) 50%, rgba(255,255,255,.16) 61%, transparent 71%);
  background-repeat: no-repeat;
  transform: translate3d(-115%, 0, 0);
  animation: kiv-hero-shimmer 1.8s linear infinite;
  will-change: transform;
}
.kiv-hero-skeleton-block {
  display: block;
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.kiv-hero-skeleton-rating { position: absolute; top: 18px; left: 18px; width: 72px; height: 30px; border-radius: 999px; }
.kiv-hero-skeleton-fav { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; }
.kiv-hero-skeleton-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 24px 28px; }
.kiv-hero-skeleton-eyebrow { width: 82px; height: 12px; margin-bottom: 14px; border-radius: 6px; }
.kiv-hero-skeleton-title { height: 24px; margin-bottom: 9px; border-radius: 8px; }
.kiv-hero-skeleton-title-wide { width: 86%; }
.kiv-hero-skeleton-title-short { width: 62%; margin-bottom: 18px; }
.kiv-hero-skeleton-copy { height: 12px; margin-bottom: 8px; border-radius: 6px; background: rgba(255,255,255,.34); }
.kiv-hero-skeleton-copy-wide { width: 92%; }
.kiv-hero-skeleton-copy-short { width: 70%; margin-bottom: 22px; }
.kiv-hero-skeleton-cta { width: 168px; height: 48px; border-radius: 999px; background: rgba(255,255,255,.72); }
@keyframes kiv-hero-shimmer {
  from { transform: translate3d(-115%, 0, 0); }
  to { transform: translate3d(115%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .kiv-hero-card-skeleton::after { animation: none; opacity: 0; }
  .kiv-skeleton-surface::after { animation: none; opacity: 0; }
}
.kiv-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,11,11,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #0b0b0b;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.kiv-hero-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  background: var(--brand-primary);
  color: #fff;
}
.kiv-hero-arrow:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }
.kiv-hero-arrow-left { left: 12px; }
.kiv-hero-arrow-right { right: 12px; }
.kiv-hero-fav { position: absolute; top: 18px; right: 18px; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; transition: transform .18s ease, color .2s ease, background-color .2s ease; }
.kiv-hero-fav:hover { transform: scale(1.06); }
.kiv-hero-fav:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }
.flat-fav,
.kiv-hero-fav { background: var(--pui-bg-tabbar); -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px); color: #fff; box-shadow: 0 12px 32px rgba(21, 24, 26, .12); }
.flat-fav:hover,
.kiv-hero-fav:hover { background: rgba(21, 24, 26, .66); color: #fff; }
.flat-fav.is-fav,
.kiv-hero-fav.is-fav { background: rgba(255,255,255,.96); color: var(--brand-primary); }
.kiv-hero-labels { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.kiv-hero-rating { position: static; min-height: 30px; }
.kiv-hero-rating .rating-inline { color: var(--ink); font-size: 11px; font-weight: 700; }
.kiv-hero-popular { position: static; min-height: 26px; padding-inline: 10px; }
.tour-tag-pill { min-height: 24px; display: inline-flex; align-items: center; max-width: 190px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.flat-tag { min-height: 22px; max-width: 140px; padding-inline: 8px; }
.kiv-hero-tag { min-height: 26px; max-width: 180px; }
.tour-trait-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tour-trait-pill { min-height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: rgba(21,24,26,.66); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tour-trait-pill.is-cashback { background: var(--cb-green); }
.tour-trait-pill.is-pick { background: var(--brand-primary); }
.tour-trait-pill.is-kids { background: #38a2ea; }
.flat-traits { min-width: 0; flex: 1 1 auto !important; flex-wrap: nowrap; }
.flat-traits .tour-trait-pill { min-height: 22px; max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
.kiv-hero-traits { margin: 0 0 12px; }
.event-eyebrow .tour-tag-pill { background: var(--bg-3); color: var(--ink-2); backdrop-filter: none; }
.event-eyebrow .event-traits { display: contents; }
.event-eyebrow .tour-trait-pill { min-height: 28px; color: #fff; }

.event-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "info aside"; column-gap: 48px; row-gap: 0; align-items: flex-start; margin-top: 48px; }
.event-info { grid-area: info; min-width: 0; display: flex; flex-direction: column; gap: var(--event-section-gap); }
.event-eyebrow { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.event-eyebrow .pill { padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.pill { background: var(--bg-3); color: var(--ink-2); }
.pill-dim { background: transparent; color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.3); }
.pill-brand { background: var(--brand-primary); color: white; }
.pill-outline { background: transparent; border: 1px solid var(--line); }

.event-h1 { font-family: var(--f-display); font-weight: 800; font-size: 56px; letter-spacing: -0.035em; line-height: 1; margin: 0 0 16px; }
.event-sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }

.event-logistics-stack { display: flex; flex-direction: column; gap: 28px; }
.event-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.ev-stat { display: flex; flex-direction: column; gap: 4px; }
.ev-k { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.ev-v { font-size: 14px; font-weight: 500; }

.event-section { margin: 0; scroll-margin-top: 140px; }
.event-h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--event-block-gap); }
.event-body { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.event-about-copy {
  display: -webkit-box;
  max-width: 800px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.event-about-copy.is-expanded { display: block; overflow: visible; -webkit-line-clamp: unset; }
.event-about-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .2s ease;
}
.event-about-toggle:hover { color: #c8007b; }
.event-about-toggle:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }
.event-photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: var(--event-block-gap);
}
.event-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  min-width: 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-3);
  isolation: isolate;
}
.event-photo-card:nth-child(n+5) { display: none; }
.event-photo-card img,
.event-photo-card > .photo-placeholder { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.event-photo-card > .event-gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.event-photo-card > .event-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.event-photo-card:hover img,
.event-photo-card:hover > .photo-placeholder { transform: scale(1.045); }
.event-photo-card.has-more::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(12, 12, 16, .52); }
.event-photo-more { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-size: 34px; font-weight: 800; }
.event-photo-card:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }
.kiv-lightbox-close { z-index: 3; pointer-events: auto; display: grid; place-items: center; }

.timeline { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 48px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: flex-start; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 44px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-primary); border: 2px solid var(--bg); z-index: 1; }
.tl-time { font-family: var(--f-mono); font-size: 12px; color: var(--brand-primary); font-weight: 600; letter-spacing: 0.06em; padding-top: 2px; }
.timeline b { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.timeline p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.includes-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--event-block-gap); }
.includes-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--brand-primary); flex-shrink: 0; }

.bring-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bring-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 12px var(--event-card-padding); border: 1px solid var(--line); border-radius: var(--r-md); }
.bring-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); flex-shrink: 0; }
.event-previsit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--event-block-gap); }
.event-detail-group { min-width: 0; }
.event-detail-title { margin: 0 0 12px; font-family: var(--f-display); font-size: 15px; font-weight: 700; }
.event-previsit-grid .bring-list { grid-template-columns: 1fr; }

.meet-card { display: grid; grid-template-columns: 1fr; border: 0; border-radius: 0; overflow: visible; }
.meet-map { width: 100%; height: 380px; min-height: 380px; overflow: hidden; border-radius: var(--r-lg); }
.meet-info { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--event-block-gap); padding: 0 0 var(--event-card-padding); }
.meet-copy { min-width: 0; }
.meet-addr { font-family: var(--f-display); font-size: 18px; font-weight: 600; margin-top: 4px; }
.meet-note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.meet-link { display: inline-block; flex: 0 0 auto; margin-top: 0; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--brand-primary); }

.guide-card { display: flex; gap: var(--event-block-gap); padding: var(--event-card-padding); border: 1px solid var(--line); border-radius: var(--r-lg); align-items: flex-start; }
.guide-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.guide-name { font-family: var(--f-display); font-size: 18px; font-weight: 700; }
.guide-meta { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.guide-bio { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.15s; }
.faq.is-open { border-color: var(--brand-primary); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px var(--event-card-padding); text-align: left; font-size: 15px; font-weight: 500; }
.faq-caret { display: grid; place-items: center; transition: transform 0.2s; color: var(--muted); }
.faq.is-open .faq-caret { transform: rotate(180deg); color: var(--brand-primary); }
.faq-a { padding: 0 var(--event-card-padding) var(--event-card-padding); font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.ev-reviews { display: flex; flex-direction: column; gap: 12px; }
.ev-review { padding: var(--event-card-padding); border: 1px solid var(--line); border-radius: var(--r-md); }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-primary); color: white; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
.review-name { font-weight: 600; font-size: 14px; }
.review-when { font-size: 12px; color: var(--muted); margin-top: 1px; }
.review-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.all-reviews-btn { margin-top: 16px; }

.similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Static content rendered inside the shared React shell. */
.kiv-static-page { background: var(--card); min-height: 60vh; padding: 30px 0 64px; }
.kiv-static-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: left; }
.kiv-static-article { text-align: left; }
.kiv-static-title { font-family: var(--f-display); font-size: 36px; font-weight: 700; line-height: 1.15; margin: 0 0 22px; color: var(--ink); letter-spacing: -.01em; text-align: left; }
.kiv-static-body { font-family: var(--f-body); font-size: 15px; line-height: 1.65; color: var(--ink-2); text-align: left; }
.kiv-static-body p { margin: 0 0 14px; }
.kiv-static-body h2 { font-family: var(--f-display); font-size: 22px; font-weight: 600; margin: 28px 0 12px; color: var(--ink); }
.kiv-static-body h3 { font-family: var(--f-display); font-size: 17px; font-weight: 600; margin: 22px 0 10px; color: var(--ink); }
.kiv-static-body ul, .kiv-static-body ol { padding-left: 22px; margin: 0 0 14px; }
.kiv-static-body li { margin: 4px 0; }
.kiv-static-body a { color: var(--brand-primary); }
.kiv-static-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

/* BOOKING WIDGET */
.event-aside { grid-area: aside; position: sticky; top: 132px; }
.booking-widget { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; background: var(--card); box-shadow: var(--shadow-sm); }
.bw-price { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.price-xl { font-family: var(--f-display); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; line-height: 1; }
.price-note { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.bw-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font-size: 13px; color: var(--muted); }
.bw-row b { color: var(--ink); font-weight: 600; }
.bw-cta { width: 100%; justify-content: center; background: var(--brand-primary); margin-top: 16px; color: white; }
.bw-cta:hover { background: #c8007b; }
.bw-perks { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.bw-perk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bw-perk .cb-dot { background: var(--cb-green); color: white; }
.bw-perk svg { color: var(--brand-primary); }

/* BOOKING MODAL — larger */
.modal-root { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; overflow-y: auto; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-sheet { background: var(--card); border-radius: var(--r-xl); width: 100%; max-width: 1200px; position: relative; animation: sheetIn 0.3s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.auth-prompt-overlay { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 24px; background: rgba(30,30,33,0.46); backdrop-filter: blur(16px); animation: fadeIn 0.2s ease; }
.auth-prompt-card { position: relative; width: min(100%, 480px); padding: 40px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-lg); text-align: center; }
.auth-prompt-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.auth-prompt-close:hover { background: var(--bg-3); color: var(--ink); }
.auth-prompt-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-primary); background: var(--accent-soft); }
.auth-prompt-kicker { margin-bottom: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.auth-prompt-title { margin: 0; font-family: var(--f-display); font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; }
.auth-prompt-copy { max-width: 380px; margin: 16px auto 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.auth-prompt-button { width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 100px; background: var(--brand-primary); color: #fff; font-size: 15px; font-weight: 700; transition: background 0.15s, transform 0.08s; }
.auth-prompt-button:hover { background: #c8007b; }
.auth-prompt-button:active { transform: translateY(1px); }
.auth-prompt-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 28%, transparent); outline-offset: 3px; }
.auth-prompt-yandex { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; font-weight: 800; }
.kiv-modal-transition {
  position: absolute; inset: 0; z-index: 30;
  display: grid; place-items: center; overflow: hidden;
  border-radius: inherit; pointer-events: auto;
  background: rgba(48, 50, 55, 0);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  backdrop-filter: blur(0px) saturate(100%);
  visibility: visible;
  will-change: background, backdrop-filter;
}
.kiv-modal-transition.is-idle { visibility: hidden; pointer-events: none; }
.kiv-modal-transition.is-covering { animation: kiv-modal-blur-in 220ms ease-out both; }
.kiv-modal-transition.is-revealing { animation: kiv-modal-blur-out 260ms ease-in both; }
.kiv-modal-transition.is-covering .kiv-modal-transition-loader { animation: kiv-modal-loader-in 220ms ease-out both; }
.kiv-modal-transition.is-revealing .kiv-modal-transition-loader { animation: kiv-modal-loader-out 260ms ease-in both; }
.kiv-modal-transition-loader {
  position: relative; z-index: 1; display: block;
  width: min(36%, 240px); min-width: 140px; aspect-ratio: 16 / 9;
  filter: drop-shadow(0 10px 20px rgba(28, 28, 32, 0.14));
}
@keyframes kiv-modal-blur-in {
  from { background: rgba(48, 50, 55, 0); -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%); }
  to { background: rgba(48, 50, 55, 0.3); -webkit-backdrop-filter: blur(22px) saturate(68%); backdrop-filter: blur(22px) saturate(68%); }
}
@keyframes kiv-modal-blur-out {
  from { background: rgba(48, 50, 55, 0.3); -webkit-backdrop-filter: blur(22px) saturate(68%); backdrop-filter: blur(22px) saturate(68%); }
  to { background: rgba(48, 50, 55, 0); -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%); }
}
@keyframes kiv-modal-loader-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes kiv-modal-loader-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kiv-modal-transition.is-covering,
  .kiv-modal-transition.is-revealing,
  .kiv-modal-transition.is-covering .kiv-modal-transition-loader,
  .kiv-modal-transition.is-revealing .kiv-modal-transition-loader { animation-duration: 1ms; }
}
.modal-booking { max-width: 1200px; min-height: 720px; display: flex; flex-direction: column; }
.modal-booking-skeleton { pointer-events: none; overflow: hidden; }
.modal-booking-skeleton .modal-close { pointer-events: auto; }
.booking-skeleton-block { display: block; border-radius: 999px; }
.booking-skeleton-eyebrow { width: 112px; height: 10px; margin-bottom: 14px; }
.booking-skeleton-title { width: min(62%, 520px); height: 30px; margin-bottom: 24px; border-radius: 10px; }
.booking-skeleton-steps { gap: 8px; }
.booking-skeleton-step { display: block; width: 132px; height: 34px; border-radius: 999px; }
.booking-skeleton-heading { width: 188px; height: 14px; margin-bottom: 18px; }
.booking-skeleton-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.booking-skeleton-session { display: block; min-height: 112px; border-radius: 8px; }
.booking-skeleton-foot { pointer-events: none; }
.booking-skeleton-total { display: block; width: 174px; height: 52px; border-radius: 999px; }
.booking-skeleton-next { display: block; width: 220px; height: 52px; border-radius: 999px; }
@keyframes sheetIn { from { transform: translateY(20px); opacity: 0; } }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; z-index: 5; transition: border-color 0.15s; }
.modal-close:hover { border-color: var(--ink); }

.booking-head { position: relative; padding: 40px 48px 24px; border-bottom: 1px solid var(--line); }
.booking-head.has-back { padding-left: 72px; }
.booking-back-top {
  position: absolute; top: 20px; left: 20px; z-index: 5;
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; background: var(--card); color: var(--ink-2);
}
.booking-back-top:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.booking-eyebrow { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-primary); margin-bottom: 10px; }
.booking-title { font-family: var(--f-display); font-size: 28px; font-weight: 700; margin: 0 0 22px; letter-spacing: -0.02em; }
.stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 100px; font-size: 12px; color: var(--muted); }
.step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-3); color: var(--muted); display: grid; place-items: center; font-weight: 600; font-size: 11px; font-family: var(--f-mono); }
.step.is-active { color: var(--ink); }
.step.is-active .step-num { background: var(--brand-primary); color: white; }
.step.is-done .step-num { background: var(--brand-primary); color: white; }

.booking-body { padding: 32px 48px; flex: 1; min-height: 320px; }
.step-h { font-family: var(--f-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 14px; }
.step-h + .step-h { margin-top: 28px; }

.date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.date-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); transition: border-color 0.15s, background 0.15s; }
.date-cell:hover { border-color: var(--line-2); }
.date-cell.is-active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.date-cell.is-wknd .date-dow { color: var(--brand-primary); }
.date-cell.is-active.is-wknd .date-dow { color: white; }
.date-dow { font-size: 10px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.date-cell.is-active .date-dow { color: rgba(255,255,255,0.7); }
.date-day { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.date-mon { font-size: 10px; color: var(--muted); font-family: var(--f-mono); }
.date-cell.is-active .date-mon { color: rgba(255,255,255,0.7); }
.time-row { display: flex; gap: 8px; flex-wrap: wrap; }
.time-pill { padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; font-weight: 500; background: var(--card); }
.time-pill:hover { border-color: var(--line-2); }
.time-pill.is-active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }

/* Ticket category rows */
.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
.ticket-row:hover { border-color: var(--line-2); }
.ticket-label { font-family: var(--f-display); font-size: 15px; font-weight: 600; }
.ticket-sub { font-size: 12px; color: var(--muted); margin-top: 2px; font-family: var(--f-mono); letter-spacing: 0.04em; }

.stepper-ctrl { display: inline-flex; align-items: center; background: var(--bg-3); border-radius: var(--r-md); padding: 4px; }
.stepper-ctrl button { width: 32px; height: 32px; border-radius: var(--r-sm); font-size: 18px; color: var(--ink); font-weight: 500; }
.stepper-ctrl button:hover { background: var(--card); }
.stepper-ctrl span { min-width: 40px; text-align: center; font-weight: 600; font-family: var(--f-display); font-size: 16px; }

.addon-list { display: flex; flex-direction: column; gap: 8px; }
.addon { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; cursor: pointer; }
.addon:hover { border-color: var(--line-2); }
.addon-label { flex: 1; font-weight: 500; }
.addon-price { font-family: var(--f-mono); font-size: 13px; color: var(--brand-primary); font-weight: 600; }

.bonus-toggle { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--brand-primary); background: var(--accent-soft); border-radius: var(--r-md); }
.bonus-toggle-body { flex: 1; }
.bt-title { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.bt-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bt-amt { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--brand-primary); }
.consent-row { margin-top: 18px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-family: var(--f-mono); }
.field input,
.field textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: 14px; outline: none; transition: border-color 0.15s; }
.field input:focus,
.field textarea:focus { border-color: var(--brand-primary); }
.field textarea { width: 100%; min-height: 96px; line-height: 1.45; resize: vertical; }

.summary-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.s-row { display: flex; justify-content: space-between; font-size: 14px; }
.s-row span { color: var(--muted); }
.s-divider { height: 1px; background: var(--line); margin: 4px 0; }
.s-total { font-size: 16px; }
.s-total b { font-family: var(--f-display); font-size: 24px; font-weight: 800; }
.s-discount b { color: var(--brand-primary); }
.pay-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

.booking-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 48px; border-top: 1px solid var(--line); background: var(--bg-3); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.foot-price { display: flex; flex-direction: column; gap: 2px; }
.foot-price .price-note { order: -1; }
.price-lg { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.foot-actions { display: flex; gap: 10px; }

.modal-success { max-width: 560px; min-height: 0; }
.success-body { padding: 60px 48px 44px; text-align: center; }
.success-mark { margin-bottom: 24px; display: grid; place-items: center; }
.success-eyebrow { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-primary); margin-bottom: 10px; }
.success-title { font-family: var(--f-display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.success-text { color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }
.success-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.success-row { display: flex; justify-content: space-between; font-size: 14px; }
.success-row span { color: var(--muted); }

/* CUSTOM CHECKBOX */
.cc { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.cc input { position: absolute; opacity: 0; pointer-events: none; }
.cc-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; background: var(--card); transition: background 0.15s, border-color 0.15s, color 0.15s; flex-shrink: 0; }
.cc:hover .cc-box { border-color: var(--ink); }
.cc input:checked + .cc-box { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }
.cc-label { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* REVIEWS */
.reviews { padding: 60px 0 80px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.section-title { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.reviews-agg { display: flex; align-items: center; gap: 16px; }
.agg-score { font-family: var(--f-display); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand-primary); }
.agg-meta { display: flex; flex-direction: column; gap: 4px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* DRAWERS */
.drawer-root { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); animation: fadeIn 0.2s; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100vw; background: var(--card); animation: drawerIn 0.3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer-head { padding: 28px 28px 20px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.drawer-head .modal-close { position: static; flex-shrink: 0; }
.drawer-empty { padding: 60px 28px; text-align: center; color: var(--muted); }
.drawer-list { padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; }
.fav-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-md); cursor: pointer; transition: background 0.15s; }
.fav-row:hover { background: var(--bg-3); }
.fav-thumb { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; position: relative; }
.fav-thumb > div { position: absolute; inset: 0; aspect-ratio: 1/1 !important; height: 100%; width: 100%; }
.fav-body { flex: 1; min-width: 0; }
.fav-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.fav-remove { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.fav-remove:hover { background: var(--line); color: var(--ink); }

/* ACCOUNT DRAWER */
.drawer-account { width: 520px; }
.account-head { padding: 28px 28px 20px; }
.account-hero { display: flex; gap: 16px; align-items: center; flex: 1; }
.account-avatar-big { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; flex-shrink: 0; }
.account-greeting { font-size: 12px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.account-hero-name { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.account-hero-phone { font-size: 12px; color: var(--muted); margin-top: 4px; font-family: var(--f-mono); }

.account-bonus-card { margin: 4px 28px 0; padding: 20px 22px; background: linear-gradient(135deg, var(--brand-primary) 0%, #a80078 100%); color: white; border-radius: var(--r-lg); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.account-bonus-k { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.75; }
.account-bonus-val { font-family: var(--f-display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; }
.account-bonus-val span { font-size: 20px; font-weight: 600; opacity: 0.75; margin-left: 2px; }
.account-bonus-sub { font-size: 11px; opacity: 0.85; margin-top: 6px; font-family: var(--f-mono); }
.account-bonus-r { text-align: right; }
.account-tier-dots { display: flex; gap: 4px; justify-content: flex-end; margin-bottom: 8px; }
.td { width: 24px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); }
.td-on { background: white; }
.account-bonus-next { font-size: 11px; opacity: 0.75; font-family: var(--f-mono); }

.account-tabs { display: flex; gap: 4px; padding: 16px 20px 0; border-bottom: 1px solid var(--line); margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab { padding: 10px 14px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.15s, border-color 0.15s; }
.account-tab:hover { color: var(--ink); }
.account-tab.is-active { color: var(--ink); border-color: var(--brand-primary); font-weight: 600; }

.account-body { flex: 1; overflow-y: auto; }
.account-list { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.booking-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 0; border-radius: var(--r-md); background: var(--bg-3); cursor: pointer; transition: background .15s ease; }
.booking-row:hover { background: color-mix(in srgb, var(--bg-3) 80%, var(--brand-primary) 5%); }
.br-thumb { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; position: relative; }
.br-thumb > div { position: absolute; inset: 0; aspect-ratio: 1/1 !important; width: 100%; height: 100%; }
.br-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.br-thumb-past { opacity: 0.65; filter: grayscale(40%); }
.br-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.br-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-meta { font-size: 12px; color: var(--muted); }
.br-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.br-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.br-status-ok { color: var(--cb-green); } .br-status-ok .br-dot { background: var(--cb-green); }
.br-status-wait { color: #e79d00; } .br-status-wait .br-dot { background: #e79d00; }
.br-actions { display: flex; gap: 6px; }
.br-icon { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; color: var(--muted); }
.br-icon:hover { color: var(--brand-primary); }
.br-rated { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.br-rate { font-size: 12px; color: var(--brand-primary); font-weight: 600; text-align: left; padding: 0; margin-top: 2px; }
.br-repeat { padding: 8px 14px; border-radius: 100px; border: 0; background: var(--card); font-size: 12px; font-weight: 500; }
.br-repeat:hover { color: var(--brand-primary); }
.br-history-label { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

/* Bonus entries */
.bonus-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bonus-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.bonus-icon .cb-dot { background: var(--cb-green); color: white; width: 18px; height: 18px; font-size: 11px; }
.bonus-body { flex: 1; }
.bonus-what { font-weight: 500; font-size: 14px; }
.bonus-when { font-size: 12px; color: var(--muted); font-family: var(--f-mono); margin-top: 2px; }
.bonus-amt { font-family: var(--f-display); font-weight: 700; color: var(--cb-green); font-size: 16px; }
.bonus-note { margin: 12px 4px 0; padding: 12px 14px; background: var(--bg-3); border-radius: var(--r-sm); font-size: 12px; color: var(--muted); line-height: 1.5; }

/* CERTIFICATES */
.certs-list { padding: 0; }
.certs-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 4px 4px 16px; margin-bottom: 8px; }
.certs-total-k { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.certs-total-v { font-family: var(--f-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-primary); margin-top: 2px; }
.cert-add { padding: 8px 14px; font-size: 13px; }

.cert-card { position: relative; display: flex; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.cert-card:hover { background: color-mix(in srgb, var(--bg-3) 92%, var(--brand-primary) 3%); }
.cert-card.is-used { opacity: 0.6; }
.cert-card.is-used:hover { background: var(--bg-3); }
.cert-ribbon { width: 10px; flex-shrink: 0; }
.cert-body { flex: 1; padding: 16px 18px; }
.cert-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cert-k { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.cert-used-pill { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 10px; border-radius: 100px; background: var(--bg-3); color: var(--muted); }
.cert-amount { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -0.025em; line-height: 1; margin: 4px 0 8px; }
.cert-for { font-size: 13px; color: var(--ink-2); }
.cert-for b { font-weight: 600; color: var(--ink); }
.cert-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.cert-code { margin-top: 12px; padding: 8px 12px; background: var(--bg-3); border-radius: var(--r-sm); display: flex; justify-content: space-between; align-items: center; }
.cert-code-k { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.cert-code-v { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.cert-actions { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--card); }
.cert-btn { padding: 8px 14px; font-size: 12px; font-weight: 600; border-radius: 100px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 4px; justify-content: center; white-space: nowrap; }
.cert-btn:hover { border-color: var(--ink); }
.cert-btn-primary { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.cert-btn-primary:hover { background: #c8007b; border-color: #c8007b; }
.certs-buy { margin-top: 8px; justify-content: center; }
.certs-overview { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 24px; border-radius: var(--r-xl); background: var(--bg-3); border: 0; }
.certs-overview-label { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.certs-overview-balance { margin-top: 4px; color: var(--brand-primary); font-family: var(--f-display); font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.certs-overview-note { max-width: 480px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.certs-overview-action { flex: 0 0 auto; }
.certs-wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cert-wallet-card { position: relative; min-width: 0; overflow: hidden; padding: 22px; border: 0; border-radius: var(--r-lg); background: var(--bg-3); }
.cert-wallet-card-used, .cert-wallet-card-expired { opacity: .64; }
.cert-wallet-accent { position: absolute; inset: 0 0 auto; height: 4px; }
.cert-wallet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cert-wallet-kicker { color: var(--muted); font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.cert-wallet-status { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--card); color: var(--muted); font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; }
.cert-wallet-status-active { background: var(--accent-soft); color: var(--brand-primary); }
.cert-wallet-amount { margin-top: 24px; font-family: var(--f-display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cert-wallet-purpose { margin-top: 8px; color: var(--ink-2); font-size: 13px; font-weight: 650; }
.cert-wallet-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.cert-wallet-code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--card); }
.cert-wallet-code-label { display: block; color: var(--muted); font-family: var(--f-mono); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.cert-wallet-code { display: block; margin-top: 3px; overflow-wrap: anywhere; font-family: var(--f-mono); font-size: 12px; letter-spacing: .07em; }
.cert-wallet-copy { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--brand-primary); transition: background .15s ease, transform .15s ease; }
.cert-wallet-copy:hover { background: var(--brand-primary); color: #fff; transform: scale(1.04); }

/* Account settings */
.account-settings { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.settings-toggles { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.account-logout { align-self: flex-start; margin-top: 12px; color: #c62828; border-color: #c62828; }
.account-logout:hover { background: #c62828; color: white; border-color: #c62828; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 60px 32px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .logo-name { font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.foot-tag { font-size: 14px; color: var(--muted); max-width: 380px; margin: 0 0 20px; line-height: 1.55; }
.foot-licenses { display: flex; gap: 8px; flex-wrap: wrap; }
.lic { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-h { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.foot-col a { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--brand-primary); }
.footer-bottom { max-width: 1440px; margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* TWEAKS */
.tweaks-panel { position: fixed; right: 24px; bottom: 24px; width: 320px; z-index: 200; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.tweaks-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--ink); color: white; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.tweaks-head button { color: white; padding: 4px; }
.tweaks-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tw-row { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 10px; font-size: 12px; }
.tw-row > span { color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; }
.tw-row input[type="range"] { accent-color: var(--brand-primary); }
.seg { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg button { flex: 1; padding: 6px 8px; font-size: 11px; color: var(--muted); }
.seg button.on { background: var(--brand-primary); color: white; }
.tw-toggle input { margin-left: auto; }
.tw-presets { border-top: 1px solid var(--line); padding-top: 14px; }
.tw-preset-label { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.tw-preset-row { display: flex; gap: 8px; }
.brand-swatch { flex: 1; padding: 10px; border-radius: var(--r-sm); color: white; font-family: var(--f-mono); font-size: 11px; font-weight: 600; display: grid; place-items: center; text-transform: uppercase; letter-spacing: 0.06em; }

.cal-day.is-empty { opacity: 0.5; cursor: not-allowed; }

/* ACCOUNT PAGE */
.results-meta { display: flex; align-items: center; gap: 16px; margin: -8px 0 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.results-count b { color: var(--ink); font-family: var(--f-display); font-weight: 700; }
.results-sort { margin-left: auto; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.results-sort b { color: var(--ink); font-family: var(--f-display); }
.btn-reset { font-size: 12px; font-family: var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-primary); padding: 4px 10px; border-radius: 100px; }
.btn-reset:hover { background: var(--accent-soft); }
.account-page { max-width: 1320px; margin: 0 auto; padding: 24px 32px 96px; }
.account-logout-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; text-decoration: none; transition: color .15s ease; }
.account-logout-link:hover { color: var(--brand-primary); }
.account-dashboard { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: start; gap: 48px; margin-top: 20px; }
.account-profile-row { display: flex; align-items: flex-start; gap: 16px; position: sticky; top: 140px; margin: 0; padding: 0; background: transparent; }
.account-profile-copy { min-width: 0; }
.account-avatar-xl { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; flex-shrink: 0; }
.account-title { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 7px; }
.account-contact-list { display: flex; flex-wrap: wrap; gap: 5px 16px; color: var(--muted); font-family: var(--f-mono); font-size: 10px; overflow-wrap: anywhere; }
.account-sync { color: var(--brand-primary); }
.account-profile-logout { width: fit-content; margin: 11px 0 0; padding: 7px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--brand-primary); font-size: 12px; font-weight: 650; }
.account-profile-logout:hover { color: var(--brand-primary); }
.account-workspace { min-width: 0; }
.account-workspace-head { margin: 0 0 22px; }
.account-workspace-title { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.035em; }
.account-tabs-page { gap: 4px; padding: 6px; border: 0; border-radius: 16px; margin: 0 0 26px; background: var(--bg-3); }
.account-tabs-page .account-tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 0; border-radius: 11px; margin: 0; font-size: 12px; }
.account-tabs-page .account-tab.is-active { background: var(--card); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.account-tab-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--bg-3); color: var(--muted); font-family: var(--f-mono); font-size: 9px; }
.account-tab.is-active .account-tab-count { background: var(--accent-soft); color: var(--brand-primary); }
.account-body-page { max-width: none; overflow: visible; min-height: 260px; }
.account-body-page .account-list { padding: 0; }
.account-favorites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.account-empty { min-height: 250px; display: grid; place-items: center; align-content: center; padding: 36px 20px; border: 0; border-radius: var(--r-xl); background: var(--bg-3); text-align: center; }
.account-empty-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--brand-primary); font-family: var(--f-display); font-size: 25px; }
.account-empty h2 { margin: 0; font-family: var(--f-display); font-size: 21px; }
.account-empty p { max-width: 430px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-review-list, .account-promo-list { gap: 12px; }
.account-review-card { padding: 20px; border: 0; border-radius: var(--r-lg); background: var(--bg-3); }
.account-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-card-kicker { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.account-review-tour { margin-top: 4px; font-weight: 650; }
.account-review-stars { color: var(--line-2); font-size: 16px; letter-spacing: 2px; white-space: nowrap; }
.account-review-stars .is-on { color: #f5a623; }
.account-review-text { margin: 13px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.account-review-reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--brand-primary); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--card); color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.account-review-reply-label { margin-bottom: 4px; color: var(--brand-primary); font-size: 11px; font-weight: 700; }
.account-promo-card { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 20px; border: 0; border-radius: var(--r-lg); background: var(--bg-3); }
.account-promo-code { margin-top: 3px; color: var(--ink); font-family: var(--f-mono); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.account-promo-meta { margin-top: 4px; color: var(--muted); font-size: 12px; }
.account-promo-value { padding: 8px 14px; border-radius: 999px; background: var(--brand-primary); color: #fff; font-size: 14px; font-weight: 750; }
.account-promo-copy { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--muted); font-size: 13px; }
.account-promo-copy:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.cert-amount span { color: var(--muted); font-family: var(--f-body); font-size: 11px; font-weight: 500; }

@media (max-width: 1100px) {
  .account-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .account-dashboard { grid-template-columns: 1fr; gap: 32px; }
  .account-profile-row { position: static; }
  .account-favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .account-page { padding: 16px 16px 60px; }
  .account-dashboard { margin-top: 12px; }
  .account-profile-row { align-items: flex-start; gap: 12px; margin-bottom: 0; }
  .account-title { font-size: 24px; }
  .account-avatar-xl { width: 50px; height: 50px; font-size: 16px; }
  .account-contact-list { flex-direction: column; gap: 4px; }
  .account-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .certs-overview { align-items: flex-start; flex-direction: column; padding: 20px; }
  .certs-overview-action { width: 100%; justify-content: center; }
  .certs-wallet-grid { grid-template-columns: 1fr; }
  .account-promo-card { grid-template-columns: 1fr auto; }
  .account-promo-copy { grid-column: 1 / -1; }
  .booking-row { align-items: flex-start; }
  .br-repeat { align-self: center; }
}
@media (max-width: 1200px) {
  .page-head-row { flex-wrap: wrap; }
  .page-head-chips { flex-basis: 100%; }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .account-name, .account-bonus { display: none; }
  .page-h1-flat { font-size: 32px; }
  .grid-flat, .similar-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-feat { grid-template-columns: 1fr; }
  .hero-left, .hero-right { aspect-ratio: 16/10; }
  .hero-title { font-size: 36px; }
  .event-main { grid-template-columns: 1fr; grid-template-areas: "info" "aside"; }
  .event-aside { position: static; }
  .event-h1, .event-hero-caption .event-h1 { font-size: 40px; }
  .event-stats { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .meet-card { grid-template-columns: 1fr; }
  .search-box { width: 180px; }
  .event-hero-caption { left: 24px; right: 24px; bottom: 24px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .header-navigation-tabs { width: auto; max-width: calc(100vw - 64px); flex: 0 0 auto; }
  .desktop-navigation-tabs__common-buttons { position: relative; width: auto; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 700px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .main, .event-page { padding: 20px 16px 60px; }
  .meet-map { height: 260px; min-height: 260px; }
  .meet-info { flex-direction: column; align-items: flex-start; gap: var(--event-block-gap); padding: 0 0 var(--event-card-padding); }
  .search-box { display: none; }
  .grid-flat, .similar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .flat-title { font-size: 14px; }
  .page-h1-flat { font-size: 26px; }
  .hero-title { font-size: 28px; }
  .event-h1, .event-hero-caption .event-h1 { font-size: 28px; }
  .event-hero-caption .event-sub { font-size: 15px; }
  .event-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .includes-list, .bring-list { grid-template-columns: 1fr; }
  .event-previsit-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .tweaks-panel { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .cal-strip { padding: 0 40px; }
  .cal-arrow { width: 32px; height: 52px; }
  .booking-head, .booking-body, .booking-foot { padding-left: 24px; padding-right: 24px; }
  .drawer, .drawer-account { width: 100vw; }
  .timeline { grid-template-columns: 60px 1fr; }
  .timeline::before { left: 30px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 14px; }
  .timeline li::before { left: 28px; }
}


/* ============================================
   CERTIFICATES — one approved visual everywhere
   ============================================ */
.certificate-visual { --certificate-accent: #e80092; --certificate-ink: #082552; --certificate-art-hue: 0deg; position: relative; display: block; width: 100%; aspect-ratio: 1626 / 968; overflow: hidden; border: 0; border-radius: 20px; background: #f4faf7; color: var(--certificate-ink); isolation: isolate; container-type: inline-size; text-align: left; }
.certificate-visual__art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(var(--certificate-art-hue)); pointer-events: none; user-select: none; }
.certificate-visual__logo { position: absolute; z-index: 2; top: 4.3%; left: 2.7%; width: 18.2%; height: auto; object-fit: contain; }
.certificate-visual__copy { position: absolute; z-index: 3; top: 28.35%; left: 6.95%; width: 40.55%; color: var(--certificate-ink); }
.certificate-visual__eyebrow { margin: 0; overflow: hidden; font-size: 1.58cqw; font-weight: 500; line-height: 1; letter-spacing: .72cqw; text-overflow: ellipsis; white-space: nowrap; }
.certificate-visual__amount { margin-top: 3.35cqw; color: var(--certificate-accent); font-size: 9.05cqw; font-weight: 500; line-height: .88; letter-spacing: -.24cqw; white-space: nowrap; }
.certificate-visual__rule { width: 100%; height: max(1px, .09cqw); background: var(--certificate-accent); }
.certificate-visual__rule--top { margin-top: 2.55cqw; }
.certificate-visual__title { margin: 2.35cqw 0 0; font-size: clamp(11px,3.35cqw,22px); font-weight: 400; line-height: 1.08; letter-spacing: -.08cqw; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
.certificate-visual__personal { margin-top: 3.6cqw; overflow: hidden; font-size: 2.12cqw; font-weight: 500; line-height: 1.48; }
.certificate-visual__personal p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.certificate-visual__personal span { color: var(--certificate-accent); }
.certificate-visual__rule--bottom { margin-top: 4cqw; }
.certificate-visual__personal + .certificate-visual__rule--bottom { margin-top: 2.15cqw; }
.certificate-visual__footer { display: flex; align-items: center; gap: 1.8cqw; margin-top: 1.75cqw; overflow: hidden; font-size: 1.55cqw; font-weight: 400; line-height: 1; white-space: nowrap; }
.certificate-visual__dot { width: .62cqw; height: .62cqw; flex: 0 0 auto; border-radius: 50%; background: var(--certificate-accent); }
.certificate-visual__code { color: var(--certificate-accent); }
.certificate-visual--interactive { cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.certificate-visual--interactive:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(8,37,82,.5); }
.certificate-visual--interactive:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 4px; }
.certificate-visual--interactive.is-selected { box-shadow: 0 0 0 3px var(--brand-primary), 0 18px 36px -26px rgba(8,37,82,.5); }
.certificate-visual--stacked { border-radius: 18px; box-shadow: 0 24px 48px -28px rgba(8,37,82,.72); }
.certificate-stack { position: relative; width: 100%; aspect-ratio: 1.45 / 1; isolation: isolate; }
.certificate-stack__card { position: absolute; top: 5%; left: 50%; width: calc(100% - 72px); opacity: 0; pointer-events: none; transform: translate3d(-50%,8%,0) scale(.82); transform-origin: 50% 55%; transition: transform .46s cubic-bezier(.2,.78,.2,1), opacity .3s ease, filter .3s ease; will-change: transform, opacity; }
.certificate-stack__card[data-stack-state="active"] { z-index: 5; opacity: 1; filter: none; transform: translate3d(-50%,0,0) rotate(0deg) scale(1); }
.certificate-stack__card[data-stack-state="previous"] { z-index: 4; opacity: .82; filter: saturate(.9); transform: translate3d(-58%,5%,0) rotate(-4deg) scale(.92); }
.certificate-stack__card[data-stack-state="next"] { z-index: 4; opacity: .82; filter: saturate(.9); transform: translate3d(-42%,5%,0) rotate(4deg) scale(.92); }
.certificate-stack__card[data-stack-state="before"] { z-index: 3; opacity: .46; filter: saturate(.75); transform: translate3d(-63%,10%,0) rotate(-7deg) scale(.84); }
.certificate-stack__card[data-stack-state="after"] { z-index: 3; opacity: .46; filter: saturate(.75); transform: translate3d(-37%,10%,0) rotate(7deg) scale(.84); }
.certificate-stack__card[data-stack-state="far"] { z-index: 1; opacity: 0; transform: translate3d(-50%,12%,0) scale(.76); }

.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 32px; color: var(--muted); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.crumb { padding: 4px 0; color: var(--muted); background: none; }
.crumb:hover { color: var(--brand-primary); }
.crumb.is-current { color: var(--ink); }
.crumb-sep { color: var(--line-2); }
.certs-page { min-height: 60vh; background: var(--bg); }
.certs-page-inner { max-width: 1380px; margin: 0 auto; padding: 20px 32px 100px; }
.certs-page-head { max-width: 780px; margin-bottom: 48px; }
.certs-page-kicker { margin-bottom: 14px; color: var(--brand-primary); font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.certs-page-title { margin: 0 0 20px; font-family: var(--f-display); font-size: clamp(42px, 4.6vw, 62px); font-weight: 800; line-height: .96; letter-spacing: -.04em; }
.certs-page-title-accent { color: var(--brand-primary); }
.certs-page-lede { max-width: 620px; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.certificate-template-stage { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 42px; align-items: center; margin: 0 0 72px; padding: 38px; border-radius: var(--r-xl); background: var(--bg-3); }
.certificate-template-stage__visual { min-width: 0; }
.certificate-stack--page-template { width: min(100%,520px); margin: 0 auto; }
.certificate-stack--page-template .certificate-visual__amount { font-size: 6.3cqw; font-weight: 600; letter-spacing: .08cqw; }
.certificate-template-stage__copy h2 { margin: 8px 0 12px; font-family: var(--f-display); font-size: 30px; line-height: 1.04; letter-spacing: -.03em; }
.certificate-template-stage__copy p { max-width: 390px; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.certs-buy-big { width: auto; min-width: 240px; margin: 0; padding: 16px 22px; justify-content: center; gap: 9px; }
.certs-empty { padding: 40px 28px; border-radius: var(--r-xl); background: var(--bg-3); text-align: center; }
.certs-empty h2 { margin: 0; font-family: var(--f-display); font-size: 24px; }
.certs-empty p { margin: 8px 0 0; color: var(--muted); }
.certs-faq { padding: 72px 0 0; border-top: 1px solid var(--line); }
.certs-faq-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.certs-faq-head .section-title { margin: 8px 0 0; font-family: var(--f-display); font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.certs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.certs-step { padding: 24px; border: 0; border-radius: var(--r-lg); background: var(--bg-3); }
.certs-step-n { display: block; margin-bottom: 34px; color: var(--brand-primary); font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; }
.certs-step-t { margin: 0 0 7px; font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.certs-step-s { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.certs-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 64px 0 44px; padding: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(135deg, #f8f5f0 0%, #ede6dc 100%); cursor: pointer; transition: transform .28s ease; }
.certs-teaser:hover { transform: translateY(-2px); }
.certs-teaser-col { position: relative; z-index: 2; }
.certs-teaser-col .kicker { margin-bottom: 14px; color: var(--brand-primary); }
.certs-teaser-title { margin: 0 0 18px; font-family: var(--f-display); font-size: 52px; font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.certs-teaser-title span { background: linear-gradient(110deg, var(--brand-primary), var(--brand-secondary)); background-clip: text; color: transparent; -webkit-background-clip: text; }
.certs-teaser-lede { max-width: 430px; margin: 0 0 26px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.certs-teaser-cta { padding: 14px 22px; gap: 8px; }
.certs-teaser-preview { display: grid; place-items: center; min-width: 0; min-height: 360px; padding: 12px 0; perspective: 1200px; }
.certificate-stack--teaser { width: min(100%, 590px); }
.certs-teaser:hover .certificate-stack--teaser .certificate-stack__card[data-stack-state="active"] { transform: translate3d(-50%,-2%,0) rotate(-1deg) scale(1); }
.certs-teaser:hover .certificate-stack--teaser .certificate-stack__card[data-stack-state="next"] { transform: translate3d(-40%,4%,0) rotate(5deg) scale(.92); }
.certs-teaser:hover .certificate-stack--teaser .certificate-stack__card[data-stack-state="after"] { transform: translate3d(-34%,9%,0) rotate(8deg) scale(.84); }

.cert-modal-slider-shell { width: min(100%, 760px); margin: 0 auto; }
.cert-modal-slider { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 14px; align-items: center; }
.cert-modal-slider-stage { min-width: 0; touch-action: pan-y; }
.certificate-stack--modal { width: 100%; }
.cert-modal-slider-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-3); color: var(--ink); transition: background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease; }
.cert-modal-slider-arrow:hover:not(:disabled) { background: var(--brand-primary); color: #fff; transform: scale(1.04); }
.cert-modal-slider-arrow:disabled { opacity: .28; cursor: default; }
.cert-modal-slider-arrow:focus-visible, .cert-modal-slider-dots button:focus-visible { outline: 3px solid rgba(232,0,146,.28); outline-offset: 2px; }
.cert-modal-slider-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 13px; }
.cert-modal-slider-caption strong { font-size: 18px; letter-spacing: -.02em; }
.cert-modal-slider-caption span { color: var(--muted); font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.cert-modal-slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 14px; }
.cert-modal-slider-dots button { min-height: 34px; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--bg-3); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.cert-modal-slider-dots button:hover { color: var(--ink); }
.cert-modal-slider-dots button.is-active { background: var(--brand-primary); color: #fff; }

/* ============================================
   MOBILE OPTIMIZATION PASS
   ============================================ */
@media (max-width: 900px) {
  .header-inner { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .main-nav { display: none; }
  .search-box { flex: 1; min-width: 0; max-width: none; }
  .account-name, .account-bonus { display: none; }
  .city-btn span:not(.city-count) { max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-sub { display: none; }
  .logo-text .logo-name { font-size: 16px; }

  .main { padding: 16px 16px 40px; }
  .page-head-row { flex-wrap: wrap; gap: 12px; }
  .page-h1-flat { font-size: 28px; letter-spacing: -0.03em; }
  .all-chip { order: 2; }
  .page-head-chips { flex-basis: 100%; order: 3; }
  .results-meta { gap: 10px; }
  .results-sort { margin-left: 0; flex-basis: 100%; }

  .cal-strip { padding: 0 36px; }
  .cal-arrow { width: 28px; height: 48px; }
  .cal-day-wrap { flex-basis: 52px; height: 70px; }
  .cal-day { padding: 8px 6px; }

  .chip-scroller { flex: 1; gap: 6px; }
  .chip-pill { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .chip-icon { width: 38px; height: 38px; flex-shrink: 0; }

  /* Hero */
  .hero-feature { grid-template-columns: 1fr !important; }
  .hero-feat-panel { order: 2; padding: 24px; }
  .hero-feat-media { order: 1; aspect-ratio: 4/3 !important; }
  .hero-feat-title { font-size: 34px !important; }

  /* Grid */
  .grid-flat { grid-template-columns: 1fr 1fr !important; gap: 16px 12px !important; }
  .card-promo { grid-column: span 2; }
  .flat-title { font-size: 15px !important; }

  /* Certificates */
  .certs-teaser { grid-template-columns: 1fr; gap: 24px; margin: 48px 0 36px; padding: 34px 28px; }
  .certs-teaser-title { font-size: 34px; }
  .certs-teaser-preview { min-height: 0; padding: 8px 0 12px; }
  .certificate-stack--teaser { width: min(100%, 560px); }
  .certs-page-inner { padding: 16px 16px 60px; }
  .certs-page-title { font-size: 44px; }
  .certs-page-lede { font-size: 15px; }
  .certificate-template-stage { grid-template-columns: 1fr; gap: 26px; margin-bottom: 56px; padding: 26px; }
  .certificate-template-stage__copy p { max-width: 560px; }
  .certs-buy-big { width: 100%; min-width: 0; }
  .certs-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .certs-step { padding: 20px 18px; }
  .certs-step-n { margin-bottom: 20px; }
  .certs-faq-head .section-title { font-size: 34px; }
  .cert-modal-slider-shell { width: 100%; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 20px 24px; }
  .foot-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px; }

  /* Modal */
  .modal-overlay { padding: 12px; }
  .modal-sheet { max-height: calc(100vh - 24px); }
  .booking-head, .booking-body, .booking-foot { padding: 16px 20px; }
  .step-labels { font-size: 11px; }

  /* Event page */
  .event-hero { aspect-ratio: 3/4 !important; }
  .event-hero-title { font-size: 36px !important; }
  .event-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .event-buy { position: static !important; }

  /* Tweaks */
  .tweaks-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
}

@media (max-width: 560px) {
  .grid-flat { grid-template-columns: 1fr !important; }
  .card-promo { grid-column: span 1; }
  .certs-steps { grid-template-columns: 1fr; }
  .certs-page-title { font-size: 34px; }
  .certs-teaser-title { font-size: 28px; }
  .certs-teaser-cta { width: 100%; justify-content: center; }
  .certs-teaser { padding: 28px 20px; border-radius: 24px; }
  .certs-teaser-lede { font-size: 14px; }
  .certificate-stack { aspect-ratio: 1.38 / 1; }
  .certificate-stack__card { top: 7%; width: calc(100% - 42px); }
  .certificate-stack--page-template { width: min(100%,320px); }
  .certificate-template-stage { gap: 20px; padding: 18px; border-radius: 24px; }
  .certificate-template-stage__copy h2 { font-size: 25px; }
  .cert-modal-slider { position: relative; display: block; }
  .cert-modal-slider-arrow { position: absolute; top: 50%; z-index: 4; width: 38px; height: 38px; color: #fff; background: rgba(21,24,26,.58); backdrop-filter: blur(18px); transform: translateY(-50%); }
  .cert-modal-slider-arrow:hover:not(:disabled) { background: rgba(21,24,26,.72); transform: translateY(-50%); }
  .cert-modal-slider-arrow--prev { left: 8px; }
  .cert-modal-slider-arrow--next { right: 8px; }
  .cert-modal-slider-stage { width: 100%; }
  .cert-modal-slider-dots { flex-wrap: nowrap; justify-content: flex-start; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .cert-modal-slider-dots::-webkit-scrollbar { display: none; }
  .certificate-visual { border-radius: 14px; }
  .hero-feat-title { font-size: 28px !important; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
}

/* Compact semantic type ramp for the primary customer journey. */
:root {
  --type-page-title: clamp(34px, 3vw, 40px);
  --type-event-title: clamp(36px, 4vw, 48px);
}

.page-h1-flat { font-size: var(--type-page-title); line-height: 1.08; }
.section-title { font-size: 34px; line-height: 1.12; }
.kiv-hero-card .kiv-hero-title { font-size: 28px !important; line-height: 1.12 !important; }
.event-content-head .event-h1 { font-size: var(--type-event-title); line-height: 1.05; }
.event-h3 { font-size: 20px; line-height: 1.35; }
.auth-prompt-title { font-size: 28px; line-height: 1.15; }
.booking-title { font-size: 24px; line-height: 1.25; }
.success-title { font-size: 28px; line-height: 1.2; }
.drawer-title { font-size: 22px; line-height: 1.25; }
.price-xl { font-size: 32px; }
