/* ============================================================
   ROVACH-AB — светлый редизайн в стиле Dolanan
   Крупная типографика · белый фон · оливковые пилюли · фото-карточки
   ============================================================ */

:root {
  --ink: #16190f;
  --ink-soft: #4b5244;
  --muted: #8b9184;
  --bg: #f1f2ee;
  --card: #ffffff;
  --line: #e6e8e0;
  --olive: #333d1e;
  --olive-deep: #262e15;
  --olive-soft: #6b7a4a;
  --accent: #0f9152;           /* фирменный зелёный логотипа */
  --red: #d92433;
  --blue: #2b54d6;
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 20px 50px rgba(22, 25, 15, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.container { width: min(1180px, 92vw); margin-inline: auto; }

::selection { background: var(--olive); color: #fff; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--pill);
  font-weight: 500; font-size: 15px;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-deep); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--full { width: 100%; }

/* ---------- Прогресс скролла ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--olive); transition: width .1s linear; }

/* ---------- Топбар ---------- */
.topbar { background: var(--bg); font-size: 13px; color: var(--ink-soft); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 16px; flex-wrap: wrap; width: 100%; padding-inline: 22px; }
.topbar__contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.topbar__link:hover { opacity: 1; }
.lang-switch { display: flex; gap: 4px; background: #e7e9e1; border-radius: var(--pill); padding: 3px; }
.lang-switch__btn { padding: 4px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.lang-switch__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--bg);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: #f1f2ee; box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; padding: 14px 0; gap: 26px; width: 100%; padding-inline: 22px; }
.nav__contacts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.nav__inner .lang-switch { margin-inline: auto; }
.nav__links { margin-left: auto; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.nav__brand-accent {
  background: linear-gradient(92deg, #b8860b 0%, #e8c765 22%, #fff4c2 40%, #e8a13a 55%, #c8891f 72%, #f4d982 88%, #b8860b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShine 4s linear infinite;
}
@keyframes goldShine { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .nav__brand-accent { animation: none; } }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 15px; color: var(--ink-soft); transition: color .2s ease; }
.nav__link:hover { color: var(--ink); }
.nav__cta { margin-left: 6px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Анимированный логотип (блик + дыхание + самолётик) ---------- */
.brand-logo { position: relative; display: inline-block; flex: none; animation: brandBreathe 6s ease-in-out infinite; }
.brand-logo img { display: block; filter: saturate(1.2) brightness(1.04); }
.brand-logo__shine {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask: url("assets/logo-3d.png") center / 100% 100% no-repeat;
          mask: url("assets/logo-3d.png") center / 100% 100% no-repeat;
}
.brand-logo__shine::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 45%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.35) 60%, rgba(255,255,255,0) 100%);
  transform: rotate(8deg);
  animation: brandShine 5.2s cubic-bezier(.55,.06,.35,.94) infinite;
}
.brand-logo__orbit {
  position: absolute; inset: -26%;
  border: 1px dashed rgba(43, 84, 214, .4); border-radius: 50%;
  animation: brandOrbit 12s linear infinite; pointer-events: none;
}
.brand-logo__plane { position: absolute; left: 50%; top: 0; width: 36%; max-width: 15px; transform: translate(-50%, -55%); color: var(--blue); }
@keyframes brandBreathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.03); } }
@keyframes brandShine { 0% { left: -70%; } 38% { left: 140%; } 100% { left: 140%; } }
@keyframes brandOrbit { to { transform: rotate(360deg); } }

/* ---------- Hero: фото-карточка со скруглением ---------- */
.hero {
  position: relative;
  margin: 6px 14px 0;
  /* контент растянут по высоте */
  border-radius: 26px;
  overflow: hidden;
  min-height: min(76vh, 680px);
  min-height: min(76svh, 680px); /* стабильная высота: не прыгает при скролле на телефоне */
  display: flex; align-items: stretch;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.hero__shade {
  position: absolute; inset: 0;
  background: rgba(10, 15, 6, .44);
}
.hero__content {
  padding: 70px 0 40px; color: #fff; width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  align-self: stretch;
  position: relative;
}
.hero__kicker {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.08;
  width: fit-content; text-align: left;
  margin-left: clamp(24px, 6vw, 110px);
  background: linear-gradient(110deg, #fff 42%, #ffe9b3 50%, #fff 58%);
  background-size: 240% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
}
h1.hero__title.reveal-word {
  animation: wordIn .9s ease .15s both, titleShimmer 4.5s linear 1.4s infinite;
  margin-top: -56px; /* чуть выше центра; статистику не трогает */
}
@keyframes titleShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.hero__title-line { display: block; }
.hero__rotator { font-style: normal; color: #fff; border-bottom: 3px solid rgba(255,255,255,.55); transition: opacity .35s ease, transform .35s ease; display: inline-block; }
.hero__rotator.is-swapping { opacity: 0; transform: translateY(10px); }
.hero__sub { margin-top: 22px; max-width: 46ch; font-size: 17px; color: rgba(255,255,255,.88); }
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--primary { background: #fff; color: var(--ink); }
.hero__actions .btn--primary:hover { background: #f2f2ee; }
.hero__actions .btn--ghost { background: rgba(20,26,12,.35); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.hero__stats { display: flex; gap: clamp(22px, 5vw, 56px); margin-top: 54px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.hero__stat-label { font-size: 13px; color: rgba(255,255,255,.75); }
.hero__scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); opacity: .8; }
.hero__mouse { display: block; width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.8); border-radius: 14px; position: relative; }
.hero__mouse span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: mouseDot 1.6s ease-in-out infinite; }
@keyframes mouseDot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; padding: 26px 0; background: var(--olive); margin-top: 26px; }
.marquee__track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
main { background: var(--bg); }
.section { padding: clamp(72px, 9vw, 120px) 0; background: var(--bg); }
.section--tinted { background: #fff; }
.section--dark { background: var(--bg); }  /* тёмных блоков в новом стиле нет */
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--light { color: var(--ink); }
.section__kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-soft); font-weight: 600; margin-bottom: 14px; }
.section__title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- Направления ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dest-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dest-card::before {
  content: ""; display: block; aspect-ratio: 4 / 3.4;
  background-size: cover; background-position: center;
}
.dest-card--darvaza::before  { background-image: url("assets/photos/darvaza.jpg"); }
.dest-card--merv::before     { background-image: url("assets/photos/merv.jpg"); }
.dest-card--karakum::before  { background-image: url("assets/photos/karakum.jpg"); }
.dest-card--caspian::before  { background-image: url("assets/photos/caspian.jpg"); }
.dest-card--nisa::before     { background-image: url("assets/photos/nisa.jpg"); }
.dest-card--ashgabat::before { background-image: url("assets/photos/ashgabat.jpg"); }
.dest-card__photo { position: absolute; inset: 0; height: auto; aspect-ratio: 4 / 3.4; width: 100%; object-fit: cover; }
.dest-card__emoji {
  position: absolute; top: 14px; left: 14px;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border-radius: 12px; font-size: 20px;
}
.dest-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dest-card__name { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.dest-card__desc { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card__more {
  margin-top: auto; align-self: flex-start;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
}
.dest-card__more::after { content: "→"; transition: transform .25s ease; }
.dest-card:hover .dest-card__more::after { transform: translateX(4px); }

/* ---------- Фильтры туров ---------- */
.tour-filters { display: flex; gap: 8px; justify-content: center; margin-bottom: 38px; flex-wrap: wrap; }
.tour-filters__btn { padding: 10px 22px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); background: #fff; transition: all .25s ease; }
.tour-filters__btn:hover { border-color: var(--olive); color: var(--ink); }
.tour-filters__btn.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }

/* ---------- Карточки туров ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tour-grid__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.tour-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-card.is-entering { animation: cardIn .5s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tour-card__media { position: relative; aspect-ratio: 4 / 3.3; background-size: cover; background-position: center; }
.tour-card__media--fire   { background-image: url("assets/photos/tour-darvaza.jpg"); }
.tour-card__media--ruins  { background-image: url("assets/photos/t2.jpg"); }
.tour-card__media--route  { background-image: url("assets/photos/t3.jpg"); }
.tour-card__media--custom { background-image: url("assets/photos/t4.jpg"); }
.tour-card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: var(--pill);
  background: rgba(255,255,255,.94); font-size: 12px; font-weight: 600; color: var(--ink);
}
.tour-card__badge--featured { background: var(--olive); color: #fff; }
.tour-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-card__title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tour-card__desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__meta { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; }
.tour-card__price { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tour-card__price small, .tour-card__price span { font-weight: 400; color: var(--muted); font-size: 13px; }
.tour-card__duration { font-size: 13px; color: var(--muted); }
.tour-card__more { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tour-card__more::after { content: "→"; transition: transform .25s ease; }
.tour-card:hover .tour-card__more::after { transform: translateX(4px); }

/* ---------- Почему мы: список как «Ticket ordering process» ---------- */
#why .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
#why .section__head { text-align: left; margin: 0 0 8px; max-width: none; }
#why .section__head .section__title { font-size: clamp(30px, 4vw, 46px); }
#why .container::before {
  content: ""; grid-row: 1 / span 2;
  border-radius: var(--radius); min-height: 480px;
  background: url("assets/photos/how.jpg") center / cover no-repeat;
}
.why-grid { display: flex; flex-direction: column; gap: 8px; }
.why-card {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius-sm);
  transition: background .25s ease;
}
.why-card:hover, .why-card:first-child { background: #fff; }
.section--tinted .why-card:hover { background: var(--bg); }
.why-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.why-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Отзывы ---------- */
/* ==== Стена отзывов: колонки слева/справа + карточки ==== */
.quotes-wall { position: relative; }
.quotes-wall .review-box { position: relative; z-index: 2; margin-inline: auto; }
.quotes-col {
  position: absolute; top: -30px; bottom: -30px; width: clamp(220px, 26vw, 340px);
  overflow: hidden; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.quotes-col--left  { left: -20px; }
.quotes-col--right { right: -20px; }
.quotes-track { display: flex; flex-direction: column; gap: 14px; animation: quotesScroll 70s linear infinite; }
.quotes-col--right .quotes-track { animation-duration: 88s; animation-direction: reverse; }
@keyframes quotesScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.quote {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px; padding: 16px 18px;
}
.quote__stars { color: #e8a13a; letter-spacing: 2px; font-size: 13px; margin-bottom: 8px; }
.quote__text { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.9); }
.quote__author { margin-top: 10px; color: rgba(255,255,255,.55); font-size: 13px; }

@media (max-width: 1100px) {
  .quotes-col { display: none; }
}

.review-box { max-width: 520px; margin: 64px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.section--tinted .review-box { background: var(--bg); }
.review-box__title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.review-box__sub { color: var(--muted); font-size: 14.5px; margin: 8px 0 22px; }
.review-form { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Поля форм ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(51, 61, 30, .12);
}
.stars { display: flex; gap: 4px; }
.stars__btn { font-size: 26px; color: #d5d8cd; transition: color .15s ease, transform .15s ease; }
.stars__btn.is-lit { color: #e8a13a; }
.stars__btn:hover { transform: scale(1.15); }

/* ---------- О нас ---------- */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about__text .section__kicker { margin-bottom: 14px; }
.about__text .section__title { margin-bottom: 20px; font-size: clamp(30px, 4vw, 46px); }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 60ch; }
.about__team { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.about__visual { display: flex; flex-direction: column; gap: 18px; }
.about__visual::before {
  content: ""; border-radius: var(--radius); aspect-ratio: 4 / 4.6;
  background: url("assets/photos/d1.jpg") center / cover no-repeat;
}
.map-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: transform .25s ease, box-shadow .25s ease;
}
.section--tinted .map-card { background: var(--bg); }
.map-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.map-card__icon { color: var(--olive); }
.map-card__body { display: flex; flex-direction: column; }
.map-card__body strong { font-size: 15px; }
.map-card__body span { font-size: 13px; color: var(--muted); }
.map-card__arrow { margin-left: auto; color: var(--muted); }

/* ---------- Контакты ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: transform .25s ease, box-shadow .25s ease;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.channel--whatsapp .channel__icon { color: #1fa855; }
.channel__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); }
.channel__icon--ig { color: #c13584; }
.channel__icon--tt { color: var(--ink); }
.channel__icon--mail { color: var(--blue); }
.channel__body { display: flex; flex-direction: column; }
.channel__body strong { font-size: 15px; }
.channel__body span { font-size: 13px; color: var(--muted); }
.channel__arrow { margin-left: auto; color: var(--muted); transition: transform .25s ease; }
.channel:hover .channel__arrow { transform: translateX(4px); }
.inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.inquiry__title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.inquiry__note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Футер: фото + зелёная вуаль ---------- */
.footer {
  position: relative; color: #fff; margin-top: 40px;
  background: linear-gradient(180deg, rgba(20, 30, 10, .55), rgba(16, 24, 8, .82)), url("assets/photos/footer.jpg") center / cover no-repeat;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: clamp(24px, 5vw, 64px); padding: clamp(48px, 7vw, 84px) 0 34px; align-items: start; }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand strong { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.footer__brand p { color: rgba(255,255,255,.75); font-size: 14.5px; margin-top: 6px; max-width: 34ch; }
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__links a { color: rgba(255,255,255,.85); transition: color .2s ease; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  transition: background .25s ease, transform .25s ease;
}
.footer__social a:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0 26px; font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Наверх / тост ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--olive); color: #fff; font-size: 18px;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 95;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--pill);
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-word { opacity: 0; animation: wordIn .8s ease forwards; }
.hero__kicker.reveal-word { animation-delay: .1s; }
.hero__title .reveal-word:nth-child(1) { animation-delay: .22s; }
.hero__title .reveal-word:nth-child(2) { animation-delay: .34s; }
.hero__sub.reveal-word { animation-delay: .48s; }
.hero__actions.reveal-word { animation-delay: .6s; }
.hero__stats.reveal-word { animation-delay: .72s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Скелетоны и внутренние страницы ---------- */
.skeleton { background: linear-gradient(90deg, #e9ebe3 25%, #f4f5f0 50%, #e9ebe3 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
.skeleton--hero { min-height: 320px; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.detail-hero { padding: clamp(48px, 7vw, 90px) 0 30px; }
.detail-hero__crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.detail-hero__crumbs a:hover { color: var(--ink); }
.detail-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.detail-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(56px, 8vw, 100px); }
.detail-body { font-size: 16.5px; color: var(--ink-soft); }
.detail-body h2, .detail-body h3 { color: var(--ink); letter-spacing: -.02em; margin: 26px 0 10px; font-weight: 600; }
.detail-body p { margin-bottom: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  #why .container { grid-template-columns: 1fr; }
  #why .container::before { min-height: 300px; grid-row: auto; }
  .about, .contact, .detail-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { margin: 4px 8px 0; min-height: 70vh; min-height: 70svh; }
  .hero__content { padding: 72px 0 90px; }
  .nav__links {
    position: fixed; inset: 0 0 0 30%; z-index: 85;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 22px;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,.15);
  }
  .nav__links.is-open { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav__burger { display: flex; z-index: 90; }
  .dest-grid, .tour-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .topbar__link--email { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brand-logo__orbit { display: none; }
  html { scroll-behavior: auto; }
}


/* кнопки из hero-разметки */
.btn--sand { background: #fff; color: var(--ink); }
.btn--sand:hover { background: #f2f2ee; transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* «Спланировать поездку» — ровно по центру, ниже */
.hero__plan {
  position: absolute; left: 50%; top: 72%; z-index: 2;
  opacity: 0; transform: translate(-50%, 22px);
  animation: planIn .8s ease .9s forwards, planFloat 3.6s ease-in-out 1.8s infinite;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
@keyframes planIn {
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes planFloat {
  0%, 100% { transform: translate(-50%, 0); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
  50%      { transform: translate(-50%, -6px); box-shadow: 0 22px 44px rgba(0,0,0,.34); }
}
@media (max-width: 900px) {
  .hero__plan { top: auto; bottom: 110px; }
}


/* ==== Карусель отзывов: тёмно-зелёный блок ==== */
#testimonials {
  background: #1c2712;
  color: #fff;
  margin: 24px 14px;
  border-radius: 26px;
}
#testimonials .section__kicker { color: #a9bd7e; }
#testimonials .section__title { color: #fff; }

/* белая плашка формы внутри тёмной секции — текст снова тёмный,
   иначе заголовок наследует белый от #testimonials и пропадает на белом */
#testimonials .review-box { background: #fff; border-color: transparent; color: var(--ink); }
#testimonials .review-box__title { color: var(--ink); }

/* ==== Плавное появление текстов при скролле ==== */
.txt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.txt-reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .txt-reveal { opacity: 1; transform: none; transition: none; }
}


/* ==== Полоса статистики под видео ==== */
.hero__statsbar {
  position: absolute; left: clamp(24px, 6vw, 110px); bottom: 42px;
  display: flex; color: #fff;
  opacity: 0; animation: wordIn .8s ease 1.1s forwards;
}
.stat-item {
  padding: 4px 28px;
  border-left: 1px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item { display: flex; flex-direction: column; justify-content: flex-start; }
.stat-item strong { line-height: 1.1; }
.stat-item strong { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.stat-item span { font-size: 12.5px; color: rgba(255,255,255,.8); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@media (max-width: 720px) {
  .hero__statsbar { position: static; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .stat-item { padding: 2px 14px; }
  .stat-item:nth-child(3) { border-left: none; }
}


/* шапка: адаптив для контактов и языков */
@media (max-width: 1100px) {
  .nav__contacts { display: none; }
}
@media (max-width: 720px) {
  .nav__inner .lang-switch { margin-left: auto; margin-right: 8px; }
}


/* заголовок: «Туркменистан» с подчёркиванием, остальное — две строки не шире него */
.hero__title-main {
  display: inline-block;
  border-bottom: 1.5px solid rgba(255,255,255,.85);
  padding-bottom: 8px;
}
.hero__title-rest {
  display: block;
  margin-top: 12px;
  font-size: .58em;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.01em;
}
.hero__title-rest > span { display: block; }


/* золотая звезда в статистике */
.stat-item strong .gold-star { color: #f2a83c !important; font-size: 1.08em; margin-left: 6px; text-shadow: 0 0 16px rgba(242,168,60,.55); }

/* ==== Карта сокровищ: интерактивный маршрут ==== */
.tmap {
  background: #f6ead0;
  border: 1px solid #e2cfa6;
  border-radius: var(--radius);
  padding: clamp(12px, 2vw, 24px);
  box-shadow: inset 0 0 60px rgba(138, 107, 63, .12);
}
.tmap svg { width: 100%; height: auto; display: block; }
.tmap__sea { fill: #cfe2ea; stroke: #9dbecb; stroke-width: 1.5; }
.tmap__land { fill: #efe0bc; stroke: #8a6b3f; stroke-width: 2.5; stroke-linejoin: round; }
.tmap__compass circle { fill: #f6ead0; stroke: #8a6b3f; stroke-width: 2; }
.tmap__compass path { fill: #b3341f; }
.tmap__compass text { font: 700 14px var(--font); fill: #5c4a2a; text-anchor: middle; }

.tmap__route { fill: none; stroke: #b3341f; stroke-width: 4; stroke-dasharray: 1 12; stroke-linecap: round; }

.tmap__point { cursor: pointer; }
.tmap__point .ring { fill: #fff; stroke: #8a6b3f; stroke-width: 2.5; transition: stroke .2s ease; }
.tmap__point:hover .ring { stroke: #b3341f; stroke-width: 3.5; }
.tmap__point .pname {
  font: 600 15px var(--font); fill: #5c4a2a; text-anchor: middle;
  paint-order: stroke; stroke: #f6ead0; stroke-width: 4px; stroke-linejoin: round;
  pointer-events: none;
}
.tmap__point .xmark line { stroke: #b3341f; stroke-width: 7; stroke-linecap: round; }
.tmap__point .numc { fill: #b3341f; }
.tmap__point .numt { font: 700 14px var(--font); fill: #fff; text-anchor: middle; pointer-events: none; }

.tmap__panel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.tmap__list { flex: 1; min-width: 220px; font-size: 15px; font-weight: 500; color: #5c4a2a; }
.tmap__reset { background: #fff; border: 1px solid #e2cfa6; color: #5c4a2a; display: none; }
.tmap__reset.show { display: inline-flex; }
.tmap__send { display: none; }
.tmap__send.show { display: inline-flex; animation: wordIn .5s ease both; }

@media (max-width: 720px) {
  .tmap__point .pname { font-size: 19px; }
}

/* ==== Карта сокровищ: свой маршрут ==== */
.tmap-card {
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(232, 203, 141, .35), transparent 70%),
    linear-gradient(160deg, #f6ecd4, #eddfbd);
  border: 1px solid #e0d0a6;
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 34px);
  box-shadow: inset 0 0 60px rgba(154, 120, 60, .12);
}
#tmap { display: block; width: 100%; height: auto; }

.tmap-country {
  fill: #efe3c2;
  stroke: #8a6f3c;
  stroke-width: 2.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(122, 92, 40, .25));
}
.tmap-sea {
  font-size: 13.5px; font-style: italic; letter-spacing: .02em;
  fill: #3f7fae;
}

#tmap-route {
  fill: none;
  stroke: #b3452c;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 14;
  animation: tmapDash 1.2s linear infinite;
}
@keyframes tmapDash { to { stroke-dashoffset: -16; } }

.tmap-point { cursor: pointer; outline: none; }
.tmap-halo { fill: rgba(179, 69, 44, 0); transition: fill .25s ease; }
.tmap-point:hover .tmap-halo, .tmap-point:focus .tmap-halo { fill: rgba(179, 69, 44, .12); }
.tmap-ring {
  fill: none; stroke: #fff; stroke-width: 4;
  filter: drop-shadow(0 3px 8px rgba(60, 40, 10, .35));
  transition: stroke .25s ease;
}
.tmap-point.is-picked .tmap-ring { stroke: #b3452c; }
.tmap-point image { transition: transform .25s ease; transform-origin: 0 0; }
.tmap-point:hover image { transform: scale(1.06); }

.tmap-label {
  font-size: 15px; font-weight: 600; fill: #4a3a18;
  paint-order: stroke; stroke: #ffffff; stroke-width: 4px; stroke-linejoin: round;
}

.tmap-cross { opacity: 0; pointer-events: none; }
.tmap-cross path {
  stroke: #b3452c; stroke-width: 7; stroke-linecap: round; fill: none;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  filter: drop-shadow(0 2px 4px rgba(60, 20, 0, .35));
}
.tmap-point.is-picked .tmap-cross { opacity: 1; }
.tmap-point.is-picked .tmap-cross path { animation: tmapX .35s ease forwards; }
@keyframes tmapX { to { stroke-dashoffset: 0; } }

.tmap-num { opacity: 0; transition: opacity .25s ease; }
.tmap-point.is-picked .tmap-num { opacity: 1; }
.tmap-num circle { fill: var(--olive); }
.tmap-num text { fill: #fff; font-size: 13px; font-weight: 700; }

.tmap-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 18px;
}
.tmap-counter { font-size: 15px; color: #4a3a18; }
.tmap-counter b { font-size: 17px; }
.tmap-clear {
  font-size: 14px; color: #7a6234; text-decoration: underline;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.tmap-actions.has-any .tmap-clear { opacity: 1; pointer-events: auto; }
#tmap-send {
  margin-left: auto;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.tmap-actions.is-ready #tmap-send { opacity: 1; transform: none; pointer-events: auto; }
.tmap-hint { margin-top: 10px; font-size: 13.5px; color: #8a744a; }
.tmap-actions.is-ready + .tmap-hint { visibility: hidden; }

@media (max-width: 720px) {
  .tmap-label { font-size: 19px; }
  #tmap-send { margin-left: 0; width: 100%; justify-content: center; }
}

/* вода на карте */
.tmap-water {
  fill: #a9d7ef;
  stroke: #7fb5d4;
  stroke-width: 2;
}

/* цветные велаяты */
.tmap-regions { filter: drop-shadow(0 6px 14px rgba(122, 92, 40, .25)); }
.tmap-region {
  stroke: #8a8474;
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: .96;
}


/* подписи велаятов и соседей */
.tmap-vlabel {
  font-size: 16.5px; font-style: italic; font-weight: 500;
  fill: #4c4433;
  paint-order: stroke; stroke: rgba(255,255,255,.55); stroke-width: 3px;
  pointer-events: none;
}
.tmap-neighbor {
  font-size: 16px; font-style: italic; fill: #8b8b83; pointer-events: none;
}
.tmap-gulf {
  font-size: 12.5px; font-style: italic; fill: #4a7ea3; pointer-events: none;
}

/* секция карты — белый фон */
#route-map { background: #fff; }

/* новые направления: фирменные градиенты до появления фото */
.dest-card--yangykala::before { background-image: url("assets/photos/yangykala.jpg"); }
.dest-card--koytendag::before { background-image: url("assets/photos/koytendag.jpg"); }
.dest-card--kowata::before { background-image: url("assets/photos/kowata.jpg"); }

/* ==== Страница направления ==== */
.detail-hero { position: relative; overflow: hidden; padding: clamp(80px, 14vh, 150px) 0 clamp(40px, 7vh, 76px); margin: 6px 14px 0; border-radius: var(--radius); }
/* фон-фото берётся из .dest-card--<slug>::before, поэтому здесь только размеры */
.detail-hero::before { content: ""; position: absolute; inset: 0; aspect-ratio: auto; background-size: cover; background-position: center; z-index: 0; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,6,.32) 0%, rgba(10,15,6,.66) 100%); z-index: 1; }
.detail-hero .container { position: relative; z-index: 2; color: #fff; }
.detail-hero__crumbs a { color: rgba(255,255,255,.85); font-size: 14px; }
.detail-hero__crumbs a:hover { color: #fff; }
.detail-hero__title { font-size: clamp(34px, 5.6vw, 62px); font-weight: 500; letter-spacing: -.03em; margin-top: 16px; text-shadow: 0 4px 26px rgba(0,0,0,.45); }
.detail-hero__emoji { font-size: .8em; }
.detail-hero__tagline { margin-top: 12px; max-width: 34ch; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,.9); text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.detail-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.detail-article__subtitle { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; margin: 38px 0 14px; }
.detail-article__subtitle:first-child { margin-top: 0; }
.detail-article__text p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; max-width: 68ch; }

.see-list { list-style: none; display: grid; gap: 10px; }
.see-list li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.6; }
.see-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--olive);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px var(--olive);
}

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.fact { display: flex; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.fact__ico { font-size: 20px; line-height: 1.2; }
.fact h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); margin-bottom: 4px; }
.fact p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

.book-card { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.book-card__title { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.book-card__note { font-size: 13px; color: var(--ink-soft); text-align: center; }
.book-card__sub { margin-top: 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); }
.inc-list { list-style: none; display: grid; gap: 8px; }
.inc-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-soft); }
.inc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.btn--full { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .book-card { position: static; }
}

/* новые направления — стилевые градиенты до появления фото */
.dest-card--astanababa::before { background-image: url("assets/photos/astanababa.jpg"); }
.dest-card--dehistan::before { background-image: url("assets/photos/dehistan.jpg"); }
.dest-card--seyitjemal::before { background-image: url("assets/photos/seyitjemal.jpg"); }
.dest-card--abiverd::before    { background-image: url("assets/photos/abiverd.jpg"); }
.dest-card--kunyaurgench::before { background-image: url("assets/photos/kunyaurgench.jpg"); }
.dest-card--karabogaz::before  { background-image: url("assets/photos/karabogaz.jpg"); }

/* карта с 15 точками — компактные подписи */
.tmap-label { font-size: 12px; }
.tmap-num text { font-size: 11px; }
@media (max-width: 720px) { .tmap-label { font-size: 14px; } }

/* ==================== ТЕЛЕФОН: наводим порядок ==================== */
@media (max-width: 720px) {
  /* горизонтальная прокрутка — главная причина «съехавшего» вида */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* шапка: логотип меньше, название в одну строку */
  .nav__inner { padding-inline: 14px; gap: 10px; }
  .nav__brand { gap: 9px; font-size: 17px; min-width: 0; }
  .nav__brand-name { white-space: nowrap; }
  .brand-logo img { width: 42px !important; height: 42px !important; }
  .brand-logo__orbit { display: none; }
  .nav__inner .lang-switch { margin-inline: 0 0; margin-left: auto; }
  .lang-switch__btn { padding: 6px 9px; font-size: 12px; }

  /* hero: всё центрирование — ниже, в блоке «hero — весь блок строго по центру» */
  .hero h1 { margin-top: 0 !important; }

  /* бегущая строка: не наезжает на края */
  .marquee { margin-top: 18px; }

  /* отзывы: боковые колонки скрыты, форма во всю ширину */
  .quotes-wall { padding: 0; }
  .review-box { margin-top: 28px; max-width: 100%; }

  /* карта: подписи крупнее, плашка тоньше */
  .tmap-card { padding: 12px; }

  /* страницы направлений */
  .detail-hero { margin: 4px 8px 0; padding: 70px 0 44px; }
  .detail-hero__title { font-size: clamp(26px, 8vw, 38px); }
  .book-card { position: static; }
}

/* ==== Отзывы на телефоне: лента, которую листают пальцем ==== */
.quotes-strip { display: none; }
@media (max-width: 1100px) {
  .quotes-strip {
    display: flex; gap: 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 14px;
    margin: 24px -4px 0;
    scrollbar-width: none;
  }
  .quotes-strip::-webkit-scrollbar { display: none; }
  .quotes-strip .quote {
    flex: 0 0 82%; max-width: 340px;
    scroll-snap-align: center;
  }
  .quotes-strip .quote__text { font-size: 15px; }
  .quotes-hint {
    display: block; text-align: center; margin-top: 2px;
    font-size: 12.5px; color: rgba(255,255,255,.5);
  }
}
.quotes-hint { display: none; }

/* ==== Карта на телефоне: широкая, точки крупные и заметные ==== */
@media (max-width: 820px) {
  /* карта шире обычного контейнера, но без 100vw+transform — они дают
     горизонтальную прокрутку и сдвиг. Просто убираем боковые поля контейнера. */
  #route-map .container { width: 100%; padding-inline: 8px; }
  #route-map .section__head { padding-inline: 12px; }
  .tmap-card {
    padding: 8px 6px 14px; border-radius: 14px;
  }
  #tmap { width: 100%; display: block; }

  /* точки крупнее — масштаб задаётся в map.js (scale группы вокруг центра),
     здесь только обводка/шрифты, надёжно во всех браузерах */
  .tmap-point .tmap-ring { stroke-width: 3px; }
  .tmap-point .tmap-cross path { stroke-width: 8; }
  .tmap-num text { font-size: 15px; }

  /* подписи мест — крупнее и с обводкой, читаются на любом фоне */
  .tmap-label { font-size: 17px; stroke-width: 5px; font-weight: 700; }
  .tmap-vlabel { font-size: 18px; }
  .tmap-neighbor { font-size: 16px; }
  .tmap-sea { font-size: 15px; }
  .tmap-gulf { font-size: 13px; }

  .tmap-actions { padding-inline: 14px; gap: 12px; }
  .tmap-hint { padding-inline: 14px; }
  .section__head { margin-bottom: 18px; }
}

/* ==== Телефон: hero — весь блок строго по центру ==== */
/* Один сводный блок: заголовок, статистика и кнопка — одна колонка,
   центр по горизонтали и по вертикали. Отступы сверху и снизу равные. */
@media (max-width: 720px) {
  .hero__content {
    padding: 32px 18px !important;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
  }

  /* заголовок */
  .hero__title,
  .hero__content h1 {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  .hero__title-main { display: inline-block; }      /* подчёркивание ровно под словом */
  .hero__title-rest { display: block; font-size: .62em; }
  .hero__kicker { width: 100%; text-align: center; }

  /* статистика: сетка 2×2, каждая ячейка по центру своей половины */
  .hero__statsbar {
    position: static;
    width: 100%; max-width: 320px;
    margin: 26px auto 0 !important;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0;
    justify-items: stretch; text-align: center;
  }
  .stat-item {
    align-items: center; justify-content: center;
    padding: 2px 0; border-left: none;
  }
  .stat-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18); }

  /* кнопка — по центру под статистикой */
  .hero__plan {
    position: static !important; left: auto !important; top: auto !important;
    transform: none !important; animation: none;
    align-self: center; margin: 26px auto 0 !important;
  }
}

/* ==== Телефон: отзывы — текст по центру ==== */
@media (max-width: 1100px) {
  .quotes-strip .quote,
  .quotes-strip .quote__stars,
  .quotes-strip .quote__text,
  .quotes-strip .quote__author { text-align: center; }
  .quotes-strip .quote__stars { letter-spacing: 3px; }
}
@media (max-width: 720px) {
  #testimonials .section__head,
  #testimonials .section__kicker,
  #testimonials .section__title,
  #testimonials .section__sub { text-align: center; }
  .quotes-hint { text-align: center; }
  .review-box { text-align: center; margin-inline: auto; }
  .review-box__title, .review-box__sub { text-align: center; }
  .review-form label { text-align: left; }   /* поля формы читаются удобнее слева */
}

/* ==== Полароиды на странице Дарвазы =================================
   Два снимка соседних кратеров в пустых полях по бокам от текста.
   Показываются только там, где для них есть место (широкий экран),
   и только на странице Дарвазы — класс ставит detail.js.            */
.detail-grid { position: relative; }   /* якорь для полароидов: ширина контейнера, не всей секции */

.polaroid {
  position: absolute;
  width: 232px;
  background: #fff;
  padding: 12px 12px 0;
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(22,25,15,.20), 0 2px 6px rgba(22,25,15,.10);
  z-index: 1;
}
.polaroid img {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 1px;
}
.polaroid figcaption {
  font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 15px; line-height: 1.3; color: #3a3f31;
  text-align: center; padding: 12px 4px 16px;
}
/* лёгкий наклон — как будто просто положили на стол */
.polaroid--left     { left:  -272px; top: 34px;  transform: rotate(-5deg); }
.polaroid--right    { right: -268px; top: 124px; transform: rotate(4.5deg); }
.polaroid--left-low { left:  -266px; top: 420px; transform: rotate(3.5deg); }
.polaroid--right-low{ right: -272px; top: 470px; transform: rotate(-4deg); }

/* приподнимаются при наведении */
.polaroid { transition: transform .35s ease, box-shadow .35s ease; }
.polaroid--left:hover      { transform: rotate(-2deg) translateY(-6px) scale(1.03); }
.polaroid--right:hover     { transform: rotate(2deg)  translateY(-6px) scale(1.03); }
.polaroid--left-low:hover  { transform: rotate(1.5deg) translateY(-6px) scale(1.03); }
.polaroid--right-low:hover { transform: rotate(-1.5deg) translateY(-6px) scale(1.03); }
@media (prefers-reduced-motion: reduce) { .polaroid { transition: none; } }

/* Прячем, когда полей по бокам не хватает — иначе налезут на текст.
   Контейнер 1180px + 2×272 на полароиды + запас = ~1800px.          */
@media (max-width: 1799px) { .polaroid { display: none; } }
