@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.fe2bd26ae82a.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.3db826ed1c5d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}

:root {
  --forest: #0f3d2e;
  --forest-2: #17523e;
  --green: #1c7a4f;
  --green-dark: #155f3d;
  --lime: #b9e769;
  --lime-dark: #a4d650;
  --mint: #eef5ec;
  --mint-2: #dfecdc;
  --paper: #fbfcf8;
  --ink: #15261e;
  --muted: #5a6d62;
  --line: #dbe5d9;
  --danger: #b3382c;
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 12px 32px rgba(15, 61, 46, .1);
  --gutter: clamp(16px, 4vw, 32px);
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 17px)/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: clamp(18px, 1.5vw, 20px); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 824px; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--accent { background: var(--lime); color: var(--forest); }
.btn--accent:hover { background: var(--lime-dark); color: var(--forest); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--large { min-height: 54px; padding-inline: 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--forest); color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .2s, box-shadow .2s;
}
.page-home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.page-home .site-header.is-scrolled, .site-header.is-scrolled { background: var(--forest); box-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-height); }
.logo { flex: none; }
.logo img { width: auto; height: 42px; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.main-nav__link { color: #fff; text-decoration: none; font-weight: 500; padding-block: 8px; white-space: nowrap; }
.main-nav__link:hover { color: var(--lime); }
.main-nav__group { position: relative; }
.main-nav__sub {
  position: absolute; left: -16px; top: 100%; min-width: 250px; padding: 8px; background: #fff; border-radius: var(--radius-small);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s;
}
.main-nav__group:hover .main-nav__sub, .main-nav__group:focus-within .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.main-nav__sub a:hover { background: var(--mint); color: var(--green-dark); }
.main-nav__cta { min-height: 42px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 12px 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin-block: 5px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: calc(var(--header-height) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--forest); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav__link { display: block; padding-block: 14px; font-size: 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .main-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .main-nav__sub a { color: #d8ead8; padding: 8px 0; }
  .main-nav__sub a:hover { background: none; color: var(--lime); }
  .main-nav__cta { margin-top: 20px; min-height: 52px; font-size: 17px; }
  .page-home .site-header:has(.is-open) { background: var(--forest); }
}

/* Первый экран */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--forest);
  min-height: 100vh; min-height: 100svh;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 40, 30, .5) 0%, rgba(10, 40, 30, .12) 30%, rgba(10, 40, 30, .78) 100%);
}
.hero__inner {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--header-height) + 32px); padding-bottom: clamp(36px, 8vh, 88px);
}
.hero__copy { max-width: 780px; }
.hero h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.05; }
.hero__subtitle { margin-top: 18px; max-width: 600px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cities { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.hero__cities a { color: #fff; font-weight: 500; }
.hero__cities a:hover { color: var(--lime); }

/* Вертикальное видео на широком экране */
.hero--portrait .hero__video { filter: blur(28px) saturate(1.1); transform: scale(1.15); }
.hero--portrait .hero__media::after { background: rgba(10, 40, 30, .55); }
.hero--portrait .hero__inner { align-items: center; padding-bottom: 40px; min-height: 100svh; }
.hero__frame { flex: none; width: min(25vw, 340px); aspect-ratio: 9 / 16; max-height: calc(100vh - var(--header-height) - 72px); overflow: hidden; border-radius: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, .45); }
.hero__frame-video { width: 100%; height: 100%; object-fit: cover; }

/* Секции */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--flush { padding-top: clamp(24px, 3vw, 40px); }
.section--tinted { background: var(--mint); }
.section--after { margin-top: clamp(48px, 6vw, 72px); }
.section--dark { background: var(--forest); color: #fff; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.section__title { margin-bottom: clamp(20px, 3vw, 32px); }
.section__head .section__title { margin-bottom: 0; }
.section__title--spaced { margin-top: clamp(40px, 5vw, 64px); }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.page-head { background: var(--forest); color: #fff; padding-block: clamp(32px, 5vw, 60px); }
.page-head p { margin-top: 12px; max-width: 720px; color: #d8ead8; font-size: clamp(16px, 1.4vw, 19px); }
.page-head--center { text-align: center; padding-block: 15vh; }
.page-head--center p { margin-inline: auto; margin-top: 20px; }

.flash-list { padding-top: 16px; }
.flash { padding: 14px 18px; background: var(--mint-2); border-radius: var(--radius-small); font-weight: 500; }

/* Города */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.city-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  background: var(--forest-2); color: #fff; text-decoration: none;
}
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.city-card:hover { color: #fff; }
.city-card:hover img { transform: scale(1.04); }
.city-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 35, 26, .85)); }
.city-card__label { position: absolute; left: clamp(12px, 1.6vw, 20px); right: 12px; bottom: clamp(12px, 1.6vw, 18px); z-index: 1; }
.city-card__label b { display: block; font-size: clamp(19px, 2vw, 26px); line-height: 1.2; }
.city-card__label small { font-size: 14px; opacity: .9; }

/* Карточки экскурсий */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.tour-card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
}
.tour-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tour-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--mint-2); }
.tour-card__media { overflow: hidden; }
.tour-card__media img, .city-card img, .photo-grid__item img, .article-card__media img { position: absolute; inset: 0; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tour-card__tag { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--forest); font-size: 13px; font-weight: 600; }
.tour-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.tour-card__title { font-size: 18px; line-height: 1.3; letter-spacing: -.005em; font-weight: 650; }
.tour-card__title a { color: inherit; text-decoration: none; }
.tour-card__title a::after { content: ""; position: absolute; inset: 0; }
.tour-card { position: relative; }
.tour-card__meta { color: var(--muted); font-size: 14px; }
.tour-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.tour-card__price { font-size: 21px; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.tour-card__price span { font-size: 14px; font-weight: 500; }
.tour-card__price small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.tour-card__price--request { font-size: 16px; font-weight: 600; }
.tour-card__arrow { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--green-dark); font-weight: 700; transition: background-color .15s, color .15s; }
.tour-card:hover .tour-card__arrow { background: var(--green); color: #fff; }

/* О нас */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.advantages { display: grid; gap: 22px; }
.advantages li { padding-left: 22px; border-left: 3px solid var(--lime); }
.advantages p { margin-top: 6px; color: var(--muted); }

.route-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.route-banner > div { flex: 1 1 420px; max-width: 760px; }
.route-banner .section__title { margin-bottom: 14px; }
.route-banner p { color: #d8ead8; font-size: clamp(16px, 1.4vw, 19px); }

/* Отзывы */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review-grid--two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.review-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review-card__stars { color: #e0a100; letter-spacing: 2px; }
.review-card__text { flex: 1; }
.review-card__author { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.review-card__author b { color: var(--ink); }
.review-card__author img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.empty-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: clamp(20px, 3vw, 32px); background: var(--mint); border-radius: var(--radius); }
.empty-note__text { color: var(--muted); padding-block: 12px; }
.reviews-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.reviews-layout__more { margin-top: 24px; }

/* Галерея */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 260px), 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.photo-grid__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-small); background: var(--mint-2); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid__item:hover img { transform: scale(1.04); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.video-grid--tour { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 300px)); }
.video-card { margin: 0; }
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-small); background: var(--forest); }
.video-card__embed { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-small); background: var(--forest); }
.video-card__embed iframe { width: 100%; height: 100%; border: 0; }
.video-card figcaption { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6, 25, 18, .94); }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Статьи */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.article-card { position: relative; }
.article-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--mint-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover img { transform: scale(1.03); }
.article-card__date { margin-top: 12px; color: var(--muted); font-size: 14px; }
.article-card__title { margin-top: 4px; font-size: 19px; line-height: 1.3; font-weight: 650; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover .article-card__title a { color: var(--green-dark); }
.article-date { margin-top: 10px; color: var(--muted); }
.article-lead { margin-top: 18px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }
.article-cover { margin-top: 24px; overflow: hidden; border-radius: var(--radius); }
.article-cover img { width: 100%; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* Текст */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(22px, 2.2vw, 27px); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-inline: 0; padding-left: 18px; border-left: 3px solid var(--lime); }
.prose__figure { display: block; margin-block: 1.4em; overflow: hidden; border-radius: var(--radius); }
.prose__figure img { width: 100%; }
.prose--steps ul { padding: 0; list-style: none; }
.prose--steps li { position: relative; padding: 0 0 12px 26px; margin: 0; }
.prose--steps li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.prose--steps li::after { content: ""; position: absolute; left: 7px; top: 1.1em; bottom: -.5em; width: 1px; background: var(--line); }
.prose--steps li:last-child::after { display: none; }
.prose--steps h3:first-child { margin-top: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--mint-2); background: #fff; }
.faq details:first-child { border-radius: var(--radius-small) var(--radius-small) 0 0; }
.faq details:last-child { border-radius: 0 0 var(--radius-small) var(--radius-small); border-bottom: 0; }
.faq summary { padding: 18px 48px 18px 20px; position: relative; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 20px; color: var(--muted); }

.contact-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.contact-band .section__title { margin-bottom: 12px; }
.contact-band p { color: var(--muted); }
.contact-links { display: grid; gap: 10px; }
.contact-links a { color: inherit; text-decoration: none; }
.contact-links a:hover { color: var(--green); text-decoration: underline; }
.contact-links b { font-weight: 600; margin-right: 6px; }
.contacts-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contacts-layout h2 { font-size: 24px; margin-bottom: 16px; }
.panel { padding: clamp(20px, 2.6vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.office-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.office-list li { padding: 20px; background: var(--mint); border-radius: var(--radius); }
.office-list p { margin-top: 6px; font-size: 15px; }
.office-list__links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 500; }

/* Фильтры */
.filters { display: grid; gap: 12px; margin-bottom: clamp(20px, 3vw, 32px); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--green); color: var(--green-dark); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.chips--secondary .chip { padding: 6px 14px; font-size: 14px; }
.chips--secondary .chip.is-active { background: var(--mint-2); border-color: var(--green); color: var(--green-dark); }
.search input { width: 100%; max-width: 440px; min-height: 46px; padding: 8px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; }

/* Страница экскурсии */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 18px 12px; color: var(--muted); font-size: 14px; }
.crumbs a { color: inherit; }
.tour-title { font-size: clamp(28px, 3.8vw, 44px); }
.tour-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tour-facts li { padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 14px; font-weight: 500; }

.tour-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; aspect-ratio: 2.4; overflow: hidden; border-radius: var(--radius); }
.tour-gallery--single { display: block; }
.tour-gallery a { position: relative; display: block; overflow: hidden; background: var(--mint-2); }
.tour-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tour-gallery a:hover img { transform: scale(1.03); }
.tour-gallery__main { grid-row: 1 / 3; height: 100%; }
.tour-gallery__item--extra { display: none !important; }
.tour-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 40, 30, .55); color: #fff; font-weight: 600; }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(24px, 3.5vw, 40px); padding-bottom: clamp(48px, 6vw, 72px); }
.tour-block + .tour-block { margin-top: clamp(32px, 4vw, 48px); }
.tour-block > h2 { margin-bottom: 16px; font-size: clamp(22px, 2.3vw, 28px); }
.tour-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.tour-columns h2 { margin-bottom: 14px; font-size: clamp(22px, 2.3vw, 28px); }
.check-list li { position: relative; padding-left: 28px; margin-top: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.check-list--no li::before { content: "×"; color: var(--danger); font-size: 20px; line-height: 1.25; }
.dot-list li { position: relative; padding-left: 20px; margin-top: 8px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-dark); }

.tour-side { position: sticky; top: calc(var(--header-height) + 16px); max-height: calc(100vh - var(--header-height) - 32px); overflow-y: auto; }
.price-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-card__title { font-weight: 700; font-size: 20px; }
.price-card dl { margin: 12px 0 0; }
.price-card dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--mint-2); }
.price-card dt { color: var(--muted); }
.price-card dd { margin: 0; font-weight: 700; font-size: 21px; color: var(--green-dark); white-space: nowrap; }
.price-card dd small { font-weight: 500; font-size: 14px; }
.price-card__request { font-size: 17px !important; }
.price-card__note { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.price-card__tiers { margin-top: 10px; font-size: 15px; }
.price-card__tiers summary { color: var(--green); font-weight: 500; cursor: pointer; }
.price-card__tiers table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.price-card__tiers th { padding-block: 3px; font-weight: 400; text-align: left; color: var(--muted); }
.price-card__tiers td { padding-block: 3px; text-align: right; font-weight: 600; white-space: nowrap; }
.price-card__tiers small { font-weight: 400; color: var(--muted); }
.price-card__actions { display: grid; gap: 8px; margin-top: 16px; }
.price-card__actions .btn { min-height: 48px; padding-inline: 14px; font-size: 15px; }
.price-card__chat { display: block; margin-top: 12px; text-align: center; font-size: 15px; font-weight: 500; }

.price-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-small); }
.price-table summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
.price-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 8px 18px; border-top: 1px solid var(--mint-2); text-align: left; font-weight: 400; vertical-align: top; }
.price-table td { text-align: right; font-weight: 600; white-space: nowrap; }
.price-table__head th { padding-top: 14px; background: var(--mint); font-weight: 600; }

/* Форма */
.booking { padding: clamp(18px, 3vw, 32px); background: var(--mint); border-radius: var(--radius); }
.booking__done { padding: 24px; background: #fff; border-radius: var(--radius-small); text-align: center; }
.booking__done p { margin-block: 10px 18px; }
.form { display: grid; gap: 16px; margin-top: 16px; }
.panel.form { margin-top: 0; }
.panel.form h2 { font-size: 24px; }
.form__hint { color: var(--muted); font-size: 15px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-weight: 500; font-size: 15px; }
.field small { display: block; font-weight: 400; font-size: 13px; line-height: 1.3; color: var(--muted); }
.field span > small { display: inline; }
.field__hint { font-size: 13px; line-height: 1.3; color: var(--muted); }
.field input, .field select, .field textarea, .form select {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #fff; border: 1px solid #c6d4c4; border-radius: var(--radius-small); font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.is-invalid { border-color: var(--danger) !important; }
.field em, .field-error { color: var(--danger); font-style: normal; font-size: 14px; }

.stepper { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; min-height: 48px; background: #fff; border: 1px solid #c6d4c4; border-radius: var(--radius-small); overflow: hidden; }
.stepper button { background: none; border: 0; color: var(--green-dark); font-size: 22px; cursor: pointer; }
.stepper button:hover { background: var(--mint); }
.stepper input { min-height: 0; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; background: #fff; border: 1px solid #c6d4c4; border-radius: 999px; }
.mode-switch__item { cursor: pointer; }
.mode-switch__item input { position: absolute; opacity: 0; }
.mode-switch__item span { display: block; padding: 10px 8px; border-radius: 999px; text-align: center; font-weight: 600; font-size: 15px; transition: background-color .15s, color .15s; }
.mode-switch__item input:checked + span { background: var(--green); color: #fff; }
.mode-switch__item input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.mode-note { font-size: 15px; }

.locations { margin: 0; padding: 0; border: 0; }
.locations legend { padding: 0; font-weight: 700; font-size: 18px; }
.locations .form__hint { margin-top: 4px; }
.locations__count { color: var(--green-dark); font-weight: 600; }
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: 12px; }
.location {
  position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 64px; padding: 12px 42px 12px 14px;
  background: #fff; border: 2px solid transparent; border-radius: var(--radius-small); cursor: pointer; transition: border-color .15s;
}
.location:hover { border-color: var(--mint-2); }
.location:has(input:checked) { border-color: var(--green); }
.location input { position: absolute; opacity: 0; }
.location__image { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.location__text { min-width: 0; font-size: 15px; line-height: 1.35; }
.location__text b { display: block; font-weight: 600; }
.location__text small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.location__mark { position: absolute; right: 12px; top: 14px; width: 22px; height: 22px; border: 2px solid #c6d4c4; border-radius: 6px; }
.location input:checked ~ .location__mark { background: var(--green); border-color: var(--green); }
.location input:checked ~ .location__mark::after { content: "✓"; position: absolute; inset: -2px 0 0; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.location input:focus-visible ~ .location__mark { outline: 3px solid var(--green); outline-offset: 2px; }

.booking__total { padding: 14px 18px; background: #fff; border-radius: var(--radius-small); }
.booking__total span { display: block; color: var(--muted); font-size: 14px; }
.booking__total b { display: block; font-size: 28px; line-height: 1.25; color: var(--green-dark); }
.booking__total small { display: block; color: var(--muted); font-size: 13px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green); }

.rating { margin: 0; padding: 0; border: 0; }
.rating legend { padding: 0; font-weight: 500; font-size: 15px; }
.rating__stars { display: inline-flex; flex-direction: row-reverse; }
.rating__stars input { position: absolute; opacity: 0; }
.rating__stars label { padding: 2px 3px; font-size: 30px; line-height: 1; color: #cfd8cd; cursor: pointer; }
.rating__stars input:checked ~ label, .rating__stars label:hover, .rating__stars label:hover ~ label { color: #e0a100; }
.rating__stars input:focus-visible + label { outline: 2px solid var(--green); border-radius: 4px; }

.mobile-bar { display: none; }

/* Подвал */
.site-footer { background: var(--forest); color: #d8ead8; padding-block: clamp(36px, 5vw, 60px) calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer img { width: auto; height: 42px; }
.site-footer__text { margin-top: 12px; }
.site-footer__title { margin-bottom: 10px; color: #fff; font-weight: 600; }
.site-footer li + li { margin-top: 6px; }
.site-footer .contact-links { gap: 6px; }
.site-footer .contact-links li + li { margin-top: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.site-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

@media (max-width: 1000px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr); }
  .tour-side { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 61, 46, .1); transition: transform .2s;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar b { font-size: 20px; color: var(--green-dark); }
  .mobile-bar .btn { flex: none; }
  .page-tour .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .reviews-layout, .contacts-layout { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .logo img { height: 36px; }
  .about, .contact-band { grid-template-columns: minmax(0, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .city-card { aspect-ratio: 4 / 3; }
  .tour-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; aspect-ratio: auto; }
  .tour-gallery__main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; height: auto; }
  .tour-gallery__item { aspect-ratio: 4 / 3; }
  .route-banner .btn { width: 100%; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .tour-card__media { aspect-ratio: 16 / 10; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
