/* ═══════════════════════════════════════════════════════════
   «География» — дизайн-система: цвета логотипа в пастельных тонах
   Бирюза, малиновый, жёлтый и зелёный из логотипа — приглушённые,
   спокойные. Каждому разделу — свой мягкий оттенок. Текст — графитово-синий.
   Заголовки разделов по левому краю, пояснение справа; по центру — только первый экран.
   Шрифты: Manrope — заголовки, Inter — текст.
   ═══════════════════════════════════════════════════════════ */
:root {
  --navy: #243b4c;        /* заголовки и основной текст */
  --ink-2: #455768;
  --muted: #5f6f80;       /* подписи: контраст > 4,5:1 */
  --line: #e6e9ec;
  --bg: #f8f7f4;          /* тёплый светлый фон */
  --surface: #ffffff;
  /* пастельные оттенки цветов логотипа и их «чернила» для текста и значков */
  --sky: #e6f3f7;    --sky-ink: #2a7896;     /* бирюза */
  --rose: #fbeaf2;   --rose-ink: #b23a72;    /* малиновый */
  --lemon: #fbf6dc;  --lemon-ink: #8a7614;   /* жёлтый */
  --mint: #e8f4ea;   --mint-ink: #2f7a48;    /* зелёный */
  --primary: #c8407f;     /* приглушённый малиновый — главные кнопки (контраст с белым 4,6:1) */
  --primary-600: #b13570;
  --sea: var(--sky-ink);
  --sea-bright: #4fb0cf;
  --sea-soft: var(--sky);
  --sun: #f1d77a;
  --sun-soft: var(--lemon);
  --success: #2f7a48;
  --wa: #25d366;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(36, 59, 76, .05);
  --shadow: 0 1px 2px rgba(36, 59, 76, .04), 0 10px 28px rgba(36, 59, 76, .07);
  --shadow-lg: 0 2px 6px rgba(36, 59, 76, .05), 0 24px 56px rgba(36, 59, 76, .13);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", "Open Sans", sans-serif;
}

/* ── База ─────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 81px; background: var(--bg); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: transparent;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
/* ── Живой фон: четыре размытых пятна цветов логотипа медленно плавают каждое по-своему ── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* мягкие пятна – радиальный градиент вместо filter: blur (размытие сильно грузит телефоны) */
.bg i { position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; opacity: .5; will-change: transform, opacity; }
.bg i:nth-child(1) { top: -14vmax; left: -12vmax; background: radial-gradient(closest-side, #b9dfec 35%, #b9dfec00); animation: orbit1 70s ease-in-out infinite alternate, breathe 23s ease-in-out infinite alternate; }   /* бирюза */
.bg i:nth-child(2) { top: 4vh; right: -16vmax; background: radial-gradient(closest-side, #f1cfdf 35%, #f1cfdf00); animation: orbit2 80s ease-in-out infinite alternate, breathe 29s ease-in-out -7s infinite alternate; }     /* малиновый */
.bg i:nth-child(3) { bottom: -18vmax; right: 6vw; background: radial-gradient(closest-side, #f3e9b4 35%, #f3e9b400); animation: orbit3 88s ease-in-out infinite alternate, breathe 26s ease-in-out -13s infinite alternate; }   /* жёлтый */
.bg i:nth-child(4) { bottom: -16vmax; left: 4vw; background: radial-gradient(closest-side, #c6e5cd 35%, #c6e5cd00); animation: orbit4 76s ease-in-out infinite alternate, breathe 31s ease-in-out -19s infinite alternate; }    /* зелёный */
@keyframes orbit1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vmax, 9vmax) scale(1.06); } }
@keyframes orbit2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-9vmax, 10vmax) scale(.96); } }
@keyframes orbit3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-12vmax, -6vmax) scale(1.05); } }
@keyframes orbit4 { from { transform: translate(0, 0) scale(1); } to { transform: translate(10vmax, -8vmax) scale(.97); } }
/* яркость пятен мягко «дышит» — цвета плавно перетекают друг в друга */
@keyframes breathe { from { opacity: .35; } to { opacity: .55; } }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.07; font-weight: 800; }
h2 { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.14; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }

/* подпись над заголовком: бирюзовая «таблетка» с самолётиком */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  font: 700 13px/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--sky-ink); background: var(--sky); }
.eyebrow::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 15.5v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0v5l-8 5v2l8-2.5v5l-2 1.5V21l3.5-1 3.5 1v-1.5l-2-1.5v-5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 15.5v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0v5l-8 5v2l8-2.5v5l-2 1.5V21l3.5-1 3.5 1v-1.5l-2-1.5v-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(45deg); }
#reviews .eyebrow { color: var(--lemon-ink); background: var(--lemon); }
#contacts .eyebrow { color: var(--mint-ink); background: #dcefe0; }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ── Доступность ──────────────────────────────────────────── */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, .reviews:focus-visible {
  outline: 3px solid var(--sea-bright); outline-offset: 3px; border-radius: 10px; }
.consent input:focus-visible { outline: 3px solid var(--sea-bright); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Шапка ────────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 8px 28px rgba(13, 43, 62, .08); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 80px; }
.logo { display: flex; justify-self: start; }
.logo__img { height: 64px; width: auto; display: block; }
.nav { display: flex; gap: 4px; font: 600 15px var(--font-body); color: var(--ink-2); }
.nav a { padding: 9px 15px; border-radius: 999px; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.nav a:hover { background: var(--sea-soft); color: var(--sea); }
.header__cta { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header__phone { font: 700 16px var(--font-head); color: var(--navy); white-space: nowrap; }
.header__phone:hover { color: var(--primary); }

/* ── Кнопки ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--primary); color: #fff; font: 700 15px var(--font-head); cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(200, 64, 127, .22);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--primary-600); box-shadow: 0 10px 24px rgba(200, 64, 127, .3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); border-color: #d6ccbb; box-shadow: var(--shadow); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .25); }
.btn--wa:hover { background: #1fbf5b; box-shadow: 0 12px 28px rgba(37, 211, 102, .35); }
.btn--small { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ── Разделы: на всю ширину, на компьютере каждый — один экран ── */
.section { position: relative; padding: 64px 0; }
.section--white { background: transparent; }
/* каждый второй раздел — на белой полупрозрачной полосе: разделы различимы, фон просвечивает */
.section--band { background: rgba(255, 255, 255, .72); border-top: 1px solid rgba(36, 59, 76, .08); border-bottom: 1px solid rgba(36, 59, 76, .08);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
/* у каждого раздела своя цветная черта над заголовком — цвета логотипа по очереди */
#directions { --mark: #4fb0cf; } #installment { --mark: #5fae79; } #reviews { --mark: #d86a9e; } #contacts { --mark: #4fb0cf; }
.head h2::before, .split__text h2::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 16px; border-radius: 2px; background: var(--mark, var(--sea-bright)); }
@media (min-width: 861px) {
  .section { min-height: calc((100svh - 81px) / var(--zk, 1)); display: flex; flex-direction: column; justify-content: center; }
  .section > .container { width: 100%; }
}
.head { margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 12px; align-items: end; justify-items: start; text-align: left; }
.head > .eyebrow, .head > h2 { grid-column: 1; }
.head > p:not(.eyebrow), .head > .slider-nav { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: end; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 460px; }
.subhead { display: flex; align-items: center; gap: 16px; margin: 44px 0 18px; font-size: 18px; }
.subhead::after { content: ""; flex: 1; border-top: 1px solid #d5e2e8; }

/* у каждого раздела свой пастельный оттенок из логотипа */

/* ── 1. Первый экран ──────────────────────────────────────── */
.hero { position: relative; z-index: 2; }
.hero__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: calc((100svh - 81px) / var(--zk, 1)); padding-top: 56px; padding-bottom: 56px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(40px, 4.6vw, 64px); }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
/* страна в заголовке: старое слово уходит вверх и растворяется, новое поднимается снизу */
.rotator { display: inline-block; color: var(--primary); will-change: transform, opacity, filter;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .6s ease, filter .6s ease; }
.rotator.is-out { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.rotator.is-in { opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 24px; }
.ticks li { display: flex; align-items: center; gap: 10px; font: 600 16px var(--font-body); color: var(--navy); }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #3f9a5e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ── Форма заявки: два ровных ряда по три поля ───────────── */
.form-card { width: 100%; max-width: 1000px; margin-top: 40px; padding: 28px; text-align: left; border-radius: var(--r-lg);
  background: var(--surface); color: var(--navy); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 16px; }
.form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.form__grid > * { min-width: 0; }
.field { position: relative; display: grid; gap: 7px; text-align: left; }
.field > span { font: 600 13px var(--font-body); color: var(--ink-2); }
.field input, .picker__btn { height: 52px; width: 100%; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  font: 400 16px var(--font-body); color: var(--navy); background: #fafafa;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.field input::placeholder { color: #8a96a3; }
.field input:hover, .picker__btn:hover { border-color: #d6ccbb; background: #fff; }
.field input:focus, .picker__btn:focus-visible, .picker__btn[aria-expanded="true"] {
  outline: 0; border-color: var(--sea-bright); background: #fff; box-shadow: 0 0 0 4px rgba(1, 160, 198, .15); }
/* значок внутри поля */
.field svg, .picker__btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field--icon svg { position: absolute; left: 15px; bottom: 16px; pointer-events: none; }
.field--icon input { padding-left: 44px; }
.picker__btn { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.picker__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__btn.is-empty .picker__value { color: #8a96a3; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }
.form__installment { padding: 10px 16px; border-radius: 14px; background: var(--sky); color: var(--navy); font-size: 14px; }
.form__installment[hidden] { display: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; }
.consent a { color: var(--sea); text-decoration: underline; text-underline-offset: 2px; }
.form__done { display: grid; gap: 6px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--mint); color: #1f5232; }
.form__done[hidden] { display: none; }
.form__done b { font: 700 16px var(--font-head); }

/* ── Всплывающие окна: календарь и туристы ───────────────── */
.pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 100%; padding: 18px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--navy); }
.pop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(6px); } }
.pop--cal { width: 332px; left: 50%; margin-left: -166px; }
.pop--pax { width: 300px; left: 50%; margin-left: -150px; display: grid; gap: 14px; }
.pop--pax[hidden] { display: none; }
/* календарь */
.cal__head { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin-bottom: 10px; }
.cal__title { text-align: center; font: 700 16px var(--font-head); text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; }
.cal__nav:hover:not(:disabled) { background: #f1f4f6; }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; text-align: center; }
.cal__dow { font: 600 12px var(--font-body); color: var(--muted); padding: 4px 0 6px; }
/* день: без переходов; выбранные — тёмно-синие, промежуток — светло-голубой, наведение — серое */
.cal__day { height: 40px; border: 0; background: none; font: 500 15px var(--font-body); color: var(--navy); cursor: pointer; position: relative; }
.cal__day span { position: relative; display: grid; place-items: center; width: 38px; height: 38px; margin: 1px auto; border-radius: 50%; }
.cal__day:hover:not(:disabled):not(.is-start):not(.is-end) span { background: #eef1f4; }
.cal__day:disabled { color: #c3cad2; cursor: default; }
.cal__day.is-range { background: var(--sky); }
.cal__day.is-start { background: linear-gradient(90deg, transparent 50%, var(--sky) 50%); }
.cal__day.is-end { background: linear-gradient(90deg, var(--sky) 50%, transparent 50%); }
.cal__day.is-start.is-end { background: none; }
.cal__day.is-start span, .cal__day.is-end span { background: var(--navy); color: #fff; font-weight: 700; }
.cal__day.is-today span::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--primary); }
.cal__day.is-today.is-start span::after, .cal__day.is-today.is-end span::after { background: #fff; }
.cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal__hint { font-size: 13px; color: var(--muted); }
.cal__foot .btn, .pop .btn { height: 38px; padding: 0 18px; font-size: 14px; transition: none; box-shadow: none; }
.pop .btn:hover { transform: none; box-shadow: none; }
.cal__reset { border: 0; background: none; font: 600 14px var(--font-body); color: var(--sea); cursor: pointer; padding: 8px 4px; }
/* туристы */
.pax { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pax b { display: block; font: 700 15px var(--font-head); }
.pax small { font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; color: var(--navy); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: #eef1f4; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font: 700 17px var(--font-head); }

/* ── 2. Направления ───────────────────────────────────────── */
.dests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest { position: relative; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 2px; text-align: left; color: #fff;
  background: var(--navy); font-family: var(--font-head); box-shadow: var(--shadow); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.dest__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 44, 58, 0) 45%, rgba(24, 44, 58, .72)); }
.dest > span { position: relative; z-index: 1; }
.dest__name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.dest__price { font: 700 14px var(--font-head); padding: 4px 12px; border-radius: 999px; background: var(--sun); color: var(--navy); margin-bottom: 4px; }
.dest__price[hidden] { display: none; }
.dest__season { font: 500 13px var(--font-body); opacity: .92; }
.dest__now { font: 700 12px var(--font-head); padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--navy); margin-bottom: 6px; }
.dest__now[hidden] { display: none; }
.dest__more { margin-top: 4px; font: 600 13px var(--font-body); opacity: .9; transform: translateY(2px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.dest:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.dest:hover .dest__img { transform: scale(1.07); }
.dest:hover .dest__more { opacity: 1; transform: none; }
.dest:focus-visible { outline: 3px solid var(--sea-bright); outline-offset: 3px; }

/* ── Команда (в разделе отзывов) ─────────────────────────── */
/* пунктир от шага к шагу */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { display: grid; grid-template-columns: 88px 1fr; align-items: center; column-gap: 18px; padding: 20px 24px; text-align: left;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.person b { font: 700 18px var(--font-head); color: var(--navy); align-self: end; }
.person > span:last-child { font-size: 14px; color: var(--muted); align-self: start; }
.person__avatar { grid-row: span 2; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--sky); }
.person__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ── 4. Рассрочка: текст слева, калькулятор справа ──────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split__text h2 { margin: 14px 0 12px; }
.split__lead { font-size: 18px; color: var(--muted); }
.split .ticks { margin-top: 24px; }
.calc { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); color: var(--navy); box-shadow: var(--shadow-lg); }
/* ползунок в стиле сайта */
.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--primary) var(--fill, 17%), #e8e6e1 var(--fill, 17%)); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(13, 43, 62, .2); transition: transform .15s var(--ease); }
.calc__range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 2px 8px rgba(13, 43, 62, .2); }
.calc__terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc__term { height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fbf9f5; font: 700 15px var(--font-head); color: var(--ink-2); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.calc__term:hover { border-color: var(--sea-bright); }
.calc__term[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.calc__result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 14px; background: var(--lemon); }
.calc__result span { font-size: 14px; color: var(--ink-2); }
.calc__result b { font: 800 34px var(--font-head); color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }

/* ── 5. Отзывы: горизонтальная лента ─────────────────────── */
.reviews { overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 6px 0 14px; overscroll-behavior-x: contain;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews::-webkit-scrollbar { display: none; }
.reviews.is-drag { cursor: grabbing; user-select: none; }
.reviews__track { display: flex; width: max-content; }
.reviews .review { width: 380px; flex: none; margin-right: 18px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.review figcaption { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
.review figcaption::before { content: attr(data-initial); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 800 16px var(--font-head); color: var(--rose-ink); background: var(--rose); }
.review figcaption b { font: 700 16px var(--font-head); color: var(--navy); align-self: end; }
.review figcaption span { font-size: 13px; color: var(--muted); align-self: start; }
.review blockquote { color: var(--ink-2); font-size: 15px; line-height: 1.65; max-height: calc(1.65em * 6); overflow: hidden; position: relative; }
.review blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.65em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.review blockquote.is-full::after { display: none; }
.review__more { order: 2; align-self: flex-start; margin-top: auto; padding: 6px 0; min-height: 32px; border: 0; background: none; font: 600 14px var(--font-body); color: var(--sea); cursor: pointer; }
/* ссылка на источник отзыва – всегда внизу карточки, под «Читать полностью» */
.review__src { order: 3; align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.review__src:hover { color: var(--sea); }
.review:has(.review__more) .review__src { margin-top: -8px; }
.reviews__gis { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: end; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* рейтинг и «Оставить отзыв» – одной высоты, на одной линии и в одном стиле */
.reviews__gis .gis, .reviews__gis .btn { height: 50px; margin: 0; box-sizing: border-box; }
.reviews__gis .btn { padding: 0 24px; border: 0; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; }
.reviews__gis .btn:hover { box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .reviews__gis { grid-column: 1; grid-row: auto; justify-self: start; margin-bottom: 0; } }

/* окно с полным отзывом */
.dialog { margin: auto; width: min(640px, calc(100% - 32px)); max-height: min(80vh, 720px); padding: 36px; border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--navy); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(6, 28, 44, .5); backdrop-filter: blur(3px); }
.dialog[open] { animation: popIn .25s var(--ease); }
.dialog__close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg);
  font-size: 22px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.dialog__close:hover { background: var(--line); }
.dialog__body .review { padding: 0; background: none; }
.dialog__body blockquote { max-height: none; }
.dialog__body blockquote::after, .dialog__body .review__more { display: none; }

/* ── 6. Вопросы и контакты: две равные колонки ───────────── */
.final { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.final > * { min-width: 0; display: flex; flex-direction: column; }
.final .faq, .final .office { flex: 1; }
.final__title { margin-bottom: 16px; font-size: 20px; }
.faq { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px 24px; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 17px 44px 17px 0; position: relative; font: 700 16px var(--font-head); color: var(--navy); transition: color .2s var(--ease); }
.faq__item summary:hover { color: var(--sea); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  display: grid; place-items: center; font: 400 20px/1 var(--font-body); color: var(--sea); background: var(--sea-soft); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__item p { padding: 0 44px 18px 0; color: var(--muted); font-size: 15px; }
.faq__item[open] p { animation: fadeIn .2s ease-out; }

.office { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.mapcard__map { position: relative; flex: 1; min-height: 130px; background: #e8eef1; }
.mapcard__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.office__body { padding: 20px 24px 24px; display: grid; gap: 14px; justify-items: start; }
.office__status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font: 600 13px var(--font-body);
  background: #f1f3f5; color: var(--muted); white-space: nowrap; }
.office__status:empty { display: none; }
.office__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.office__status.is-open { background: var(--mint); color: var(--mint-ink); }
.office__info { list-style: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.office__info li { display: grid; gap: 1px; min-width: 0; }
.office__wide { grid-column: 1 / -1; }
.office__info small { font-size: 13px; color: var(--muted); }
.office__info span, .office__info a { font: 600 15px var(--font-head); color: var(--navy); overflow-wrap: anywhere; }
.office__info a:hover { color: var(--primary); }
.office__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.office__maps { display: flex; gap: 28px; font: 600 14px var(--font-body); color: var(--sea); }
.office__maps a { padding: 4px 0; }
.office__maps a:hover { color: var(--primary); }

/* ── Подвал: компактный, две строки ────────────────────── */
.footer { background: #f1f4f6; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer__logo { height: 52px; width: auto; display: block; }
.footer__nav, .footer__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.footer__top a { color: var(--navy); font-weight: 600; transition: color .2s var(--ease); }
.footer__top a:hover { color: var(--primary); }
.footer__phone { font: 700 16px var(--font-head); }
.footer__bottom { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--primary); }

/* для страницы политики */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }

/* ── Кнопки в углу ───────────────────────────────────────── */
.float { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 10px; z-index: 20; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.float.is-hidden, .picker-open .float { transform: translateY(140%); opacity: 0; pointer-events: none; }
.float__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease); }
.float__btn:hover { transform: translateY(-2px) scale(1.04); }
.float__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.float__btn--wa { background: var(--wa); }
.float__btn--call { background: var(--sea); }

/* ── Мягкое появление при прокрутке (только прозрачность и 10px) ── */
.reveal { opacity: 0; transition: opacity .5s ease-out; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bg i { animation: none; }
  .rotator { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pop, .dialog[open], .faq__item[open] p { animation: none; }
  * { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* ── Ноутбук ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; }
  .header__phone { display: none; }
}
/* ── Планшет ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .final { grid-template-columns: 1fr; gap: 40px; max-width: 640px; margin: 0 auto; }
  .dests { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }   /* колонка может сжиматься – без прокрутки вбок на 320 px */
  .team { grid-template-columns: 1fr; max-width: 420px; }
}
/* ── Телефон ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  html { scroll-padding-top: 116px; }
  .header__inner { grid-template-columns: 1fr auto; height: auto; gap: 0 12px; padding-top: 8px; }
  .logo__img { height: 50px; }
  .header__cta { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: center; gap: 0 2px; margin-top: 4px; padding-bottom: 6px; font-size: 14px; }
  .nav a { padding: 5px 9px; }
  .hero__inner { min-height: 0; padding-top: 40px; padding-bottom: 40px; }
  .hero__lead { font-size: 17px; }
  h1 { font-size: 34px; }
  .ticks--row { flex-direction: column; align-items: flex-start; width: fit-content; margin: 22px auto 0; gap: 10px; }
  .form-card { margin-top: 30px; }
  .form__grid { grid-template-columns: 1fr; gap: 14px; }
  .pop--cal, .pop--pax { width: 100%; left: 0; margin-left: 0; }
  .head { margin-bottom: 28px; grid-template-columns: 1fr; }
  .head > p:not(.eyebrow), .head > .slider-nav { grid-column: 1; grid-row: auto; justify-self: start; }
  .head p:not(.eyebrow) { font-size: 16px; }
}
@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 52px 0; }
  .form-card { padding: 20px; border-radius: 22px; }
  .calc { padding: 20px; border-radius: 22px; }
  .pop { padding: 14px; }
  .cal__day span { width: 36px; height: 36px; }
  .cal__hint { display: none; }
  .dests { gap: 10px; }
  .dest { padding: 12px; aspect-ratio: 1; }
  .dest__name { font-size: 18px; }
  .dest__more { font-size: 12px; }
  .team { grid-template-columns: 1fr; gap: 12px; }
  .subhead { margin-top: 32px; }
  .reviews .review { width: 290px; margin-right: 12px; }
  .review { padding: 22px; }
  .slider-nav { display: none; }
  .calc__result b { font-size: 28px; }
  .faq { padding: 4px 18px; }
  .office__info { grid-template-columns: 1fr; }
  .office__body { padding: 20px; }
  .footer__top { justify-content: center; text-align: center; }
  .footer__nav, .footer__contact { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ── 2ГИС: крупная ссылка на отзывы и маршрут ───────────── */
.gis { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow); color: var(--navy); font-size: 15px; transition: box-shadow .25s var(--ease); }
.gis:hover { box-shadow: var(--shadow-lg); }
.gis b { font-weight: 700; }
/* первый экран: 2ГИС и «Горящие туры» рядом, одной высоты */
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }   /* под формой заявки */
.hero__chips .gis { margin: 0; min-height: 50px; }
.hot-chip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--rose); }
.hot-chip__icon svg { width: 20px; height: 20px; fill: #e0569a; }
.hot-chip .gis__arrow { color: #e0569a; }
.gis__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #19aa1e; color: #fff; font: 800 18px var(--font-head); }
.gis__arrow { color: #19aa1e; font-weight: 700; }
.gis--block { display: flex; width: 100%; margin: 0; border-radius: 14px; box-shadow: none; border: 1px solid var(--line); }
.gis--block .gis__arrow { margin-left: auto; }

/* ── Горящие туры ───────────────────────────────────────── */
#hot { --mark: #d86a9e; }
.hot { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }   /* сколько туров в таблице – столько и карточек в ряд */
.hot[hidden], .hot-list[hidden] { display: none; }
.hot__card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.hot__card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.hot__body { display: grid; gap: 4px; padding: 16px 20px 20px; justify-items: start; flex: 1; align-content: start; }
.hot__tag { padding: 4px 12px; border-radius: 999px; font: 700 12px var(--font-head); letter-spacing: .03em; color: var(--rose-ink); background: var(--rose); }
.hot__card--soon .hot__tag { color: var(--lemon-ink); background: var(--lemon); }
.hot__card--new .hot__tag { color: var(--sky-ink); background: var(--sky); }
.hot__card--early .hot__tag { color: var(--mint-ink); background: var(--mint); }
.hot__body h3 { font-size: 20px; margin-top: 4px; }
.hot__body p { color: var(--muted); font-size: 15px; }
.hot__body .hot__when { color: var(--navy); font-weight: 600; }
.hot__body .hot__price { margin-top: 6px; color: var(--muted); }
.hot__price b { font: 700 22px var(--font-head); color: var(--navy); }
.hot__btn { margin-top: 10px; }

/* Горящие туры из Астаны: компактный список, по клику направление подставляется в заявку */
.hot-list { margin-top: 36px; padding: 24px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.hot-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.hot-list__head h3 { font-size: 20px; }
.hot-list__head p { color: var(--muted); font-size: 15px; }
.hot-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.hot-list__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line);
  background: none; font: 15px var(--font-body); color: var(--ink-2); text-align: left; cursor: pointer; border-radius: 10px; }
.hot-list__item:hover { background: var(--sky); }
.hot-list__item b { color: var(--navy); }
.hot-list__item small { display: block; font-size: 13px; color: var(--muted); }
.hot-list__tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 700 11px var(--font-head); font-style: normal; vertical-align: 2px;
  color: var(--rose-ink); background: var(--rose); }
.hot-list__tag--new { color: var(--sky-ink); background: var(--sky); }
.hot-list__tag--early { color: var(--mint-ink); background: var(--mint); }
.hot-list__tag--soon { color: var(--lemon-ink); background: var(--lemon); }
.hot-list__price { font: 700 15px var(--font-head); color: var(--navy); white-space: nowrap; }
@media (max-width: 1180px) { .hot-list__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .hot-list { padding: 16px; } .hot-list__grid { grid-template-columns: 1fr; } }

/* ── Возраст детей в окне «Туристы» ─────────────────────── */
.pax__ages { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pax__ages[hidden] { display: none; }
.pax--age span { font-size: 14px; color: var(--ink-2); }

/* ── Слои: содержимое поверх фона ── */
/* overflow у .hero не скрываем: окна выбора дат и туристов должны выходить за его край */
.hero__inner { position: relative; z-index: 1; }
main, .footer { position: relative; z-index: 1; }

@media (max-width: 860px) {
  /* планшет: две карточки в ряд (auto-fit), телефон – одна на всю ширину (ниже) */
  .gis { font-size: 14px; }
  /* кнопки WhatsApp и звонка не закрывают ссылки внизу страницы */
  .float { right: 12px; bottom: 12px; }
  .float__btn { width: 48px; height: 48px; }
  .footer { padding-bottom: 72px; }
}

/* ── Страница тура (tours/*.html, создаёт deploy/hot_sync.py) ───────────────── */
.tour-page main { padding-top: 28px; }
.tour__back { display: inline-block; margin-bottom: 18px; font-weight: 600; color: var(--sea); }
/* фото и описание одной высоты: блок с ценой прижат к низу фото */
.tour__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.tour__media { position: relative; min-height: 420px; }
.tour__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--sky); }
.tour__photo--empty { background: linear-gradient(135deg, var(--sky), var(--rose)); }
.tour__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tour__info h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.tour__hotel { margin-top: -4px; font: 600 18px var(--font-head); color: var(--ink-2); }
.tour__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 4px 0 0; }
.tour__facts > div { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); }
.tour__facts .wide-2 { grid-column: span 2; } .tour__facts .wide-3 { grid-column: span 3; }
.tour__facts dt { font-size: 12px; color: var(--muted); }
.tour__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.tour__note { width: 100%; padding: 12px 16px; border-radius: 14px; background: var(--lemon); color: var(--ink-2); font-size: 14px; }
.tour__buy { width: 100%; margin-top: auto; display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.tour__price { display: flex; align-items: baseline; gap: 10px; }
.tour__price b { font: 800 32px var(--font-head); color: var(--navy); letter-spacing: -.01em; }
.tour__price span { color: var(--muted); }
.tour__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tour__btns .btn { width: 100%; }
/* две кнопки поровну: WhatsApp и звонок */
.tour__fine { font-size: 13px; color: var(--muted); }
/* «Поделиться»: на телефоне – меню телефона (WhatsApp, Instagram…), на компьютере – копия ссылки */
.tour__share[hidden] { display: none; }
.tour__share { width: 100%; gap: 8px; }
.tour__share svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* ниже – две равные карточки на всю ширину: «Об отеле» и «Перелёт» */
.tour__more { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; align-items: stretch; }
.tour__more > :only-child { grid-column: 1 / -1; }
.tour__card { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.tour__card h2 { font-size: 20px; margin-bottom: 12px; }
.tour__text { color: var(--ink-2); line-height: 1.7; }
.tour__amen { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; list-style: none; padding: 0; }
.tour__amen li { padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--sky-ink); font-size: 14px; font-weight: 600; }
.tour__flights { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tour__flights li { display: grid; grid-template-columns: 84px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.tour__flights b { color: var(--navy); }
.tour__flights span:last-child { grid-column: 2; font-size: 14px; color: var(--muted); }
.tour__dir { grid-row: span 2; align-self: center; font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--sky-ink); }
@media (max-width: 860px) {
  .tour__grid, .tour__more { grid-template-columns: 1fr; gap: 20px; }
  /* на телефоне фото – обычная картинка в потоке: Safari обнуляет высоту
     растянутого блока с aspect-ratio, и абсолютное фото пропадало */
  .tour__media { min-height: 0; }
  .tour__photo { position: static; display: block; height: auto; aspect-ratio: 3 / 2; }
  .tour__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour__facts .wide-2, .tour__facts .wide-3 { grid-column: 1 / -1; }
  .tour__btns { grid-template-columns: 1fr; }
  .tour__flights li { grid-template-columns: 1fr; }
  .tour__flights span:last-child, .tour__dir { grid-column: auto; grid-row: auto; }
}

/* Карточка горящего тура со своей страницей: «Подробнее» рядом с «Забронировать» */
.hot__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hot__actions .hot__btn { margin-top: 0; }
.hot__card a.hot__photo { display: block; }
a.hot-list__item { text-decoration: none; }
@media (max-width: 600px) { .hot { grid-template-columns: 1fr; } }

/* ── Нижнее меню на телефоне: Главная · Горящие · Подбор · Написать ── */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(36, 59, 76, .08); transition: transform .3s var(--ease); }
  .picker-open .tabbar { transform: translateY(110%); }
  .tabbar__item { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: var(--muted);
    font: 600 12px var(--font-head); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar__item.is-active { color: var(--primary); background: var(--rose); }
  .tabbar__item--wa { color: #fff; background: var(--wa); }
  .float { bottom: calc(82px + env(safe-area-inset-bottom)); }   /* звонок – над меню */
  .float__btn--wa { display: none; }                            /* WhatsApp уже в меню */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
