/* ========== Brand tokens ========== */
:root {
  --color-marsala: #6E1F2A;
  --color-marsala-deep: #4A1219;
  --color-marsala-soft: #8C3A40;
  --color-marsala-warm: #B8615A;
  --color-ivory: #F5EFE6;
  --color-ivory-light: #FAF6EF;
  --color-graphite: #1F1A18;
  --color-graphite-soft: #443C36;
  --color-olive: #6B6A4B;
  --color-gold: #E8C6A0;
  --color-line: #E0D6C5;
  --color-line-soft: #ECE3D2;
  --color-text: #1F1B19;
  --color-text-muted: #7A7068;
  --color-text-inverse: #FAF6EF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-card: 0 4px 24px rgba(31, 26, 24, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(31, 26, 24, 0.16);
  --shadow-tile: 0 2px 12px rgba(31, 26, 24, 0.12);

  --container: 1280px;
  --container-narrow: 920px;
}

/* ========== Base (mobile-first) ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-ivory-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-graphite);
}
h1 { font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { color: var(--color-graphite-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 16px; }

@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 24px; }
}

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--color-marsala);
  text-transform: uppercase;
}
.brand__tag {
  margin-top: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* Burger (mobile) */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-right: -10px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-graphite);
  transition: all 0.25s;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav — mobile overlay */
.nav {
  display: none;
  position: fixed; inset: 0; top: 60px;
  background: var(--color-ivory-light);
  z-index: 40;
  flex-direction: column;
  padding: 24px;
  gap: 0;
  overflow-y: auto;
}
.nav.is-open { display: flex; }
.nav a {
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-graphite);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line-soft);
  transition: color 0.2s;
}
.nav a.btn { border-bottom: 0; margin-top: 12px; }

@media (min-width: 920px) {
  .site-header__inner { padding: 18px 0; }
  .brand__name { font-size: 1.4rem; }
  .brand__tag { font-size: 0.7rem; }
  .burger { display: none; }
  .nav {
    display: flex !important;
    position: static; inset: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 28px;
    align-items: center;
  }
  .nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 4px 0;
    border-bottom: 0;
    position: relative;
  }
  .nav a:hover { color: var(--color-marsala); }
  .nav a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 1px; background: var(--color-marsala);
  }
}

/* Кнопки в nav — перебивает наследование цвета от .nav a */
.nav a.btn--primary {
  color: var(--color-text-inverse);
  padding: 9px 16px;
  border-bottom: 0;
}
.nav a.btn--primary:hover { color: var(--color-text-inverse); }
.nav a.btn--primary::after { display: none; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}
.btn--primary {
  background: var(--color-marsala);
  color: var(--color-text-inverse);
}
.btn--primary:hover { background: var(--color-marsala-deep); }
.btn--secondary {
  background: transparent;
  color: var(--color-graphite);
  border: 1px solid var(--color-graphite);
}
.btn--secondary:hover { background: var(--color-graphite); color: var(--color-ivory-light); }
.btn--ghost {
  background: transparent;
  color: var(--color-marsala);
  border: 1px solid var(--color-marsala);
}
.btn--ghost:hover { background: var(--color-marsala); color: var(--color-ivory-light); }
.btn--small { padding: 9px 16px; font-size: 0.82rem; min-height: 36px; }

/* ========== Hero (home) — split layout ========== */
.hero {
  position: relative;
  background: var(--color-ivory-light);
  color: var(--color-graphite);
  padding: 32px 0 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 64px 0; }
}

.hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero__split { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .hero__split { gap: 72px; }
}

.hero__inner { max-width: 600px; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-marsala);
  margin-bottom: 18px;
  border-left: 2px solid var(--color-marsala);
  padding-left: 12px;
}
.hero h1 { color: var(--color-graphite); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--color-marsala); }
.hero__lead {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--color-graphite-soft);
  margin-bottom: 26px;
}
@media (min-width: 768px) {
  .hero__lead { font-size: 1.1rem; margin-bottom: 32px; }
}
.hero__cta { display: flex; gap: 10px; flex-direction: column; }
@media (min-width: 560px) { .hero__cta { flex-direction: row; flex-wrap: wrap; } }

.hero__photo {
  position: relative;
  width: calc(100% + 32px);
  margin: 24px -16px 0;
  aspect-ratio: 4/5;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero__photo {
    width: 100%;
    margin: 0;
    aspect-ratio: 4/5;
    border-radius: var(--radius-m);
    max-height: 640px;
  }
}
@media (min-width: 1024px) {
  .hero__photo { aspect-ratio: 3/4; max-height: 720px; }
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* ========== Section primitives ========== */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--color-graphite); color: var(--color-text-inverse); }
.section--dark h2, .section--dark h3 { color: var(--color-text-inverse); }
.section--dark p { color: rgba(245, 239, 230, 0.78); }

.section-head { margin-bottom: 40px; max-width: 720px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }
.section-head__eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-marsala);
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1rem; color: var(--color-text-muted); }
@media (min-width: 768px) { .section-head p { font-size: 1.05rem; } }

/* ========== Masonry tile grid (Pinterest style) ========== */
.mood-grid {
  column-count: 2;
  column-gap: 8px;
}
@media (min-width: 640px) {
  .mood-grid { column-count: 3; column-gap: 12px; }
}
@media (min-width: 1024px) {
  .mood-grid { column-count: 4; column-gap: 14px; }
}
@media (min-width: 1400px) {
  .mood-grid { column-count: 5; }
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-line-soft);
  break-inside: avoid;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 640px) { .tile { margin-bottom: 12px; } }
@media (min-width: 1024px) { .tile { margin-bottom: 14px; } }

.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-tile); }
.tile:active { transform: scale(0.985); }

.tile__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.tile:hover .tile__img { transform: scale(1.04); }

.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(31, 20, 18, 0.88) 0%,
    rgba(31, 20, 18, 0.45) 35%,
    rgba(31, 20, 18, 0.08) 70%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: var(--color-ivory-light);
  pointer-events: none;
}
@media (min-width: 768px) { .tile__overlay { padding: 18px; } }

.tile__phrase {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--color-ivory-light);
}
@media (min-width: 768px) {
  .tile__phrase { font-size: 1.25rem; margin-bottom: 6px; }
}
@media (min-width: 1024px) {
  .tile__phrase { font-size: 1.35rem; }
}

.tile__loc {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: uppercase;
}
@media (min-width: 768px) { .tile__loc { font-size: 0.75rem; } }

.tile__add {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-marsala);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.2s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
  .tile__add { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 20px; }
}
.tile.is-selected {
  box-shadow: inset 0 0 0 3px var(--color-marsala), 0 6px 24px rgba(110, 31, 42, 0.25);
}
.tile.is-selected .tile__add {
  background: var(--color-marsala);
  color: white;
  transform: rotate(45deg);
}

/* Размеры плиток (для разной высоты в masonry) */
.tile--tall .tile__img { aspect-ratio: 3/4; object-fit: cover; }
.tile--portrait .tile__img { aspect-ratio: 4/5; object-fit: cover; }
.tile--square .tile__img { aspect-ratio: 1/1; object-fit: cover; }
.tile--landscape .tile__img { aspect-ratio: 4/3; object-fit: cover; }
.tile--xtall .tile__img { aspect-ratio: 2/3; object-fit: cover; }

/* ========== Region grid (стартовый экран конструктора) ========== */
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .region-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .region-grid { gap: 20px; }
}

.region-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}
@media (min-width: 640px) {
  .region-tile { aspect-ratio: 3/4; }
}
@media (min-width: 1024px) {
  .region-tile { aspect-ratio: 4/5; }
}
.region-tile:hover { transform: translateY(-3px); }
.region-tile:hover .region-tile__img { transform: scale(1.05); }

.region-tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.region-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(31, 20, 18, 0.85) 0%,
    rgba(31, 20, 18, 0.2) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--color-ivory-light);
}
@media (min-width: 768px) { .region-tile__overlay { padding: 28px; } }

.region-tile__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.region-tile__meta {
  font-size: 0.85rem;
  opacity: 0.9;
  letter-spacing: 0.04em;
}
.region-tile__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-marsala);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* ========== Chip bar (фильтры) ========== */
.chip-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}
.chip-bar::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .chip-bar { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: white;
  border: 1px solid var(--color-line);
  color: var(--color-graphite);
  padding: 9px 14px;
  border-radius: var(--radius-m);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chip:hover { border-color: var(--color-marsala); color: var(--color-marsala); }
.chip.is-active {
  background: var(--color-marsala);
  color: white;
  border-color: var(--color-marsala);
}

/* ========== Basket bar (sticky bottom) ========== */
.basket-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-graphite);
  color: var(--color-ivory-light);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(232, 198, 160, 0.2);
}
@media (min-width: 768px) {
  .basket-bar { padding: 18px 28px; }
}
.basket-bar.is-active { transform: translateY(0); }
.basket-bar__info { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.basket-bar__count {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-gold);
  line-height: 1;
  font-weight: 500;
}
.basket-bar__word { font-size: 0.85rem; opacity: 0.85; }
@media (min-width: 768px) { .basket-bar__word { font-size: 0.95rem; } }
.basket-bar .btn {
  flex-shrink: 0;
  background: var(--color-gold);
  color: var(--color-marsala-deep);
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 600;
}
.basket-bar .btn:hover { background: white; }

/* Когда корзина активна — даём отступ снизу */
body.has-basket { padding-bottom: 80px; }
@media (min-width: 768px) { body.has-basket { padding-bottom: 90px; } }

/* ========== Modal — меню впечатлений (как меню в ресторане) ========== */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31, 20, 18, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: modalFade 0.25s ease;
}
.modal.is-open { display: flex; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal__box {
  background: var(--color-ivory-light);
  border-radius: var(--radius-l);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px 24px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  animation: modalSlide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 768px) {
  .modal { padding: 32px; }
  .modal__box { padding: 56px 56px 40px; }
}
@keyframes modalSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-ivory);
  color: var(--color-graphite);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal__close:hover { background: var(--color-line); }
@media (min-width: 768px) { .modal__close { top: 20px; right: 20px; } }

.modal__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-marsala);
  margin-bottom: 10px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-graphite);
  margin-bottom: 8px;
}
.modal__lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-style: italic;
  font-family: var(--font-display);
}

/* Список «меню» — как в ресторане */
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--color-line);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-marsala);
  width: 22px;
  flex-shrink: 0;
  padding-top: 4px;
}
.menu-item__main { flex: 1; min-width: 0; }
.menu-item__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--color-graphite);
  margin-bottom: 4px;
}
@media (min-width: 768px) { .menu-item__name { font-size: 1.25rem; } }
.menu-item__loc {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.menu-item__remove {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.menu-item__remove:hover {
  background: var(--color-marsala);
  color: white;
}

.menu-empty {
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-family: var(--font-display);
}

.modal__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 560px) {
  .modal__footer { flex-direction: row; justify-content: space-between; align-items: center; }
}
.modal__total {
  font-size: 0.9rem;
  color: var(--color-graphite-soft);
}
.modal__total b {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-marsala);
}
.modal__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.modal__actions .btn { min-height: 44px; }

/* ========== Tour cards (карточки авторских туров) ========== */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .tour-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .tour-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.tour-card {
  background: white;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
  border: 1px solid var(--color-line-soft);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tour-card__media {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  position: relative;
  background-color: var(--color-line-soft);
}
.tour-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(74, 18, 25, 0.92);
  color: var(--color-ivory-light);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.tour-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
@media (min-width: 768px) { .tour-card__body { padding: 24px; gap: 12px; } }
.tour-card__region {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-marsala);
}
.tour-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--color-graphite); }
@media (min-width: 768px) { .tour-card__title { font-size: 1.35rem; } }
.tour-card__meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--color-text-muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-line-soft);
}
.tour-card__price {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
}
.tour-card__price-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-marsala);
}
.tour-card__price-from { font-size: 0.74rem; color: var(--color-text-muted); }

/* ========== Activity cards ========== */
.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .activity-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .activity-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.activity-card {
  background: white;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.activity-card__media {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: var(--color-line-soft);
}
.activity-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.activity-card__title { font-family: var(--font-display); font-size: 1.15rem; }
.activity-card__features { list-style: none; padding: 0; margin: 8px 0; }
.activity-card__features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 4px 0 4px 16px;
  position: relative;
}
.activity-card__features li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 1px; background: var(--color-marsala);
}
.activity-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.activity-card__price { font-family: var(--font-display); color: var(--color-marsala); font-size: 1.1rem; }

/* ========== Impressions icons (старые иконки впечатлений) ========== */
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 560px) { .impressions-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .impressions-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } }

.impression {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-decoration: none;
}
@media (min-width: 768px) { .impression { padding: 28px 18px; gap: 14px; } }
.impression:hover {
  border-color: var(--color-marsala);
  background: var(--color-ivory);
  transform: translateY(-2px);
}
.impression__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-ivory);
  border-radius: 50%;
  color: var(--color-marsala);
  transition: all 0.25s;
}
.impression:hover .impression__icon { background: var(--color-marsala); color: var(--color-ivory-light); }
.impression__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.impression__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--color-graphite);
}
@media (min-width: 768px) { .impression__title { font-size: 1.05rem; } }
.impression__hint { font-size: 0.74rem; color: var(--color-text-muted); }

/* ========== Expert block (dark) ========== */
.expert {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .expert { grid-template-columns: minmax(260px, 380px) 1fr; gap: 56px; } }
.expert__photo {
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  border-radius: var(--radius-m);
}
.expert__credentials {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 20px 0;
}
.expert__credentials span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border: 1px solid rgba(245, 239, 230, 0.3);
  border-radius: 20px;
  color: rgba(245, 239, 230, 0.92);
}
.expert__quote {
  margin-top: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--color-gold);
  padding-left: 18px;
  border-left: 2px solid var(--color-gold);
}
@media (min-width: 768px) { .expert__quote { font-size: 1.25rem; } }

/* ========== Testimonials ========== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .testimonials { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.testimonial {
  background: white;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-m);
  padding: 24px;
}
.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-graphite);
  margin-bottom: 18px;
}
.testimonial__author { font-size: 0.85rem; color: var(--color-text-muted); }
.testimonial__author strong { color: var(--color-graphite); display: block; font-weight: 600; }

/* ========== Footer ========== */
.site-footer {
  background: var(--color-graphite);
  color: var(--color-text-inverse);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; } }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-gold); }
.footer-brand .brand__name { color: var(--color-ivory-light); }
.footer-brand p { color: rgba(245, 239, 230, 0.6); margin-top: 16px; font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.4);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ========== Page hero (внутренние страницы) ========== */
.page-hero {
  background: var(--color-ivory);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--color-line-soft);
}
@media (min-width: 768px) { .page-hero { padding: 56px 0 40px; } }
.page-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-marsala);
  margin-bottom: 12px;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero__lead { font-size: 1rem; color: var(--color-text-muted); max-width: 720px; }
@media (min-width: 768px) { .page-hero__lead { font-size: 1.05rem; } }

/* Компактный split-layout для конструкторных страниц */
.page-hero--compact { padding: 32px 0 24px; }
@media (min-width: 768px) { .page-hero--compact { padding: 40px 0 32px; } }
.page-hero--compact h1 {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  margin-bottom: 10px;
}
.page-hero--compact .page-hero__lead { font-size: 0.95rem; }
@media (min-width: 768px) { .page-hero--compact .page-hero__lead { font-size: 1rem; } }

.page-hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
}
@media (min-width: 900px) {
  .page-hero__split {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: end;
  }
}
.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 900px) {
  .page-hero__chips { justify-content: flex-end; }
}

/* ========== Tour detail page ========== */
.tour-detail__hero {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  color: var(--color-ivory-light);
}
@media (min-width: 768px) { .tour-detail__hero { aspect-ratio: 21/9; } }
.tour-detail__hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31, 20, 18, 0.92) 0%, rgba(31, 20, 18, 0.15) 60%, rgba(31, 20, 18, 0.1) 100%);
}
.tour-detail__hero-inner { position: relative; z-index: 1; padding: 32px 0; width: 100%; }
@media (min-width: 768px) { .tour-detail__hero-inner { padding: 48px 0; } }
.tour-detail__hero h1 { color: var(--color-ivory-light); margin-bottom: 14px; }
.tour-detail__hero-meta { display: flex; gap: 18px; font-size: 0.88rem; flex-wrap: wrap; }
.tour-detail__hero-meta span { opacity: 0.92; }

.tour-detail__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .tour-detail__body { grid-template-columns: 1fr 360px; gap: 56px; margin-top: 56px; }
}

.tour-detail__block { margin-bottom: 40px; }
.tour-detail__block h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line-soft);
}
.tour-detail__block p { margin-bottom: 12px; }
.tour-detail__list { list-style: none; padding: 0; }
.tour-detail__list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--color-graphite-soft);
}
.tour-detail__list li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 12px; height: 1px; background: var(--color-marsala);
}

.day {
  background: white;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-m);
  padding: 22px;
  margin-bottom: 14px;
}
@media (min-width: 768px) { .day { padding: 28px; } }
.day__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.day__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-marsala);
}
.day__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-graphite); }
.day__part { margin-top: 14px; }
.day__part-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--color-line-soft);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--color-graphite);
  margin-bottom: 8px;
}

.book-card {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 24px;
}
@media (min-width: 1024px) { .book-card { position: sticky; top: 100px; } }
.book-card__price-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--color-line-soft); }
.book-card__price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-marsala);
}
.book-card__price-meta { font-size: 0.76rem; color: var(--color-text-muted); }
.book-card__features { list-style: none; padding: 14px 0 20px; font-size: 0.86rem; }
.book-card__features li { padding: 7px 0 7px 22px; position: relative; color: var(--color-graphite-soft); }
.book-card__features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--color-marsala); font-weight: 600;
}
.book-card .btn { width: 100%; margin-bottom: 10px; }
.book-card__note { font-size: 0.76rem; color: var(--color-text-muted); text-align: center; margin-top: 12px; }

/* ========== About page ========== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px 0;
}
@media (min-width: 768px) {
  .about-hero { grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0; }
}
@media (min-width: 1024px) { .about-hero { gap: 80px; padding: 64px 0; } }

.about-hero__photo {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: var(--radius-m);
}
.about-hero h1 { margin-bottom: 20px; }
.about-hero__lead { font-size: 1.05rem; margin-bottom: 24px; color: var(--color-graphite-soft); }

.creds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0;
}
@media (min-width: 640px) { .creds { grid-template-columns: 1fr 1fr; gap: 16px; } }

.cred { border-left: 2px solid var(--color-marsala); padding: 6px 0 6px 14px; }
.cred__year { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-marsala); margin-bottom: 4px; }
.cred__title { font-size: 0.92rem; color: var(--color-graphite); }

/* ========== Wine sub-cards (legacy для wine page) ========== */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.wine-card {
  background: white;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}
.wine-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--color-marsala); }
.wine-card__media { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.wine-card__body { padding: 18px; }
.wine-card__location {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-marsala);
  margin-bottom: 6px;
}
.wine-card__title { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; color: var(--color-graphite); }

.city-group { margin-bottom: 48px; }
.city-group__head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line-soft);
}
.city-group__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-graphite); }
.city-group__count { font-size: 0.82rem; color: var(--color-text-muted); }

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 56px; }
.mb-2 { margin-bottom: 24px; }
.callout {
  background: var(--color-ivory);
  border-left: 3px solid var(--color-marsala);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 28px 0;
}
.callout p { color: var(--color-graphite); }
.callout strong { color: var(--color-marsala); }

/* ========== Breadcrumb ========== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-marsala); }
.breadcrumb a:hover { text-decoration: underline; }

/* ========== Steps grid (3 шага плиточно) ========== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.step {
  position: relative;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-marsala);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 4px;
  background: var(--color-marsala);
  border-radius: 0 0 4px 0;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-marsala);
  margin-top: 4px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--color-graphite);
}
.step__text {
  font-size: 0.92rem;
  color: var(--color-graphite-soft);
  line-height: 1.45;
}
