/* ============ листва. — осенние туры ============ */
:root {
  --bg: #F1F0F0;
  --ink: #121212;
  --muted: #6B6B6B;       /* текст: контраст 4.6:1 на светлом фоне */
  --muted-soft: #8B8B8B;  /* только декоративные элементы */
  --card: #FFFFFF;
  --line: rgba(18, 18, 18, .1);
  --line-strong: rgba(18, 18, 18, .22);
  --leaf: #B5562B;
  --glass: rgba(255, 255, 255, .55);
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --pad: clamp(16px, 3.2vw, 44px);
  --max: 1440px;
  --f-head: "Onest", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
p { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }

/* Фокус с клавиатуры */
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.board :focus-visible, .footer :focus-visible, .thero :focus-visible,
.contact__info :focus-visible, .rsum__big :focus-visible, .mnav :focus-visible { outline-color: #fff; }

/* Переход к содержимому */
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.eyebrow--leaf::before { background: var(--leaf); }
.h-display { font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; }
.h-1 { font-size: clamp(38px, 5vw, 72px); }
.h-2 { font-size: clamp(30px, 3.6vw, 52px); }
.h-3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: #3b3b3b; max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.dots { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-weight: 500; }
.dots span { display: inline-flex; align-items: center; gap: 18px; }
.dots span + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.sec-head > div:first-child { display: grid; gap: 18px; max-width: 760px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:hover { color: #fff; }

/* Точка разрастается и заливает кнопку, текст уезжает, из-за края приходит второй со стрелкой */
.btn__dot {
  position: absolute; left: 14px; top: 50%; width: 9px; height: 9px;
  border-radius: 999px; background: var(--ink); z-index: -1;
  transform: translateY(-50%);
  transition: all .45s var(--ease);
}
.btn--sm .btn__dot { left: 10px; width: 8px; height: 8px; }
.btn:hover .btn__dot, .btn:focus-visible .btn__dot {
  left: -10%; top: -10%; width: 120%; height: 120%; border-radius: 0;
  transform: translateY(0) scale(1.4);
}
.btn__label { display: inline-flex; align-items: center; gap: 8px; transition: transform .38s var(--ease), opacity .28s var(--ease); }
.btn__label--hover { position: absolute; inset: 0; justify-content: center; transform: translateX(44px); opacity: 0; }
.btn:hover .btn__label--base, .btn:focus-visible .btn__label--base { transform: translateX(44px); opacity: 0; }
.btn:hover .btn__label--hover, .btn:focus-visible .btn__label--hover { transform: none; opacity: 1; }
.btn__arrow { width: 17px; height: 17px; flex: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .btn__dot { background: var(--leaf); }   /* тёмная кнопка наливается терракотой */
.btn--dark:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light .btn__dot { background: #fff; }
.btn--light:hover { background: transparent; color: var(--ink); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn:active { transform: scale(.98); }

.arrow-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.arrow-btn svg { width: 16px; height: 16px; }
a:hover > .arrow-btn, .card:hover .arrow-btn, .arrow-btn:hover { transform: rotate(45deg); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.pill { position: relative; overflow: hidden; isolation: isolate; }
.pill::before {
  content: ""; position: absolute; left: 18%; top: 38%; width: 8px; height: 8px;
  border-radius: 999px; background: var(--ink); transform: scale(0); z-index: -1;
  transition: all .38s var(--ease);
}
.pill:hover::before, .pill:focus-visible::before {
  left: -10%; top: -10%; width: 120%; height: 120%; border-radius: 0; transform: scale(1.3);
}
.pill:hover, .pill:focus-visible { color: #fff; border-color: var(--ink); }
.pill.is-active::before { display: none; }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--white { background: #fff; border-color: transparent; }
.pill--white.is-active { background: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 600;
}
.tag--glass { background: rgba(255,255,255,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Шапка ---------- */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.header--solid { position: sticky; background: rgba(241,240,240,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.header--solid .header__in { height: 80px; }
.logo { font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: -.04em; }
.logo i { font-style: normal; color: var(--leaf); }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.mnav {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  padding: 24px var(--pad); display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease), visibility .5s;
  visibility: hidden; /* чтобы скрытое меню не ловило фокус с клавиатуры */
}
.mnav.is-open { transform: none; visibility: visible; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mnav__close { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #fff; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.mnav nav { display: grid; gap: 6px; margin-top: 48px; }
.mnav nav a { font-family: var(--f-head); font-size: 44px; font-weight: 600; letter-spacing: -.03em; }
.mnav .btn { margin-top: auto; }

/* ---------- Падающие листья ---------- */
.leaf-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.phero { position: relative; }
/* текст всегда поверх листьев */
.hero__bottom, .phero__in { z-index: 2; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(760px, 100svh); overflow: hidden; display: flex; flex-direction: column; }
.hero__word {
  position: absolute; left: 50%; top: 88px; transform: translateX(-50%);
  font-family: var(--f-head); font-weight: 700; font-size: clamp(160px, 31vw, 520px);
  letter-spacing: -.07em; line-height: .8; color: #fff; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.hero__img {
  position: absolute; left: 50%; top: clamp(110px, 12vw, 150px);
  width: min(118vw, 1900px); transform: translateX(-50%);
  filter: drop-shadow(0 40px 40px rgba(60, 30, 10, .12));
  will-change: transform;
}
.hero__bottom {
  position: relative; margin-top: auto; padding-bottom: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.5fr .75fr auto; gap: 32px; align-items: end;
}
.hero__title { display: grid; gap: 24px; justify-items: start; }
.hero__title h1 { font-size: clamp(38px, 4.3vw, 72px); }
.hero__text { font-size: 15px; max-width: 42ch; color: #3b3b3b; padding-bottom: 8px; }
.hero__stats { display: flex; gap: 14px; }

.stat {
  width: clamp(170px, 13vw, 210px); aspect-ratio: 1.12; background: var(--card);
  border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.stat__num { font-family: var(--f-head); font-weight: 600; font-size: clamp(34px, 2.8vw, 44px); letter-spacing: -.04em; line-height: 1; }
.stat__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.stat__foot p { font-size: 12px; line-height: 1.3; color: #444; }

/* ---------- Сезон (табы по месяцам) ---------- */
.season { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.season__side { display: flex; flex-direction: column; gap: 28px; }
.season__panel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.mcard {
  background: var(--card); border-radius: var(--r-lg); padding: 14px 14px 20px;
  display: flex; flex-direction: column; gap: 14px;
  animation: fadeIn .5s var(--ease) both;
}
.mcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.mcard h4 { font-size: 19px; letter-spacing: -.02em; }
.mcard p { font-size: 13px; color: #555; line-height: 1.45; }
.mcard:nth-child(2) { animation-delay: .06s; } .mcard:nth-child(3) { animation-delay: .12s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Карточки туров ---------- */
.grid-tours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-tours--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(18,18,18,.22); }
.card__media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 4.4; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__country { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 21px; letter-spacing: -.02em; line-height: 1.12; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: #555; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: grid; line-height: 1.15; }
.price b { font-family: var(--f-head); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.price small { font-size: 12px; color: var(--muted); }

/* ---------- Что входит (science-block) ---------- */
.incl {
  position: relative; background: var(--card); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px); overflow: hidden; min-height: 1000px;
}
.incl__head { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.incl__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-head); font-weight: 700; font-size: clamp(120px, 20vw, 310px);
  letter-spacing: -.06em; line-height: 1; white-space: nowrap; color: var(--ink);
  pointer-events: none; user-select: none;
}
.incl__stage { position: absolute; inset: 0; }
.incl__ball {
  position: absolute; left: 50%; top: 50%; width: min(44%, 540px); transform: translate(-50%, -50%);
  z-index: 2; filter: drop-shadow(0 50px 50px rgba(80, 40, 10, .22));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 14px)); } }
.incl__scan {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 150px; height: 120px; display: grid; place-items: center; text-align: center;
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.incl__scan::before, .incl__scan::after {
  content: ""; position: absolute; inset: 0; border: 2.5px solid #fff; border-radius: 16px;
  -webkit-mask: linear-gradient(#000 0 0) top/100% 26px no-repeat, linear-gradient(#000 0 0) bottom/100% 26px no-repeat;
  mask: linear-gradient(#000 0 0) top/100% 26px no-repeat, linear-gradient(#000 0 0) bottom/100% 26px no-repeat;
}
.incl__scan::after {
  -webkit-mask: linear-gradient(#000 0 0) left/26px 100% no-repeat, linear-gradient(#000 0 0) right/26px 100% no-repeat;
  mask: linear-gradient(#000 0 0) left/26px 100% no-repeat, linear-gradient(#000 0 0) right/26px 100% no-repeat;
  opacity: 0;
}
.glass {
  position: absolute; z-index: 4; width: 132px; min-height: 124px; padding: 16px 12px;
  background: var(--glass); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 18px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25;
  transition: transform .35s var(--ease);
}
.glass:hover { transform: translateY(-4px); }
.glass svg { width: 22px; height: 22px; stroke-width: 1.5; }
.glass hr { width: 100%; border: 0; border-top: 1px solid rgba(18,18,18,.12); margin: 0; }
.glass span { font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 11.5px; color: #444; }
.glass--lg { width: 150px; font-size: 14px; }
.incl__foot { position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px); bottom: clamp(28px, 4vw, 48px); z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Сегменты ---------- */
.seg { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; }
.seg__visual { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; background: var(--ink); }
.seg__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .5s; }
.seg__visual-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; color: #fff; display: grid; gap: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.seg__panel { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.seg__list { display: grid; gap: 0; }
.seg__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.seg__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.seg__item h4 { font-size: 18px; letter-spacing: -.02em; }
.seg__item p { font-size: 13px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.grid-rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.rev__stars { display: flex; gap: 3px; color: var(--ink); }
.rev__stars svg { width: 15px; height: 15px; }
.rev__stars .off { opacity: .18; }
.rev__text { font-size: 15.5px; line-height: 1.6; color: #2a2a2a; }
.rev__who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.rev__who b { display: block; font-size: 15px; }
.rev__who small { font-size: 12.5px; color: var(--muted); }

/* ---------- Billboard CTA ---------- */
.board {
  position: relative; background: var(--ink); color: #fff; border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 520px;
}
.board__txt { position: relative; z-index: 2; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.board__txt .dots { color: #d8d8d8; }
.board__img { position: relative; pointer-events: none; } /* картинка не должна перехватывать клики по кнопкам */
.board__img img { position: absolute; right: -4%; bottom: -2%; width: 112%; max-width: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.board::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 75% 70%, rgba(181, 86, 43, .35), transparent 70%); }
.board__contacts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (внутренние) ---------- */
.phero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.phero__word { position: absolute; right: -2vw; top: -2vw; font-family: var(--f-head); font-weight: 700; font-size: clamp(120px, 22vw, 360px); letter-spacing: -.07em; line-height: .8; color: #fff; pointer-events: none; user-select: none; }
.phero__in { position: relative; display: grid; gap: 24px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Каталог ---------- */
.filters { background: var(--card); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 18px; margin-bottom: 20px; }
.filters__row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.filters__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.range { display: flex; align-items: center; gap: 16px; }
.range input { width: min(320px, 50vw); accent-color: var(--ink); }
.range output { font-family: var(--f-head); font-weight: 600; min-width: 130px; }
.select { height: 42px; padding: 0 40px 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121212' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.found { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.empty { background: var(--card); border-radius: var(--r-lg); padding: 56px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* ---------- Страница тура ---------- */
.thero { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 620px; color: #fff; display: flex; align-items: flex-end; }
.thero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.65)); }
.thero__in { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px); display: grid; gap: 20px; width: 100%; }
.thero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.fact { background: var(--card); border-radius: var(--r-md); padding: 20px; display: grid; gap: 6px; }
.fact small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact b { font-family: var(--f-head); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tlayout { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.box { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); }
.box + .box { margin-top: 16px; }
.box h3 { margin-bottom: 22px; }
.hl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hl li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; background: var(--bg); border-radius: 16px; padding: 16px; }
.hl li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--leaf); }
ul.hl { padding: 0; margin: 0; }
.acc { border-top: 1px solid var(--line); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 72px 1fr 32px; gap: 12px; align-items: center; text-align: left; background: none; border: 0; padding: 20px 0; cursor: pointer; }
.acc__day { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acc__title { font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.acc__ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.acc.is-open .acc__ico { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding: 0 0 22px 84px; color: #444; font-size: 15px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inc > div { background: var(--bg); border-radius: 20px; padding: 22px; }
.inc h4 { font-size: 16px; margin-bottom: 14px; letter-spacing: -.01em; }
.inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.inc li { display: flex; gap: 10px; }
.inc .yes li::before { content: "✓"; font-weight: 700; }
.inc .no li::before { content: "—"; color: var(--muted); }
.hotels { display: grid; gap: 10px; }
.hotel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg); border-radius: 16px; }
.hotel b { font-family: var(--f-head); font-weight: 600; }
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: 460px; }
.thero .eyebrow::before { background: #fff; }
.gal img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r-md); }
.gal img:first-child { grid-row: span 2; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.pack { display: grid; gap: 10px; }
.pack label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s; }
.pack label:has(input:checked) { border-color: var(--ink); }
.pack input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.pack b { font-family: var(--f-head); font-weight: 600; font-size: 16px; display: block; }
.pack small { color: var(--muted); font-size: 12.5px; display: block; line-height: 1.35; }
.pack .p { text-align: right; font-family: var(--f-head); font-weight: 600; font-size: 16px; white-space: nowrap; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.total b { font-family: var(--f-head); font-size: 28px; letter-spacing: -.03em; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 18px; border-radius: 14px; border: 1.5px solid transparent;
  background: var(--bg); outline: none; transition: border-color .2s, background .2s; font-size: 15px;
}
.field textarea { height: 110px; padding: 14px 18px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field.is-error input, .field.is-error select { border-color: #c0392b; }
.field .err { font-size: 12px; color: #c0392b; display: none; }
.field.is-error .err { display: block; }
.form__ok { display: none; background: var(--ink); color: #fff; border-radius: 18px; padding: 22px; gap: 6px; }
.form.is-sent .form__ok { display: grid; }
.form.is-sent > :not(.form__ok) { display: none; }
.check { display: flex; gap: 10px; font-size: 13px; color: #555; align-items: flex-start; }
.check input { accent-color: var(--ink); margin-top: 3px; }

/* ---------- Отзывы (страница) ---------- */
.rsum { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-bottom: 16px; }
.rsum__big { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.rsum__big .n { font-family: var(--f-head); font-weight: 700; font-size: clamp(64px, 8vw, 120px); letter-spacing: -.05em; line-height: .9; }
.rsum__big .rev__stars { color: #fff; }
.bars { background: var(--card); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 12px; align-content: center; }
.bar { display: grid; grid-template-columns: 70px 1fr 40px; gap: 14px; align-items: center; font-size: 14px; }
.bar i { display: block; height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: inherit; }
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry .rev { break-inside: avoid; margin-bottom: 16px; }
.rev__tour { font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.rev__tour::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

/* ---------- О нас ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__img { background: var(--card); border-radius: var(--r-xl); display: grid; place-items: center; padding: 40px; min-height: 520px; position: relative; overflow: hidden; }
.about__img img { position: relative; width: 92%; filter: drop-shadow(0 30px 30px rgba(80,40,10,.2)); }
.about__img .big { position: absolute; top: 20px; left: 28px; font-family: var(--f-head); font-size: clamp(90px, 11vw, 170px); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--bg); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 40px; }
.num b { font-family: var(--f-head); font-weight: 600; font-size: clamp(40px, 4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.num p { font-size: 14px; color: #555; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: var(--card); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 14px; align-content: start; }
.value .idx { font-family: var(--f-head); font-weight: 600; color: var(--leaf); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { background: var(--card); border-radius: var(--r-lg); padding: 12px 12px 22px; display: grid; gap: 14px; }
.person__ph { aspect-ratio: 1; border-radius: var(--r-md); background: var(--bg); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 64px; letter-spacing: -.04em; color: #cfcdcd; }
.person b { font-family: var(--f-head); font-weight: 600; font-size: 18px; padding: 0 8px; }
.person small { font-size: 13px; color: var(--muted); padding: 0 8px; margin-top: -10px; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.contact__info { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 32px; }
.office { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.office b { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.office span { color: #bdbdbd; font-size: 15px; }

/* ---------- Футер ---------- */
.footer { background: var(--ink); color: #fff; margin-top: clamp(72px, 10vw, 140px); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: clamp(48px, 6vw, 80px) 0 48px; }
.footer h5 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8b8b8b; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: #d9a07f; }
.footer__sub { display: flex; margin-top: 22px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px; max-width: 380px; }
.footer__sub input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 0 16px; }
.footer__sub input::placeholder { color: #8b8b8b; }
.footer__word { font-family: var(--f-head); font-weight: 700; font-size: clamp(90px, 23vw, 380px); letter-spacing: -.07em; line-height: .78; color: #1d1d1d; white-space: nowrap; margin-bottom: -.04em; text-align: center; user-select: none; }
.footer__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8b8b8b; }

/* ---------- Отклик ячеек на курсор ---------- */
.mcard, .stat, .seg__item, .hotel, .fact, .num, .value, .person, .rev, .pack label, .hl li, .office {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
}
.mcard:hover, .stat:hover, .person:hover, .num:hover, .value:hover, .fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(18, 18, 18, .3);
}
.rev:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(18, 18, 18, .26); }
.seg__item:hover, .hotel:hover, .hl li:hover, .pack label:hover { background-color: rgba(18, 18, 18, .055); }
.acc__btn:hover .acc__title { color: var(--leaf); }
.acc__btn:hover .acc__ico { background: var(--ink); color: #fff; border-color: var(--ink); }
.person:hover .person__ph { color: var(--leaf); }
.num:hover b, .value:hover .idx { color: var(--leaf); }
.mcard:hover h4, .seg__item:hover h4 { color: var(--leaf); }
.contact__info .office:hover { background-color: rgba(255, 255, 255, .06); border-radius: 16px; }
.footer ul a, .crumbs a { transition: color .25s var(--ease); }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  .grid-tours { grid-template-columns: repeat(2, 1fr); }
  .hero__bottom { grid-template-columns: 1fr 1fr; }
  .hero__text { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .tlayout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .glass { width: 116px; min-height: 110px; font-size: 11px; }
  .team, .nums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header .btn--head { display: none; }
  .burger { display: grid; }
  .season, .seg, .board, .about, .contact, .rsum { grid-template-columns: 1fr; }
  .board__img { min-height: 320px; }
  .board__img img { width: 90%; right: 5%; }
  .grid-rev { grid-template-columns: 1fr; }
  .grid-tours--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  /* science-block на мобильном: шар + сетка бейджей */
  .incl { min-height: 0; }
  .incl__stage { position: relative; height: 360px; margin: 8px -12px 0; }
  .incl__word { font-size: 34vw; top: 50%; }
  .incl__ball { width: min(78%, 380px); top: 50%; }
  .incl__scan { top: 50%; }
  .incl__stage .glass { display: none; }
  .incl__grid { display: grid !important; }
  .incl__foot { position: static; margin-top: 20px; }
}
@media (max-width: 720px) {
  .header__in { height: 76px; }
  .pill { height: 44px; }          /* минимальная цель для пальца */
  .nav a, .footer ul a { padding: 10px 0; }
  .hero { min-height: 0; }
  .hero__word { top: 110px; font-size: 44vw; }
  .hero__img { position: relative; top: auto; left: 50%; width: 190vw; margin-top: 130px; }
  .hero__bottom { grid-template-columns: 1fr; margin-top: 8px; gap: 24px; }
  .hero__stats { gap: 10px; }
  .stat { width: auto; flex: 1; aspect-ratio: auto; min-height: 150px; }
  .season__panel { grid-template-columns: 1fr; }
  .mcard { flex-direction: row; align-items: center; padding: 10px; }
  .mcard img { width: 96px; flex: none; }
  .grid-tours, .grid-tours--3 { grid-template-columns: 1fr; }
  .seg__visual { min-height: 380px; }
  .seg__item { grid-template-columns: 56px 1fr; }
  .seg__item img { width: 56px; height: 56px; }
  .seg__item .arrow-btn { display: none; }
  .filters__row { grid-template-columns: 1fr; gap: 10px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scrollbar-width: none; }
  .filters .pills { margin: 0 -22px; padding: 0 22px; }
  .pills::-webkit-scrollbar { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .thero { min-height: 480px; }
  .hl, .inc, .form .row2 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; height: auto; }
  .gal img:first-child { grid-column: span 2; grid-row: auto; }
  .acc__btn { grid-template-columns: 56px 1fr 32px; }
  .acc__body p { padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .team, .nums { grid-template-columns: 1fr 1fr; gap: 10px; }
  .num { padding: 20px; gap: 24px; }
  .range { flex-wrap: wrap; }
  .range input { width: 100%; }
  .incl__grid { grid-template-columns: 1fr 1fr !important; }
}
.incl__grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; position: relative; z-index: 3; }
.incl__grid .glass { position: static; width: auto; min-height: 0; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
