/* ==========================================================================
   Агентство Путешествий на Пржевальского 9/27 — публичный сайт
   Дизайн-токены, компоненты, адаптив. Без внешних зависимостей, кроме шрифтов.
   ========================================================================== */

:root {
  /* тёплая монохромная палитра: кофе, крем и золото из логотипа */
  --bg: #f7f2e9;
  --bg-soft: #efe6d7;
  --surface: #fffdf8;
  --surface-2: #f4ecdf;
  --ink: #2a1b14;
  --ink-soft: #5b463a;
  --muted: #786252;
  --line: rgba(42, 27, 20, 0.12);
  --line-strong: rgba(42, 27, 20, 0.22);
  --brand: #5c3524;
  --brand-2: #7c4a31;
  --on-brand: #fff8ec;
  --accent: #a63d2d;
  --accent-hover: #8d3123;
  --accent-soft: rgba(166, 61, 45, 0.12);
  --gold: #c49a54;
  --gold-soft: rgba(196, 154, 84, 0.24);
  --yellow: #f0c95c;
  --yellow-soft: rgba(240, 201, 92, 0.22);
  --yellow-deep: #e0a92f;
  --expotur: #b3261e;
  --expotur-hover: #941c16;
  --ok: #3f7d5c;
  --danger: #a63d2d;
  --glass: rgba(255, 253, 248, 0.86);
  --glass-strong: rgba(255, 253, 248, 0.96);
  --hero-ink: #fff8ec;
  --shadow-xs: 0 1px 2px rgba(42, 27, 20, 0.06);
  --shadow-sm: 0 4px 16px -6px rgba(42, 27, 20, 0.18);
  --shadow: 0 22px 60px -30px rgba(42, 27, 20, 0.42);
  --shadow-lg: 0 40px 100px -45px rgba(42, 27, 20, 0.55);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --font-display: "Comfortaa", "Manrope", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #241a16;
  --bg-soft: #2d211c;
  --surface: #33241e;
  --surface-2: #3d2c24;
  --ink: #f6eee2;
  --ink-soft: #d9c7b7;
  --muted: #af9787;
  --line: rgba(246, 238, 226, 0.12);
  --line-strong: rgba(246, 238, 226, 0.24);
  --brand: #dcaa7a;
  --brand-2: #c58c5b;
  --on-brand: #24140e;
  --accent: #e47c68;
  --accent-hover: #ef8f7c;
  --accent-soft: rgba(226, 119, 99, 0.16);
  --gold: #e2b46b;
  --gold-soft: rgba(226, 180, 107, 0.18);
  --yellow: #f2ce72;
  --yellow-soft: rgba(242, 206, 114, 0.16);
  --yellow-deep: #e8b64c;
  --expotur: #d9483c;
  --expotur-hover: #ee6455;
  --glass: rgba(36, 26, 22, 0.78);
  --glass-strong: rgba(51, 36, 30, 0.96);
  --hero-ink: #fff8ec;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
  --shadow: 0 26px 70px -30px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 50px 110px -45px rgba(0, 0, 0, 0.85);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body.is-loading { overflow: hidden; }
body.is-leaving { opacity: 0; transition: opacity 0.28s var(--ease); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-brand); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.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: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-brand);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- typography helpers ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.section { padding-block: clamp(56px, 8vw, 108px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--surface-2); border-block: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head__text { max-width: 640px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 56ch;
}
.section-head .btn { flex: none; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 750;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
  box-shadow: 0 12px 26px -14px rgba(166, 61, 45, 0.85);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(166, 61, 45, 0.9); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: var(--shadow-sm); }

.btn--light {
  --btn-bg: var(--surface);
  --btn-ink: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { background: var(--surface-2); }

.btn--brand {
  --btn-bg: var(--brand);
  --btn-ink: var(--on-brand);
  box-shadow: 0 12px 26px -16px rgba(63, 42, 31, 0.9);
}
.btn--brand:hover { background: var(--brand-2); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: gap 0.25s, border-color 0.25s;
}
.link-arrow:hover { gap: 12px; border-color: currentColor; }

/* ---------- badges, chips ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--gold);
  color: #2a1b14;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge--accent { background: var(--accent); color: var(--on-brand); }
.badge--soft { background: var(--accent-soft); color: var(--accent); }
.badge--ok { background: rgba(47, 125, 91, 0.14); color: var(--ok); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: 0.2s var(--ease);
}
.chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s, backdrop-filter 0.35s, height 0.3s;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent), transparent);
  opacity: 1;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: -1;
}
.site-header.is-scrolled {
  height: 68px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.is-scrolled::after { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand--header { margin-left: 10px; }
.brand__logo {
  width: auto;
  height: 66px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(20, 12, 9, 0.22));
  transition: height 0.3s var(--ease), filter 0.3s var(--ease);
}
.site-header.is-scrolled .brand__logo,
body[data-header="solid"] .brand__logo {
  height: 58px;
  filter: drop-shadow(0 4px 12px rgba(20, 12, 9, 0.18));
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 650;
  opacity: 0.92;
  transition: opacity 0.2s, background-color 0.2s;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.14); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn__count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-brand);
  font-size: 10.5px;
  font-weight: 800;
}
.lang-toggle {
  padding: 1px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.lang-toggle__inner { display: flex; }
.lang-toggle span { padding: 5px 8px; border-radius: var(--pill); }
.lang-toggle span.is-on { background: var(--accent); color: var(--on-brand); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.site-header.is-scrolled .header-phone { border-color: var(--line); }
.header-phone__label { font-size: 9.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.header-phone__list { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.header-phone__num { color: inherit; font-weight: 800; white-space: nowrap; transition: color 0.2s; }
.header-phone__num:hover { color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 26px 40px;
  background: var(--glass-strong);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--ink);
  transform: translateY(-102%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 40px);
  line-height: 1.35;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a .icon { width: 22px; height: 22px; opacity: 0.5; }
.mobile-nav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; color: var(--muted); font-size: 14px; }
.mobile-nav__phones { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.mobile-nav__phones > .icon { width: 18px; height: 18px; margin-top: 4px; flex: none; color: var(--accent); }
.mobile-nav__phones strong { color: var(--ink); }
.mobile-nav__phones a {
  display: block;
  padding: 2px 0;
  border-bottom: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  display: flex;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-soft);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(130px, 24vh, 260px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 55%, transparent) 58%, var(--bg) 100%);
}
.hero__media {
  position: absolute;
  inset: -6% 0 -12%;
  z-index: -3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 1;
  filter: sepia(0.16) saturate(0.8) contrast(0.98) brightness(1.02);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 34%, color-mix(in srgb, var(--bg) 64%, transparent) 64%, color-mix(in srgb, var(--bg) 30%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent) 0%, transparent 30%, color-mix(in srgb, var(--bg) 80%, transparent) 100%);
}
[data-theme="dark"] .hero__media img {
  filter: sepia(0.1) saturate(0.62) contrast(0.96) brightness(0.62);
}
[data-theme="dark"] .hero::before {
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 38%, color-mix(in srgb, var(--bg) 78%, transparent) 66%, color-mix(in srgb, var(--bg) 48%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent) 0%, transparent 30%, color-mix(in srgb, var(--bg) 85%, transparent) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - 40px);
  margin: 0 auto;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions .btn--ghost { border-color: var(--line-strong); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 48px;
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
}
.hero__fact span { display: block; margin-top: 6px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- search panel ---------- */

.search-panel {
  position: relative;
  z-index: 5;
  margin-top: clamp(36px, 5vw, 58px);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 24px 60px -40px rgba(42, 27, 20, 0.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
}
.search-form {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.7fr auto;
  align-items: stretch;
  gap: 2px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 18px;
  transition: background-color 0.2s;
  min-width: 0;
}
.search-field:hover, .search-field:focus-within { background: var(--surface-2); }
.search-field + .search-field::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--line);
}
.search-field .icon { width: 21px; height: 21px; color: var(--accent); }
.search-field__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search-field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-field select, .search-field input {
  border: 0;
  background: transparent;
  padding: 2px 0 1px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  min-width: 0;
  outline: none;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.search-field select { cursor: pointer; }
.search-form .btn { align-self: stretch; margin: 4px; padding-inline: 26px; }

/* ---------- trust strip ---------- */

.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 650; color: var(--ink-soft); }
.trust__item .icon { color: var(--accent); width: 22px; height: 22px; }
.trust__rating { display: flex; align-items: center; gap: 8px; }
.trust__rating strong { font-size: 18px; font-family: var(--font-display); }

/* ---------- partner band ---------- */

.partner-band {
  padding: 20px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.partner-band__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.partner-band__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.partner-card {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: transform 0.25s var(--ease), border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.partner-card__icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--on-brand);
}
.partner-card--red .partner-card__icon,
.partner-card--teal .partner-card__icon { background: linear-gradient(145deg, var(--brand-2), var(--brand)); }
.partner-card__icon .icon { width: 20px; height: 20px; }
.partner-card__body { display: flex; flex-direction: column; min-width: 0; }
.partner-card__body strong { font-size: 14.5px; font-weight: 800; }
.partner-card__body small { font-size: 12px; color: var(--muted); }
.partner-card__arrow { margin-left: auto; width: 17px; height: 17px; opacity: 0.45; transition: transform 0.2s, opacity 0.2s; }
.partner-card:hover .partner-card__arrow { transform: translate(2px, -2px); opacity: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ---------- tour cards ---------- */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.tour-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tour-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.tour-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.tour-card:hover .tour-card__media img { transform: scale(1.07); }
.tour-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 9, 0.18), transparent 40%);
  pointer-events: none;
}
.tour-card__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.tour-card__tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 7px; }
.tool-btn {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  color: #2a1b14;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.tool-btn:hover { transform: scale(1.08); background: #fff; }
.tool-btn .icon { width: 17px; height: 17px; }
.tool-btn.is-on { background: var(--accent); color: var(--on-brand); }
.tool-btn.is-on .icon { fill: currentColor; }

.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.tour-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tour-card__meta .icon { width: 14px; height: 14px; color: var(--accent); }
.tour-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.tour-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tour-card__summary {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.price__row { display: flex; align-items: baseline; gap: 6px; }
.price__value {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
}
.price__unit { font-size: 12px; color: var(--muted); }
.price--request .price__value { font-size: 18px; font-family: var(--font-sans); font-weight: 800; }
.tour-card__arrow {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.tour-card:hover .tour-card__arrow { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: rotate(-45deg); }

/* ---------- filters (catalog) ---------- */

.page-head {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 58px;
  background: var(--bg-soft);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/kremlin-wall.jpg") center 55% / cover;
  opacity: 0.18;
  filter: saturate(0.6) contrast(0.95) brightness(1.1);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, color-mix(in srgb, var(--bg) 97%, transparent) 10%, color-mix(in srgb, var(--bg) 88%, transparent) 65%, color-mix(in srgb, var(--bg) 76%, transparent));
}
.page-head .eyebrow { color: var(--accent); }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 14px;
  max-width: 20ch;
  text-wrap: balance;
}
.page-head p { margin-top: 16px; max-width: 60ch; color: var(--ink-soft); font-size: 17px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .icon { width: 13px; height: 13px; opacity: 0.65; }

.catalog-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.catalog-bar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.catalog-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}
.catalog-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog-search input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.catalog-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  padding: 11px 38px 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  outline: none;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.results-meta { margin-left: auto; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.results-meta strong { color: var(--ink); }

.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.filters h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; }
.filter-group { padding-block: 16px; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.active-type + .filter-group { border-top: 0; padding-top: 0; }
.filter-group h3 { font-size: 13.5px; margin-bottom: 10px; font-weight: 800; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-option input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-option:hover { color: var(--ink); }
.filter-reset { margin-top: 18px; width: 100%; }
.active-type { margin-bottom: 12px; }
.active-type .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 22%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}
.active-type .filter-chip button {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: inherit;
  cursor: pointer;
}
.active-type .filter-chip button:hover { background: color-mix(in srgb, var(--ink) 18%, transparent); }
.active-type .filter-chip .icon { width: 12px; height: 12px; }
.range-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.range-row input[type="range"] { flex: 1; accent-color: var(--accent); }
.date-range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-range-row .field { margin: 0; }
.date-range-row .field > span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.catalog-results { min-height: 400px; }
.empty-state {
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-2);
}
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--accent); }
.empty-state h3 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin-bottom: 6px; }

/* ---------- destination cards ---------- */

.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dest-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  isolation: isolate;
}
.dest-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--surface) 72%, transparent) 38%, var(--surface) 64%);
}
.dest-card:hover img { transform: scale(1.06); }
.dest-card__content { width: 100%; }
.dest-card__count { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.dest-card h3 { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.1; }
.dest-card p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); max-width: 34ch; }
.dest-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 750; font-size: 13.5px; }
.dest-card__link .icon { width: 16px; height: 16px; transition: transform 0.25s; }
.dest-card:hover .dest-card__link .icon { transform: translateX(4px); }
.dest-card::marker { content: ""; }

/* ---------- stats band ---------- */

.stats-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 55%, var(--bg-soft) 100%);
  color: var(--ink);
  border-block: 1px solid var(--line);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, var(--gold-soft), transparent 70%),
    linear-gradient(120deg, color-mix(in srgb, var(--surface) 55%, transparent), transparent 40%);
}
.stats-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(40px, 6vw, 68px) 0;
}
.stat { text-align: center; border-left: 1px solid var(--line); padding: 4px 16px; }
.stat:first-child { border-left: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  color: var(--brand);
  font-weight: 600;
}
.stat__label { display: block; margin-top: 10px; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- features ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature__icon .icon { width: 23px; height: 23px; }
.feature h3 { font-size: 17.5px; font-weight: 800; line-height: 1.3; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- map ---------- */

.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.map-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 68%, var(--bg-soft) 100%);
  overflow: hidden;
  min-height: 460px;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--line) 0.7px, transparent 0.7px);
  background-size: 26px 26px;
  opacity: 0.65;
}
.map-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px 280px at 32% 34%, var(--gold-soft), transparent 66%);
}
.map-card svg { position: relative; width: 100%; height: 100%; min-height: 460px; }
.map-land { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.map-grid { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 9; }
.map-region-label { font-size: 9.5px; fill: var(--muted); letter-spacing: 3px; opacity: 0.55; }
.map-canvas {
  transform-box: view-box;
  transform-origin: 350px 260px;
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.map-route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.9;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 24%, transparent));
  animation: mapRoute 2.4s var(--ease-out) 0.35s forwards;
}
@keyframes mapRoute { to { stroke-dashoffset: 0; } }
.map-pin { cursor: pointer; outline: none; }
.map-pin__halo {
  fill: var(--accent-soft);
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.8s ease-out infinite;
}
.map-pin__dot {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 2;
  transition: r 0.25s var(--ease), fill 0.25s;
}
.map-pin__core { fill: var(--surface); pointer-events: none; }
.map-pin text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  fill: var(--ink-soft);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
  stroke-linejoin: round;
  transition: fill 0.2s;
}
.map-pin:hover .map-pin__dot, .map-pin:focus-visible .map-pin__dot { fill: var(--brand); r: 8.5; }
.map-pin:hover text, .map-pin:focus-visible text { fill: var(--brand); }
.map-pin.is-active .map-pin__dot { fill: var(--accent); r: 10; }
.map-pin.is-active .map-pin__halo { fill: var(--accent-soft); }
.map-pin.is-active text { fill: var(--accent); }
@keyframes pinPulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.map-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.map-tools button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.map-tools button:hover { background: var(--accent); border-color: var(--accent); color: var(--on-brand); }
.map-tools .icon { width: 14px; height: 14px; }
.map-legend {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  max-width: 34ch;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  pointer-events: none;
}
.map-info {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map-info::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
}
.map-info__tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.map-info h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.1; margin-top: 10px; }
.map-info p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.map-info__facts { display: grid; gap: 10px; margin-top: 22px; }
.map-info__facts li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.map-info__facts .icon { color: var(--accent); width: 17px; height: 17px; margin-top: 3px; }
.map-info .btn { margin-top: auto; align-self: flex-start; }
.map-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.map-points button {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 700;
}
.map-points button.is-active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* ---------- reviews slider ---------- */

.slider-head { display: flex; align-items: center; gap: 10px; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: 0.2s;
}
.slider-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.slider-btn .icon { width: 18px; height: 18px; }

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 400px);
  justify-content: start;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.review-track::-webkit-scrollbar { height: 6px; }
.review-track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.review-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  height: 100%;
}
.review-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.review-card__quote { font-family: var(--font-display); font-size: 54px; line-height: 0.5; color: var(--gold); opacity: 0.6; }
.review-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
}
.review-card__author strong { display: block; font-size: 14.5px; }
.review-card__author span { font-size: 12.5px; color: var(--muted); }

/* ---------- blog cards ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post-card:hover img { transform: scale(1.06); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card__date .icon { width: 13px; height: 13px; }
.post-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.22; margin-top: 10px; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin-top: 8px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: 16px; font-size: 13.5px; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(36px, 6vw, 76px);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/poozerie.jpg") center / cover;
  opacity: 0.12;
  filter: saturate(0.6) contrast(0.95) brightness(1.1);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, color-mix(in srgb, var(--surface) 96%, transparent) 20%, color-mix(in srgb, var(--surface) 84%, transparent) 70%, color-mix(in srgb, var(--surface) 72%, transparent));
}
.cta__inner { max-width: 620px; }
.cta .eyebrow { color: var(--accent); }
.cta h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; line-height: 1.08; margin-top: 14px; }
.cta p { margin-top: 14px; color: var(--ink-soft); max-width: 48ch; }
.cta .btn--light { border: 1px solid var(--line); }
.cta__actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: 10px; margin-top: 28px; max-width: 480px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 220px;
  padding: 14px 20px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { border-color: var(--accent); background: var(--surface); }
.cta__note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- page header inner, about ---------- */

.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 600; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 800; margin-top: 28px; }
.prose p { margin-top: 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin-top: 14px; padding-left: 22px; color: var(--ink-soft); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 20px; margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { list-style: decimal; }
.prose ol li { margin-top: 8px; padding-left: 6px; }
.prose blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--ink-soft);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.split__badge {
  position: absolute;
  right: -14px; bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.split__badge strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--accent); }
.split__badge span { font-size: 12.5px; color: var(--muted); }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.about-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.about-list .icon { color: var(--accent); flex: none; margin-top: 3px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.info-card .icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: 16px; }
.info-card h3 { font-size: 17px; font-weight: 800; }
.info-card p, .info-card a { margin-top: 8px; font-size: 14.5px; color: var(--muted); display: block; }
.info-card a:hover { color: var(--accent); }
.info-card strong { color: var(--ink); font-size: 16px; }

/* ---------- contacts ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-xs);
}
.form-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.15; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  outline: none;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field__hint { font-size: 11.5px; color: var(--muted); }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--muted); max-width: 34ch; }
.form-message { margin-top: 16px; padding: 13px 16px; border-radius: 12px; font-size: 14px; display: none; }
.form-message.is-ok { display: block; background: rgba(47, 125, 91, 0.12); color: var(--ok); }
.form-message.is-error { display: block; background: rgba(185, 59, 51, 0.12); color: var(--danger); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 750;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- tour detail ---------- */

.tour-hero { padding-top: calc(var(--header-h) + 26px); }
.tour-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tour-gallery { display: grid; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.tour-gallery__main { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); }
.tour-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.tour-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tour-gallery__thumbs button { padding: 0; border: 0; border-radius: 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.tour-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, opacity 0.3s; opacity: 0.85; }
.tour-gallery__thumbs button:hover img { transform: scale(1.05); opacity: 1; }
.tour-gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

.booking-card {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.booking-card__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.booking-card__price .price__value { font-size: 34px; }
.booking-card__price .price__old { font-size: 14px; }
.booking-card__facts { display: grid; gap: 9px; padding: 18px 0; }
.booking-card__facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.booking-card__facts .icon { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; }
.booking-card .btn { width: 100%; }
.booking-card__note { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--muted); }
.booking-card__seats { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 12px; justify-content: center; }
.booking-card__seats .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.booking-card__seats .dot.low { background: var(--accent); }

.tour-title h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.tour-title__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.tour-title__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tour-title__meta .icon { width: 16px; height: 16px; color: var(--accent); }

.tour-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.tour-body__main { min-width: 0; }
.tour-body__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.tour-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 28px; }
.tour-nav a { padding: 8px 16px; border-radius: var(--pill); font-size: 13px; font-weight: 700; color: var(--muted); }
.tour-nav a:hover { color: var(--ink); background: var(--surface); }

.info-block { padding-block: 30px; border-top: 1px solid var(--line); }
.info-block:first-of-type { border-top: 0; padding-top: 0; }
.info-block h2 { font-family: var(--font-display); font-size: clamp(25px, 3vw, 34px); font-weight: 600; line-height: 1.15; margin-bottom: 16px; }
.info-block p { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.inc-card { padding: 20px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line); }
.inc-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.inc-card h3 .icon { width: 17px; height: 17px; color: var(--ok); }
.inc-card--no h3 .icon { color: var(--danger); }
.inc-card li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; }
.inc-card li::before { content: "•"; color: var(--muted); }
.inc-card--no li::before { content: "–"; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 20px; }
.timeline li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding-bottom: 22px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 22px; top: 40px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline__num {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
}
.timeline__body strong { display: block; font-size: 15px; font-weight: 750; margin-top: 11px; }
.timeline__body span { font-size: 13px; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.gallery-grid button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-grid button:hover img { transform: scale(1.05); }

.date-list { display: grid; gap: 10px; margin-top: 18px; }
.date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.date-item:hover { border-color: var(--accent); }
.date-item.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.date-item__dates { font-weight: 750; display: flex; align-items: center; gap: 8px; }
.date-item__dates .icon { width: 16px; height: 16px; color: var(--accent); }
.date-item__right { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; }
.date-item__price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.date-item.is-closed { opacity: 0.55; pointer-events: none; }

.calc-box { padding: 22px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line); margin-top: 18px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: var(--ink-soft); }
.calc-row--total { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; color: var(--ink); font-size: 17px; }
.calc-row--muted { color: var(--muted); font-size: 12.5px; }
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 17px; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 800; outline: none; padding: 0; }

.map-inline { margin-top: 16px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); padding: 18px; }
.map-inline svg { width: 100%; height: auto; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.compare-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 800; }
.compare-table tbody th { width: 190px; color: var(--muted); font-weight: 650; font-size: 13px; }
.compare-table img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.compare-table td strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 10px; }

/* ---------- dialog / lightbox ---------- */

dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
}
dialog.lightbox::backdrop { background: rgba(3, 14, 15, 0.88); backdrop-filter: blur(6px); }
dialog.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 16px; }
dialog.lightbox .lightbox__close {
  position: absolute;
  top: -14px; right: -14px;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
}
dialog.lightbox .lightbox__close .icon { width: 20px; height: 20px; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg-soft) 100%);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: 40px; }
.footer-brand .brand { color: var(--ink); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; color: var(--muted); }
.footer-logo {
  width: min(260px, 100%);
  height: auto;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 10px 24px rgba(42, 27, 20, 0.16));
}
.footer-projects { display: grid; gap: 8px; margin-top: 16px; max-width: 320px; }
.footer-project {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-project:hover { transform: translateX(3px); border-color: var(--line-strong); }
.footer-project--red:hover,
.footer-project--teal:hover { background: var(--surface-2); }
.footer-project__icon { width: 26px; height: 26px; display: grid; place-items: center; flex: none; color: var(--brand); }
.footer-project__icon .icon { width: 18px; height: 18px; }
.footer-project__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.footer-project__text strong { font-size: 12.5px; font-weight: 800; }
.footer-project__text small { font-size: 11px; color: var(--muted); }
.footer-project > .icon { margin-left: auto; width: 14px; height: 14px; opacity: 0.5; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-socials a {
  min-width: 48px;
  height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: 0.2s;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-brand); transform: translateY(-2px); }
.footer-col h3 { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; flex: none; }
.footer-contact a { font-weight: 700; color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- chat widget ---------- */

.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-brand);
  box-shadow: 0 16px 40px -14px rgba(221, 92, 59, 0.85);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); background: var(--accent-hover); }
.chat-fab .icon { width: 25px; height: 25px; }
.chat-fab__ping { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); animation: ping 2.4s infinite; }
@keyframes ping { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.7; } }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 110;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: 0.28s var(--ease-out);
}
.chat-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface-2); color: var(--ink); border-bottom: 1px solid var(--line); }
.chat-head__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #24140e; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.chat-head strong { display: block; font-size: 14.5px; }
.chat-head span { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.chat-head span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3f7d5c; }
.chat-head .icon-btn { margin-left: auto; color: inherit; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; flex: 1; background: var(--surface-2); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; }
.chat-msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; background: var(--surface-2); }
.chat-quick button { padding: 7px 11px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: 11.5px; font-weight: 650; }
.chat-quick button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: var(--pill); padding: 10px 14px; font-size: 13px; background: var(--surface-2); outline: none; min-width: 0; }
.chat-form input:focus { border-color: var(--accent); }
.chat-form button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-brand); display: grid; place-items: center; flex: none; }
.chat-form button .icon { width: 18px; height: 18px; }

/* ---------- preloader, toast, reveal ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__mark {
  width: min(210px, 58vw);
  height: auto;
  display: block;
  background: transparent;
  overflow: visible;
}
.preloader__mark img { width: 100%; height: auto; object-fit: contain; }
.preloader__bar { width: 150px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--accent); animation: loadbar 1.1s ease-in-out infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translate(-50%, 20px);
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: var(--danger); color: #fff; }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

.skeleton-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.skeleton-card__img { aspect-ratio: 4/3; background: linear-gradient(100deg, var(--surface-2) 30%, var(--bg-soft) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton-card__body { padding: 20px; display: grid; gap: 12px; }
.skeleton-line { height: 12px; border-radius: 6px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--bg-soft) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton-line:nth-child(2) { width: 70%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- inner page helpers ---------- */

.page-title-block { padding-top: calc(var(--header-h) + 46px); }
.page-title-block h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; max-width: 22ch; }
.page-title-block .eyebrow { margin-bottom: 14px; }
.page-title-block p { margin-top: 14px; color: var(--muted); max-width: 60ch; font-size: 16.5px; }

.article-hero { padding-top: calc(var(--header-h) + 34px); }
.article-hero__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); margin-top: 30px; }
.article-body { max-width: 760px; margin: 0 auto; padding-block: 40px 20px; font-size: 17px; }
.article-body p { margin-top: 20px; color: var(--ink-soft); }
.article-body h2 { font-family: var(--font-display); font-size: 30px; margin-top: 38px; font-weight: 600; }
.article-body > p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  color: var(--accent);
}
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin-top: 16px; align-items: center; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 15px; height: 15px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.share-row button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.share-row button:hover { border-color: var(--accent); color: var(--accent); }

.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.error-page h1 { font-family: var(--font-display); font-size: clamp(90px, 18vw, 180px); line-height: 0.9; color: var(--accent); }
.error-page h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 42px); margin-top: 10px; }
.error-page p { color: var(--muted); margin-top: 12px; }
.error-page .btn { margin-top: 24px; }

.credits-list { display: grid; gap: 14px; margin-top: 26px; }
.credit-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); display: flex; gap: 14px; align-items: center; }
.credit-item img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.credit-item strong { display: block; font-size: 14px; }
.credit-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .main-nav a { padding-inline: 8px; font-size: 13.5px; }
  .header-phone { display: none; }
  .tour-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 52ch; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .burger { margin-left: 0; }
  .header-actions .icon-btn[data-favorites],
  .header-actions .icon-btn[data-compare] { display: none; }
  .tour-grid, .tour-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { min-height: 300px; }
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-info { order: -1; }
  .partner-band__label { flex-basis: 100%; margin-bottom: 2px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .tour-hero__grid, .tour-body { grid-template-columns: 1fr; }
  .tour-body__aside, .booking-card { position: static; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-field:nth-child(2)::before { display: none; }
  .search-form .btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .container, .header-inner, .hero__inner { width: calc(100% - 32px); }
  .brand__logo { height: 42px; padding: 4px 8px; }
  .site-header.is-scrolled .brand__logo,
  body[data-header="solid"] .brand__logo { height: 38px; }
  .hero { min-height: 86svh; align-items: flex-end; }
  .hero::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 80%, transparent) 0%, color-mix(in srgb, var(--bg) 66%, transparent) 45%, color-mix(in srgb, var(--bg) 92%, transparent) 100%);
  }
  .hero__inner { padding-bottom: 34px; padding-top: calc(var(--header-h) + 24px); }
  .hero__facts { gap: 18px 26px; }
  .hero__fact strong { font-size: 24px; }
  .tour-grid, .tour-grid--4, .tour-grid--2, .post-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-band__inner { grid-template-columns: 1fr 1fr; gap: 10px; }
  .info-grid, .form-grid, .inc-grid, .about-list { grid-template-columns: 1fr; }
  .article-hero__img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .search-form { grid-template-columns: 1fr; }
  .search-field + .search-field::before { display: none; }
  .search-field { border-top: 1px solid var(--line); border-radius: 14px; }
  .search-field:first-child { border-top: 0; }
  .trust__inner { justify-content: flex-start; gap: 14px 22px; }
  .trust__item { font-size: 12.5px; }
  .page-head { padding-top: calc(var(--header-h) + 36px); }
  .catalog-bar { position: static; }
  .catalog-bar__inner > * { flex: 1 1 100%; }
  .catalog-search { max-width: none; }
  .results-meta { margin-left: 0; }
  .tour-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .timeline li { grid-template-columns: 38px 1fr; gap: 12px; }
  .timeline__num { width: 38px; height: 38px; font-size: 12px; }
  .timeline li::before { left: 19px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .chat-panel { right: 16px; bottom: 82px; }
  .toast { bottom: 84px; }
  .inc-card { padding: 16px; }
  .compare-table tbody th { width: 140px; }
  .credit-item { align-items: flex-start; }
  .map-card, .map-card svg { min-height: 360px; }
  .map-legend { max-width: 24ch; font-size: 11px; }
  .map-tools button span { display: none; }
  .partner-card { flex-basis: 100%; }
}

@media (max-width: 460px) {
  .brand__logo { height: 38px; padding: 4px 7px; }
  .site-header.is-scrolled .brand__logo,
  body[data-header="solid"] .brand__logo { height: 34px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 38px; height: 38px; }
  .header-actions .lang-toggle { display: none; }
  .page-head h1, .hero h1, .display { overflow-wrap: break-word; }
  .info-card { padding: 22px; }
  .map-inline { padding: 10px; }
  .contact-socials .btn { flex: 1 1 100%; justify-content: center; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero__lead { font-size: 15px; }
  .hero__actions .btn { width: 100%; }
  .stats-band__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 8px; }
  .stat__label { font-size: 11px; }
  .review-track { grid-auto-columns: 86vw; }
  .price__value { font-size: 22px; }
  .booking-card { padding: 20px; }
  .section { padding-block: 48px; }
  .map-card, .map-card svg { min-height: 300px; }
  .map-tools { top: 10px; right: 10px; }
  .map-legend { left: 14px; bottom: 12px; max-width: 21ch; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

.works-only-with-js { display: none; }
html.js .works-only-with-js { display: block; }

/* ---------- site build additions ---------- */

/* solid header from first paint on inner pages */
body[data-header="solid"] .site-header {
  height: 68px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
body[data-header="solid"] .site-header::after { opacity: 0; }
body[data-header="solid"] .hero { padding-top: 0; }

.catalog-bar { top: var(--header-h); }
#mapInfo { display: flex; flex-direction: column; flex: 1; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-grid .review-card { height: 100%; }
.stars .icon.is-muted { opacity: 0.22; fill: currentColor; stroke: none; }
.slider-btn[disabled] { opacity: 0.35; pointer-events: none; }
.empty-state .btn { margin-top: 18px; }
.empty-state p { max-width: 40ch; margin: 0 auto; }

.rating-picker { display: flex; gap: 4px; }
.rating-picker .tool-btn { background: var(--surface-2); color: var(--muted); box-shadow: none; width: 42px; height: 42px; }
.rating-picker .tool-btn.is-on { background: transparent; color: var(--gold); }
.rating-picker .tool-btn.is-on .icon { fill: currentColor; }

.noscript {
  margin: 90px auto 0;
  max-width: 720px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
}

@media (max-width: 980px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .review-grid { grid-template-columns: 1fr; }
  .credit-item { flex-direction: column; }
}

/* ---------- шапка: место под длинное название ---------- */
@media (max-width: 1400px) {
  .header-phone { display: none; }
}
@media (max-width: 1280px) {
  .main-nav a { padding-inline: 8px; font-size: 13.5px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: block; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .header-actions .icon-btn[data-favorites],
  .header-actions .icon-btn[data-compare] { display: none; }
}

/* ==========================================================================
   Правки клиента: плитки, проекты, календарь, такси, галереи, формы
   ========================================================================== */

/* ---------- плитки направлений ---------- */

.section--tiles { padding-block: clamp(28px, 3.6vw, 48px); }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.tile {
  grid-column: auto;
  position: relative;
  min-height: 148px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
a.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tile--cream { background: var(--surface-2); }
.tile--sand { background: linear-gradient(150deg, var(--surface) 10%, var(--surface-2) 100%); }
.tile__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--brand);
  flex: none;
}
.tile__icon .icon { width: 19px; height: 19px; }
.tile h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.3; font-weight: 600; margin-top: 2px; }
.tile p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.tile__arrow { margin-top: auto; color: var(--accent); display: flex; justify-content: flex-end; }
.tile__arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
a.tile:hover .tile__arrow .icon { transform: translate(3px, -3px); }

.tile--featured {
  grid-column: auto;
  min-height: 148px;
  justify-content: center;
  border: 0;
  color: #fff8ec;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(240, 201, 92, 0.34) 0%, transparent 52%),
    linear-gradient(135deg, #4a2a1c 0%, #2b1810 72%);
  box-shadow: 0 30px 70px -40px rgba(42, 27, 20, 0.9);
  isolation: isolate;
}
.tile--featured::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(240, 201, 92, 0.2) 82%, transparent 94%);
  animation: tileSweep 9s linear infinite;
}
.tile--featured::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(240, 201, 92, 0.28);
  box-shadow: 0 0 0 28px rgba(240, 201, 92, 0.05), 0 0 0 60px rgba(240, 201, 92, 0.035);
  pointer-events: none;
}
.tile--featured .tile__icon { background: rgba(240, 201, 92, 0.18); color: var(--yellow); }
.tile--featured h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.tile--featured p { color: rgba(255, 248, 236, 0.8); font-size: 13.5px; max-width: 46ch; }
.tile--featured .tile__arrow { color: var(--yellow); }
@keyframes tileSweep { to { transform: rotate(360deg); } }

/* ---------- проекты: Экспотур и заграница ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 22px;
  align-items: stretch;
}
.expotur-card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface) 0%, color-mix(in srgb, var(--expotur) 9%, var(--surface-2)) 100%);
  border: 1px solid rgba(179, 38, 30, 0.18);
  overflow: hidden;
}
.expotur-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.expotur-card h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; color: var(--expotur); }
.expotur-card p { color: var(--ink-soft); max-width: 44ch; font-size: 14.5px; }
.expotur-card .btn { margin-top: auto; }
.expotur-card__art { width: 200px; flex: none; align-self: flex-end; color: var(--expotur); opacity: 0.9; }
.btn--expotur { background: var(--expotur); color: #fff7ef; }
.btn--expotur:hover { background: var(--expotur-hover); box-shadow: 0 18px 32px -14px rgba(179, 38, 30, 0.8); }

.taxi-project-card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius);
  color: #2b1810;
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 255, 255, 0.34) 0%, transparent 55%),
    linear-gradient(140deg, #ffe36b 0%, #ffd402 80%);
  border: 1px solid rgba(160, 120, 0, 0.3);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.taxi-project-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.taxi-project-card .eyebrow { color: #70450d; }
.taxi-project-card h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; color: #24140e; }
.taxi-project-card p { color: rgba(43, 24, 16, 0.8); max-width: 44ch; font-size: 14.5px; }
.taxi-project-card .btn { margin-top: auto; }
.taxi-project-card__art { width: 200px; flex: none; align-self: flex-end; color: var(--yellow); opacity: 0.92; }
.btn--taxi { background: #171205; color: #ffd402; }
.btn--taxi:hover { background: #2a2108; box-shadow: 0 18px 34px -16px rgba(23, 18, 5, 0.75); }

.foreign-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #f7e1a0 0%, #f2cf6d 48%, #eac05a 100%);
  border: 1px solid rgba(42, 27, 20, 0.1);
  overflow: hidden;
}
.foreign-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-radius: calc(var(--radius) - 8px);
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.foreign-card__button .icon { width: 28px; height: 28px; flex: none; transition: transform 0.25s var(--ease); }
.foreign-card__button:hover { background: var(--brand-2); }
.foreign-card__button:hover .icon { transform: translateX(5px); }
.foreign-card__scene { border-radius: 18px; overflow: hidden; }
.foreign-card__scene svg { width: 100%; height: auto; }
.foreign-card > p { color: var(--ink-soft); font-size: 14px; padding: 0 8px 4px; max-width: 52ch; }

/* ---------- календарь ---------- */

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 26px;
  align-items: start;
  margin-top: 30px;
}
.calendar-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.calendar-head strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: capitalize; }
.calendar-nav {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: 0.2s var(--ease);
}
.calendar-nav:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-2); }
.calendar-nav .icon { width: 18px; height: 18px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.calendar-weekdays { margin-bottom: 6px; }
.calendar-weekdays span { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.calendar-day {
  position: relative;
  aspect-ratio: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.calendar-day:hover { background: var(--surface-2); border-color: var(--line); }
.calendar-day--empty { pointer-events: none; }
.calendar-day.has-tours {
  background: color-mix(in srgb, var(--gold) 26%, var(--surface));
  border-color: color-mix(in srgb, var(--gold) 52%, transparent);
  color: var(--brand);
  font-weight: 800;
}
.calendar-day.has-tours:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 38%, var(--surface)); }
[data-theme="dark"] .calendar-day.has-tours { color: var(--yellow); background: color-mix(in srgb, var(--gold) 24%, var(--surface)); }
.calendar-day.has-tours i {
  position: absolute;
  bottom: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow-deep);
}
.calendar-day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.calendar-day.is-full { background: color-mix(in srgb, var(--muted) 9%, var(--surface)); color: var(--muted); }
.calendar-day.is-full.has-tours i { background: var(--muted); opacity: 0.55; }
.calendar-day.is-selected { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.calendar-day.is-selected i { background: var(--yellow); }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.calendar-legend .icon { width: 13px; height: 13px; color: var(--gold); }

.calendar-results { display: flex; flex-direction: column; gap: 10px; min-height: 80px; }
.calendar-results__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.calendar-results__head h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.calendar-tour {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.calendar-tour:hover { transform: translateX(3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.calendar-tour img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; }
.calendar-tour__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.calendar-tour__date { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 11.5px; font-weight: 800; }
.calendar-tour__date .icon { width: 13px; height: 13px; }
.calendar-tour__body strong { font-size: 15px; line-height: 1.3; }
.calendar-tour__meta { color: var(--muted); font-size: 12px; }
.calendar-tour > .icon { width: 18px; height: 18px; color: var(--muted); }
.calendar-results__foot { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 8px; align-items: center; }
.calendar-empty { padding: 20px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--muted); font-size: 14px; }

/* ---------- индивидуальный тур ---------- */

.individual-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 100% 0%, var(--yellow-soft) 0%, transparent 55%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
}
.individual-cta__text { max-width: 62ch; }
.individual-cta h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; margin-top: 10px; }
.individual-cta p { color: var(--ink-soft); margin-top: 10px; }
.individual-cta .btn { flex: none; }

/* ---------- автобусные экскурсии ---------- */

.bus-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.bus-route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.bus-route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--yellow-deep) 55%, var(--line));
}
.bus-route-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--brand);
  flex: none;
}
.bus-route-card__icon .icon { width: 24px; height: 24px; }
.bus-route-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.3; font-weight: 600; }
.bus-route-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.bus-route-card__arrow { margin-top: auto; display: flex; justify-content: flex-end; color: var(--accent); }
.bus-route-card__arrow .icon { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.bus-route-card:hover .bus-route-card__arrow .icon { transform: translate(3px, -3px); }

/* ---------- такси ---------- */

.taxi-cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.taxi-car {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.taxi-car img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.taxi-car__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.taxi-car__class { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.taxi-car h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.taxi-car p { color: var(--muted); font-size: 13.5px; }
.taxi-car__capacity { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--ink-soft); font-size: 12.5px; font-weight: 700; }
.taxi-car__capacity .icon { width: 15px; height: 15px; color: var(--brand); }
.taxi-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.taxi-cta .link-arrow { border: 0; }

.taxi-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 30px; align-items: start; }
.taxi-intro__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.taxi-intro__actions .link-arrow { border: 0; }
.taxi-facts { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.taxi-facts div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.taxi-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.taxi-facts strong { font-size: 14px; }
.taxi-facts span { color: var(--muted); font-size: 13px; }
.taxi-fleet { display: grid; gap: 18px; margin-top: 28px; }
.taxi-fleet__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.taxi-fleet__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); }
.taxi-fleet__placeholder { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--surface-2); color: var(--brand); }
.taxi-fleet__placeholder .icon { width: 54px; height: 54px; }
.taxi-fleet__body { display: flex; flex-direction: column; gap: 9px; padding-right: 12px; }
.taxi-fleet__body h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
.taxi-fleet__body p { color: var(--ink-soft); font-size: 14.5px; }
.taxi-fleet__note { margin-top: 14px; color: var(--muted); font-size: 12.5px; }

/* ---------- тур-такси: маршруты и тарифы ---------- */

.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.route-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.route-card__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--yellow-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.route-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.28; font-weight: 600; }
.route-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.route-card__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.route-card__meta strong { color: var(--accent); font-size: 15px; white-space: nowrap; }

/* Трансферы: карточки направлений вместо таблицы */
.transfer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.transfer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(160, 120, 0, 0.26);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.transfer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.transfer-card__media {
  display: grid;
  place-items: center;
  height: 92px;
  background: linear-gradient(135deg, #ffe36b 0%, #ffd402 62%, #f2bc00 100%);
  color: #241400;
}
.transfer-card__media .icon { width: 38px; height: 38px; }
.transfer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.transfer-card--media .transfer-card__media { height: 150px; }
.transfer-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.transfer-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.transfer-card__tag {
  padding: 4px 9px;
  border-radius: var(--pill);
  background: var(--yellow-soft);
  color: #7a4b00;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.transfer-card__time { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.transfer-card__time .icon { width: 13px; height: 13px; }
.transfer-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.28; font-weight: 600; }
.transfer-card__prices { display: grid; gap: 2px; margin-top: 2px; }
.transfer-card__prices li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.transfer-card__prices li:last-child { border-bottom: 0; }
.transfer-card__prices strong { color: var(--ink); font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.transfer-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--pill);
  background: #ffd402;
  color: #241400;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 0.25s;
}
.transfer-card__btn:hover { background: #ffe36b; }
.transfer-card__btn .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.transfer-card:hover .transfer-card__btn .icon { transform: translateX(3px); }
[data-theme="dark"] .transfer-card { border-color: rgba(240, 201, 92, 0.22); }
[data-theme="dark"] .transfer-card__tag { background: rgba(240, 201, 92, 0.14); color: #f0c95c; }
[data-theme="dark"] .transfer-card__prices strong { color: #f6eee2; }

.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.journey-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--gold) 16%, transparent) 0%, transparent 55%),
    var(--surface);
}
.journey-card__direction { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.journey-card h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.journey-card p { color: var(--ink-soft); font-size: 14.5px; }
.journey-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.journey-chips li { padding: 5px 10px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.journey-card__meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 13px; color: var(--muted); }
.journey-card__meta strong { color: var(--accent); font-size: 15px; white-space: nowrap; }

/* ---------- подбор тура ---------- */

.podbor-search {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: calc(var(--radius) + 6px);
  color: var(--ink);
  background:
    radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--gold) 20%, transparent) 0%, transparent 58%),
    linear-gradient(150deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.podbor-search::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  box-shadow: 0 0 0 34px color-mix(in srgb, var(--gold) 7%, transparent), 0 0 0 72px color-mix(in srgb, var(--gold) 4%, transparent);
  pointer-events: none;
}
.podbor-search__head { position: relative; z-index: 1; max-width: 62ch; }
.podbor-search__head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin-top: 10px; }
.podbor-search__head p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.podbor-search__fields {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.7fr;
  gap: 12px;
  margin-top: 26px;
}
.podbor-search__fields .field { margin: 0; }
.podbor-search__fields .field > span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.podbor-search__fields input,
.podbor-search__fields select { background: var(--surface); }
.podbor-search__actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.podbor-search__actions .form-note { max-width: 48ch; margin: 0; }
.podbor-search__status { position: relative; z-index: 1; margin-top: 10px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.podbor-search__status:empty { display: none; }


.podbor-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.podbor-benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.podbor-benefits .icon { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--yellow-soft); color: var(--brand); }
.podbor-benefits strong { font-size: 14.5px; }
.podbor-benefits span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- формы заявок ---------- */

.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.request-layout .about-list { grid-template-columns: 1fr; font-size: 15px; }
.request-layout .form-card { width: 100%; }

/* ---------- галереи ---------- */

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.about-photo {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.about-photo:hover img { transform: scale(1.035); }
.about-photo span {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 16px 14px;
  text-align: left;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(20, 12, 9, 0.72));
}
.garden-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.garden-photo { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.garden-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.garden-photo:hover img { transform: scale(1.04); }

/* ---------- карта на контактах ---------- */

.map-inline--yandex { padding: 0; background: var(--surface-2); }
.map-inline--yandex iframe { display: block; width: 100%; height: 340px; border: 0; }
.privacy-date { color: var(--muted); font-size: 13px; margin-top: 10px; }
.privacy-body { max-width: 860px; }
.privacy-body h2 { font-size: clamp(22px, 2.5vw, 29px); margin-top: 34px; }
.privacy-body p { font-size: 15.5px; }

/* ---------- карта и форма в подвале ---------- */

.footer-map {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  margin-bottom: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-map__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); min-height: 300px; }
.footer-map__map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.footer-map__form {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.footer-map__form h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; }
.footer-map__form > p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.footer-map__form .form-grid { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.footer-map__form .btn { margin-top: 14px; }
.footer-map__form .form-note { display: block; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.footer-map__form .form-message { margin-top: 10px; }

/* ---------- модальное окно индивидуального тура ---------- */

dialog.modal {
  width: min(680px, calc(100vw - 28px));
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(20, 12, 9, 0.62); backdrop-filter: blur(5px); }
dialog.modal h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; line-height: 1.1; }
dialog.modal .modal__lead { color: var(--ink-soft); margin-top: 10px; font-size: 14.5px; }
dialog.modal form { margin-top: 20px; }
dialog.modal .form-grid { grid-template-columns: 1fr 1fr; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}
.modal__close .icon { width: 18px; height: 18px; }

/* ---------- адаптив новых блоков ---------- */

@media (max-width: 1120px) {
  .tile { grid-column: auto; }
  .tile--featured { grid-column: auto; }
  .bus-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .taxi-cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expotur-card__art { width: 150px; }
  .podbor-search__fields { grid-template-columns: 1fr 1fr; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .tile { grid-column: auto; min-height: 148px; }
  .tile--featured { grid-column: auto; }
  .bus-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid, .calendar-layout, .request-layout, .taxi-intro, .footer-map { grid-template-columns: 1fr; }
  .taxi-fleet__item { grid-template-columns: 1fr; gap: 14px; }
  .taxi-fleet__body { padding: 4px 8px 12px; }
  .about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garden-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-map__map, .footer-map__map iframe { min-height: 280px; }
  .journey-grid { grid-template-columns: 1fr; }
  .podbor-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand__logo { height: 52px; }
  .site-header.is-scrolled .brand__logo,
  body[data-header="solid"] .brand__logo { height: 46px; }
  .tile-grid { gap: 10px; }
  .tile { grid-column: auto; min-height: 0; padding: 16px; }
  .tile--featured { padding: 18px 16px; }
  .tile--featured::after { width: 140px; height: 140px; }
  .bus-routes { grid-template-columns: 1fr; }
  .bus-route-card { min-height: 0; padding: 20px; }
  .expotur-card { flex-direction: column; padding: 24px; }
  .expotur-card__art { width: 100%; max-width: 240px; align-self: flex-end; }
  .individual-cta { flex-direction: column; align-items: flex-start; }
  .individual-cta .btn { width: 100%; justify-content: center; }
  .calendar-card { padding: 16px; }
  .calendar-day { min-height: 38px; font-size: 13px; }
  .calendar-tour { grid-template-columns: 70px minmax(0, 1fr) 16px; gap: 10px; }
  .calendar-tour img { width: 70px; height: 58px; }
  .taxi-cars { grid-template-columns: 1fr; }
  .taxi-fleet__item { padding: 12px; }
  .about-gallery { grid-template-columns: 1fr; }
  .garden-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .footer-map__form .form-grid, dialog.modal .form-grid { grid-template-columns: 1fr; }
  .footer-map__map, .footer-map__map iframe { min-height: 240px; }
  .map-inline--yandex iframe { height: 280px; }
  .podbor-search { padding: 22px 18px; }
  .podbor-search__fields { grid-template-columns: 1fr; }
  .podbor-search__actions .btn { width: 100%; justify-content: center; }
  .route-grid { grid-template-columns: 1fr; }
  .taxi-project-card { flex-direction: column; padding: 24px; }
  .taxi-project-card__art { width: 100%; max-width: 240px; align-self: flex-end; }
  .journey-card__meta { flex-direction: column; align-items: flex-start; }
  .date-range-row { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .brand__logo { height: 46px; }
  .site-header.is-scrolled .brand__logo,
  body[data-header="solid"] .brand__logo { height: 42px; }
  .header-inner { gap: 8px; }
  .brand--header { margin-left: 2px; }
  .calendar-card { padding: 12px; }
  .calendar-grid { gap: 3px; }
  .calendar-day { min-height: 34px; border-radius: 9px; }
  .calendar-day.has-tours i { bottom: 4px; }
  .calendar-results__foot { flex-direction: column; align-items: flex-start; }
  .foreign-card__button { font-size: 24px; padding: 18px 20px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile h3 { font-size: 16.5px; }
}

/* ==========================================================================
   Жёлтая страница тур-такси и правки плашек
   ========================================================================== */

/* hidden должен побеждать display:flex/inline-flex у кнопок */
[hidden] { display: none !important; }

/* ---------- плитки: кнопка и морская тема ---------- */

button.tile {
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
button.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
button.tile:focus-visible { outline-offset: 3px; }

.tile--sea {
  position: relative;
  border-color: rgba(23, 106, 128, 0.24);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 56%),
    linear-gradient(145deg, #d6f1ec 0%, #a9dfe6 48%, #7dc9df 100%);
}
.tile--sea::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.16), 0 0 0 48px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.tile--sea .tile__icon { background: rgba(255, 255, 255, 0.6); color: #14657a; }
.tile--sea h3 { color: #0d3f4d; }
.tile--sea p { color: rgba(13, 63, 77, 0.8); }
.tile--sea .tile__arrow { color: #14657a; }

/* ---------- Экспотур: красная плашка ---------- */

.expotur-card {
  color: #fff6ec;
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    linear-gradient(140deg, #c93f31 0%, #a51f17 68%, #8d1812 100%);
  border-color: rgba(120, 20, 14, 0.5);
  box-shadow: 0 26px 60px -34px rgba(141, 24, 18, 0.65);
}
.expotur-card .eyebrow { color: #ffd9b0; }
.expotur-card h2 { color: #fff8ef; }
.expotur-card p { color: rgba(255, 246, 236, 0.86); }
.expotur-card__art { color: #ffd9b0; opacity: 0.82; }
.btn--expotur { background: #fff8ef; color: #a51f17; }
.btn--expotur:hover { background: #ffffff; color: #8d1812; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55); }
[data-theme="dark"] .expotur-card {
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(140deg, #cf4436 0%, #a92119 70%, #8d1812 100%);
}

/* ---------- герой страницы такси ---------- */

.page-head--taxi {
  padding-bottom: 0;
  color: #2b1c06;
  background:
    radial-gradient(90% 130% at 100% 0%, #fff7cf 0%, transparent 62%),
    linear-gradient(135deg, #ffe36b 0%, #ffd402 64%, #f2bc00 100%);
}
.page-head--taxi::before { display: none; }
.page-head--taxi::after {
  background-image: radial-gradient(rgba(80, 55, 0, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
}
.page-head--taxi .breadcrumbs { color: rgba(43, 24, 6, 0.66); }
.page-head--taxi .breadcrumbs a:hover { color: #7a2b12; }
.page-head--taxi .eyebrow { color: #7a4b00; }
.page-head--taxi h1 { color: #241400; max-width: none; }
.page-head--taxi p { color: rgba(43, 24, 6, 0.82); }

.taxi-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(38px, 5vw, 68px);
}
.taxi-hero__text { position: relative; z-index: 2; }
.taxi-hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.taxi-hero__actions .link-arrow { border: 0; color: #5b3b00; }
.taxi-hero__actions .link-arrow:hover { color: #7a2b12; }
.btn--taxi-dark { background: #1c1406; color: #ffd402; }
.btn--taxi-dark:hover { background: #2c2109; color: #ffe36b; box-shadow: 0 18px 34px -16px rgba(23, 18, 5, 0.7); }

.taxi-hero__media { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.taxi-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 610px;
  filter: drop-shadow(0 30px 34px rgba(90, 60, 0, 0.32));
  animation: taxiFloat 7s ease-in-out infinite;
}
.taxi-hero__media figcaption { position: relative; z-index: 1; margin-top: 8px; text-align: center; color: rgba(43, 24, 6, 0.7); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.taxi-hero__sun {
  position: absolute;
  top: 6%;
  right: 4%;
  width: min(280px, 60%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 246, 190, 0.5) 42%, transparent 70%);
  animation: taxiSunPulse 8s ease-in-out infinite;
}
.taxi-hero__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, #1c1406 0 16px, transparent 16px 32px);
  opacity: 0.9;
  animation: taxiStripe 3.2s linear infinite;
}
@keyframes taxiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes taxiSunPulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes taxiStripe { to { background-position: 32px 0; } }

/* ---------- три формата поездок ---------- */

.section--taxi-cats {
  position: relative;
  padding-bottom: clamp(46px, 5vw, 70px);
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--yellow) 26%, var(--bg)) 100%);
}
.section--taxi-cats::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, #1c1406 0 14px, #ffd402 14px 28px);
  opacity: 0.92;
}
.taxi-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.taxi-cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(160, 120, 0, 0.26);
  background: linear-gradient(160deg, var(--surface) 0%, color-mix(in srgb, var(--yellow) 16%, var(--surface)) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.taxi-cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(160, 120, 0, 0.45); }
.taxi-cat__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f4cb45; }
.taxi-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.taxi-cat:hover .taxi-cat__media img { transform: scale(1.06); }
.taxi-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 212, 2, 0.06) 0%, rgba(28, 20, 6, 0.3) 100%); }
.taxi-cat__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #5b3b00; }
.taxi-cat__placeholder .icon { width: 46px; height: 46px; }
.taxi-cat__icon {
  position: absolute;
  left: 16px;
  bottom: -18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffd402;
  color: #2b1c06;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55);
}
.taxi-cat__icon .icon { width: 21px; height: 21px; }
.taxi-cat__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 28px 22px 22px; }
.taxi-cat__eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8a5a00; }
.taxi-cat h3 { font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); line-height: 1.2; color: #241400; }
.taxi-cat p { color: #5c4a2a; font-size: 13.5px; line-height: 1.55; }
.taxi-cat__link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #7a2b12; }
.taxi-cat__link .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.taxi-cat:hover .taxi-cat__link .icon { transform: translateX(4px); }
[data-theme="dark"] .taxi-cat { background: linear-gradient(160deg, #3a2b22 0%, #42331b 100%); border-color: rgba(240, 201, 92, 0.3); }
[data-theme="dark"] .taxi-cat__eyebrow { color: #f0c95c; }
[data-theme="dark"] .taxi-cat h3 { color: #f6eee2; }
[data-theme="dark"] .taxi-cat p { color: #d9c7b7; }
[data-theme="dark"] .taxi-cat__link { color: #f0c95c; }

/* Карточки форматов в духе старого сайта такси: фото на всю карточку
   и жёлтая кнопка поверх затемнения. */
.taxi-cat--cover {
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: clamp(370px, 34vw, 470px);
  background: #241400;
}
.taxi-cat__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.taxi-cat--cover:hover .taxi-cat__photo { transform: scale(1.05); }
.taxi-cat__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 14, 4, 0.08) 0%, rgba(20, 14, 4, 0.3) 42%, rgba(20, 14, 4, 0.9) 100%);
}
.taxi-cat--cover .taxi-cat__icon { top: 18px; bottom: auto; left: 18px; z-index: 3; }
.taxi-cat--cover .taxi-cat__body { position: relative; z-index: 2; flex: 0 0 auto; gap: 10px; padding: 30px 24px 26px; }
.taxi-cat--cover .taxi-cat__eyebrow {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: rgba(20, 14, 4, 0.62);
  color: #ffd402;
  backdrop-filter: blur(3px);
}
.taxi-cat--cover h3 { color: #fff; }
.taxi-cat--cover p { color: rgba(255, 255, 255, 0.82); }
.taxi-cat__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 18px;
  border-radius: var(--pill);
  background: #ffd402;
  color: #241400;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 0.25s;
}
.taxi-cat--cover:hover .taxi-cat__btn { background: #ffe36b; }
.taxi-cat__btn .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.taxi-cat--cover:hover .taxi-cat__btn .icon { transform: translateX(3px); }
.taxi-cat--plain { background: linear-gradient(160deg, #4a3520 0%, #241400 100%); }
[data-theme="dark"] .section--taxi-cats { background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--yellow) 10%, var(--bg)) 100%); }
[data-theme="dark"] .taxi-cat--cover { background: #1c140d; border-color: rgba(240, 201, 92, 0.3); }
[data-theme="dark"] .taxi-cat--cover h3 { color: #fff; }
[data-theme="dark"] .taxi-cat--cover p { color: rgba(255, 255, 255, 0.8); }

/* Больше жёлтого на странице такси */
.taxi-route-section .route-card { border-top: 3px solid var(--yellow); }
.taxi-route-section .journey-card { border-top: 3px solid var(--yellow); }
#taxiFleetSection.section--soft { background: color-mix(in srgb, var(--yellow) 12%, var(--bg)); }
body[data-page="taxi"] #request.section--soft {
  background: linear-gradient(180deg, color-mix(in srgb, var(--yellow) 20%, var(--bg)) 0%, var(--bg) 100%);
}
body[data-page="taxi"] #request .btn--brand { background: #ffd402; color: #241400; }
body[data-page="taxi"] #request .btn--brand:hover { background: #ffe36b; color: #241400; box-shadow: 0 18px 34px -16px rgba(23, 18, 5, 0.5); }

/* ---------- карточки маршрутов с фото ---------- */

.route-card--media { padding: 0; overflow: hidden; }
.route-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin: 0; }
.route-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.route-card--media:hover .route-card__media img { transform: scale(1.05); }
.route-card--media .route-card__tag { margin: 16px 20px 0; }
.route-card--media h3,
.route-card--media p { margin-inline: 20px; }
.route-card--media .route-card__meta { margin-inline: 20px; margin-bottom: 20px; }

/* ---------- большие путешествия с фото ---------- */

.journey-card--media { padding: 0; overflow: hidden; }
.journey-card__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; margin: 0; }
.journey-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.journey-card--media:hover .journey-card__media img { transform: scale(1.04); }
.journey-card--media > :not(.journey-card__media) { margin-inline: clamp(24px, 3vw, 34px); }
.journey-card--media .journey-card__direction { margin-top: 22px; }
.journey-card--media .journey-card__meta { margin-bottom: clamp(24px, 3vw, 34px); }

/* ---------- адаптив новых блоков ---------- */

@media (max-width: 1120px) {
  .taxi-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transfer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .taxi-hero { grid-template-columns: 1fr; padding-bottom: 34px; }
  .taxi-hero__media { max-width: 560px; margin-inline: auto; }
  .taxi-hero__media img { max-width: 520px; }
}
@media (max-width: 720px) {
  .taxi-cat-grid,
  .transfer-grid { grid-template-columns: 1fr; }
  .taxi-cat--cover { min-height: 320px; }
  .taxi-hero__actions { gap: 14px; }
  .taxi-hero__actions .btn { width: 100%; justify-content: center; }
  .taxi-hero__media figcaption { display: none; }
  .taxi-cat__body { padding: 26px 18px 18px; }
  .route-card--media .route-card__tag { margin: 14px 16px 0; }
  .route-card--media h3,
  .route-card--media p,
  .route-card--media .route-card__meta { margin-inline: 16px; }
  .route-card--media .route-card__meta { margin-bottom: 16px; }
  .journey-card--media > :not(.journey-card__media) { margin-inline: 20px; }
}

/* ---------- подбор тура: онлайн-модуль Sletat ---------- */
.sletat-panel {
  background: #fff;
  border: 1px solid rgba(92, 53, 36, 0.12);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 60px -44px rgba(25, 18, 12, 0.5);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.sletat-panel__head { max-width: 680px; margin-bottom: 20px; }
.sletat-panel__head h2 { margin: 8px 0 10px; }
.sletat-panel__head p { color: var(--ink-soft); font-size: 15.5px; }
.sletat-panel__mount { min-height: 260px; }
.sletat-embed { min-height: 260px; border-radius: 18px; overflow: hidden; }
/* результаты Sletat — фиксированный слой; поднимаем его над шапкой (z-index: 120) */
.sletat-embed.is-expanded { position: relative; z-index: 140; overflow: visible; }
.sletat-embed iframe { max-width: 100%; border: 0; }
.sletat-embed__loading {
  display: grid;
  min-height: 240px;
  place-items: center;
  margin: 0;
  border-radius: 18px;
  border: 1px dashed rgba(92, 53, 36, 0.25);
  background: var(--cream, #f7f2e9);
  color: var(--muted);
  font-size: 14.5px;
}
.sletat-embed__note,
.sletat-panel__note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.sletat-panel__note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .sletat-panel { background: #211a16; border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .sletat-embed__loading { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); }

/* ---------- политика: списки пунктов ---------- */
.privacy-body ul.privacy-list {
  list-style: none;
  margin: 14px 0 4px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.privacy-body ul.privacy-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.privacy-body ul.privacy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold, #c49a54);
}
