:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6475;
  --brand: #2463eb;
  --brand-2: #4f46e5;
  --line: #dfe5ef;
  --success: #0d9c67;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(36, 99, 235, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  --radius-lg: 16px;
  --font-display: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-home .menu a {
  transition: color 0.2s ease;
}

.page-home .menu a:hover {
  color: var(--brand);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-field {
  margin: 0;
}

.select--lang {
  min-width: 140px;
  max-width: 180px;
  padding: 8px 10px;
  font-size: 14px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-block__label {
  font-weight: 600;
  font-size: 14px;
}

.phone-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.phone-row__dial {
  flex: 0 0 min(220px, 42%);
  margin: 0;
}

.phone-row__dial .select {
  width: 100%;
}

.phone-row__num {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.menu {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
  border-color: rgba(36, 99, 235, 0.35);
  box-shadow: var(--shadow-sm);
}

.hero {
  padding: 46px 0 28px;
}

.hero--home {
  position: relative;
  isolation: isolate;
  padding: 56px 0 48px;
  overflow: hidden;
  background: var(--bg);
}

/* Tiqets-style home: centered copy over background */
.hero--tiqets.hero--home {
  padding: 56px 0 48px;
  overflow: hidden;
}

/* Home hero: travel carousel as full-bleed background (replaces static flower photo) */
.hero--carousel-bg.hero--home {
  min-height: min(580px, 82vh);
  padding: 44px 0 56px;
}

.hero__carousel-back {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__carousel-back .travel-carousel.travel-carousel--hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero__carousel-back .travel-carousel__viewport {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: unset;
}

.hero__carousel-back .travel-carousel__chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  margin-top: 0;
  padding: 0 12px;
}

.travel-carousel--hero-bg .travel-carousel__caption {
  padding-bottom: 72px;
}

.hero__carousel-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.5) 0%,
    rgba(15, 23, 42, 0.22) 42%,
    rgba(15, 23, 42, 0.45) 100%
  );
}

/* Let carousel controls receive clicks; interactive hero content stays usable */
.hero--carousel-bg.hero--home > .container {
  position: relative;
  z-index: 2;
  pointer-events: none;
  padding-bottom: 76px;
}

.hero--carousel-bg.hero--home > .container a,
.hero--carousel-bg.hero--home > .container button,
.hero--carousel-bg.hero--home > .container input,
.hero--carousel-bg.hero--home > .container select,
.hero--carousel-bg.hero--home > .container label,
.hero--carousel-bg.hero--home > .container form {
  pointer-events: auto;
}

.hero--carousel-bg.hero--home .chip {
  pointer-events: auto;
  cursor: pointer;
}

.hero--carousel-bg .hero__copy {
  pointer-events: auto;
}

@media (max-width: 640px) {
  .hero--carousel-bg.hero--home {
    min-height: min(480px, 75vh);
    padding: 36px 0 48px;
  }
}

.hero--tiqets .hero__copy {
  text-align: center;
}

.hero--tiqets .hero__copy h1 {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.search-bar--hero {
  margin-top: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-trust__icon {
  flex-shrink: 0;
  opacity: 0.92;
}

@media (max-width: 600px) {
  .hero-trust {
    flex-wrap: wrap;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* Single photo, no repeat — London (Parliament / Big Ben cluster left in frame); right third calmer for the white card */
.hero__photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a2332;
  background-image: url("https://images.unsplash.com/photo-1529655683826-aba9b3e77383?ixlib=rb-4.0.3&auto=format&fit=crop&fm=jpg&w=1920&q=82");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  transform: scale(1.03);
  filter: saturate(0.78) brightness(0.87) contrast(1.05);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo-bg {
    transform: none;
  }

  .hero--tiqets .hero__photo-bg {
    transform: none;
  }
}

.hero__photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Stronger veil on the right (card zone); left stays clearer for text + towers */
  background: linear-gradient(
    105deg,
    rgba(248, 250, 252, 0.55) 0%,
    rgba(238, 244, 255, 0.42) 38%,
    rgba(248, 250, 252, 0.62) 52%,
    rgba(241, 245, 249, 0.88) 78%,
    rgba(248, 250, 252, 0.92) 100%
  );
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.hero__blob--a {
  width: min(520px, 90vw);
  height: 420px;
  top: -180px;
  right: -80px;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.32), transparent 55%);
}

.hero__blob--b {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle at 50% 50%, rgba(36, 99, 235, 0.28), transparent 60%);
  opacity: 0.35;
}

.hero__blob--c {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 35%;
  background: rgba(13, 156, 103, 0.12);
  filter: blur(60px);
  opacity: 0.9;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 68%);
  opacity: 0.45;
}

/* Keep hero copy + city chips above photo/scrim layers */
.hero.hero--home > .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  position: relative;
  align-items: stretch;
}

.hero-grid.hero-grid--tiqets {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.hero__copy {
  min-width: 0;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: stretch;
  min-height: 0;
}

/* Match right card height to left column (title + search) on the same row */
.hero__aside .hero-card.hero-card--rich {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.hero__mock {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 200px;
}

.hero__mock-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mock-ticket {
  position: absolute;
  width: 74%;
  height: 48%;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5ff 55%, #e8eeff 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.hero__mock-ticket--3 {
  transform: rotate(-10deg) translateY(-14px);
  opacity: 0.88;
}

.hero__mock-ticket--2 {
  transform: rotate(6deg) translateY(6px);
  opacity: 0.94;
}

.hero__mock-ticket--1 {
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
}

.hero__mock-qr {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background-color: #0f172a;
  background-image: linear-gradient(45deg, #fff 25%, transparent 25%),
    linear-gradient(-45deg, #fff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #fff 75%),
    linear-gradient(-45deg, transparent 75%, #fff 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
  opacity: 0.92;
}

.hero__mock-line {
  height: 4px;
  width: 72%;
  border-radius: 2px;
  background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
}

.hero__mock-line--short {
  width: 46%;
}

.kicker {
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 10px;
}

.kicker--pill {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(36, 99, 235, 0.1);
  color: #1d4ed8;
  margin-bottom: 14px;
}

.page-home h1 {
  font-family: var(--font-display);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.hero-copy {
  color: var(--muted);
  margin: 16px 0 20px;
  max-width: 64ch;
}

.search-bar {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  max-width: 640px;
}

.search-bar--elevated {
  box-shadow: var(--shadow-md);
  border-color: rgba(223, 229, 239, 0.95);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-bar--elevated:focus-within {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(36, 99, 235, 0.15);
  border-color: rgba(36, 99, 235, 0.35);
}

.search-bar input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 15px;
  padding: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Full container width under hero — equal columns across page width */
.chips.hero-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 22px;
  width: 100%;
}

.chips.hero-chips .chip {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chip:hover {
  border-color: rgba(36, 99, 235, 0.45);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.hero-card--rich {
  border: 1px solid rgba(223, 229, 239, 0.9);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.hero-card--rich h2 {
  font-family: var(--font-display);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 21px;
}

.hero-card__steps {
  padding-left: 18px;
  margin: 0;
}

.hero-card__steps li {
  margin: 12px 0;
  line-height: 1.45;
}

.hero-card__steps li::marker {
  color: var(--brand);
  font-weight: 800;
}

.hero-card ol {
  padding-left: 18px;
}

.hero-card li {
  margin: 10px 0;
}

.btn--shine {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--shine:hover {
  box-shadow: 0 6px 20px rgba(36, 99, 235, 0.35);
  transform: translateY(-1px);
}

.muted {
  color: var(--muted);
}

/* Success page: main + decorative aside */
.success-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.success-layout__main {
  min-width: 0;
}

.success-layout__panel {
  max-width: 760px;
}

.success-panel--ok {
  border: 1px solid rgba(13, 156, 103, 0.35);
  box-shadow: 0 0 0 1px rgba(13, 156, 103, 0.12);
  background: linear-gradient(180deg, rgba(13, 156, 103, 0.06) 0%, var(--panel) 48%);
}

.success-panel--ok__kicker {
  color: var(--success);
  font-weight: 800;
}

.success-panel--ok__h1 {
  color: var(--text);
}

.checkout-fail-banner {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(220, 90, 90, 0.4);
  background: rgba(220, 90, 90, 0.08);
}

.checkout-fail-banner__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c23b3b;
}

.checkout-fail-banner__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.checkout-fail-banner__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

#checkoutSummary[data-checkout-state="payment-failed"] {
  border-color: rgba(220, 90, 90, 0.35);
  background: rgba(220, 90, 90, 0.06);
}

.checkout-fail-embed__title {
  margin: 8px 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #9a2a2a;
}

/* [hidden] must beat .checkout-fail-full / .checkout-context-lost { display: flex } or both panels show. */
#checkoutFailFull[hidden],
#checkoutContextLost[hidden],
#checkoutStandardFlow[hidden] {
  display: none !important;
}

/* Full-page payment error (no cart / order context) */
body.checkout-page--failed {
  background: linear-gradient(165deg, #ebe6e0 0%, #e4e9f2 42%, #ece5e3 100%);
}

body.checkout-page--failed .page-shell {
  padding-top: 8px;
  padding-bottom: 48px;
}

.checkout-fail-full {
  padding: 28px 0 40px;
  min-height: min(72vh, 720px);
  display: flex;
  align-items: center;
}

.checkout-fail-full__card {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 36px 36px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(180, 90, 90, 0.18);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1), 0 2px 12px rgba(90, 40, 40, 0.06);
}

.checkout-fail-full__icon {
  color: #b91c1c;
  margin-bottom: 18px;
}

.checkout-fail-full__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b45309;
}

.checkout-fail-full__h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.checkout-fail-full__lead {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}

.checkout-fail-full__detail {
  margin: 0 0 28px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.checkout-fail-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Failed payment but we still have the event — calmer page + stronger alert */
body.checkout-page--failed-with-event .page-shell {
  background: linear-gradient(180deg, #f0ece8 0%, var(--bg) 38%, var(--bg) 100%);
  padding-top: 12px;
}

body.checkout-page--failed-with-event #checkoutFormPanel .notice,
body.checkout-page--failed-with-event #checkoutSummary .notice {
  display: none;
}

.checkout-fail-banner--in-flow {
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 248, 246, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(220, 90, 90, 0.28);
  box-shadow: 0 8px 28px rgba(80, 30, 30, 0.07);
}

body.checkout-page--failed-with-event .checkout-fail-banner--in-flow .checkout-fail-banner__title {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
}

@media (min-width: 1024px) {
  .success-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: 32px 36px;
  }

  .success-layout__aside {
    position: sticky;
    top: 84px;
  }
}

.success-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    168deg,
    rgba(36, 99, 235, 0.1) 0%,
    rgba(255, 255, 255, 0.98) 40%,
    #f1f5f9 100%
  );
  border: 1px solid rgba(36, 99, 235, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px 18px 24px;
  box-shadow:
    var(--shadow-md),
    0 0 40px rgba(36, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.success-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 45%, #10b981 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.success-aside__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 8px;
}

.success-aside__intro {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.travel-carousel--success {
  margin: 0 auto;
  max-width: none;
  padding: 0;
}

.travel-carousel--success .travel-carousel__viewport {
  aspect-ratio: 3 / 4;
  min-height: 320px;
  max-height: min(72vh, 560px);
  border-radius: 14px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 12px 40px rgba(36, 99, 235, 0.12);
}

.travel-carousel--success .travel-carousel__scrim {
  background: linear-gradient(
      118deg,
      rgba(15, 23, 42, 0.42) 0%,
      rgba(15, 23, 42, 0.08) 48%,
      transparent 68%
    ),
    linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 52%);
}

.travel-carousel--success .travel-carousel__caption {
  padding: 18px 16px 22px;
}

.travel-carousel--success .travel-carousel__caption-inner {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.travel-carousel--success .travel-carousel__chrome {
  margin-top: 12px;
}

@media (max-width: 1023px) {
  .success-aside {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .travel-carousel--success .travel-carousel__viewport {
    aspect-ratio: 16 / 10;
    max-height: none;
    min-height: 240px;
  }
}

.travel-carousel {
  position: relative;
  margin: 0 auto;
  max-width: min(1200px, 94vw);
  padding: 0 0 40px;
}

/* Homepage — full-bleed strip; caption aligns with .container text */
.page-home .travel-carousel {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 40px;
}

.page-home .travel-carousel__viewport {
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.page-home .travel-carousel__caption {
  padding-top: 28px;
  padding-bottom: 32px;
  padding-left: max(
    28px,
    env(safe-area-inset-left, 0px),
    calc((100vw - min(1140px, 92vw)) / 2)
  );
  padding-right: max(
    28px,
    env(safe-area-inset-right, 0px),
    calc((100vw - min(1140px, 92vw)) / 2)
  );
}

.travel-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.06);
  background: #0f172a;
}

@media (max-width: 960px) {
  .travel-carousel__viewport {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .travel-carousel__viewport {
    aspect-ratio: 4 / 3;
  }
}

.travel-carousel__track {
  display: flex;
  width: calc(var(--tc-slides, 7) * 100%);
  height: 100%;
  /* Long ease — slow start & end so hero slides don’t feel snappy */
  transition: transform 2.75s cubic-bezier(0.42, 0, 0.29, 1);
  /* Avoid permanent will-change — it keeps a compositor layer and often causes shimmer when scrolling past sticky header / large photos */
}

.travel-carousel__track--no-motion {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .travel-carousel__track {
    transition: none;
  }
}

.travel-carousel__slide {
  position: relative;
  flex: 0 0 calc(100% / var(--tc-slides, 7));
  min-height: 100%;
  margin: 0;
}

.travel-carousel__slide img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #1e293b;
}

.travel-carousel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.1) 42%,
    transparent 62%
  ),
    linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, transparent 48%);
  pointer-events: none;
}

.travel-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 32px;
  margin: 0;
  border: 0;
}

.travel-carousel__caption-inner {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.travel-carousel__chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.travel-carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.travel-carousel__btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.04);
}

.travel-carousel__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.travel-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.travel-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.25s ease;
}

.travel-carousel__dot:hover {
  background: #94a3b8;
}

.travel-carousel__dot.is-active {
  background: var(--brand);
  color: var(--brand);
  width: 26px;
  border-radius: 999px;
  transform: scaleY(1.1);
}

/* Partner strip — headline + infinite horizontal marquee (SVG wordmarks) */
.partner-section {
  padding: 40px 0 48px;
  background: var(--bg);
  border-top: none;
}

.partner-section__inner {
  max-width: 52rem;
}

.partner-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.2;
}

.partner-section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.partner-marquee {
  margin-top: 28px;
}

.partner-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: partner-marquee-scroll 55s linear infinite;
}

@keyframes partner-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .partner-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partner-marquee__list[aria-hidden="true"] {
    display: none;
  }
}

.partner-marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.75rem);
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
}

.partner-marquee__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  user-select: none;
}

.partner-marquee__logo img {
  display: block;
  height: clamp(28px, 3.6vw, 40px);
  width: auto;
  max-width: min(240px, 28vw);
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
  filter: grayscale(0.08);
}

/* Help + support CTA (home) — links to support.html (feedback form) */
.help-banner {
  padding: 8px 0 44px;
}

.help-banner__card {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-sm);
}

.help-banner__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-banner__svg {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.help-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.help-banner__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
  max-width: 36rem;
}

a.help-banner__cta.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.15s ease;
}

a.help-banner__cta.btn:hover {
  background: #1e293b;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .help-banner__card {
    grid-template-columns: 1fr;
    padding: 24px 20px 28px;
    text-align: center;
  }

  .help-banner__content {
    text-align: center;
  }

  .help-banner__text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Value props — Tiqets-style: icon left, text right (home: directly under travel carousel) */
.value-strip {
  padding: 4px 0 44px;
  background: var(--bg);
}

/* Same vertical gap above cards (under hero) and below cards (before Top destinations) */
.value-strip--below-carousel {
  padding: 48px 0 48px;
  margin-top: 0;
  background: var(--bg);
}

.value-strip--below-carousel + .section {
  padding-top: 0;
}

.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.value-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 18px 16px;
  margin: 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
}

.value-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

.value-card__icon svg {
  display: block;
}

.value-card__body {
  min-width: 0;
  padding: 0;
}

.value-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #262d3d;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.value-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4a5568;
}

@media (max-width: 960px) {
  .value-strip__grid {
    grid-template-columns: 1fr;
  }
}

.section {
  padding: 44px 0;
}

.soft {
  background: var(--bg);
}

.section-head h2 {
  margin: 0;
  font-size: 30px;
}

.section-head p {
  color: var(--muted);
  margin: 10px 0 0;
}

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.city-tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  cursor: pointer;
}

.city-tab.active {
  border-color: var(--brand);
  color: var(--brand);
}

.card-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.section-cta {
  margin-top: 20px;
}

.ticket-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ticket-card:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.ticket-link {
  color: inherit;
  display: block;
}

.ticket-media {
  position: relative;
  background: linear-gradient(135deg, #bfdbfe, #ddd6fe, #fecdd3);
  overflow: hidden;
}

.ticket-media__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ticket-media__frame--empty {
  min-height: 140px;
  background: linear-gradient(120deg, #93c5fd, #c4b5fd);
}

.ticket-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  /* Punch up catalog photos (Commons can be flat); keep within natural range */
  filter: saturate(1.38) contrast(1.1) brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .ticket-media__img {
    filter: saturate(1.12) contrast(1.05) brightness(1.02);
  }
}

.ticket-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #eb5757;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ticket-body {
  padding: 14px 14px 16px;
}

.ticket-city {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}

.ticket-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ticket-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ticket-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.ticket-rating {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 4px;
  font-size: 13px;
  line-height: 1.2;
  min-width: 0;
}

.ticket-rating__star {
  color: #fbbf24;
  font-size: 14px;
  margin-right: 1px;
}

.ticket-rating__score {
  font-weight: 700;
  color: #0f172a;
}

.ticket-rating__count {
  color: #94a3b8;
  font-weight: 500;
}

.ticket-rating__fallback {
  color: #64748b;
  font-size: 13px;
}

.ticket-price {
  text-align: right;
  flex-shrink: 0;
}

.ticket-price__from {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: capitalize;
  margin-bottom: 2px;
}

.ticket-price__val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.steps {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.steps article > span:first-child {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  background: #e8eeff;
  color: var(--brand);
  font-weight: 800;
}

.footer {
  padding: 30px 0 42px;
  background: #0f172a;
  color: #d2d8e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 7px;
}

/* Checkout: pin footer to bottom of viewport, soften all-white void */
body[data-page="checkout"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #e2e6ed 0%, #ebeef3 18%, #f1f3f7 100%);
}
body[data-page="checkout"] .topbar {
  flex: 0 0 auto;
}
body[data-page="checkout"] .page-shell#checkoutMain {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
}
body[data-page="checkout"] .footer {
  margin-top: auto;
  flex: 0 0 auto;
}

body.checkout-page--context-lost,
body.checkout-page--failed {
  background: linear-gradient(165deg, #dcd8d4 0%, #d8dde6 40%, #e6e0dd 100%);
}

.checkout-context-lost {
  padding: 20px 0 48px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(70vh, 800px);
}

.checkout-context-lost__card {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 36px 36px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.checkout-context-lost__icon {
  color: #4b5c8a;
  margin-bottom: 18px;
}

.checkout-context-lost__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.checkout-context-lost__h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.checkout-context-lost__lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}

.checkout-context-lost__detail {
  margin: 0 0 28px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.checkout-context-lost__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-shell {
  padding: 34px 0 50px;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.event-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.event-media {
  border-radius: 12px;
  height: 260px;
  background: linear-gradient(140deg, #c8ddff, #f0e8ff);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-meta {
  color: var(--muted);
  margin-bottom: 10px;
}

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  margin-right: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.price-big {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  margin: 12px 0;
}

.form-stack {
  display: grid;
  gap: 10px;
}

.input,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: var(--muted);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}

.notice {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.event-not-found h1 {
  margin-top: 0;
}

.event-not-found .btn {
  margin-top: 12px;
}

@media (max-width: 960px) {
  .menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .search-bar {
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .phone-row {
    flex-direction: column;
  }

  .phone-row__dial {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* E-ticket block (success page) — table + flex row for reliable html2canvas/PDF */
.ticket-demo {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ticket-demo__kicker {
  margin-bottom: 6px;
}

.ticket-demo__title {
  font-size: 1.25rem;
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.ticket-demo__hint {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.ticket-demo__codes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px 28px;
  margin-bottom: 18px;
}

.ticket-demo__qr-wrap {
  text-align: center;
  flex: 0 0 auto;
  min-width: 0;
}

.ticket-demo__qr-img {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.ticket-demo__qr-error {
  margin-top: 8px;
  font-size: 13px;
  color: #b45309;
}

.ticket-demo__caption {
  font-size: 13px;
  margin-top: 10px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

.ticket-demo__barcode-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  width: 100%;
}

.ticket-demo__barcode {
  display: block;
  width: 100%;
  max-width: min(100%, 520px);
  height: auto;
  margin: 0 auto;
}

.ticket-demo__barcode-caption {
  font-size: 13px;
  margin: 12px 0 0;
  line-height: 1.35;
}

.ticket-demo__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.ticket-demo__table th {
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  font-weight: 500;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
  width: 34%;
  word-wrap: break-word;
}

.ticket-demo__table td {
  vertical-align: top;
  font-weight: 600;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 640px) {
  .ticket-demo__codes {
    flex-direction: column;
    align-items: stretch;
  }

  .ticket-demo__barcode-section {
    margin-top: 18px;
    padding-top: 16px;
  }

  .ticket-demo__barcode {
    max-width: 100%;
  }

  .ticket-demo__table th {
    width: 40%;
  }
}

.ticket-demo__booking-line {
  font-size: 15px;
  margin: 0 0 16px;
}

.ticket-demo__booking-line strong {
  margin-left: 8px;
  font-family: ui-monospace, monospace;
}

.ticket-demo__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ticket-demo__export {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media print {
  .topbar,
  .footer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff !important;
  }

  .page-shell {
    padding: 0 !important;
  }

  .panel {
    box-shadow: none !important;
    border: 0 !important;
    max-width: 100% !important;
  }

  .ticket-demo__export {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 12px 14px !important;
    border-radius: 0 !important;
  }

  .ticket-demo__hint {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }

  .ticket-demo__title {
    font-size: 1.1rem !important;
  }

  @page {
    margin: 14mm;
  }
}
