/* Trendy Tour — design system
   Brand colours come from the logo: deep green, warm cream, gold gradient. */
:root {
  --green-950: #071d14;
  --green-900: #0c2b1f;
  --green-800: #123a2a;
  --green: #1a553c;
  --green-300: #8fb3a1;
  --cream: #e4dfdb;
  --cream-100: #f6f3ef;
  --cream-50: #fbf9f6;
  --white: #fff;
  --ink: #0f1f18;
  --ink-2: #51605a;
  --ink-3: #8a958f;
  --line: rgba(15, 31, 24, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold-1: #b49878;
  --gold-2: #cdac8e;
  --gold: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  --danger: #b4412f;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 10px 40px -12px rgba(7, 29, 20, 0.25);
  --glass: rgba(10, 32, 23, 0.42);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --logo-balloon: var(--cream);
  --logo-text: var(--cream);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  /* neverend.ru uses TT Hoves (commercial). Onest is the closest free match; if you license TT Hoves,
     add its @font-face rules here and it takes over automatically. */
  font-family: 'TT Hoves', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.no-scroll { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--light { background: var(--cream-50); color: var(--ink); }
.btn--light:hover { background: var(--white); box-shadow: 0 6px 24px -8px rgba(0,0,0,.35); }
.btn--dark { background: var(--green-900); color: var(--cream-50); }
.btn--dark:hover { background: var(--green); }
.btn--gold { background: var(--gold); color: var(--green-950); }
.btn--gold:hover { box-shadow: 0 8px 26px -8px rgba(180, 152, 120, .8); }
.btn--ghost { border: 1px solid var(--line); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--ghost-dark { border: 1px solid var(--line-dark); color: var(--cream-50); background: rgba(255,255,255,.04); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.1); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .chev { transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2);
}
.eyebrow::before {
  content: ''; width: 18px; height: 18px; flex: none;
  background: var(--gold);
  -webkit-mask: url('../assets/icons/balloon.svg') center / contain no-repeat;
  mask: url('../assets/icons/balloon.svg') center / contain no-repeat;
}
.on-dark .eyebrow, .eyebrow--light { color: rgba(246, 243, 239, .7); }

.h-xl { font-size: clamp(40px, 6.4vw, 92px); }
.h-lg { font-size: clamp(34px, 4.6vw, 64px); }
.h-md { font-size: clamp(26px, 2.8vw, 40px); }
.muted { color: var(--ink-2); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header (floating, neverend-style) ----------
   .header--on-dark  → over photos / dark sections: glass pills, cream logo, cream button
   .header--on-light → over cream sections: green-grey pills, green logo, dark green button */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header::before {
  content: ''; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .35s, background .35s;
}
.header--on-light::before { opacity: 1; background: linear-gradient(180deg, var(--cream-100) 62%, rgba(246,243,239,0)); }
.header--scrolled.header--on-dark::before { opacity: 1; background: linear-gradient(180deg, rgba(7,29,20,.92) 55%, rgba(7,29,20,0)); }
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--cream-50);
}
.header .glass { transition: background-color .35s, border-color .35s, color .35s; }
.header__left { display: flex; align-items: center; gap: 8px; justify-self: start; }
.header__menu { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.header__menu svg { width: 20px; height: 20px; }
.header__contacts { display: flex; align-items: center; height: 48px; padding: 0 6px 0 16px; border-radius: 14px; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  transition: background-color .2s;
}
.icon-btn:hover, .header__menu:hover { background-color: rgba(255,255,255,.14); }
.icon-btn svg { width: 20px; height: 20px; }
.header__phone { padding-right: 6px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.header__social { display: flex; gap: 0; }
.header__social .icon-btn { width: 34px; height: 34px; }
.header__social svg { width: 18px; height: 18px; }
.header__logo { position: relative; display: block; width: clamp(150px, 14vw, 200px); aspect-ratio: 210 / 76; }
.header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.header__logo .logo-dark { opacity: 0; }
.header__right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; height: 48px; align-items: center; padding: 0 5px; border-radius: 14px; gap: 2px; }
.lang button {
  height: 36px; min-width: 38px; padding: 0 8px; border-radius: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7;
  transition: background-color .2s, opacity .2s;
}
.lang button:hover { opacity: 1; }
.lang button[aria-pressed='true'] { background: rgba(255,255,255,.18); opacity: 1; }
.header__cta { min-height: 48px; border-radius: 14px; transition: background-color .35s, color .35s, box-shadow .25s; }

.header--on-light .glass { background: rgba(31, 61, 48, .62); border-color: transparent; }
.header--on-light .header__logo .logo-light { opacity: 0; }
.header--on-light .header__logo .logo-dark { opacity: 1; }
.header--on-light .header__cta { background: var(--green-900); color: var(--cream-50); }
.header--on-light .header__cta:hover { background: var(--green); }

/* ---------- Menu (neverend-style drop-down panel) ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(7,29,20,.55); opacity: 0; transition: opacity .4s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu.is-open .menu__backdrop { opacity: 1; }
.menu__panel {
  position: absolute; top: 12px; left: 12px; right: 12px; max-height: calc(100svh - 24px);
  background: var(--cream-50); color: var(--ink); border-radius: 28px; overflow: auto;
  padding: 4px clamp(16px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px);
  display: grid; grid-template-rows: auto 1fr; box-shadow: 0 40px 100px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-24px) scale(.985); transform-origin: top center;
  transition: opacity .35s, transform .5s var(--ease);
}
.menu.is-open .menu__panel { opacity: 1; transform: none; }
.menu__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 0 20px; }
.menu__bar-left { display: flex; gap: 8px; align-items: center; }
.menu__close { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-900); color: var(--cream-50); transition: background-color .2s; }
.menu__close:hover { background: var(--green); }
.menu__close svg { width: 18px; height: 18px; }
.menu__pill { display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 6px 0 16px; border-radius: 14px; background: var(--cream-100); font-weight: 500; font-size: 15px; }
.menu__pill .icon-btn:hover { background: rgba(15,31,24,.06); }
.menu__pill .icon-btn { width: 34px; height: 34px; }
.menu__pill .icon-btn svg { width: 18px; height: 18px; }
.menu__logo { width: clamp(150px, 14vw, 200px); justify-self: center; }
.menu__bar-right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.menu__lang { display: flex; gap: 2px; padding: 5px; border-radius: 14px; background: var(--cream-100); }
.menu__lang button { height: 38px; min-width: 40px; border-radius: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.menu__lang button[aria-pressed='true'] { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.menu__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 48px); min-height: 0; }
.menu__left { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 24px; padding: 8px 0 4px; }
.menu__label { font-size: 17px; color: var(--ink-3); margin-bottom: 14px; }
.menu__groups { grid-column: 1; display: grid; gap: 6px; align-content: start; }
.menu__group {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 4px 0;
  font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink-3); transition: color .25s;
}
.menu__group svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); }
.menu__group.is-active, .menu__group:hover, .menu__group:focus-visible { color: var(--ink); }
.menu__group.is-active svg { transform: translateX(4px); }
.menu__sub { grid-column: 2; grid-row: 1 / span 2; padding-top: 40px; }
.menu__sublist { display: none; flex-direction: column; gap: 4px; animation: menu-sub .35s var(--ease); }
.menu__sublist.is-active { display: flex; }
.menu__sublist a, .menu__sublist button { font-size: 19px; padding: 4px 0; text-align: left; color: var(--ink); transition: color .2s, transform .25s var(--ease); }
.menu__sublist a:hover, .menu__sublist button:hover { color: var(--green); transform: translateX(4px); }
.menu__sublist .menu__more { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--green); }
@keyframes menu-sub { from { opacity: 0; transform: translateX(-8px); } }
.menu__nav { grid-column: 1; margin-top: 36px; }
.menu__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu__nav a { font-size: 19px; transition: color .2s; }
.menu__nav a:hover { color: var(--green); }
.menu__foot { grid-column: 1 / -1; margin-top: 40px; display: grid; gap: 18px; }
.menu__contacts { display: grid; gap: 6px; font-size: 20px; }
.menu__contacts a:hover { color: var(--green); }
.menu__socials { display: flex; gap: 10px; }
.menu__socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-100); transition: background-color .2s, transform .2s; }
.menu__socials a:hover { background: var(--cream); transform: translateY(-2px); }
.menu__socials svg { width: 20px; height: 20px; }

.menu__trips { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, 1fr); gap: 8px; }
.mtrip { position: relative; display: block; border-radius: 20px; overflow: hidden; isolation: isolate; color: var(--cream-50); min-height: 200px; }
.mtrip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mtrip:hover img { transform: scale(1.06); }
.mtrip.is-past img { filter: grayscale(.8) brightness(.8); }
.mtrip .badge { position: absolute; top: 12px; right: 12px; }
.mtrip__info {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(7,29,20,.42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.mtrip__info b { display: block; font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.mtrip__info small { font-size: 13px; color: rgba(246,243,239,.75); }
.mtrip__price { font-size: 14px; font-weight: 500; white-space: nowrap; }

@media (max-width: 1100px) {
  .menu__body { grid-template-columns: 1fr; }
  .menu__trips { grid-template-columns: repeat(4, minmax(220px, 1fr)); grid-auto-rows: 240px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mtrip { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .menu__panel { inset: 0; top: 0; left: 0; right: 0; max-height: none; height: 100svh; border-radius: 0; }
  .menu__bar { grid-template-columns: auto 1fr auto; }
  .menu__pill, .menu__bar-right .btn { display: none; }
  .menu__logo { width: 130px; }
  .menu__left { grid-template-columns: 1fr; }
  .menu__sub { display: none; }
  .menu__group svg { display: none; }
  .menu__group { color: var(--ink); font-size: 30px; }
  .menu__trips { grid-template-columns: repeat(4, 78%); grid-auto-rows: 220px; margin: 0 -16px; padding: 0 16px; scroll-padding: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--cream-50);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 24px; overflow: hidden; isolation: isolate;
  background: var(--green-950);
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--green-950) url("../assets/videos/hero-poster.jpg") center / cover; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,29,20,.55) 0%, rgba(7,29,20,0) 24%),
    linear-gradient(0deg, rgba(7,29,20,.92) 6%, rgba(7,29,20,.35) 48%, rgba(7,29,20,.1) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 32px; align-items: end; }
.hero h1 { max-width: 14ch; font-size: clamp(40px, 6vw, 86px); }
.hero h1 span { display: block; }
.hero h1 span + span { color: rgba(246,243,239,.62); }
.hero__lead { margin-top: 20px; max-width: 52ch; color: rgba(246,243,239,.82); font-size: clamp(16px, 1.3vw, 19px); }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.expert-card { border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; }
.expert-card__head { display: flex; gap: 12px; align-items: center; }
.expert-card__head img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top;
  background: var(--gold);
}
.expert-card__name { font-weight: 500; font-size: 17px; line-height: 1.2; }
.expert-card__role { font-size: 14px; color: rgba(246,243,239,.65); }
.expert-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.expert-card__stats div { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px; }
.expert-card__stats b { display: block; font-size: 22px; font-weight: 500; line-height: 1.1; }
.expert-card__stats span { font-size: 12px; color: rgba(246,243,239,.65); line-height: 1.2; display: block; }
.expert-card__link { font-size: 14px; color: rgba(246,243,239,.75); display: inline-flex; gap: 6px; align-items: center; }
.expert-card__link:hover { color: var(--white); }

.hero__strip {
  margin-top: 40px; display: grid; grid-template-columns: 262px repeat(4, minmax(0, 1fr)); gap: 8px;
  padding: 8px; border-radius: var(--r-lg);
}
.offer-tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 18px 16px 16px;
  display: flex; flex-direction: column; min-height: 176px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}
.offer-tile__title { font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; max-width: 12ch; position: relative; z-index: 1; }
.offer-tile__route { flex: 1; width: calc(100% + 16px); min-height: 56px; margin: 4px 0 10px -16px; overflow: visible; }
.offer-tile__path {
  stroke: rgba(246,243,239,.55); stroke-width: 1; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: route-draw 2.6s .6s var(--ease) forwards;
}
.offer-tile__end { fill: var(--gold-2); opacity: 0; animation: fade-in .4s 3s forwards; }
.offer-tile__pulse { fill: none; stroke: var(--gold-2); stroke-width: 1; opacity: 0; transform-origin: 162px 22px; animation: route-pulse 2.4s 3.2s ease-out infinite; }
.offer-tile__route text { fill: rgba(246,243,239,.6); font-size: 9.5px; letter-spacing: .04em; font-family: inherit; opacity: 0; animation: fade-in .6s 3.1s forwards; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes route-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.6); } }
.offer-tile__btn {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px;
  background: var(--cream-50); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .25s, box-shadow .25s;
}
.offer-tile__btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.offer-tile__btn:hover { background: var(--white); box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); }
.offer-tile__btn:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .offer-tile__path { stroke-dashoffset: 0; }
  .offer-tile__end, .offer-tile__route text { opacity: 1; }
}

/* ---------- Trip card ---------- */
.trip {
  position: relative; display: block; border-radius: var(--r); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; color: var(--cream-50); background: var(--green-800); text-align: left; width: 100%;
}
.trip--mini { aspect-ratio: auto; min-height: 168px; }
.trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.trip:hover img { transform: scale(1.06); }
.trip::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(7,29,20,.88) 0%, rgba(7,29,20,.15) 55%, rgba(7,29,20,.05) 100%);
}
.trip__body { position: absolute; inset: auto 0 0 0; padding: 16px; display: grid; gap: 4px; }
.trip__title { font-size: 20px; font-weight: 500; line-height: 1.15; }
.trip--mini .trip__title { font-size: 17px; }
.trip__meta { font-size: 14px; color: rgba(246,243,239,.75); }
.trip__price { margin-top: 6px; font-size: 15px; font-weight: 500; }
.trip__price b { font-weight: 600; font-size: 18px; }
.trip__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; font-weight: 500; background: rgba(7,29,20,.55); color: var(--cream-50);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge--gold { background: var(--gold); color: var(--green-950); }
.badge--muted { background: rgba(246,243,239,.88); color: var(--ink); }
.trip.is-past img { filter: grayscale(.85) brightness(.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(56px, 6vw, 96px) 0; }
.section--dark { background: var(--green-950); color: var(--cream-50); }
.section--white { background: var(--cream-50); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section__head h2 { margin-top: 14px; max-width: 18ch; }
.section__head p { max-width: 46ch; color: var(--ink-2); }
.section--dark .section__head p { color: rgba(246,243,239,.7); }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.format {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--cream-50);
  min-height: 460px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
}
.format img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.format:hover img { transform: scale(1.05); }
.format::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,29,20,.9) 8%, rgba(7,29,20,.1) 70%); }
.format__num { position: absolute; top: 20px; left: 24px; font-size: 14px; opacity: .8; }
.format h3 { font-size: clamp(26px, 2.4vw, 34px); }
.format p { color: rgba(246,243,239,.8); max-width: 36ch; }
.format .btn { align-self: flex-start; margin-top: 8px; }

/* Advantages 2x2 */
.adv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.adv__card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--cream-50);
  min-height: 380px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.adv__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.adv__card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,29,20,.88) 10%, rgba(7,29,20,.05) 75%); }
.adv__icon { position: absolute; top: 22px; left: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.adv__icon svg { width: 20px; height: 20px; }
.adv__card h3 { font-size: clamp(24px, 2.2vw, 32px); }
.adv__card p { color: rgba(246,243,239,.8); max-width: 44ch; }

/* Stats (sticky) */
.stats { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 80px); }
.stats__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.stats__inner { display: flex; gap: 28px; align-items: center; width: 100%; }
.stats__dots { display: grid; gap: 10px; }
.stats__dots i { display: block; width: 18px; height: 2px; background: rgba(246,243,239,.25); transition: width .4s var(--ease), background-color .4s; }
.stats__dots i.is-active { width: 34px; background: var(--gold-2); }
.stats__value { position: relative; min-height: 460px; flex: 1; min-width: 0; }
.stat { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.stat.is-active { opacity: 1; transform: none; }
.stat b { display: block; white-space: nowrap; letter-spacing: -.045em; font-size: clamp(64px, 9vw, 140px); font-weight: 500; line-height: .95; letter-spacing: -.03em; }
.stat { display: flex; flex-direction: column; justify-content: center; }
.stat__count { font-size: 14px; letter-spacing: .08em; color: var(--gold-2); margin-bottom: 18px; }
.stat h3 { margin-top: 22px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; max-width: 20ch; }
.stat p { margin-top: 14px; max-width: 44ch; color: rgba(246,243,239,.72); font-size: 17px; line-height: 1.6; }
.stats__media { display: grid; gap: 20vh; padding: 20vh 0; }
.stats__media figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; max-height: 80vh; }
.stats__media figcaption { position: absolute; left: 16px; bottom: 16px; }
.stats__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.stats__step.is-active img { transform: none; }
.stats__mobile-label { display: none; }

/* Catalog */
.catalog__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.tabs button { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--green-900); color: var(--cream-50); }
.grid-trips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* Lead CTA */
.cta {
  display: grid; justify-items: center; text-align: center; gap: 14px;
}
.cta h2 { max-width: 20ch; }
.cta > p { color: var(--ink-2); max-width: 52ch; }
.inline-form {
  margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px;
  width: min(760px, 100%); padding: 8px; border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.inline-form input { border: 0; background: var(--cream-100); }
.consent { font-size: 13px; color: var(--ink-3); max-width: 60ch; }
.consent a { text-decoration: underline; }

/* Fields */
.field { display: grid; gap: 6px; text-align: left; }
.field > span { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.input, .select, textarea.input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,85,60,.15); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180,65,47,.12); }
.select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2351605a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Client videos carousel */
.clients { overflow: hidden; }
.clients__aside { display: grid; gap: 20px; justify-items: start; max-width: 46ch; }
.clients__aside p { color: var(--ink-2); }
.clients__arrows { display: flex; gap: 8px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s, color .2s, opacity .2s, transform .2s;
}
.round-btn:hover { transform: scale(1.05); }
.round-btn:disabled { opacity: .3; pointer-events: none; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn--dark { background: var(--green-900); border-color: var(--green-900); color: var(--cream-50); }

.vrail {
  --pad: var(--gutter);
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 28px var(--pad) 32px; margin: -20px 0 -24px; scrollbar-width: none; outline: none; cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.vrail::-webkit-scrollbar { display: none; }
.vrail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vrail.is-dragging .vcard { pointer-events: none; }

.vcard {
  position: relative; flex: 0 0 clamp(240px, calc((100vw - 2 * var(--gutter) - 4 * 16px) / 5.4), 360px); aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate; scroll-snap-align: start;
  background: var(--green-800); color: var(--cream-50); cursor: pointer; text-align: left;
  transition: transform .5s var(--ease), filter .4s, box-shadow .5s var(--ease);
}
.vcard video, .vcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.vcard::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(7,29,20,.92) 0%, rgba(7,29,20,.45) 28%, rgba(7,29,20,0) 52%, rgba(7,29,20,0) 82%, rgba(7,29,20,.4) 100%);
}
@media (hover: hover) {
  .vrail:hover .vcard:not(:hover) { filter: brightness(.82) saturate(.9); }
  .vcard:hover { transform: scale(1.05); z-index: 2; box-shadow: 0 30px 60px -24px rgba(7,29,20,.6); }
  .vcard:hover video { transform: scale(1.04); }
  .vcard:hover .vcard__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.vcard__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 6px; }
.vcard__time { display: inline-flex; align-items: center; gap: 5px; }
.vcard__time svg { width: 10px; height: 10px; }
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(246,243,239,.92); color: var(--green-900);
  opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .35s, transform .45s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
}
.vcard__play svg { width: 24px; height: 24px; margin-left: 4px; }
.vcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; display: grid; gap: 6px; }
.vcard__body h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.15; }
.vcard__body p { font-size: 14px; color: rgba(246,243,239,.72); line-height: 1.4; }
.vcard__bar { position: absolute; left: 20px; right: 20px; bottom: 10px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.vcard__bar i { display: block; height: 100%; width: 0; background: var(--gold-2); }

.vcard--cta {
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px; cursor: default;
  background: radial-gradient(120% 70% at 50% 110%, var(--green) 0%, var(--green-900) 65%);
}
.vcard--cta::after { display: none; }
.vcard--cta img { width: 130px; height: auto; }
.vcard--cta h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.vcard--cta p { margin-top: 12px; color: rgba(246,243,239,.72); font-size: 15px; }
.vcard--cta .btn { width: 100%; }

.vrail__progress { margin-top: 28px; height: 2px; border-radius: 2px; background: rgba(15,31,24,.1); overflow: hidden; }
.vrail__progress i { display: block; height: 100%; width: 20%; border-radius: 2px; background: var(--green-900); transition: transform .15s linear; }

/* Stories viewer */
.stories { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4,14,10,.94); opacity: 0; transition: opacity .3s; }
.stories.is-open { opacity: 1; }
.stories__frame { position: relative; height: min(88svh, 860px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 20px; overflow: hidden; background: #000; }
.stories__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stories__frame::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 120px; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); pointer-events: none; }
.stories__frame::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); pointer-events: none; }
.stories__bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.stories__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.stories__bars i { display: block; height: 100%; width: 0; background: #fff; }
.stories__head { position: absolute; z-index: 3; top: 26px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; color: #fff; }
.stories__head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--gold); }
.stories__head b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.stories__head small { font-size: 12px; opacity: .75; }
.stories__head .spacer { flex: 1; }
.stories__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }
.stories__icon svg { width: 18px; height: 18px; }
.stories__caption { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 20px; color: #fff; }
.stories__caption h3 { font-size: 22px; letter-spacing: -.01em; }
.stories__caption p { margin-top: 4px; font-size: 14px; opacity: .8; }
.stories__tap { position: absolute; z-index: 2; top: 80px; bottom: 90px; width: 35%; }
.stories__tap--prev { left: 0; }
.stories__tap--next { right: 0; }
.stories__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.stories__nav--prev { left: max(16px, calc(50% - min(88svh, 860px) * 9 / 32 - 76px)); }
.stories__nav--next { right: max(16px, calc(50% - min(88svh, 860px) * 9 / 32 - 76px)); }
.stories__nav .round-btn { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
@media (max-width: 760px) {
  .clients__head { align-items: flex-start; }
  .clients__arrows { display: none; }
  .stories__frame { height: 100svh; border-radius: 0; width: 100vw; aspect-ratio: auto; }
  .stories__nav { display: none; }
}

/* Expert */
.expert { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; }
.expert__photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px;
  background: radial-gradient(120% 80% at 50% 100%, var(--green) 0%, var(--green-900) 70%);
  display: flex; align-items: flex-end; justify-content: center;
}
.expert__photo img { width: min(92%, 460px); height: auto; position: relative; z-index: 1; }
.expert__photo::before {
  content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; top: 14%;
  border: 1px solid rgba(205,172,142,.35); box-shadow: 0 0 0 40px rgba(205,172,142,.06), 0 0 0 80px rgba(205,172,142,.04);
}
.expert__name-tag { position: absolute; z-index: 2; left: 20px; bottom: 20px; border-radius: 14px; padding: 12px 16px; }
.expert__body { border-radius: var(--r-lg); background: var(--white); padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.expert__body h2 { margin-top: 10px; }
.expert__body h2 span { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--cream-100); font-size: 15px; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact { border-radius: var(--r); background: var(--cream-100); padding: 18px; }
.fact b { display: block; font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.fact span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.quote { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; border-left: 2px solid var(--gold-2); padding-left: 16px; }

/* Visa */
.visa { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.visa__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.visa__item {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-weight: 500;
  transition: background-color .25s, border-color .25s;
}
.visa__item:hover { background: rgba(255,255,255,.1); border-color: rgba(205,172,142,.4); }
.visa__item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }

/* Search teaser */
.teaser {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--cream-50);
  padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
  background: var(--green-900);
}
.teaser > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.teaser::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,29,20,.92) 20%, rgba(7,29,20,.35)); }
.teaser h2 { margin-top: 14px; }
.teaser p { margin-top: 16px; color: rgba(246,243,239,.78); max-width: 46ch; }
.teaser__side { display: grid; gap: 14px; justify-items: start; }
.teaser__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.teaser__chips a { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 10px; background: rgba(255,255,255,.1); font-size: 15px; transition: background-color .2s; }
.teaser__chips a:hover { background: rgba(255,255,255,.2); }

/* Footer */
.footer { background: var(--green-950); color: var(--cream-50); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__sub h2 { max-width: 16ch; }
.footer__sub p { margin-top: 12px; color: rgba(246,243,239,.65); }
.sub-form { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.sub-form .input { flex: 1 1 220px; }
.sub-form .form-msg { flex-basis: 100%; }
.sub-form .input { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--cream-50); }
.sub-form .input::placeholder { color: rgba(246,243,239,.5); }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(246,243,239,.5); font-weight: 500; margin-bottom: 12px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__cols a:hover { color: var(--gold-2); }
.footer__bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: rgba(246,243,239,.5); font-size: 14px; }
.footer__logo { width: 180px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background-color .2s; }
.socials a:hover { background: rgba(255,255,255,.16); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,29,20,.6); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  background: var(--cream-50); border-radius: var(--r-lg); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s, transform .4s var(--ease);
}
.modal--wide .modal__dialog { width: min(920px, 100%); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(246,243,239,.9);
}
.modal__close:hover { background: var(--white); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.modal__body h3 { font-size: clamp(24px, 2.4vw, 32px); padding-right: 40px; }
.modal__summary { border-radius: var(--r); background: var(--cream-100); padding: 14px 16px; font-size: 15px; display: grid; gap: 4px; }
.modal__summary b { font-weight: 600; }
.form-grid { display: grid; gap: 12px; }
.form-msg { font-size: 15px; border-radius: 12px; padding: 12px 14px; display: none; }
.form-msg.is-ok { display: block; background: rgba(26,85,60,.1); color: var(--green); }
.form-msg.is-err { display: block; background: rgba(180,65,47,.1); color: var(--danger); }

.trip-modal { display: grid; grid-template-columns: 1fr 1fr; }
.trip-modal__img { position: relative; min-height: 100%; }
.trip-modal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-modal__facts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Lead popup (neverend-style: photo + frosted panel) ---------- */
.modal--lead .modal__backdrop { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(7,20,15,.55); }
.modal--lead .modal__dialog {
  width: min(1200px, 100%); background: transparent; box-shadow: none; overflow: visible; max-height: none;
}
.modal--lead .modal__close {
  top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; background: var(--cream-50);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.lmodal {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr minmax(0, 610px);
  min-height: 560px; max-height: calc(100svh - 48px); border-radius: 28px; overflow: hidden; background: var(--green-900);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.7);
}
.lmodal__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lmodal__media { position: relative; min-height: 220px; }
.lmodal__route { position: absolute; inset: 6% 4% 6% 0; width: 96%; height: 88%; overflow: visible; }
.lmodal__route path { stroke: rgba(255,255,255,.95); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: route-draw 2.4s .25s var(--ease) forwards; vector-effect: non-scaling-stroke; }
.lmodal__route circle { stroke: #fff; stroke-width: 1.6; fill: none; opacity: 0; animation: fade-in .4s 2.5s forwards; vector-effect: non-scaling-stroke; }
.lmodal__panel {
  margin: 8px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; overflow-y: auto; color: var(--cream-50);
  background: rgba(16, 32, 26, .52); border: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.lmodal__panel h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.035em; max-width: 16ch; }
.lmodal__text { font-size: 17px; line-height: 1.5; color: rgba(246,243,239,.7); max-width: 48ch; }
.lmodal__summary { display: flex; flex-wrap: wrap; gap: 6px; }
.lmodal__summary > * { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 14px; }
.lmodal__summary b { font-weight: 600; }

.lform { display: grid; gap: 8px; margin-top: 4px; }
.lform__input, .lform__phone {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.12); color: var(--cream-50); font-size: 16px; transition: border-color .2s, background-color .2s;
}
.lform__input { padding: 0 18px; outline: none; }
.lform__input::placeholder, .lform__phone input::placeholder { color: rgba(246,243,239,.55); }
.lform__input:focus, .lform__phone:focus-within { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.16); }
.lform__select { appearance: none; cursor: pointer;
  background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f6f3ef' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
.lform__select option, .lform__phone option { color: var(--ink); }
.lform__phone { display: flex; align-items: center; }
.lform__phone select {
  height: 100%; padding: 0 26px 0 16px; border: 0; outline: none; color: inherit; font-size: 15px; cursor: pointer; appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f6f3ef' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;
  border-right: 1px solid rgba(255,255,255,.14);
}
.lform__phone input { flex: 1; min-width: 0; height: 100%; padding: 0 16px; border: 0; outline: none; background: transparent; color: inherit; font-size: 16px; }
.lform .is-invalid { border-color: rgba(255,140,120,.85) !important; }
.lform__submit {
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 52px;
  border-radius: 12px; background: #e3e2ea; color: var(--ink); font-size: 16px; font-weight: 500;
  transition: background-color .2s, transform .15s;
}
.lform__submit:hover { background: #fff; }
.lform__submit:active { transform: scale(.99); }
.lform__submit svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.lform__submit:hover svg { transform: translateX(3px); }
.lform__submit[disabled] { opacity: .7; }
.lform__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; font-size: 13px; line-height: 1.45; color: rgba(246,243,239,.7); cursor: pointer; border-radius: 8px; }
.lform__consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lform__box { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.88); display: grid; place-items: center; transition: background-color .2s; }
.lform__consent input:checked + .lform__box { background: var(--gold-2); }
.lform__consent input:checked + .lform__box::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--green-950); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.lform__consent input:focus-visible + .lform__box { outline: 2px solid #fff; outline-offset: 2px; }
.lform__consent.is-invalid .lform__box { box-shadow: 0 0 0 2px rgba(255,140,120,.9); }
.lform .form-msg.is-err { background: rgba(255,120,100,.16); color: #ffd2c8; }
.lform__done { display: grid; justify-items: start; gap: 10px; animation: menu-sub .4s var(--ease); }
.lform__done b { font-size: 22px; font-weight: 500; }
.lform__done p { color: rgba(246,243,239,.72); }
.lform__check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: var(--green-950); }
.lform__check svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .modal--lead { padding: 0; align-items: end; }
  .modal--lead .modal__dialog { max-height: 100svh; }
  .modal--lead .modal__close { top: 12px; right: 12px; z-index: 3; }
  .lmodal { grid-template-columns: 1fr; min-height: 0; max-height: 100svh; border-radius: 24px 24px 0 0; overflow-y: auto; }
  .lmodal__media { min-height: 150px; }
  .lmodal__panel { margin: 0 8px 8px; overflow: visible; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__strip .offer-tile { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; }
  .hero__strip .offer-tile__title { max-width: none; flex: 1; }
  .hero__strip .offer-tile__route { flex: 0 0 200px; width: 200px; height: 64px; margin: -8px 0; }
  .hero__strip .offer-tile__btn { width: auto; flex: none; padding: 0 22px; }
  .grid-trips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header__phone { display: none; }
  .header__contacts { padding-left: 6px; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .expert-card { max-width: 420px; }
  .formats { grid-template-columns: 1fr 1fr; }
  .formats .format:last-child { grid-column: 1 / -1; min-height: 340px; }
  .expert, .visa, .teaser, .footer__top { grid-template-columns: 1fr; }
  .expert__photo { min-height: 460px; }
  .stats { grid-template-columns: 1fr; }
  .stats__sticky { display: none; }
  .stats__media { gap: 48px; padding: 0; }
  .stats__mobile-label { display: block; margin-bottom: 16px; }
  .stats__mobile-label b { display: block; font-size: 64px; font-weight: 500; line-height: 1; }
  .stats__mobile-label h3 { margin-top: 14px; font-size: 24px; }
  .stats__mobile-label p { color: rgba(246,243,239,.72); margin-top: 8px; line-height: 1.6; }
  .stats__media img { transform: none; }
  .stats__media figure { aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .header { grid-template-columns: auto 1fr auto; padding: 10px 16px; }
  .header__logo { width: 128px; justify-self: center; }
  .header__contacts, .header .lang, .header .btn__label { display: none; }
  .header__menu, .header__cta { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip .offer-tile { flex-wrap: wrap; }
  .hero__strip .offer-tile__route { display: none; }
  .hero__strip .offer-tile__btn { width: 100%; }
  .grid-trips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .trip__title { font-size: 17px; }
  .trip__body { padding: 12px; }
  .formats, .adv { grid-template-columns: 1fr; }
  .format { min-height: 380px; }
  .adv__card { min-height: 320px; }
  .inline-form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .fact { padding: 12px; }
  .visa__list { grid-template-columns: 1fr 1fr; }
  .trip-modal { grid-template-columns: 1fr; }
  .trip-modal__img { min-height: 240px; }
  .sub-form { flex-direction: column; }
  .footer__cols { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
}



/* =====================================================================
   Phone layout — mirrors neverend.ru mobile:
   logo left + menu right, one-screen hero with a swipeable trip card,
   sideways-swipe card rows, centred stats, full-width trip cards.
   ===================================================================== */
.hero__mtrip { display: none; }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .h-lg { font-size: clamp(30px, 8.6vw, 38px); }
  .section__head { margin-bottom: 24px; gap: 14px; }
  .section__head p { font-size: 15px; }

  /* Header: logo left, menu button right */
  .header { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .header__logo { order: 0; justify-self: start; width: 132px; }
  .header__left { order: 1; justify-self: end; }
  .header__right { display: none; }
  .header__menu { width: 44px; height: 44px; }

  /* Hero: exactly one screen */
  .hero { min-height: 100svh; height: 100svh; padding: 0 0 28px; justify-content: flex-end; }
  .hero .expert-card, .hero__strip { display: none; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 44px); }
  .hero__lead { font-size: 15px; margin-top: 14px; }
  .hero__actions { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { padding: 0 12px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(7,29,20,.5) 0%, rgba(7,29,20,0) 22%),
                linear-gradient(0deg, rgba(7,29,20,.95) 4%, rgba(7,29,20,.35) 46%, rgba(7,29,20,0) 70%);
  }
  .hero__mtrip {
    display: block; position: absolute; z-index: 2; top: 72px; right: 16px; width: min(232px, 64vw);
    border-radius: 18px; padding: 14px 14px 12px; touch-action: pan-y; cursor: pointer;
  }
  .hero__mtrip-dots { display: flex; gap: 5px; justify-content: flex-end; margin-bottom: 8px; }
  .hero__mtrip-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background-color .3s, width .3s; }
  .hero__mtrip-dots i.is-active { background: #fff; width: 14px; border-radius: 3px; }
  .hero__mtrip b { display: block; font-weight: 500; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
  .hero__mtrip small { display: block; margin-top: 4px; font-size: 13px; color: rgba(246,243,239,.72); }
  .hero__mtrip .badge { margin-top: 10px; height: 26px; font-size: 12px; background: rgba(0,0,0,.45); }
  .hero__mtrip-body { animation: menu-sub .45s var(--ease); }

  /* Sideways swipe rows (formats + advantages) */
  .formats, .adv {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .formats::-webkit-scrollbar, .adv::-webkit-scrollbar { display: none; }
  .formats > *, .adv > * { flex: 0 0 86%; scroll-snap-align: start; }
  .format { min-height: 460px; }
  .formats .format:last-child { min-height: 460px; }
  .adv__card { min-height: 440px; }

  /* Stats: centred */
  .stats__mobile-label { text-align: center; display: grid; justify-items: center; }
  .stats__mobile-label b { font-size: 64px; letter-spacing: -.045em; }
  .stats__mobile-label p { max-width: 34ch; }
  .stats__media { gap: 56px; }
  .stats__media figure { aspect-ratio: 4 / 5; margin-top: 20px; }

  /* Catalogue: big full-width cards, scrollable tabs */
  .catalog__bar { flex-wrap: nowrap; }
  .catalog__bar > .btn { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .grid-trips { grid-template-columns: 1fr; gap: 10px; }
  .trip { aspect-ratio: 4 / 5; }
  .trip__title { font-size: 22px; }
  .trip__body { padding: 18px; }

  /* Lead CTA, expert, visa, teaser */
  .inline-form { padding: 6px; }
  .expert__photo { min-height: 400px; }
  .expert__body { padding: 22px; }
  .facts { gap: 6px; }
  .fact b { font-size: 28px; }
  .teaser { padding: 28px 20px; }
  .footer__top { gap: 32px; }
}


/* ---------- Phone fixes v2 (compared against neverend.ru on a real iPhone) ---------- */
@media (max-width: 760px) {
  /* Compact solid header bar instead of the tall fade */
  .header { padding: 10px 16px; }
  .header::before {
    inset: 0; -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid transparent;
  }
  .header--on-light::before { background: rgba(246,243,239,.86); border-bottom-color: rgba(15,31,24,.06); }
  .header--scrolled.header--on-dark::before { background: rgba(7,29,20,.82); }
  .header__logo { width: 116px; }
  .header--on-light .header__menu { background: var(--green-900); color: var(--cream-50); }

  /* Stats: each number gets its own screen, photo edge-to-edge (neverend "11 ЛЕТ") */
  .stats { padding: 0; }
  .section#stats { padding: 0; }
  .stats__media { gap: 0; }
  .stats__mobile-label { min-height: 72svh; align-content: center; padding: 72px 8px 40px; }
  .stats__mobile-label b { font-size: 72px; }
  .stats__mobile-label h3 { font-size: 22px; }
  .stats__mobile-label p { font-size: 15px; }
  .stats__media figure { margin: 0 -16px; border-radius: 0; aspect-ratio: 4 / 5; max-height: none; }

  /* Catalogue: stacked deck — titles at the top, each card sticks a little lower than the previous */
  .grid-trips { display: block; }
  .grid-trips .trip {
    position: sticky; top: calc(76px + var(--i, 0) * 52px); margin-bottom: 12px;
    aspect-ratio: auto; height: min(72svh, 560px); box-shadow: 0 -10px 30px -18px rgba(7,29,20,.45);
  }
  .grid-trips .trip.reveal { opacity: 1; transform: none; }
  .grid-trips .trip::after { background: linear-gradient(180deg, rgba(7,29,20,.78) 0%, rgba(7,29,20,.25) 34%, rgba(7,29,20,0) 60%); }
  .grid-trips .trip__body { inset: 0 0 auto 0; padding: 16px 20px; gap: 6px; }
  .grid-trips .trip__badges { top: auto; bottom: 16px; left: auto; right: 16px; }
  .grid-trips .trip__title { font-size: 22px; }

  /* Footer newsletter: normal-height field */
  .sub-form { flex-direction: column; }
  .sub-form .input { flex: none; height: 52px; }
  .sub-form .btn { min-height: 52px; }
}

/* ---------- Footer request form + decorative route (all screens) ---------- */
.footer { position: relative; overflow: hidden; }
.footer__route { position: absolute; right: 0; top: 40px; width: min(420px, 60vw); height: auto; pointer-events: none; opacity: .5; }
.footer__route path, .footer__route circle { stroke: rgba(246,243,239,.45); stroke-width: 1; }
.footer__route text { fill: rgba(246,243,239,.5); font-size: 11px; letter-spacing: .04em; font-family: inherit; }
.footer__slogan { text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; max-width: 22ch; margin-bottom: 28px; color: var(--cream-50); }
.footer__sub h2 { font-size: clamp(22px, 2vw, 28px); }
.foot-form { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; max-width: 640px; }
.foot-form .input { height: 52px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); color: var(--cream-50); }
.foot-form .input::placeholder { color: rgba(246,243,239,.5); }
.foot-form__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 22px; border-radius: 12px; background: #e3e2ea; color: var(--ink); font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.foot-form__btn:hover { background: #fff; }
.foot-form__btn svg { width: 16px; height: 16px; }
.foot-form .consent, .foot-form .form-msg { grid-column: 1 / -1; color: rgba(246,243,239,.5); }
.footer__cols li small { display: block; font-size: 13px; color: rgba(246,243,239,.5); margin-bottom: 2px; }

/* Desktop never shows the phone-only blocks */
.hero__mslides, .hero__hint, .stats-m, .mdots, .menu__back, .menu__subtitle, .menu__mfoot { display: none; }

/* =====================================================================
   Phone v3 — functionality studied from neverend.ru mobile
   ===================================================================== */
@media (max-width: 760px) {
  /* Header: 60px, hides on scroll down, blurred bar after scrolling */
  .header { height: 60px; padding: 0 16px; transition: transform .25s ease-in-out; }
  .header.header--away { transform: translateY(calc(-100% - 12px)); }
  .header::before { -webkit-backdrop-filter: blur(42px); backdrop-filter: blur(42px); }
  .header__menu { width: 40px; height: 40px; border-radius: 12px; }
  .header--on-dark .header__menu { background: rgba(1,8,5,.55); }

  /* Hero: swipeable trip photos, synced card, headline + one full-width button */
  .hero__video { display: none; }
  .hero__media { background: var(--green-950); }
  .hero__mslides { display: block; position: absolute; inset: 0; overflow: hidden; }
  .hero__mtrack { display: flex; height: 100%; will-change: transform; }
  .hero__mslide { flex: 0 0 100%; height: 100%; }
  .hero__mslide img { width: 100%; height: 100%; object-fit: cover; }
  .hero__media::after { z-index: 1; background: linear-gradient(180deg, rgba(7,29,20,.45) 0%, rgba(7,29,20,0) 20%), linear-gradient(0deg, rgba(7,29,20,.9) 2%, rgba(7,29,20,.25) 38%, rgba(7,29,20,0) 60%); }
  .hero .container { position: static; }
  .hero__mtrip { top: 72px; right: 16px; width: 224px; border-radius: 16px; padding: 14px; background: rgba(1,8,5,.55); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 0; }
  .hero__mtrip-body { animation: fade-in .6s ease both; }
  .hero__mtrip-dots { justify-content: flex-start; margin: 12px 0 0; }
  .hero__lead, .hero__actions .btn--ghost-dark { display: none; }
  .hero h1 { font-size: 36px; line-height: .95; letter-spacing: -.04em; }
  .hero__actions { display: block; margin-top: 20px; }
  .hero__actions .btn { width: 100%; min-height: 48px; justify-content: center; }
  .hero__hint { display: grid; place-items: center; position: absolute; z-index: 2; left: 50%; top: 52%; width: 56px; height: 56px; margin-left: -28px; color: #fff; opacity: .8; pointer-events: none; animation: hint-swipe 1.6s ease-in-out infinite; transition: opacity .5s; }
  .hero__hint svg { width: 40px; height: 40px; }
  .hero.is-swiped .hero__hint { opacity: 0; }
  @keyframes hint-swipe { 0%, 100% { transform: translateX(14px); } 50% { transform: translateX(-14px); } }

  /* Sideways rows: centred heading, 312×460 cards, dots */
  #formats .section__head, .adv-head { text-align: center; justify-content: center; }
  #formats .section__head > div, #formats .section__head p { margin-inline: auto; }
  #formats .eyebrow { justify-content: center; }
  .formats > *, .adv > * { flex: 0 0 80vw; max-width: 312px; min-height: 460px; }
  .mdots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .mdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15,31,24,.2); transition: width .3s, background-color .3s; }
  .mdots i.is-active { width: 18px; border-radius: 3px; background: var(--green-900); }

  /* Stats: pinned screen driven by scroll */
  #stats { padding: 0; }
  #stats > .container.stats { display: none; }
  .stats-m { display: block; position: relative; height: calc(var(--steps, 3) * 75svh + 100svh); }
  .stats-m__pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; }
  .stats-m__top { position: relative; display: grid; place-items: center; padding: 64px 20px 28px; text-align: center; }
  .stats-m__text { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease); }
  .stats-m__text.is-active { opacity: 1; transform: none; }
  .stats-m__text b { display: block; font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.045em; }
  .stats-m__text h3 { margin-top: 12px; font-size: 20px; }
  .stats-m__text p { margin: 8px auto 0; max-width: 34ch; font-size: 14px; line-height: 1.5; color: rgba(246,243,239,.7); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .stats-m__bars { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
  .stats-m__bars i { width: 2px; height: 12px; background: rgba(246,243,239,.35); transition: height .3s, background-color .3s; }
  .stats-m__bars i.is-active { height: 22px; background: #fff; }
  .stats-m__bottom { position: relative; }
  .stats-m__bottom figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s; }
  .stats-m__bottom figure.is-active { opacity: 1; }
  .stats-m__bottom img { width: 100%; height: 100%; object-fit: cover; }
  .stats-m__bottom figcaption { position: absolute; left: 16px; bottom: 16px; }

  /* Lead CTA: stacked, left-aligned form like neverend */
  #contact .cta { justify-items: start; text-align: left; gap: 10px; }
  #contact .cta h2 { font-size: 26px; }
  #contact .cta > p { font-size: 15px; }
  #contact .eyebrow { display: none; }
  .inline-form { grid-template-columns: 1fr; padding: 0; border: 0; background: none; box-shadow: none; width: 100%; }
  .inline-form .input { height: 48px; background: var(--white); border: 1px solid var(--line); }
  .inline-form .btn { min-height: 48px; }

  /* Footer */
  .footer__route { top: auto; bottom: 120px; width: 90vw; }
  .foot-form { grid-template-columns: 1fr; }
  .foot-form .input, .foot-form__btn { width: 100%; }

  /* Menu: full-screen white, two levels, contacts + CTA pinned at the bottom */
  .menu__panel { padding: 0 16px 20px; display: flex; flex-direction: column; }
  .menu__bar { display: flex; justify-content: space-between; height: 60px; padding: 0; }
  .menu__logo { order: 0; justify-self: auto; width: 116px; }
  .menu__bar-left { order: 1; }
  .menu__bar-right { display: none; }
  .menu__close { width: 40px; height: 40px; border-radius: 12px; }
  .menu__body { display: block; flex: 1; }
  .menu__trips { display: none; }
  .menu__left { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 80px); overflow: hidden; padding-top: 16px; }
  .menu__groups, .menu__nav { transition: transform .4s var(--ease), opacity .3s; }
  .menu__group { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 30px; color: var(--ink); }
  .menu__group svg { display: block; }
  .menu__nav { margin-top: 28px; }
  .menu__sub { display: none; padding: 0 0 24px; }
  .menu__left.is-sub .menu__sub { display: block; animation: menu-slide .4s var(--ease) both; }
  .menu__left.is-sub .menu__groups, .menu__left.is-sub .menu__nav { display: none; }
  .menu__left:not(.is-sub) .menu__groups, .menu__left:not(.is-sub) .menu__nav { animation: menu-slide-back .35s var(--ease) both; }
  @keyframes menu-slide { from { opacity: 0; transform: translateX(40%); } }
  @keyframes menu-slide-back { from { opacity: 0; transform: translateX(-20%); } }
  .menu__sublist { animation: none; }
  .menu__back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
  .menu__back svg { width: 16px; height: 16px; }
  .menu__subtitle { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.03em; padding: 14px 0 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .menu__sublist .menu__more { margin-top: 14px; }
  .menu__foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); gap: 14px; }
  .menu__contacts { font-size: 20px; }
  .menu__contacts a:nth-child(2) { display: none; }
  .menu__socials a { width: 44px; height: 44px; }
  .menu__mfoot { display: grid; gap: 12px; }
  .menu__mfoot .menu__lang { justify-self: start; }
  .menu__cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; border-radius: 12px; background: var(--green-950); color: var(--cream-50); font-weight: 500; }
  .menu__cta svg { width: 16px; height: 16px; }

  /* Catalogue overlay: full-screen slider of trips */
  .toverlay { position: fixed; inset: 0; z-index: 85; background: var(--cream-50); display: flex; flex-direction: column; justify-content: center; padding: 64px 0 20px; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .4s var(--ease); }
  .toverlay.is-open { opacity: 1; transform: none; }
  .toverlay__close { position: absolute; top: 12px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-100); }
  .toverlay__close svg { width: 16px; height: 16px; }
  .toverlay__decor { position: absolute; top: 20px; left: 0; width: 100%; height: auto; pointer-events: none; }
  .toverlay__decor path, .toverlay__decor circle { stroke: rgba(15,31,24,.25); stroke-width: 1; }
  .toverlay__rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .toverlay__rail::-webkit-scrollbar { display: none; }
  .toverlay__card { position: relative; flex: 0 0 86vw; aspect-ratio: 4 / 5; max-height: 62svh; border-radius: 20px; overflow: hidden; scroll-snap-align: start; color: var(--cream-50); text-align: left; isolation: isolate; }
  .toverlay__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .toverlay__card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,20,.75) 0%, rgba(7,29,20,0) 40%); }
  .toverlay__card.is-past img { filter: grayscale(.7) brightness(.85); }
  .toverlay__info { position: absolute; top: 18px; left: 18px; right: 18px; display: grid; gap: 4px; }
  .toverlay__info b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
  .toverlay__info small { font-size: 13px; opacity: .8; }
  .toverlay__info em { font-style: normal; font-weight: 500; margin-top: 6px; }
  .toverlay__card .badge { position: absolute; right: 14px; bottom: 14px; }
  .toverlay__dots { display: flex; justify-content: center; gap: 6px; margin: 18px 0; }
  .toverlay__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15,31,24,.2); transition: width .3s, background-color .3s; }
  .toverlay__dots i.is-active { width: 18px; border-radius: 3px; background: var(--green-900); }
  .toverlay__cta { margin: 0 16px; height: 52px; border-radius: 12px; background: var(--cream-100); display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; }
  .toverlay__cta svg { width: 16px; height: 16px; }
}


/* ---------- Phone v4: neverend wallet stack + bigger review videos ---------- */
.trip.is-pressed, .trip.is-peek { transition: transform .18s ease-out !important; }
@media (max-width: 760px) {
  /* Wallet: absolute stack, 47px per card, last card fully visible */
  .grid-trips { position: relative; display: block; min-height: calc(404px + (var(--n, 1) - 1) * 47px); opacity: 0; transition: opacity .2s ease .06s; }
  .grid-trips.is-stacked { opacity: 1; }
  .grid-trips .trip {
    position: absolute; left: 0; right: 0; top: calc(var(--i, 0) * 47px); z-index: calc(1 + var(--i, 0));
    height: 404px; margin: 0; border-radius: 16px; box-shadow: 0 -8px 24px -14px rgba(7,29,20,.5);
    will-change: transform;
  }
  .grid-trips .trip.reveal { opacity: 1; }
  .grid-trips .trip.is-pressed { transform: translateY(-12px) scale(1.02) !important; }
  .grid-trips .trip.is-peek { transform: translateY(-6px) !important; }
  .grid-trips .trip__body { padding: 11px 18px; gap: 4px; }
  .grid-trips .trip__meta { margin-top: 10px; }
  .grid-trips .trip__title { font-size: 20px; line-height: 1.15; }

  /* Overlay chrome */
  .toverlay { background: transparent; padding: 56px 0 20px; transform: none; opacity: 1; }
  .toverlay__backdrop { position: absolute; inset: 0; z-index: -1; background: var(--cream-50); }
  .toverlay__head { position: absolute; top: 0; left: 0; right: 0; height: 56px; z-index: 2; }
  .toverlay__slider { will-change: transform; transform-origin: center top; }
  .toverlay__rail { gap: 16px; padding: 0 24px; scroll-padding-inline: 24px; touch-action: pan-x; }
  .toverlay__card { flex: 0 0 calc(100vw - 48px); aspect-ratio: auto; height: min(62svh, 520px); max-height: none; border-radius: 16px; will-change: transform; transition: opacity .25s; }
  .toverlay__bottom { padding: 0 16px; }
  .toverlay__cta { margin: 0; width: 100%; }

  /* Review videos: 80vw × 9:16 cards (neverend 312×555) with dots */
  .vcard { flex: 0 0 80vw; max-width: 340px; aspect-ratio: 9 / 16; }
  .vrail { gap: 12px; padding: 12px 16px 16px; margin: -12px 0 -16px; scroll-padding-inline: 16px; }
  .vcard__body h3 { font-size: 24px; }
  .vcard__body p { font-size: 15px; }
  .vrail__progress { display: none; }
  .vrail__mdots { display: flex; margin-top: 18px; }
  .vcard__play { opacity: 1; transform: translate(-50%, -50%) scale(.85); background: rgba(7,29,20,.55); color: #fff; }
}
