:root {
  --catalog-ink: #171311;
  --catalog-muted: #716b66;
  --catalog-red: #8e211d;
  --catalog-red-dark: #641410;
  --catalog-paper: #f7f3ee;
  --catalog-line: rgba(35, 27, 22, 0.12);
  --catalog-white: #fff;
  --catalog-radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--catalog-ink);
  background: var(--catalog-paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select { font-family: inherit; }

[hidden] { display: none !important; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

button { color: inherit; }

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.catalog-nav-wrap {
  position: fixed;
  z-index: 100;
  top: 22px;
  left: 0;
  width: 100%;
  padding: 0 18px;
  pointer-events: none;
}

.catalog-nav {
  display: flex;
  width: min(760px, 100%);
  min-height: 62px;
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 16px 44px rgba(19, 13, 10, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
}

.catalog-nav__logo {
  display: flex;
  flex: none;
  align-items: center;
}

.catalog-nav__logo img {
  display: block;
  width: 152px;
  max-height: 31px;
}

.catalog-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 650;
  color: #5f5a56;
}

.catalog-nav__links a {
  position: relative;
  text-decoration: none;
}

.catalog-nav__links a:hover,
.catalog-nav__links a[aria-current="page"] { color: var(--catalog-red); }

.catalog-nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--catalog-red);
}

.catalog-nav__app {
  flex: none;
  padding: 12px 18px;
  border-radius: 9px;
  color: #fff;
  background: #171311;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.catalog-nav__app:hover {
  background: var(--catalog-red);
  transform: translateY(-1px);
}

.catalog-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  place-items: center;
  background: #120e0d;
}

.catalog-hero .poster-hero__rows {
  inset: -25% -8%;
  gap: clamp(9px, 1.1vw, 15px);
}

.catalog-hero .poster-hero__tile {
  width: clamp(108px, 17vh, 145px);
}

.catalog-hero .poster-hero__tile img {
  filter: saturate(0.92) brightness(0.69) contrast(1.08);
}

.catalog-hero .poster-hero__shade {
  background:
    radial-gradient(ellipse at center, rgba(12, 8, 7, 0.9) 0%, rgba(12, 8, 7, 0.67) 35%, rgba(12, 8, 7, 0.28) 75%, rgba(12, 8, 7, 0.48) 100%),
    linear-gradient(to bottom, rgba(8, 5, 4, 0.36), rgba(8, 5, 4, 0.04) 48%, rgba(8, 5, 4, 0.82));
}

.catalog-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--catalog-paper));
  pointer-events: none;
}

.catalog-hero__content {
  position: relative;
  z-index: 4;
  width: min(950px, calc(100% - 32px));
  margin-top: 63px;
  padding: 38px 0 48px;
  color: #fff;
  text-align: center;
}

.catalog-eyebrow,
.catalog-heading__eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.catalog-hero .catalog-eyebrow { color: rgba(255, 255, 255, 0.58); }

.catalog-hero h1 {
  max-width: 850px;
  margin: 0 auto 18px;
  font-size: clamp(45px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  text-wrap: balance;
  text-shadow: 0 7px 30px rgba(0, 0, 0, 0.38);
}

.catalog-hero h1.catalog-hero__headline--long {
  font-size: clamp(43px, 5.4vw, 68px);
  line-height: 1.01;
}

.catalog-hero__intro {
  max-width: 670px;
  margin: 0 auto 29px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 350;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-search {
  position: relative;
  width: min(830px, 100%);
  margin: 0 auto;
  text-align: left;
}

.hero-search__field {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 8px 8px 8px 24px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  color: var(--catalog-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.33);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.hero-search:focus-within .hero-search__field {
  border-color: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.46), 0 0 0 4px rgba(255, 255, 255, 0.17);
}

.hero-search__field > svg {
  width: 25px;
  height: 25px;
  flex: none;
  fill: none;
  stroke: var(--catalog-red);
  stroke-width: 2;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--catalog-ink);
  background: transparent;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 550;
}

.hero-search input::placeholder {
  color: #8a8580;
  font-weight: 450;
}

.hero-search input::-webkit-search-cancel-button { display: none; }

.hero-search__clear {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #726c67;
  background: #ede9e5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero-search__submit {
  display: flex;
  min-height: 58px;
  flex: none;
  padding: 0 24px;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--catalog-red);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-search__submit:hover {
  background: var(--catalog-red-dark);
  transform: translateY(-1px);
}

.hero-search__submit span { font-size: 20px; }

.search-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(33, 24, 20, 0.1);
  border-radius: 14px;
  color: var(--catalog-ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(12, 8, 7, 0.3);
}

.search-suggestions button {
  display: flex;
  width: 100%;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-suggestions button:hover,
.search-suggestions button:focus { background: #f1ede9; }

.search-suggestions strong { font-size: 14px; }

.search-suggestions span {
  color: #918b86;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-quicklinks {
  display: flex;
  margin-top: 17px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.hero-quicklinks button {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-quicklinks button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
}


.catalog-main { overflow: hidden; }

.catalog-section {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 110px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.catalog-heading__eyebrow { color: var(--catalog-red); }

.catalog-heading h2,
.catalog-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.catalog-heading__controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--catalog-muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-heading__controls select {
  min-width: 164px;
  padding: 11px 36px 11px 14px;
  border: 1px solid var(--catalog-line);
  border-radius: 9px;
  outline: 0;
  color: var(--catalog-ink);
  background: #fff;
  cursor: pointer;
}

.topic-filter {
  display: flex;
  margin: 34px 0 20px;
  padding-bottom: 6px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topic-filter::-webkit-scrollbar { display: none; }

.topic-filter button {
  flex: none;
  padding: 10px 15px;
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  color: #5e5854;
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.topic-filter button:hover {
  border-color: rgba(142, 33, 29, 0.35);
  color: var(--catalog-red);
}

.topic-filter button.is-active {
  border-color: var(--catalog-ink);
  color: #fff;
  background: var(--catalog-ink);
}

.catalog-status {
  display: flex;
  min-height: 38px;
  padding: 0 2px;
  align-items: center;
  justify-content: space-between;
  color: var(--catalog-muted);
  font-size: 13px;
}

.catalog-status p { margin: 0; }

.catalog-status strong { color: var(--catalog-ink); }

.catalog-status button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--catalog-red);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  gap: 30px 22px;
}

.tour-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 27, 22, 0.1);
  border-radius: var(--catalog-radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(34, 25, 20, 0.07);
  animation: catalog-card-in 420ms both;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(34, 25, 20, 0.13);
}

@keyframes catalog-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tour-card__poster-link {
  position: relative;
  display: block;
  padding: 10px 10px 0;
  color: #fff;
  text-decoration: none;
}

.tour-card__poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #d9d1c9;
}

.tour-card__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tour-card:hover .tour-card__poster img { transform: scale(1.025); }

.tour-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 14, 11, 0.08);
  pointer-events: none;
}

.tour-card__city {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  max-width: calc(100% - 48px);
  overflow: hidden;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(14, 10, 8, 0.66);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(9px);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tour-card__body {
  display: flex;
  min-height: 266px;
  padding: 20px 20px 18px;
  flex-direction: column;
}

.tour-card__topic {
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--catalog-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tour-card h3 {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: var(--catalog-ink);
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tour-card__title-link { text-decoration: none; }

.tour-card__title-link:hover h3 { color: var(--catalog-red); }

.tour-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 15px;
  padding: 12px 0;
  border-top: 1px solid #eee9e5;
  border-bottom: 1px solid #eee9e5;
  color: #675f5a;
  font-size: 10px;
  font-weight: 700;
}

.tour-card__meta span {
  min-width: 0;
  overflow: hidden;
  padding: 0 7px;
  border-right: 1px solid #eee9e5;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-card__meta span:first-child { padding-left: 0; text-align: left; }
.tour-card__meta span:last-child { padding-right: 0; border: 0; text-align: right; }

.tour-card__guide {
  margin: auto 0 16px;
  color: #817a75;
  font-size: 11px;
}

.tour-card__guide strong { color: #4d4743; }

.tour-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-card__audio,
.tour-card__more {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.tour-card__audio {
  width: 44px;
  flex: none;
  padding: 0;
  border: 1px solid #ddd6d0;
  color: var(--catalog-red);
  background: #fff;
}

.tour-card__audio svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.tour-card__audio .pause-icon { display: none; }
.tour-card__audio.is-playing .play-icon { display: none; }
.tour-card__audio.is-playing .pause-icon { display: block; }
.tour-card__audio.is-playing { color: #fff; border-color: var(--catalog-red); background: var(--catalog-red); }

.tour-card__more {
  flex: 1;
  padding: 0 14px;
  color: #fff;
  background: var(--catalog-ink);
  transition: background 160ms ease;
}

.tour-card__more:hover { background: var(--catalog-red); }

.catalog-empty {
  max-width: 560px;
  margin: 50px auto 0;
  padding: 50px 25px;
  border: 1px solid var(--catalog-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.catalog-empty > span {
  display: block;
  color: var(--catalog-red);
  font-size: 42px;
}

.catalog-empty h3 {
  margin: 12px 0 8px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.catalog-empty p {
  margin: 0 auto 22px;
  color: var(--catalog-muted);
  line-height: 1.55;
}

.catalog-empty > a,
.load-more {
  display: inline-flex;
  padding: 13px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--catalog-red);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.catalog-empty button {
  display: block;
  margin: 15px auto 0;
  padding: 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--catalog-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.load-more-wrap {
  display: flex;
  padding-top: 42px;
  justify-content: center;
}

.load-more {
  min-width: 220px;
  padding: 15px 23px;
  background: var(--catalog-ink);
}

.load-more:hover { background: var(--catalog-red); }

.load-more span {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.6);
}

.catalog-cta {
  display: flex;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: clamp(34px, 6vw, 72px);
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(190, 60, 50, 0.7), transparent 31%),
    linear-gradient(125deg, #171210 30%, #4f1713 100%);
  box-shadow: 0 30px 80px rgba(45, 19, 15, 0.22);
}

.catalog-cta > div:first-child { max-width: 780px; }

.catalog-cta .catalog-eyebrow { color: #d99891; }

.catalog-cta p:not(.catalog-eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.catalog-cta__badges {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.catalog-cta__badges a {
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.catalog-cta__badges a:hover { transform: translateY(-2px) scale(1.015); }

.catalog-cta__badges img {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}


@media (max-width: 1100px) {
  .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .catalog-nav { width: min(620px, 100%); }
  .catalog-nav__links { display: none; }
  .catalog-hero { min-height: 610px; }
  .catalog-hero__content { margin-top: 54px; }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-heading__controls { align-self: flex-end; }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-cta { align-items: stretch; flex-direction: column; }
  .catalog-cta__badges { min-width: 0; flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 600px) {
  .catalog-nav-wrap { top: 12px; padding: 0 12px; }
  .catalog-nav { min-height: 54px; padding: 8px 8px 8px 15px; border-radius: 11px; }
  .catalog-nav__logo img { width: 132px; }
  .catalog-nav__app { padding: 10px 13px; }

  .catalog-hero { min-height: 590px; }
  .catalog-hero .poster-hero__rows { inset: -8% -38%; gap: 8px; }
  .catalog-hero .poster-hero__tile { width: 104px; }
  .catalog-hero__content { width: min(100% - 24px, 480px); margin-top: 55px; padding-bottom: 42px; }
  .catalog-hero h1 { font-size: clamp(40px, 12vw, 57px); }
  .catalog-hero h1.catalog-hero__headline--long { font-size: clamp(36px, 10.7vw, 46px); }
  .catalog-hero__intro { margin-bottom: 23px; font-size: 15px; }

  .hero-search__field { min-height: 65px; padding: 7px 7px 7px 17px; gap: 10px; border-radius: 14px; }
  .hero-search__field > svg { width: 21px; height: 21px; }
  .hero-search input { font-size: 15px; }
  .hero-search__submit { min-height: 51px; padding: 0 16px; }
  .hero-search__submit span { display: none; }
  .hero-search__clear { width: 30px; height: 30px; }
  .hero-quicklinks { align-items: flex-start; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hero-quicklinks span { display: none; }
  .hero-quicklinks button { flex: none; }
  .catalog-section { width: min(100% - 24px, 520px); padding: 62px 0 80px; }
  .catalog-heading { gap: 19px; }
  .catalog-heading h2 { font-size: 39px; }
  .catalog-heading__controls { width: 100%; align-self: stretch; justify-content: space-between; }
  .catalog-heading__controls select { flex: 1; max-width: 205px; }
  .topic-filter { margin-top: 25px; margin-right: -12px; }
  .catalog-status { min-height: 32px; }

  .tour-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 12px; }
  .tour-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); border-radius: 13px; }
  .tour-card:hover { transform: none; }
  .tour-card__poster-link { height: 100%; min-height: 185px; padding: 7px 0 7px 7px; }
  .tour-card__poster { height: 100%; aspect-ratio: auto; }
  .tour-card__city { top: 15px; left: 14px; max-width: calc(100% - 21px); padding: 5px 7px; font-size: 8px; }
  .tour-card__body { min-height: 185px; padding: 15px 13px 13px; }
  .tour-card__topic { margin-bottom: 5px; font-size: 8px; }
  .tour-card h3 { min-height: 50px; font-size: 15px; line-height: 1.16; }
  .tour-card__meta { margin: 9px 0 8px; padding: 8px 0; font-size: 8px; }
  .tour-card__meta span { padding: 0 4px; }
  .tour-card__guide { margin: auto 0 8px; font-size: 9px; }
  .tour-card__audio, .tour-card__more { min-height: 34px; border-radius: 7px; font-size: 9px; }
  .tour-card__audio { width: 36px; }

  .catalog-cta { width: calc(100% - 24px); margin-bottom: 65px; padding: 32px 24px; border-radius: 18px; gap: 29px; }
  .catalog-cta h2 { font-size: 39px; }
  .catalog-cta__badges { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour-card { animation: none; transition: none; }
  .tour-card__poster img { transition: none; }
}
