/* ==========================================================
   Горы Чечни — стили публичной части
   ========================================================== */
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(/fonts/manrope/manrope-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(/fonts/manrope/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(/fonts/manrope/manrope-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(/fonts/manrope/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(/fonts/manrope/manrope-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(/fonts/manrope/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/fonts/unbounded/unbounded-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/fonts/unbounded/unbounded-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }

:root {
  --bg: #f6f1e9;
  --paper: #fffcf7;
  --sand: #ece3d5;
  --line: #e2d8c8;
  --ink: #17211b;
  --ink-2: #3f4b44;
  --muted: #6b766f;
  --forest: #14231c;
  --forest-2: #1f3629;
  --accent: #c4582a;
  --accent-hover: #a9461c;
  --accent-soft: #f6e2d6;
  --gold: #e9b872;
  --ok: #3b7a4f;
  --red: #b3261e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 33, 27, .05), 0 8px 24px -12px rgba(23, 33, 27, .18);
  --shadow-lg: 0 24px 60px -24px rgba(20, 35, 28, .45);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.arrow-link .ic { transition: transform .2s; width: 18px; height: 18px; }
.arrow-link:hover .ic { transform: translateX(4px); }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(246, 241, 233, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; color: #fff; --logo-cut: var(--forest); }
.site-header.is-overlay.is-scrolled { background: rgba(20, 35, 28, .9); backdrop-filter: blur(10px); border-bottom-color: rgba(255, 255, 255, .08); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; --logo-cut: var(--bg); }
.logo:hover { color: inherit; }
.logo-mark { width: 38px; height: 38px; color: var(--accent); }
.is-overlay .logo-mark, .logo-light .logo-mark { color: var(--gold); }
.logo-text { font: 600 17px/1 var(--font-head); letter-spacing: -.01em; }
.main-nav { display: flex; gap: 6px; margin-left: 12px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: inherit; background: rgba(127, 127, 127, .14); }
.main-nav a[aria-current] { background: var(--ink); color: #fff; }
.is-overlay .main-nav a[aria-current] { background: #fff; color: var(--ink); }
.nav-phone-mobile { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone .ic { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; border-radius: 10px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--forest); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 15, .55) 0%, rgba(10, 20, 15, .1) 30%, rgba(10, 20, 15, .25) 55%, rgba(10, 20, 15, .82) 100%); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero-inner > :not(.hero-next) { grid-column: 1; }
.hero-title { font: 600 clamp(34px, 6.2vw, 76px)/1.02 var(--font-head); letter-spacing: -.03em; max-width: 13ch; margin-bottom: 20px; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; opacity: .92; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-next { grid-column: 2; grid-row: 1 / span 4; align-self: end; display: grid; gap: 4px; width: 300px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); text-decoration: none; color: #fff; transition: background .2s; }
.hero-next:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hn-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.hn-title { font-weight: 800; font-size: 18px; line-height: 1.3; }
.hn-date { font-size: 14px; opacity: .85; }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.section-muted { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow-light { color: var(--gold); }
.section-title { font: 600 clamp(28px, 4vw, 46px)/1.08 var(--font-head); letter-spacing: -.025em; margin-bottom: 14px; text-wrap: balance; }
.section-title-sm { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 0; }
.section-lead { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 0; }
.page-head { padding: 28px 0 8px; }
.page-title { font: 600 clamp(28px, 4.6vw, 52px)/1.06 var(--font-head); letter-spacing: -.03em; margin: 8px 0 16px; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- карточка выезда ---------- */
.trip-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.trip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.trip-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.trip-media img, .tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.trip-card:hover .trip-media img, .tour-card:hover .tour-media img { transform: scale(1.04); }
.img-ph { display: block; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(160deg, #2b4a39, #14231c); }
.date-badge { position: absolute; top: 14px; left: 14px; display: grid; justify-items: center; min-width: 62px; padding: 8px 10px 9px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .35); line-height: 1; }
.db-wd { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.db-day { font: 600 26px/1.1 var(--font-head); margin: 4px 0 2px; }
.db-mon { font-size: 12px; font-weight: 700; color: var(--muted); }
.tag { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.tag-accent { background: var(--accent); color: #fff; }
.tag-dark { background: var(--ink); color: #fff; }
.tag-red { background: var(--red); color: #fff; }
.trip-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; flex: 1; }
.trip-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.trip-title a { text-decoration: none; }
.trip-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.trip-facts li { display: flex; gap: 10px; align-items: flex-start; }
.trip-facts .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.trip-facts strong { color: var(--ink); }
.seats { display: grid; gap: 6px; }
.seats-bar { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.seats-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), #7aa35c); border-radius: inherit; }
.is-full .seats-bar span { background: var(--ink); }
.seats-txt { font-size: 13px; color: var(--muted); font-weight: 600; }
.trip-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { display: grid; line-height: 1.2; }
.price strong { font-size: 20px; font-weight: 800; }
.price small { font-size: 13px; color: var(--muted); }
.is-cancelled { opacity: .7; }
.is-cancelled .trip-title a { text-decoration: line-through; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.step-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--gold); font: 600 15px var(--font-head); }

.empty-state { padding: 48px 28px; text-align: center; background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state h3 { font-size: 22px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-2); max-width: 520px; margin: 0 auto 20px; }

/* ---------- туры ---------- */
.section-tours { background: var(--forest); color: #fff; }
.section-tours .section-lead { color: rgba(255, 255, 255, .78); }
.section-tours .eyebrow { color: var(--gold); }
.section-tours .arrow-link { color: var(--gold); }
.tour-card { border-radius: var(--radius); overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tour-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.tour-link:hover { color: inherit; }
.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.tour-chips { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 700; }
.chip .ic { width: 15px; height: 15px; }
.chip-easy { background: #e3f0e4; color: #24593a; }
.chip-medium { background: #fbecd1; color: #7a4d0d; }
.chip-hard { background: #f8dcd6; color: #8a2414; }
.tour-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.tour-title { font-size: 20px; font-weight: 800; line-height: 1.25; }
.tour-short { color: var(--ink-2); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); }
.tour-foot .price { display: block; }
.tour-card:hover .arrow-link .ic { transform: translateX(4px); }

/* ---------- галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.g-item.is-tall { grid-row: span 2; }
.g-item.is-wide { grid-column: span 2; }
.g-item a { display: block; height: 100%; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; opacity: 0; transform: translateY(6px); transition: .25s; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fchip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--paper); }
.fchip span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.fchip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip.is-active span { color: rgba(255, 255, 255, .6); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pg { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; background: var(--paper); }
.pg.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- преимущества, FAQ ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.why-item { padding: 28px 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.why-n { font: 600 14px var(--font-head); color: var(--accent); }
.why-item h3 { font-size: 19px; font-weight: 800; margin: 14px 0 8px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.section-faq { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 16px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 22px 18px; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* ---------- контакты ---------- */
.section-contact { background: var(--forest); color: #fff; }
.contact-wrap { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 56px; align-items: center; }
.contact-info p { color: rgba(255, 255, 255, .8); max-width: 480px; }
.contact-phone { display: inline-block; font: 600 clamp(24px, 3vw, 34px) var(--font-head); color: #fff; text-decoration: none; margin: 10px 0 6px; letter-spacing: -.02em; }
.contact-phone:hover { color: var(--gold); }
.muted-light { color: rgba(255, 255, 255, .6) !important; font-size: 14px; }
.contact-form { padding: 28px; color: var(--ink); }
.contact-form h2, .contact-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .85; transition: .2s; }
.socials a:hover { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-page { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.c-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.c-card .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.c-card small { display: block; color: var(--muted); font-size: 13px; }
.c-card strong { font-size: 16px; }

/* ---------- формы ---------- */
.booking-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 52px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row:has(> [hidden]) { grid-template-columns: 1fr; }
.stepper { display: flex; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.stepper button { width: 46px; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--accent); }
.stepper button:hover { background: var(--accent-soft); }
.stepper input { border: 0 !important; box-shadow: none !important; text-align: center; padding: 12px 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 1px; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fbe4e1; color: var(--red); font-size: 14px; font-weight: 600; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-note a { color: var(--accent); font-weight: 700; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- модальное окно ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: 520px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); color: var(--ink); }
.modal::backdrop { background: rgba(14, 24, 19, .6); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-box { position: relative; background: var(--paper); border-radius: 22px; padding: 30px 28px 24px; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); font-size: 24px; line-height: 1; }
.modal-close:hover { background: var(--line); }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; padding-right: 36px; line-height: 1.25; }
.modal-meta { color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.modal-box .eyebrow { margin-bottom: 8px; }
.modal-box .booking-form { margin-top: 16px; }
.modal-success { text-align: center; padding: 16px 0 8px; }
.modal-success p { color: var(--ink-2); }
.success-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e3f0e4; color: var(--ok); font-size: 34px; font-weight: 800; margin: 0 auto 18px; }

/* ---------- просмотр фото ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 12, 10, .95); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: 15px; text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- страницы выезда / тура ---------- */
.detail-hero { padding: 24px 0 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 12px; }
.detail-lead { font-size: 18px; color: var(--ink-2); max-width: 680px; }
.detail-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); margin-top: 8px; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card { position: sticky; top: calc(var(--header-h) + 16px); padding: 26px; display: grid; gap: 16px; }
.bc-date { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); line-height: 1.3; }
.bc-date strong { text-transform: capitalize; }
.bc-day { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--forest); color: var(--gold); font: 600 28px var(--font-head); }
.bc-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bc-facts dt { font-size: 13px; color: var(--muted); }
.bc-facts dd { margin: 0; font-weight: 800; font-size: 16px; }
.bc-hint { margin: 0; font-size: 14px; color: var(--muted); }
.bc-meet { display: flex; gap: 10px; margin: 0; font-size: 15px; padding: 12px 14px; background: var(--bg); border-radius: var(--radius-sm); }
.bc-meet .ic { color: var(--accent); margin-top: 2px; }
.bc-meet a { color: var(--accent); font-weight: 700; }
.bc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-top: 4px; }
.bc-price strong { font: 600 30px var(--font-head); letter-spacing: -.02em; }
.bc-price span { color: var(--muted); font-size: 14px; width: 100%; }
.bc-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.bc-dates { display: grid; gap: 6px; }
.bc-dates-h { margin: 0 0 2px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bc-date-link { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); text-decoration: none; font-size: 14px; font-weight: 600; }
.bc-date-link span:last-child { color: var(--ok); white-space: nowrap; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); font-weight: 600; }
.notice-red { background: #fbe4e1; color: var(--red); }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 48px; padding-bottom: 80px; }
.detail-text { display: grid; gap: 44px; align-content: start; }
.detail-side { display: grid; gap: 16px; align-content: start; }
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font: 600 26px/1.15 var(--font-head); letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.prose h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 28px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.program-rich h3:first-child { margin-top: 0; }
.program-rich h3 { padding-left: 16px; border-left: 3px solid var(--accent); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 0 0 18px; }
.timeline li::before { content: ''; position: absolute; left: 82px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 3px solid var(--accent); }
.timeline li::after { content: ''; position: absolute; left: 87px; top: 22px; bottom: -4px; width: 1.5px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.tl-time { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-text { padding-left: 28px; grid-column: 2; }
.side-box { padding: 22px 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.side-box h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.side-box p { margin: 0; font-size: 15px; color: var(--ink-2); }
.side-box a { color: var(--accent); font-weight: 700; }
.check-list, .dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.check-list li, .dot-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.dot-list li::before { content: ''; position: absolute; left: 5px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sticky-book { display: none; }

.date-group { margin-bottom: 44px; }
.date-group-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 16px; font-weight: 400; line-height: 1.3; color: var(--muted); }
.date-group-h strong { color: var(--ink); text-transform: capitalize; font-size: 18px; }
.dg-day { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--forest); color: var(--gold); font: 600 24px var(--font-head); }
.past-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 24px; }
.past-list a { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.past-list time { color: var(--muted); min-width: 92px; font-size: 14px; padding-top: 1px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 36px 40px; border-radius: var(--radius); background: var(--forest); color: #fff; }
.cta-band h2 { font: 600 24px var(--font-head); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }
.center-page { min-height: 60vh; display: flex; align-items: center; padding: 64px 0; text-align: center; }
.center-page .section-lead { margin: 0 auto 28px; }
.center-page p:last-child { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.big-404 { font: 600 120px/1 var(--font-head); color: var(--accent); margin: 0; letter-spacing: -.05em; }

/* ---------- путеводитель ---------- */
.art-card { border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.art-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.art-link:hover { color: inherit; }
.art-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.art-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.art-card:hover .art-media img { transform: scale(1.04); }
.art-place { position: absolute; left: 14px; bottom: 14px; }
.art-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.art-title { font-size: 20px; font-weight: 800; line-height: 1.25; }
.art-excerpt { margin: 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-body .arrow-link { margin-top: auto; }
.section-articles { padding-top: 0; }
.art-head { padding-top: 28px; }
.art-meta { color: var(--muted); font-size: 14px; }
.art-cover { margin: 8px auto 40px; max-width: 1100px; }
.art-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.art-body-text { font-size: 18px; line-height: 1.75; padding-bottom: 24px; }
.art-body-text h2 { margin-top: 44px; }
.art-body-text h3 { margin-top: 32px; }
.art-body-text p { margin-bottom: 1.1em; }
.art-fig { margin: 32px 0; }
.art-fig a { display: block; cursor: zoom-in; }
.art-fig img { width: 100%; border-radius: var(--radius-sm); }
.art-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.art-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin: 24px 0 48px; padding: 32px; border-radius: var(--radius); background: var(--forest); color: #fff; }
.art-cta h2 { font: 600 24px/1.2 var(--font-head); margin-bottom: 8px; }
.art-cta p { color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.art-cta-btns { display: grid; gap: 10px; }
.art-dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.art-dates a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); text-decoration: none; font-size: 14px; font-weight: 600; }
.art-dates a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.art-dates span:last-child { color: var(--gold); white-space: nowrap; }

/* ---------- отзывы ---------- */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.reviews-row .review-card { scroll-snap-align: start; }
.reviews-list { display: grid; gap: 16px; }
.reviews-page { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
.reviews-page > aside { position: sticky; top: calc(var(--header-h) + 16px); }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.stars { display: flex; gap: 2px; font-size: 18px; line-height: 1; color: var(--line); }
.stars .on { color: #e3a33b; }
.review-text { margin: 0; color: var(--ink-2); font-size: 16px; }
.review-text p:last-child { margin: 0; }
.reviews-row .review-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-photo { display: block; width: 120px; border-radius: 10px; overflow: hidden; }
.review-photo img { aspect-ratio: 1; object-fit: cover; }
.review-author { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.35; }
.review-author small { color: var(--muted); font-size: 13px; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.review-answer { font-size: 14px; color: var(--ink-2); padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 10px 10px 0; }
.muted-count { font: 600 16px var(--font); color: var(--muted); vertical-align: middle; }
.rating-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input legend { font-size: 14px; font-weight: 700; margin-bottom: 4px; width: 100%; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 34px; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s, transform .15s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #e3a33b; }
.rating-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
.select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }

/* ---------- подвал ---------- */
.site-footer { background: #0f1a14; color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; --logo-cut: #0f1a14; }
.footer-brand p { max-width: 340px; }
.footer-h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .45); margin-bottom: 14px; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .site-footer a:hover { color: #fff; }
.footer-phone { display: block; font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; margin-bottom: 8px; }
.footer-contacts p { margin: 0 0 4px; }
.footer-contacts .socials { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .45); }
.mobile-bar { display: none; }

/* ==========================================================
   Адаптив
   ========================================================== */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .main-nav a { padding: 8px 10px; }
  .header-row { gap: 16px; }
  .detail-grid, .detail-content { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header-cta, .header-phone { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .is-overlay .main-nav a[aria-current] { background: var(--ink); color: #fff; }
  .nav-phone-mobile { display: block; margin-top: 8px; background: var(--accent); color: #fff !important; text-align: center; font-weight: 800 !important; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-next { grid-column: 1; grid-row: auto; width: 100%; max-width: 420px; margin-top: 8px; }
  .detail-grid, .detail-content { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .detail-content { padding-top: 32px; gap: 32px; }
  .faq-wrap, .contact-wrap, .contact-page, .reviews-page { grid-template-columns: 1fr; gap: 28px; }
  .reviews-page > aside { position: static; }
  .art-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .g-item.is-wide { grid-column: span 2; }
  .g-item figcaption { display: none; }
  .hero { min-height: min(92svh, 760px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .mobile-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 252, 247, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border: 0; background: transparent; border-radius: 12px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--ink); }
  .mobile-bar .ic { width: 22px; height: 22px; }
  .mobile-bar .is-accent { background: var(--accent); color: #fff; }
  body:has(.sticky-book) .mobile-bar { display: none; }
  .sticky-book { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 252, 247, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book div { display: grid; line-height: 1.25; }
  .sticky-book strong { font-size: 18px; }
  .sticky-book span { font-size: 13px; color: var(--muted); }
  .timeline li { grid-template-columns: 56px 1fr; gap: 10px; }
  .timeline li::before { left: 62px; }
  .timeline li::after { left: 67px; }
  .tl-text { padding-left: 24px; }
  .modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 94dvh; }
  .modal-box { border-radius: 22px 22px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); }
  .lightbox { padding: 56px 8px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .reviews-row { grid-auto-columns: 86%; }
  .art-body-text { font-size: 17px; }
  .art-cta { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
