[hidden] { display: none !important; }
/* Шрифты (свои, /fonts): Nunito Sans (OFL) — полный кириллический набор с казахскими буквами Ә Ө Ұ Қ Ғ Ң Ү Һ І и ₸.
   Заголовки — та же гарнитура, широкое начертание (font-stretch 125%, вес 900), по виду близко к прежнему Unbounded.
   Стрелки ← ↑ → ↓ берём из Manrope (в Nunito Sans их нет). Прежние Manrope/Unbounded не содержали Ә Ұ Қ Ғ Ң. */
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-display: swap;
  font-weight: 400 1000; font-stretch: 100% 125%;
  src: url("../fonts/NunitoSans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0304, U+0308, U+0329, U+0400-04FF, U+2000-206F, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2212, U+2215, U+2248, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chetam Arrows"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/Manrope-arrows.woff2") format("woff2");
  unicode-range: U+2190-2193, U+21B5;
}
:root {
  --ink: #152126;
  --ink-soft: #3d4f56;
  --paper: #f6f1e8;
  --paper-2: #efe6d6;
  --sand: #e2c99a;
  --teal: #0c4a56;
  --teal-2: #167384;
  --sea: #1aa6b8;
  --clay: #c24e1d;
  --clay-2: #e06a32;
  --line: rgba(21, 33, 38, 0.12);
  --shadow: 0 18px 50px rgba(12, 40, 48, 0.12);
  --radius: 22px;
  --surface: #fff;
  --teal-t: #0c4a56;
  --clay-t: #c24e1d;
  --teal-soft: #eef6f7;
  --clay-soft: #fff1ea;
  --header-bg: rgba(246, 241, 232, .92);
  --ph: #d9cdb8;
  --ph-grad: linear-gradient(160deg, #efe6d6, #e2c99a 55%, #9cc9cf);
  --font-body: "Nunito Sans", "Chetam Arrows", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Nunito Sans", "Chetam Arrows", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--teal);
  color: #e9f6f8;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar span { opacity: .85; }

header {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -.03em; font-size: 20px;
}
.logo i {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--sea));
  display: grid; place-items: center; color: #fff; font-style: normal; font-size: 18px;
}
nav ul { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
nav a:hover, nav a.active { background: var(--surface); color: var(--teal-t); }

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -40px 0 auto;
  height: 420px;
  background:
    radial-gradient(600px 220px at 80% 0%, rgba(26,166,184,.22), transparent),
    radial-gradient(500px 200px at 10% 20%, rgba(194,78,29,.12), transparent);
  pointer-events: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--teal-t);
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; letter-spacing: -.04em; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 56px); max-width: 16ch; margin-bottom: 16px; }
h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 62ch; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; }
.search-card {
  background: var(--surface); border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.search-card input {
  width: 100%; border: 0; outline: 0; font: inherit;
  font-size: 16px; padding: 12px 8px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill {
  background: var(--paper-2); border-radius: 999px; padding: 7px 12px;
  font-size: 13px; font-weight: 700;
}
.pill:hover { background: var(--teal); color: #fff; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px;
}
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.stat b { display: block; font-size: 22px; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; }
.stat span { font-size: 13px; color: var(--ink-soft); }

.section { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 24px; }
.section-head p { color: var(--ink-soft); max-width: 46ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .cover {
  height: 150px;
  background: linear-gradient(135deg, var(--teal), #0a2e36 60%, var(--clay));
  position: relative;
}
.card .cover.sand { background: linear-gradient(135deg, #c9a36a, #8b5a2b 55%, #3d2a18); }
.card .cover.sea { background: linear-gradient(160deg, #147a8a, #0c4a56 50%, #e8d5b5); }
.card .cover.work { background: linear-gradient(135deg, #1f3a44, #c24e1d); }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { font-size: 12px; font-weight: 800; color: var(--clay-t); text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.more { font-weight: 800; font-size: 14px; color: var(--teal-t); }

.list {
  display: grid; gap: 10px;
}
.row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.row b { font-size: 15px; }
.row span { color: var(--ink-soft); font-size: 13px; }
.badge {
  background: var(--paper-2); border-radius: 999px; padding: 6px 10px;
  font-size: 12px; font-weight: 800;
}

.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin-top: 8px; color: var(--ink-soft); }

.cta {
  background: var(--teal); color: #f3fbfc; border-radius: 28px; padding: 36px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 20px; align-items: center;
}
.cta p { opacity: .85; margin: 8px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff; font-weight: 800;
  border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer;
}
.btn.ghost { background: var(--surface); color: var(--teal-t); }
.btn.line { background: transparent; border: 1px solid currentColor; }

footer {
  background: #102227; color: #d7e6ea; padding: 40px 0 24px; margin-top: 20px;
}
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
footer a { color: #d7e6ea; opacity: .85; }
footer small { display: block; margin-top: 24px; opacity: .55; }

.page-hero { padding: 36px 0 12px; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.two { display: grid; grid-template-columns: 1.5fr .9fr; gap: 24px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.box h3 { margin-bottom: 10px; font-size: 18px; }
.box li { margin: 8px 0 8px 18px; color: var(--ink-soft); }
.job-form { display: grid; gap: 10px; }
.job-form label { font-size: 13px; font-weight: 800; }
.job-form input, .job-form textarea, .job-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 12px; font: inherit; background: var(--surface); min-height: 44px;
}
.job-form textarea { min-height: 90px; resize: vertical; }
.job-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.job-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.job-card h3 { font-size: 18px; margin-bottom: 4px; }
.deadline { background: var(--clay-soft); color: var(--clay-t); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 5px 10px; }
.deadline.soon { background: #fde8e4; }
.note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.empty { padding: 20px; color: var(--ink-soft); }
@media (max-width: 860px) { .job-form .row2 { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { background: var(--paper-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.nav-tools { display: flex; align-items: center; gap: 8px; }
.langs { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs button {
  border: 0; background: transparent; padding: 9px 14px; min-height: 40px;
  font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; color: var(--ink-soft); white-space: nowrap;
}
.langs button.active { background: var(--teal); color: #fff; }
.menu-btn {
  display: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font-weight: 800; min-width: 44px; min-height: 44px;
}
.card-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px;
}
.card-actions .btn, .card-actions .btn.line {
  width: 100%; min-height: 44px; font-size: 13px; padding: 10px 8px;
}
.btn.line { color: var(--teal-t); border-color: rgba(12,74,86,.25); background: var(--teal-soft); }
.mini-map {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ph); min-height: 240px;
}
.mini-map iframe { width: 100%; height: 280px; border: 0; display: block; background: var(--ph); }
.mini-map .map-bar {
  /* под картой, а не поверх: не перекрывает масштаб и атрибуцию OSM */
  position: static; padding: 10px;
  display: flex; gap: 8px; flex-wrap: wrap; background: var(--surface);
}
.mini-map .map-bar a { box-shadow: var(--shadow); }

.place-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 44%);
  gap: 18px;
  align-items: start;
}
.place-list { display: grid; gap: 14px; }
.place-list .card { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.place-list .card.active {
  border-color: var(--teal-t);
  box-shadow: 0 10px 30px rgba(12,74,86,.16);
  transform: translateY(-2px);
}
.place-map-side {
  position: sticky;
  top: 84px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.place-map-side .leaflet-map { height: min(72vh, 620px); width: 100%; background: var(--ph); }
.place-map-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.place-map-bar .now { font-size: 13px; font-weight: 800; margin-right: auto; align-self: center; }
.place-map-bar .btn { min-height: 44px; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 860px) {
  .place-layout { grid-template-columns: 1fr; }
  .place-map-side { position: relative; top: 0; order: -1; }
  .place-map-side .leaflet-map { height: 260px; }
  .hero-grid, .cards, .stats, .two, .foot, .cta, .row { grid-template-columns: 1fr; }
  .wrap { width: min(1180px, calc(100% - 20px)); }
  header .nav { flex-wrap: wrap; min-height: 64px; }
  nav { width: 100%; }
  nav ul {
    display: none; width: 100%;
    flex-direction: column; padding: 0 0 12px;
  }
  nav.open ul { display: flex; }
  nav a { padding: 12px 14px; background: var(--surface); }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  h1 { font-size: 30px; }
  .hero { padding: 28px 0 24px; }
  .section { padding: 36px 0; }
  .cta { padding: 22px; }
  .topbar { font-size: 12px; }
  .feed-grid { grid-template-columns: 1fr 1fr; }
  .feed-layout { grid-template-columns: 1fr; }
  .reel { position: relative; top: 0; order: -1; }
  .reel .leaflet-map { height: 280px; }
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}
.feed-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700;
}
.chip.on { background: var(--teal); border-color: var(--teal-t); color: #fff; }
.feed-count { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.feed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad {
  background: var(--surface); border-radius: 20px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
}
.ad.active { border-color: var(--teal-t); box-shadow: var(--shadow); }
.ad .pic {
  width: 100%; height: 140px; display: block;
  background: linear-gradient(135deg, #1aa6b8, #0c4a56);
}
.ad .pic.sand { background: linear-gradient(135deg, #e2c99a, #c24e1d); }
.ad .pic.rock { background: linear-gradient(135deg, #efe6d6, #8a7a62); }
.badge-top {
  display: inline-block; margin-top: -16px; margin-left: 12px;
  background: var(--clay); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; position: relative;
}
.ad .txt { padding: 12px 14px 16px; }
.ad h3 { font-size: 16px; line-height: 1.3; font-weight: 800; min-height: 42px; }
.ad .price { font-size: 18px; font-weight: 800; margin: 6px 0 4px; color: var(--teal-t); }
.ad .meta { font-size: 13px; color: var(--ink-soft); }
.reel {
  position: sticky; top: 76px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow);
}
.reel .leaflet-map { height: min(58vh, 420px); }
.reel-hud { padding: 14px; display: grid; gap: 8px; }
.reel-hud b { font-size: 16px; }
.reel-hud span { color: var(--ink-soft); font-size: 13px; }
.play {
  width: 100%; min-height: 46px; border: 0; border-radius: 999px;
  background: var(--clay); color: #fff; font-weight: 800; cursor: pointer;
}
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.kpi b { display: block; font-size: 26px; letter-spacing: -.03em; }
.kpi span { color: var(--ink-soft); font-size: 13px; }
.lead-row {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; margin-bottom: 8px;
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: center;
}
.bar-wrap { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar { height: 100%; background: linear-gradient(90deg, var(--teal), var(--sea)); }
@media (max-width: 860px) {
  .kpis, .lead-row { grid-template-columns: 1fr; }
}
.swipe-page { min-height: 100dvh; }
.swipe-shell { max-width: 430px; margin: 0 auto; padding-bottom: 24px; }
.swipe-hint { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-soft); margin: 8px 0 12px; }
.swipe-hint b { color: var(--teal-t); }
.swipe-stage {
  position: relative;
  touch-action: pan-y pinch-zoom; user-select: none;
}
/* карточка растёт по содержимому — кнопки (Instagram и т.п.) не обрезаются */
.swipe-card {
  position: relative;
  background: var(--surface); border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.swipe-card .pic { flex: none; height: clamp(170px, 28vh, 240px); }
.swipe-card .pic.sea { background: linear-gradient(160deg, #1aa6b8, #0c4a56); }
.swipe-card .pic.sand { background: linear-gradient(160deg, #e2c99a, #c24e1d); }
.swipe-card .pic.rock { background: linear-gradient(160deg, #efe6d6, #5c5346); }
.swipe-card .pic.night { background: linear-gradient(160deg, #152126, #167384); }
.swipe-body { padding: 16px 16px 18px; }
.swipe-goal { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--clay-t); }
.swipe-body h2 { font-size: 26px; margin: 4px 0 6px; }
.swipe-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d5cdc0; }
.swipe-dots i.on { background: var(--teal); }
.swipe-goals { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.swipe-goals button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 8px 12px; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.swipe-goals button.on { background: var(--teal); color: #fff; border-color: var(--teal-t); }

/* ===== Фото-версия (Чё там), сентябрь 2026 ===== */
.logo i { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; }
/* Hero с фото на главной */
.hero.hero-photo {
  padding: 84px 0 28px; color: #fff; isolation: isolate;
  background-color: #0c2f37; background-position: center 55%; background-size: cover; background-repeat: no-repeat;
}
.hero.hero-photo::before {
  inset: 0; height: auto; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,30,36,.86) 0%, rgba(8,30,36,.62) 45%, rgba(8,30,36,.18) 100%),
    linear-gradient(0deg, rgba(8,30,36,.55), transparent 45%);
}
.hero-photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-photo .lead { color: rgba(255,255,255,.9); }
.hero-photo .kicker { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.hero-photo .stat { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(8px); }
.hero-photo .stat span { color: rgba(255,255,255,.82); }
.hero-photo .search-card { color: var(--ink); }
.photo-credit {
  display: inline-block; margin-top: 18px; font-size: 11px; opacity: .75;
  color: inherit; text-decoration: underline dotted; text-underline-offset: 2px;
}
.photo-credit:hover { opacity: 1; }

/* Шапки разделов с фото */
.page-hero.photo {
  position: relative; isolation: isolate; color: #fff;
  padding: 48px 0 18px; margin-bottom: 22px;
  background-color: #0c2f37; background-position: center; background-size: cover; background-repeat: no-repeat;
}
.page-hero.photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,16,20,.92), rgba(4,16,20,.62) 55%, rgba(4,16,20,.28)),
              linear-gradient(0deg, rgba(4,16,20,.72), rgba(4,16,20,.2) 55%, transparent 75%);
}
.page-hero.photo h1 { color: #fff; font-weight: 900; text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 0 24px rgba(0,0,0,.45); }
.page-hero.photo .lead, .page-hero.photo .crumbs, .page-hero.photo .crumbs a {
  color: #f3fafb; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.9), 0 0 16px rgba(0,0,0,.5);
}
.page-hero.photo .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.page-hero.photo .chip.on { background: var(--clay); border-color: var(--clay-t); }
.page-hero.photo .photo-credit { margin-top: 14px; }

/* Карточки: крупное фото сверху */
.card .cover.photo { height: auto; aspect-ratio: 16 / 10; background: var(--ph); overflow: hidden; }
.card .cover.photo img, .ad .pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.card:hover .cover.photo img, .ad:hover .pic img { transform: scale(1.04); }
.ph-note {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(10,30,36,.62); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; pointer-events: none;
}
.cover.photo, .ad .pic { position: relative; }
.place-list .card { flex-direction: row; }
.place-list .card .cover.photo { flex: 0 0 42%; aspect-ratio: auto; min-height: 210px; }

/* Лента «Куда съездить» как объявления */
.ad { position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ad:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ad .pic { height: auto; aspect-ratio: 16 / 10; background: var(--ph); overflow: hidden; }
.ad .badge-top {
  position: absolute; top: 10px; left: 10px; margin: 0; z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); letter-spacing: .06em;
}
.ad.active { border-color: var(--teal-t); box-shadow: 0 0 0 2px var(--teal), var(--shadow); }
.ad .txt { padding: 12px 14px 14px; }
.ad h3 { min-height: 0; }

/* CTA на главной с фото */
.cta.cta-photo {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--teal-t); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.cta.cta-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,74,86,.92), rgba(12,74,86,.55));
}

/* Свайп-карточка: подпись «фото для примера» */
.swipe-card .pic { position: relative; }

/* Страница «Фото» */
.credits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.credit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 13px; }
.credit-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.credit-card div { padding: 10px 12px 12px; color: var(--ink-soft); }
.credit-card b { color: var(--ink); display: block; font-size: 14px; }
.credit-card a { color: var(--teal-t); text-decoration: underline; }
footer small a { text-decoration: underline; }

@media (max-width: 860px) {
  .hero.hero-photo { padding: 40px 0 18px; background-position: 60% center; }
  .hero.hero-photo::before { background: linear-gradient(180deg, rgba(8,30,36,.55), rgba(8,30,36,.82) 70%); }
  .hero-photo .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-photo .stat { padding: 10px; }
  .hero-photo .stat b { font-size: 16px; }
  .hero-photo .stat span { font-size: 11px; line-height: 1.3; display: block; }
  .page-hero.photo { padding: 40px 0 16px; }
  .place-list .card { flex-direction: column; }
  .place-list .card .cover.photo { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .feed-grid { gap: 10px; }
  .ad h3 { font-size: 14px; }
  .ad .price { font-size: 15px; }
  .ad .meta { font-size: 12px; }
  .ad .txt { padding: 10px 10px 12px; }
}
/* фикс: в исходнике мобильные правила ленты стояли раньше базовых и перебивались */
@media (max-width: 860px) {
  .feed-layout { grid-template-columns: 1fr; }
  .reel { position: relative; top: 0; order: -1; }
  .reel .leaflet-map { height: 240px; }
  .ad .pic { aspect-ratio: 4 / 3; }
  .topbar span + span { display: none; }
}
@media (max-width: 860px) {
  .page-hero.photo { padding: 26px 0 12px; margin-bottom: 14px; }
  .page-hero.photo h1 { font-size: 26px; margin-bottom: 8px; }
  .page-hero.photo .lead { font-size: 15px; }
  .reel .leaflet-map { height: 200px; }
  .reel-hud { padding: 10px; gap: 6px; }
}

/* ===== Свайп: стрелки, позиция, заглушки ===== */
.swipe-stage { overflow: visible; }
.swipe-arrow {
  position: absolute; top: 34%; z-index: 5; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.94); color: var(--teal-t); font-size: 26px; line-height: 1;
  font-weight: 800; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center;
}
.swipe-arrow:hover { background: var(--teal); color: #fff; }
.swipe-arrow.prev { left: -22px; }
.swipe-arrow.next { right: -22px; }
.swipe-pos { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.swipe-pos .swipe-dots { margin-top: 0; }
.swipe-dots i.ph { background: transparent; border: 1.5px dashed #b9ad99; width: 8px; height: 8px; }
.swipe-dots i.ph.on { background: var(--sand); border-color: var(--teal-t); }
.swipe-count { font-size: 13px; font-weight: 800; color: var(--teal-t); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.swipe-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.swipe-controls .btn { min-height: 52px; font-size: 16px; padding: 12px 10px; }
.swipe-card .pic.ph-pic {
  position: relative; overflow: hidden;
  background: var(--ph-grad);
  display: grid; place-items: center;
}
.ph-blur {
  position: absolute; inset: -20px; background-size: cover; background-position: center;
  filter: blur(14px) saturate(.7); opacity: .55; transform: scale(1.08);
}
.soon-badge {
  position: relative; z-index: 1; font-family: var(--font-display); font-stretch: 125%; font-weight: 900;
  font-size: 15px; color: var(--teal-t); background: rgba(255,255,255,.85);
  border: 1.5px dashed rgba(12,74,86,.45); border-radius: 999px; padding: 10px 18px;
}
.swipe-card.is-placeholder { border-style: dashed; border-color: rgba(12,74,86,.3); box-shadow: none; }
.swipe-card.is-placeholder .card-actions { display: none; }
.swipe-card.is-placeholder h2 { color: var(--ink-soft); }
.swipe-card.is-placeholder #swipe-text { color: var(--ink-soft); }
@keyframes inL { from { transform: translateX(40px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes inR { from { transform: translateX(-40px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes inU { from { transform: translateY(40px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes inD { from { transform: translateY(-40px); opacity: .3; } to { transform: none; opacity: 1; } }
.swipe-card.enter-left { animation: inL .25s ease; }
.swipe-card.enter-right { animation: inR .25s ease; }
.swipe-card.enter-up { animation: inU .25s ease; }
.swipe-card.enter-down { animation: inD .25s ease; }
@media (max-width: 520px) {
  .swipe-arrow { width: 38px; height: 38px; font-size: 22px; }
  .swipe-arrow.prev { left: 6px; }
  .swipe-arrow.next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .swipe-card[class*="enter-"] { animation: none; } }

/* ===== Главный CTA «Куда пойти?» ===== */
.cta-go {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 64px; margin-top: 22px; padding: 12px 22px 12px 14px;
  background: #c24e1d; color: #fff; border-radius: 20px;
  box-shadow: 0 14px 34px rgba(194,78,29,.45), inset 0 -3px 0 rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-go:hover, .cta-go:focus-visible { background: #d85a24; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(194,78,29,.55); }
.cta-go:active { transform: translateY(0); }
.cta-go-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.cta-go-txt { display: flex; flex-direction: column; line-height: 1.15; }
.cta-go-txt b { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.cta-go-txt small { font-size: 13px; font-weight: 600; opacity: .9; margin-top: 3px; }
.cta-go-arrow { font-size: 24px; font-weight: 800; margin-left: 6px; transition: transform .2s ease; }
.cta-go:hover .cta-go-arrow { transform: translateX(4px); }
.hero-photo .stats { margin-top: 22px; }
/* пункт меню «Куда пойти» */
nav a.nav-go { color: var(--clay-t); background: var(--clay-soft); border: 1px solid rgba(194,78,29,.28); font-weight: 800; }
nav a.nav-go:hover, nav a.nav-go.active { background: var(--clay); color: #fff; border-color: var(--clay-t); }
@media (max-width: 860px) {
  .cta-go { display: flex; width: 100%; margin-top: 16px; min-height: 66px; }
  .cta-go-txt { flex: 1; }
  .cta-go-txt b { font-size: 20px; }
  .hero-photo .lead { font-size: 15px; }
  .hero-photo h1 { font-size: 28px; margin-bottom: 10px; }
  .hero-photo .stats { margin-top: 16px; }
  .hero.hero-photo .photo-credit { display: block; text-align: right; font-size: 10px; margin-top: 14px; }
  .hero-photo .search-card { margin-top: 4px; }
}
/* Поиск: кнопка «Найти» — вторичная (бирюза), подсказка */
.search-card .search-btn { width: 100%; margin-top: 8px; min-height: 48px; background: #0c4a56; color: #fff; font-size: 15px; }
.search-card .search-btn:hover { background: #167384; }
.search-card input { border-bottom: 1px solid var(--line); }
.search-hint { font-size: 13px; font-weight: 600; color: var(--clay-t); background: var(--clay-soft); border-radius: 12px; padding: 8px 10px; margin-top: 6px; line-height: 1.45; }
.search-hint a { color: var(--teal-t); text-decoration: underline; font-weight: 800; white-space: nowrap; }
.search-hint.flash { animation: hintIn .3s ease; }
@keyframes hintIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===== Упрощённый первый экран ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.hero-photo { padding: 56px 0 26px; }
.hero-simple h1 { max-width: 20ch; font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 10px; }
.hero-simple .lead { font-size: 19px; }
.hero-simple .cta-go { margin-top: 20px; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 22px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 92px; padding: 12px 6px; border-radius: 18px;
  background: rgba(255,255,255,.94); color: var(--teal-t); font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .15s ease, background .15s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-3px); background: var(--surface); }
.tile-ico { font-size: 32px; line-height: 1; }
.search-line { margin-top: 16px; max-width: 720px; }
.search-row { display: flex; gap: 8px; background: var(--surface); border-radius: 16px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.search-row input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 10px 10px; color: var(--ink); background: transparent; }
.search-line .search-btn { width: auto; margin: 0; min-height: 44px; padding: 10px 22px; border-radius: 12px; background: #0c4a56; color: #fff; font-size: 15px; }
.search-line .search-btn:hover { background: #167384; }
.search-line .pills { margin-top: 10px; }
.search-line .pill { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.search-line .pill:first-child { background: var(--clay-soft); color: var(--clay-t); border-color: #fff1ea; }
.search-line .pill:hover { background: var(--surface); color: var(--teal-t); }
.search-line .search-hint { margin-top: 8px; }
.section.slim { padding: 0 0 40px; }
.section.slim .stats { margin-top: 0; }
.hero-simple .photo-credit { display: block; margin-top: 14px; }
@media (max-width: 860px) {
  .hero.hero-photo { padding: 22px 0 16px; }
  .hero-simple h1 { font-size: 28px; margin-bottom: 6px; }
  .hero-simple .lead { font-size: 15px; }
  .hero-simple .cta-go { margin-top: 14px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .tile { min-height: 72px; font-size: 14px; padding: 8px 4px; gap: 4px; border-radius: 16px; }
  .tile-ico { font-size: 26px; }
  .search-line { margin-top: 12px; }
  .search-line .search-btn { padding: 10px 16px; }
  .hero.hero-photo .photo-credit { text-align: right; font-size: 10px; margin-top: 12px; }
  .section.slim .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .section.slim .stat { padding: 10px; }
  .section.slim .stat b { font-size: 16px; }
  .section.slim .stat span { font-size: 11px; line-height: 1.3; display: block; }
}

/* ===== Страницы мест ===== */
.place-hero { padding: 70px 0 22px; }
.place-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--clay); color: #fff; border-radius: 999px; padding: 5px 12px; margin-bottom: 10px; }
.place-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.place-cta .btn { min-height: 48px; padding: 12px 22px; }
.page-hero.photo .place-cta .btn.line { background: rgba(255,255,255,.92); color: var(--teal-t); border-color: transparent; }
.place-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.place-main h2 { font-size: 22px; margin: 26px 0 10px; }
.place-main p, .place-main li { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.place-main p + p { margin-top: 10px; }
.place-main ul { padding-left: 20px; }
.place-main li { margin: 6px 0; }
.place-main sup a { color: var(--teal-t); font-weight: 800; font-size: 11px; text-decoration: none; }
.place-main .near a { color: var(--teal-t); text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.fact span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--clay-t); }
.fact b { font-size: 14px; line-height: 1.35; display: block; margin-top: 4px; }
.sources { margin-top: 30px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.sources h3 { font-size: 16px; margin-bottom: 8px; }
.sources ol { padding-left: 22px; }
.sources li { font-size: 13px; margin: 4px 0; }
.sources a { color: var(--teal-t); text-decoration: underline; word-break: break-word; }
.place-side { position: sticky; top: 88px; }
.place-side .side-facts { display: grid; gap: 8px; margin: 8px 0 4px; }
.place-side .fact { padding: 8px 10px; }
.card .place-link { color: inherit; }
.card .place-link:hover { color: var(--teal-t); text-decoration: underline; }
.card .more-place { font-weight: 800; font-size: 14px; color: var(--clay-t); }
.nature-links { font-size: 13px; line-height: 1.8; }
.nature-links a { color: var(--teal-t); font-weight: 800; text-decoration: underline; }
@media (max-width: 860px) {
  .place-hero { padding: 30px 0 14px; }
  .place-grid { grid-template-columns: 1fr; }
  .place-side { position: static; display: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .place-main h2 { font-size: 19px; margin-top: 22px; }
  .place-main p, .place-main li { font-size: 15px; }
  .place-cta .btn { flex: 1; }
}
.misses-box { margin-bottom: 18px; }
.misses-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.misses-head h2 { margin: 0; }
.misses-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.misses-tools .btn { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.misses-table { margin-top: 12px; }
.swipe-more { display: inline-block; margin-top: 8px; }

/* ===== Живая строка в топбаре ===== */
.live-strip { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; opacity: 1 !important; font-weight: 700; cursor: help; }
.live-strip .lv { white-space: nowrap; opacity: 1; }
.live-strip .lv-wind { font-weight: 500; opacity: .8; font-size: 12px; }
.live-strip .lv-dot { font-style: normal; opacity: .5; }
@media (max-width: 860px) {
  .topbar.has-live { padding: 6px 0; }
  .topbar.has-live .wrap > span:not(.live-strip) { display: none; }
  .topbar.has-live .wrap > .live-strip { display: flex !important; justify-content: center; width: 100%; font-size: 12px; gap: 4px; }
  .live-strip .lv-wind { display: none; }
}

/* ===== Карусель месяцев ===== */
.months-section { padding-top: 10px; scroll-margin-top: 8px; }
.months-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.months-head h2 { font-size: clamp(24px, 4vw, 36px); margin: 0; }
.months-hint { margin: 6px 0 0; color: var(--ink-soft); font-weight: 700; }
.months-arrows { display: flex; gap: 8px; }
.months-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--teal-t); font-size: 20px; font-weight: 800; cursor: pointer; }
.months-arrows button:hover:not(:disabled) { background: var(--teal); color: #fff; }
.months-arrows button:disabled { opacity: .35; cursor: default; }
.months-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.months-track::-webkit-scrollbar { display: none; }
.month-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.month-card.now { border: 2px solid var(--clay); }
.month-pic { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.month-pic picture, .month-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.month-pic img { object-fit: cover; display: block; }
.month-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.month-name { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.month-card.now .month-name::before { content: ""; }
.month-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.month-body h3 { font-size: 18px; margin: 0; }
.month-lead { margin: 0; font-weight: 700; color: var(--clay-t); }
.month-recs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.month-recs a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-t); font-weight: 800; font-size: 13px; }
.month-recs a:hover { background: var(--teal); color: #fff; }
.month-wx { margin: auto 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.month-note { margin: 0; font-size: 12px; color: var(--ink-soft); }
.months-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.months-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(12,74,86,.25); cursor: pointer; }
.months-dots button.on { background: var(--clay); width: 22px; border-radius: 999px; }
.months-src { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.months-src a { color: var(--teal-t); text-decoration: underline; }
@media (max-width: 860px) {
  .months-track { grid-auto-columns: 86%; gap: 12px; }
  .months-arrows { display: none; }
  .month-name { font-size: 18px; }
}
.misses-table table { width: 100%; }

/* ===== Смотровая / скрытые места ===== */
.hero-ph-note { position: static; display: inline-block; margin-top: 12px; background: rgba(255,255,255,.9); color: var(--teal-t); }
.owner-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.owner-slot { aspect-ratio: 4 / 3; border: 1.5px dashed rgba(12,74,86,.35); border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 8px;
  background: var(--ph-grad); color: var(--teal-t); font-weight: 800; font-size: 13px; }
.secret-card { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 26px; overflow: hidden; background: var(--teal); color: #fff; box-shadow: 0 18px 40px rgba(12,74,86,.22); margin-top: 22px; }
.secret-card .secret-pic { min-height: 280px; background-size: cover; background-position: center; position: relative; }
.secret-card .secret-pic .ph-note { position: absolute; left: 12px; bottom: 12px; }
.secret-card .secret-body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.secret-card .secret-badge { align-self: flex-start; background: var(--clay); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 6px 12px; }
.secret-card h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0; }
.secret-card p { color: #d9eef1; margin: 0; }
.secret-card .rating { color: #ffd88a; font-weight: 800; }
.secret-card .card-actions .btn.line { background: var(--surface); color: var(--teal-t); border-color: #fff; }
.secret-card .secret-more { color: #fff; font-weight: 800; text-decoration: underline; }
@media (max-width: 860px) {
  .secret-card { grid-template-columns: 1fr; }
  .secret-card .secret-pic { min-height: 200px; aspect-ratio: 16 / 9; }
  .secret-card .secret-body { padding: 18px; }
  .owner-photos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .owner-slot { font-size: 11px; }
}

/* ===== Видео в шапке места + предрассветное видео ===== */
.place-hero.has-video { overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; padding-bottom: 22px; }
.place-hero.has-video > .wrap { width: min(1180px, calc(100% - 32px)); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; background: #0c2f37; }
.place-hero.has-video::before {
  background: linear-gradient(90deg, rgba(8,30,36,.78), rgba(8,30,36,.35) 60%, rgba(8,30,36,.1)),
              linear-gradient(0deg, rgba(8,30,36,.85), rgba(8,30,36,.2) 55%, rgba(8,30,36,.35));
}
.place-hero.no-motion .hero-video { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.place-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.place-gallery a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ph); }
.place-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.place-gallery a:hover img { transform: scale(1.04); }
.dawn-figure { position: relative; margin: 12px 0 0; border-radius: 20px; overflow: hidden; background: #05141a; }
.dawn-video { display: block; width: 100%; aspect-ratio: 1556 / 720; object-fit: cover; }
.dawn-play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--teal-t); font-size: 24px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.dawn-figure.playing .dawn-play { opacity: 0; pointer-events: none; }
.dawn-figure figcaption { position: absolute; left: 12px; bottom: 10px; color: rgba(255,255,255,.85); font-size: 12px; text-shadow: 0 1px 3px #000; }
@media (max-width: 860px) {
  .place-hero.has-video { min-height: 78vh; min-height: 78svh; padding-bottom: 16px; }
  .hero-video { object-position: 50% 50%; }
  .place-gallery { gap: 6px; }
  .place-gallery a { border-radius: 10px; }
}
.secret-card .own-note { background: rgba(0,0,0,.45); color: #fff; }
@media (min-width: 861px) { .hero-video { object-position: 50% 22%; } }
.gallery-lead { margin: 0 0 10px; }
.gallery-lead a { display: block; border-radius: 18px; overflow: hidden; background: var(--ph); aspect-ratio: 1500 / 844; }
.gallery-lead img { width: 100%; height: 100%; object-fit: cover; }
.gallery-lead figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
/* галерея с подписями (страницы мест) */
.place-gallery.gal-captions { grid-template-columns: repeat(2, 1fr); }
.gal-item { margin: 0; }
.gal-item figcaption { font-size: 12px; opacity: .75; margin-top: 4px; line-height: 1.3; }
.place-gallery .gal-item figcaption a { color: inherit; display: inline; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
.place-gallery.gal-portrait { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .place-gallery.gal-portrait { grid-template-columns: repeat(2, 1fr); } }
.place-gallery.gal-portrait .gal-item > a { aspect-ratio: 3 / 4; }
.place-notice { margin: 14px 0 6px; }

/* Запасная ссылка «Google Карты» под кнопками карты */
.gmaps-link { grid-column: 1 / -1; flex: 1 0 100%; display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; font-weight: 600; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.place-hero .gmaps-link { color: #fff; opacity: .9; justify-content: flex-start; }
.btn { min-height: 44px; }

/* Месяц: фото/видео автора проекта по датам */
.month-own { margin-top: 12px; display: grid; gap: 8px; }
.month-own-h { margin: 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--clay-t); }
.month-own-item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px; border-radius: 14px; background: var(--paper-2); color: inherit; text-decoration: none; }
.month-own-item picture { flex: none; display: block; line-height: 0; }
.month-own-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.month-own-item b { display: block; font-size: 14px; }
.month-own-item small { display: block; font-size: 12px; opacity: .75; }
.hero-when { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.85); }
.shot-when { font-weight: 600; }

/* ===== Новости ===== */
.news-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.news-chip {
  font: inherit; font-size: 15px; font-weight: 800; min-height: 48px; padding: 10px 16px;
  border-radius: 999px; border: 1.5px solid rgba(12,74,86,.22); background: var(--surface); color: var(--teal-t);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; -webkit-tap-highlight-color: transparent;
}
.news-chip.on { background: var(--teal); border-color: var(--teal-t); color: #fff; }
.news-list { display: grid; gap: 14px; }
.news-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start;
}
.news-ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 28px; background: var(--paper-2);
}
.news-ico.t-otkl { background: var(--clay-soft); } .news-ico.t-dorogi { background: #fdf3d6; }
.news-ico.t-pogoda { background: #e3f4f7; } .news-ico.t-sobytiya { background: #f1e9fb; }
.news-ico.t-gorod { background: #e7f3ea; } .news-ico.t-polez { background: #eef1f4; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.news-topic { color: var(--clay-t); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; font-size: 12px; }
.news-item h3 { font-size: 18px; line-height: 1.3; margin: 6px 0 6px; }
.news-item p { margin: 0 0 10px; line-height: 1.5; }
.news-src {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 14px;
  background: var(--teal-soft); border: 1px solid rgba(12,74,86,.2); color: var(--teal-t); font-weight: 800; font-size: 14px;
  text-decoration: none; word-break: break-word;
}
.news-empty { padding: 18px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.news-home .news-item h3 { font-size: 17px; }
.news-home .news-item p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Заголовок «Новости Актау» на главной — ссылка на раздел, выглядит как h2 */
.news-home .news-home-h {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 0 2px;
  color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.news-home .news-home-h:link,
.news-home .news-home-h:visited { color: inherit; text-decoration: none; }
.news-home .news-home-h:hover,
.news-home .news-home-h:active { color: var(--teal-t); text-decoration: none; }
.news-home .news-home-go { margin-left: 0.18em; font-size: 0.78em; font-weight: 700; line-height: 1; }
.news-all { display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 14px; border-radius: 16px; background: var(--teal); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; }
@media (max-width: 640px) {
  .news-item { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px; }
  .news-item .news-ico { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; }
  .news-chips { flex-wrap: nowrap; overflow-x: auto; box-sizing: border-box; width: calc(100% + 20px); margin-left: -10px; margin-right: 0; padding: 0 10px 4px; scrollbar-width: none; }
  .news-chips::-webkit-scrollbar { display: none; }
  .news-chip { flex: 0 0 auto; }
}

/* ===================================================================
   ТЁМНАЯ ТЕМА — по умолчанию для всех (решение владельца 29.09.2026).
   <html data-theme="dark"> стоит в каждом HTML; светлая — только по кнопке ☀ (localStorage "chetam-theme").
   =================================================================== */
html { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9f1f3;
  --ink-soft: #aebfc5;
  --paper: #0b1519;
  --paper-2: #1b2e35;
  --surface: #13232a;
  --sand: #e2c99a;
  --teal: #0f5f6e;
  --teal-2: #0f7486;
  --teal-t: #72d4e0;
  --sea: #1aa6b8;
  --clay: #c24e1d;
  --clay-2: #e06a32;
  --clay-t: #ff9468;
  --teal-soft: rgba(114, 212, 224, .10);
  --clay-soft: rgba(255, 148, 104, .13);
  --line: rgba(233, 241, 243, .13);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --header-bg: rgba(11, 21, 25, .94);
  --ph: #1b2e35;
  --ph-grad: linear-gradient(160deg, #1b2e35, #3a3226 55%, #16424b);
}
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .topbar { background: #0f3f49; color: #e3f3f6; }
html[data-theme="dark"] .hero::before {
  background: radial-gradient(600px 220px at 80% 0%, rgba(26,166,184,.18), transparent),
              radial-gradient(500px 200px at 10% 20%, rgba(194,78,29,.14), transparent);
}
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { color: var(--ink); background-color: var(--surface); }
html[data-theme="dark"] input::placeholder { color: #8ea3aa; }
html[data-theme="dark"] .search-row input { background: transparent; }
html[data-theme="dark"] nav a:hover, html[data-theme="dark"] nav a.active { background: var(--paper-2); color: var(--teal-t); }
html[data-theme="dark"] nav a.nav-go { background: var(--clay-soft); color: var(--clay-t); border-color: rgba(255,148,104,.35); }
html[data-theme="dark"] nav a.nav-go:hover, html[data-theme="dark"] nav a.nav-go.active { background: var(--clay); color: #fff; border-color: var(--clay); }
@media (max-width: 860px) { html[data-theme="dark"] nav a { background: var(--surface); } }
html[data-theme="dark"] .btn.line { color: var(--teal-t); border-color: rgba(114,212,224,.38); background: var(--teal-soft); }
html[data-theme="dark"] .btn.ghost { background: var(--surface); color: var(--teal-t); }
html[data-theme="dark"] .search-card .search-btn, html[data-theme="dark"] .search-line .search-btn { background: var(--teal-2); }
html[data-theme="dark"] .search-card .search-btn:hover, html[data-theme="dark"] .search-line .search-btn:hover { background: #138a9e; }
html[data-theme="dark"] .search-row { background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.45); border: 1px solid var(--line); }
html[data-theme="dark"] .search-hint { background: var(--clay-soft); }
html[data-theme="dark"] .search-line .pill { background: rgba(11,21,25,.55); color: #fff; border-color: rgba(255,255,255,.28); }
html[data-theme="dark"] .search-line .pill:first-child { background: var(--clay); color: #fff; border-color: var(--clay); }
html[data-theme="dark"] .search-line .pill:hover { background: var(--teal-2); color: #fff; }
/* плитки категорий: тёмные цветные карточки */
html[data-theme="dark"] .tile { background: rgba(15,32,39,.9); color: #eaf6f8; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
/* плитки разделов — один тёмный цвет, различаются только иконкой; яркий акцент на первом экране один — «Куда пойти?» */
html[data-theme="dark"] .tile { background: rgba(10,22,27,.86); color: #eaf6f8; border: 1px solid rgba(233,241,243,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html[data-theme="dark"] .tile:hover, html[data-theme="dark"] .tile:focus-visible { background: rgba(19,35,42,.95); border-color: rgba(114,212,224,.45); }
/* кнопки/плашки поверх фото */
html[data-theme="dark"] .swipe-arrow,
html[data-theme="dark"] .hero-ph-note,
html[data-theme="dark"] .page-hero.photo .place-cta .btn.line,
html[data-theme="dark"] .dawn-play,
html[data-theme="dark"] .soon-badge { background: rgba(15,32,39,.92); color: var(--teal-t); border-color: rgba(114,212,224,.35); }
html[data-theme="dark"] .swipe-arrow:hover { background: var(--teal); color: #fff; }
html[data-theme="dark"] .swipe-dots i { background: rgba(255,255,255,.22); }
html[data-theme="dark"] .swipe-dots i.on { background: var(--teal-t); }
html[data-theme="dark"] .swipe-dots i.ph { background: transparent; border-color: rgba(255,255,255,.4); }
html[data-theme="dark"] .swipe-dots i.ph.on { background: var(--sand); }
html[data-theme="dark"] .swipe-goals button.on, html[data-theme="dark"] .chip.on, html[data-theme="dark"] .news-chip.on,
html[data-theme="dark"] .langs button.active { background: var(--teal-2); border-color: var(--teal-2); color: #fff; }
html[data-theme="dark"] .swipe-card.is-placeholder { border-color: rgba(114,212,224,.3); }
html[data-theme="dark"] .owner-slot { border-color: rgba(114,212,224,.4); color: var(--teal-t); }
html[data-theme="dark"] .months-arrows button:hover:not(:disabled) { background: var(--teal-2); color: #fff; }
html[data-theme="dark"] .months-dots button { background: rgba(255,255,255,.25); }
html[data-theme="dark"] .months-dots button.on { background: var(--clay-t); }
html[data-theme="dark"] .month-recs a:hover { background: var(--teal-2); color: #fff; }
html[data-theme="dark"] .deadline, html[data-theme="dark"] .deadline.soon { background: var(--clay-soft); }
html[data-theme="dark"] .secret-card { background: linear-gradient(135deg, #0f4f5c, #0c3a44); border: 1px solid rgba(114,212,224,.18); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
html[data-theme="dark"] .secret-card .card-actions .btn.line { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
html[data-theme="dark"] .secret-card .card-actions .btn:not(.line) { background: var(--clay); color: #fff; }
html[data-theme="dark"] .cta { background: linear-gradient(135deg, #0f4f5c, #0c3a44); border: 1px solid rgba(114,212,224,.18); }
html[data-theme="dark"] footer { background: #070e11; border-top: 1px solid var(--line); }
html[data-theme="dark"] .card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.5); }
html[data-theme="dark"] .place-list .card.active, html[data-theme="dark"] .ad.active { border-color: var(--teal-t); }
/* подписи к фото — читаемые */
html[data-theme="dark"] .photo-credit { opacity: .92; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
html[data-theme="dark"] .ph-note { background: rgba(0,0,0,.6); color: #fff; }
/* новости */
html[data-theme="dark"] .news-chip { background: var(--surface); color: var(--teal-t); border-color: rgba(114,212,224,.3); }
html[data-theme="dark"] .news-src { background: var(--teal-soft); border-color: rgba(114,212,224,.35); color: var(--teal-t); }
html[data-theme="dark"] .news-ico.t-otkl { background: rgba(255,148,104,.16); }
html[data-theme="dark"] .news-ico.t-dorogi { background: rgba(240,196,80,.16); }
html[data-theme="dark"] .news-ico.t-pogoda { background: rgba(114,212,224,.16); }
html[data-theme="dark"] .news-ico.t-sobytiya { background: rgba(180,140,240,.18); }
html[data-theme="dark"] .news-ico.t-gorod { background: rgba(110,200,140,.16); }
html[data-theme="dark"] .news-ico.t-polez { background: rgba(200,210,220,.14); }
html[data-theme="dark"] .news-all { background: var(--teal-2); }
html[data-theme="dark"] ::selection { background: rgba(114,212,224,.35); }
/* переключатель темы */
.theme-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; flex: none;
}
.theme-btn:hover { border-color: var(--teal-t); }
/* без светлых полупрозрачных плашек — чтобы принудительный тёмный режим браузера ничего не перекрашивал */
html[data-theme="dark"] .hero-photo .kicker,
html[data-theme="dark"] .hero-photo .stat,
html[data-theme="dark"] .page-hero.photo .chip { background: rgba(11,21,25,.5); border-color: rgba(255,255,255,.3); color: #fff; }
html[data-theme="dark"] .page-hero.photo .chip.on { background: var(--clay); border-color: var(--clay); }
html[data-theme="dark"] .cta-go-ico { background: rgba(0,0,0,.2); }
html[data-theme="dark"] .leaflet-bar a, html[data-theme="dark"] .leaflet-bar a:hover { background: var(--surface); color: var(--ink); border-bottom-color: var(--line); }
html[data-theme="dark"] .leaflet-bar { border-color: var(--line) !important; }
html[data-theme="dark"] .leaflet-container .leaflet-control-attribution { background: rgba(11,21,25,.8); color: var(--ink-soft); }
html[data-theme="dark"] .leaflet-container .leaflet-control-attribution a { color: var(--teal-t); }
html[data-theme="dark"] .leaflet-popup-content-wrapper, html[data-theme="dark"] .leaflet-popup-tip { background: var(--surface); color: var(--ink); }
/* реакции на новости */
.news-react { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rx-btn {
  min-width: 72px; min-height: 48px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 800; font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.rx-btn .rx-emo { font-size: 24px; line-height: 1; }
.rx-btn:active { transform: scale(.94); }
.rx-btn.on { background: var(--teal-soft); border-color: var(--teal-t); color: var(--teal-t); }
.rx-btn:focus-visible { outline: 2px solid var(--teal-t); outline-offset: 2px; }
@media (max-width: 640px) { .news-react { gap: 6px; } .rx-btn { flex: 1 1 0; min-width: 0; padding: 6px 8px; } }

/* Переключатель языка: полные названия. На телефоне — отдельная строка на всю ширину под логотипом. */
@media (max-width: 860px) {
  header .nav-tools { display: contents; }
  header .logo { margin-right: auto; }
  header .langs { order: 5; width: 100%; margin: 0 0 10px; }
  header .langs button { flex: 1 1 0; font-size: 15px; min-height: 44px; padding: 10px 6px; }
  header nav { order: 6; }
}
.live-strip .lv-fx { font-variant-numeric: tabular-nums; }
a.chip { text-decoration: none; display: inline-block; }
/* цены: число и валюта не разрываются (все языки) */
.nw, .ad .price, .lv-fx { white-space: nowrap; }
/* подпись «Фото: автор проекта» в свайпе — вверху справа, чтобы не наезжать на стрелки */
.pic .ph-note.ph-credit { top: 8px; bottom: auto; }
/* факты места: длинные слова в EN/KK («DIFFICULTY», «ҚАШЫҚТЫҒЫ») не раздвигают сетку на 390px */
.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { min-width: 0; }
.fact span, .fact b { overflow-wrap: anywhere; hyphens: auto; }
/* колонка текста места не растягивается шире экрана из-за длинного слова/ссылки */
.place-main { min-width: 0; }
@media (max-width: 860px) { .place-grid { grid-template-columns: minmax(0, 1fr); } }

/* Фоновое видео на всех страницах (fixed, под контентом, не перехватывает нажатия) */
/* Море — только в шапке: видео стоит за топбаром/шапкой/первым экраном (высота — по низу hero, см. app.js sizeSeaBg),
   ниже — сплошной тёмный фон страницы, пена не мелькает за текстом */
.site-video-bg {
  position: absolute; top: 0; left: 0; right: 0; height: var(--sea-h, min(100vh, 720px)); z-index: 0; overflow: hidden; pointer-events: none;
  background: #0b1f24 url("../img/bg-poster.jpg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 60px), transparent); mask-image: linear-gradient(#000 calc(100% - 60px), transparent);
}
.site-video-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-video-overlay, .site-video-shade { position: absolute; inset: 0; background: rgba(4,14,18,.78); }
html[data-theme="dark"] .site-video-overlay, html[data-theme="dark"] .site-video-shade { background: rgba(4,14,18,.82); }
html[data-theme="light"] .site-video-overlay { background: rgba(255,255,255,.78); }
body > *:not(.site-video-bg) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .site-video-bg video { display: none; } }
/* сплошные полосы (section.alt, подвал) — полупрозрачные, чтобы фон-видео просвечивал */
html[data-theme="dark"] .section.alt { background: rgba(19, 35, 42, .72); }
html[data-theme="dark"] footer { background: rgba(7, 14, 17, .86); }
html:not([data-theme="dark"]) .section.alt { background: color-mix(in srgb, var(--surface) 80%, transparent); }
html:not([data-theme="dark"]) footer { background: rgba(16, 34, 39, .9); }

/* ===== «Казахский для туристов» (pages/kazakh.html, js/kazakh.js) ===== */
.kz-tools { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.kz-ja { font: inherit; font-weight: 800; font-size: 16px; border-radius: 999px; padding: 10px 18px; border: 2px solid var(--teal-2); background: var(--surface); color: var(--teal-t); cursor: pointer; min-height: 44px; }
.kz-ja.on { background: var(--clay); border-color: var(--clay); color: #fff; }
.kz-ja.on::after { content: " ✓"; }
.kz-approx { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); border-left: 3px solid var(--clay-2); padding: 4px 0 4px 10px; max-width: 760px; }
.kz-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kz-groups .chip { font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 40px; }
.kz-group { margin-top: 26px; scroll-margin-top: 84px; }
.kz-group-h { display: flex; align-items: baseline; gap: 10px; font-size: clamp(20px, 4.6vw, 26px); margin: 0 0 12px; }
.kz-group-h::after { content: attr(data-count); font-family: var(--font-body); font-size: 13px; font-weight: 800; color: var(--teal-t); background: var(--teal-soft); border-radius: 999px; padding: 2px 9px; }
.kz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.kz-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow); min-width: 0; overflow-wrap: anywhere; }
.kz-card.has-note { cursor: pointer; -webkit-tap-highlight-color: transparent; padding-right: 44px; }
.kz-card.has-note::after { content: "+"; position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--teal-t); background: var(--teal-soft); }
.kz-card.open::after { content: "−"; }
.kz-card.has-note:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.kz-word { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.15; color: var(--ink); }
.kz-pron { margin-top: 6px; font-size: 18px; font-weight: 800; color: var(--clay-t); letter-spacing: .01em; }
.kz-pron-ja { font-size: 20px; }
.kz-pron-sub { margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.kz-mean { margin-top: 8px; font-size: 17px; color: var(--ink); display: flex; flex-direction: column; gap: 3px; }
.kz-tag { display: inline-block; font-size: 11px; font-weight: 900; color: var(--teal-t); background: var(--teal-soft); border-radius: 6px; padding: 1px 6px; margin-right: 4px; vertical-align: 2px; }
.kz-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-soft); }
.kz-loading { color: var(--ink-soft); }
.kz-promo { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); color: var(--ink); }
.kz-promo b { color: var(--teal-t); font-size: 18px; }
.kz-promo .kz-promo-ico { font-size: 30px; }

/* таблица «вода по месяцам» (pages/mesto/kenderli.html) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 6px; border-radius: 16px; border: 1px solid var(--line); }
.kd-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.kd-table th, .kd-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.kd-table th { font-size: 13px; color: var(--ink-soft); font-weight: 800; }
.kd-table tr:last-child td { border-bottom: 0; }
.kd-table td b { color: var(--clay-t); }
.ad .place-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Вся карточка — ссылка (накладка .card-cover из app.js); кнопки и ссылки внутри — поверх накладки */
.card-linked { position: relative; cursor: pointer; }
.card-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; -webkit-tap-highlight-color: transparent; }
:where(.card-linked) :where(a:not(.card-cover), button, input, select, textarea, video, audio, iframe, summary, label) { position: relative; z-index: 2; }
.card-linked .card-gallery { z-index: 2; }
.swipe-card .card-cover { z-index: 1; }

/* Светлее затемнение шапки (страница «Грибы»: фото таза с грибами), текст — с тенью для читаемости */
.page-hero.photo.hero-light::before {
  background: linear-gradient(90deg, rgba(4,14,18,.88), rgba(4,14,18,.55) 50%, rgba(4,14,18,.28)),
              linear-gradient(0deg, rgba(4,14,18,.78), rgba(4,14,18,.25) 50%, transparent 70%);
}
.page-hero.photo.hero-light h1, .page-hero.photo.hero-light .lead, .page-hero.photo.hero-light .crumbs, .page-hero.photo.hero-light .photo-credit,
.page-hero.photo.hero-light .crumbs a {
  color: #fff; font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.55);
}
.page-hero.photo.hero-light .lead { font-weight: 700; }

/* Казахский: ударный слог и японская строка */
.kz-stress { font-weight: 900; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kz-pron { font-weight: 600; }
.kz-pron-sub .kz-stress { text-decoration-thickness: 1px; text-underline-offset: 2px; }
[lang="ja"], .kz-ja-line, .kz-pron-ja { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", "Droid Sans Japanese", system-ui, -apple-system, sans-serif; }
.kz-ja-line { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.kz-ja-line .kz-ja-pron { opacity: .85; }
.kz-ja-line::before { content: "日本語"; font-size: 10px; font-weight: 800; color: var(--teal-t); background: var(--teal-soft); border-radius: 5px; padding: 1px 5px; align-self: center; }

/* Яркое видео в шапке (Дикий пляж): сверху видео чистое, тёмный градиент только под текстом */
.place-hero.has-video.hero-bright::before {
  background: linear-gradient(0deg, rgba(4,14,18,.95) 0%, rgba(4,14,18,.78) 22%, rgba(4,14,18,.35) 42%, rgba(4,14,18,.08) 58%, transparent 70%);
}
.place-hero.hero-bright h1, .place-hero.hero-bright .lead, .place-hero.hero-bright .crumbs, .place-hero.hero-bright .photo-credit,
.place-hero.hero-bright .crumbs a {
  color: #fff; font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.5);
}
@media (min-width: 861px) {
  .place-hero.has-video.hero-bright::before {
    background: linear-gradient(90deg, rgba(6,24,30,.72), rgba(6,24,30,.3) 42%, rgba(6,24,30,0) 66%),
                linear-gradient(0deg, rgba(6,24,30,.45), rgba(6,24,30,0) 40%);
  }
}

.shop-card.active{border-color:var(--teal-t);box-shadow:0 0 0 2px var(--teal),var(--shadow)}
.prep-cta{margin:16px 0 8px}

:is(.live-strip,.hdr-tools) .lv-plane,
:is(.live-strip,.hdr-tools) .lv-taxi,
:is(.live-strip,.hdr-tools) .lv-bus{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;padding:6px 12px;border-radius:999px;background:rgba(26,166,184,.22);border:1px solid rgba(114,212,224,.45);text-decoration:none;color:inherit;line-height:1}
:is(.live-strip,.hdr-tools) .lv-plane:hover,
:is(.live-strip,.hdr-tools) .lv-taxi:hover,
:is(.live-strip,.hdr-tools) .lv-bus:hover{background:rgba(26,166,184,.38)}
:is(.live-strip,.hdr-tools) .lv-plane-ico,
:is(.live-strip,.hdr-tools) .lv-taxi-ico,
:is(.live-strip,.hdr-tools) .lv-bus-ico{display:block;flex-shrink:0}
.live-strip .lv-tools{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;flex-wrap:wrap;cursor:default;opacity:1}
.hdr-tools{display:inline-flex;align-items:center;gap:6px;order:3;flex:0 0 auto;margin:0 6px}
@media (max-width:860px){
  header .nav{column-gap:6px}
  header .nav .logo{margin-left:0;flex:0 1 auto;min-width:0}
  .hdr-tools{gap:4px;margin:0 0 0 auto}
  .hdr-tools :is(.lv-plane,.lv-taxi,.lv-bus){min-width:min(38px,9vw)!important;min-height:min(38px,9vw)!important;width:min(38px,9vw);height:min(38px,9vw);padding:0!important}
  .hdr-tools :is(.lv-plane-ico,.lv-taxi-ico,.lv-bus-ico){width:min(22px,5.6vw)!important;height:min(22px,5.6vw)!important}
  header .nav .logo .logo-svg{width:min(137px,26vw);height:auto}
}
.g-shot{margin:14px 0}
.g-shot img{display:block;width:100%;max-width:720px;height:auto;border-radius:18px;background:rgba(26,166,184,.12)}
.g-shot figcaption{font-size:13px;margin-top:6px;opacity:.85}
.nav-fids-links{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center}
@media (max-width:480px){
  :is(.live-strip,.hdr-tools) .lv-plane,
  :is(.live-strip,.hdr-tools) .lv-taxi,
  :is(.live-strip,.hdr-tools) .lv-bus{min-width:44px;min-height:44px;padding:6px 8px}
  :is(.live-strip,.hdr-tools) .lv-plane-ico,
  :is(.live-strip,.hdr-tools) .lv-taxi-ico,
  :is(.live-strip,.hdr-tools) .lv-bus-ico{width:22px;height:22px}
  .live-strip .lv-tools{flex-basis:100%;justify-content:center;margin-top:2px;gap:4px}
}

/* голоса 👍/👎 на страницах мест */
.place-votes {
  margin: 20px 0 8px; padding: 16px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.place-votes-h { font-weight: 800; font-size: 16px; margin: 0 0 10px; }
.place-react { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.place-react .rx-btn {
  flex: 1 1 140px; min-height: 56px; min-width: 120px; font-size: 17px;
}
.place-react .rx-btn .rx-emo { font-size: 28px; }
.place-votes .note { margin: 10px 0 0; font-size: 13px; opacity: .75; }

/* сезонная тревога на главной */
.season-alert {
  margin: 0 0 8px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(26,166,184,.18), rgba(201,122,74,.16));
  border: 1.5px solid rgba(26,166,184,.45);
}
.season-alert.go { border-color: rgba(26,166,184,.55); }
.season-alert.skip { border-color: rgba(201,122,74,.55); background: linear-gradient(135deg, rgba(201,122,74,.2), rgba(26,166,184,.1)); }
.season-alert-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.season-alert h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.season-alert p { margin: 0 0 12px; opacity: .92; }
.season-alert .sa-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.season-alert .sa-actions .btn { min-height: 48px; }
.season-alert .sa-why { font-size: 13px; opacity: .7; margin-top: 10px; }
@media (max-width: 480px) {
  .season-alert h2 { font-size: 20px; }
  .place-react .rx-btn { flex: 1 1 45%; }
}

.place-labels { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.place-label {
  display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px;
  font-size:13px; font-weight:800; background:rgba(26,166,184,.16); border:1px solid rgba(114,212,224,.4);
}
.place-label[data-kind="family"] { background:rgba(80,160,100,.18); border-color:rgba(80,160,100,.45); }
.place-label[data-kind="over"] { background:rgba(201,122,74,.18); border-color:rgba(201,122,74,.45); }
.place-label[data-kind="area"] { background:rgba(120,120,180,.18); border-color:rgba(120,120,180,.45); }
.place-label-note { font-size:13px; opacity:.85; margin:0 0 8px; }

/* ===== Home card photo carousel (no navigate on swipe/arrows) ===== */
.card-gallery { position: relative; z-index: 2; touch-action: pan-y; user-select: none; }
.card-gallery .card-slides { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ph); }
.card-gallery .card-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.card-gallery .card-slide.on { opacity: 1; pointer-events: auto; }
.card-gallery .card-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: none !important; }
.card-gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0;
  border: none; border-radius: 999px; cursor: pointer;
  background: rgba(11,21,25,.55); color: #fff; font-size: 28px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.card-gal-btn.prev { left: 8px; }
.card-gal-btn.next { right: 8px; }
.card-gal-btn:active { transform: translateY(-50%) scale(.94); }
.card-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.card-dot {
  pointer-events: auto; width: 8px; height: 8px; min-width: 8px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.card-dot.on { background: #fff; width: 18px; }
.card-linked .card-gallery, .card-linked .card-gal-btn, .card-linked .card-dots { position: relative; z-index: 2; }
.card-linked .card-gallery { position: relative; }
.card-linked .card-gal-btn, .card-linked .card-dots { position: absolute; }
html[data-theme="dark"] .card-gal-btn { background: rgba(0,0,0,.55); }

/* ===== Nav mini flight board ===== */
.nav-air-link { font-weight: 800; }
nav .nav-fids {
  display: none; margin: 10px 12px 14px; padding: 12px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
nav.open .nav-fids { display: block; }
.nav-fids-h { font-weight: 900; font-size: 15px; margin: 0 0 8px; }
.nav-fids-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.nav-fids-tabs button {
  flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer;
}
.nav-fids-tabs button.on { background: var(--teal); color: #fff; border-color: var(--teal-t); }
.nav-fids-meta { font-size: 12px; opacity: .75; margin: 0 0 8px; }
.nav-fids-list { list-style: none; margin: 0; padding: 0; }
.nav-fids-list li {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px;
}
.nav-fids-list li:first-child { border-top: none; }
.nav-fids-list .nf-flight { font-weight: 900; font-variant-numeric: tabular-nums; }
.nav-fids-list .nf-route { font-weight: 800; }
.nav-fids-list .nf-time { font-variant-numeric: tabular-nums; opacity: .85; white-space: nowrap; }
.nav-fids-list .nf-st { font-size: 12px; font-weight: 800; color: var(--teal-t); grid-column: 1 / -1; margin-top: -4px; }
.nav-fids-more { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; font-weight: 800; }

/* Flights skeleton — UI instantly while /api/flights loads */
.skel-bar {
  display: inline-block; height: 12px; border-radius: 6px; max-width: 100%;
  background: linear-gradient(90deg, var(--paper-2) 25%, var(--line) 50%, var(--paper-2) 75%);
  background-size: 200% 100%;
  animation: fids-skel 1.1s ease-in-out infinite;
  vertical-align: middle;
}
.skel-bar.w48 { width: 48px; } .skel-bar.w64 { width: 64px; } .skel-bar.w72 { width: 72px; }
.skel-bar.w80 { width: 80px; } .skel-bar.w100 { width: 100%; min-width: 80px; }
@keyframes fids-skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.fids-skel .fids-table td { opacity: .85; }
.nav-fids-skel li { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .skel-bar { animation: none; background: var(--paper-2); }
}


/* ===== Contrast: solid panels over video / glass ===== */
.season-alert {
  background: rgba(19, 35, 42, .94) !important;
  border: 1.5px solid rgba(114,212,224,.4);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
html[data-theme="light"] .season-alert {
  background: rgba(255,255,255,.96) !important;
  color: #152126;
  box-shadow: 0 12px 36px rgba(12,40,48,.12);
}
.season-alert-kicker { opacity: 1; color: var(--teal-t); font-weight: 900; }
.season-alert h2 { color: var(--ink); font-weight: 900; }
.season-alert p, .season-alert .sa-why { color: var(--ink); opacity: .92; font-weight: 600; }
.season-alert .sa-why { opacity: .8; }
.season-alert a { color: var(--teal-t); font-weight: 800; }

/* Readable leads on P1/utility pages over video bg */
.page-hero:not(.photo) h1 { font-weight: 900; }
.page-hero:not(.photo) .lead,
.page-hero:not(.photo) .crumbs,
.place-main > .lead {
  color: var(--ink);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
html[data-theme="dark"] .page-hero:not(.photo) .lead,
html[data-theme="dark"] .page-hero:not(.photo) .crumbs,
html[data-theme="dark"] .place-main > .lead {
  color: #eef6f8;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}
.place-main .note { color: var(--ink-soft); font-weight: 600; }

/* Text backplate utility for chips/credits on photos */
.page-hero.photo .crumbs,
.place-hero .crumbs {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(4,14,18,.55);
}
.page-hero.photo .lead,
.place-hero .lead {
  display: inline-block;
  max-width: 62ch;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(4,14,18,.45);
}
.page-hero.photo .photo-credit {
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
  font-weight: 700;
  color: #fff;
}

/* Home hero photo text */
.hero.hero-photo h1 { text-shadow: 0 2px 10px rgba(0,0,0,.75), 0 0 28px rgba(0,0,0,.4); font-weight: 900; }
.hero.hero-photo .lead { color: #f3fafb; font-weight: 700; text-shadow: 0 1px 5px rgba(0,0,0,.8); }
.hero.hero-photo::before {
  background: linear-gradient(90deg, rgba(4,16,20,.86), rgba(4,16,20,.55) 50%, rgba(4,16,20,.18)),
              linear-gradient(0deg, rgba(4,16,20,.72), transparent 60%);
}
@media (max-width: 860px) {
  .hero.hero-photo::before { background: linear-gradient(180deg, rgba(4,16,20,.62), rgba(4,16,20,.78) 45%, rgba(4,16,20,.9)); }
}
/* шапки разделов без фото (поверх видео-моря): затемнение под текстом */
html[data-theme="dark"] .page-hero:not(.photo) { background: linear-gradient(90deg, rgba(4,14,18,.55), rgba(4,14,18,.15) 70%, transparent); }

/* ===== Place-to-place swipe nav ===== */
/* Кнопки соседних мест: под шапкой места и в конце статьи; имена целиком (перенос), большие цели */
.place-swipe-nav {
  display: flex; gap: 10px; justify-content: space-between; align-items: stretch;
  margin: 14px auto 6px; width: min(1180px, calc(100% - 32px));
  position: relative; z-index: 3;
}
.place-swipe-nav.ps-bottom { margin: 22px auto 18px; }
.place-swipe-nav a {
  flex: 1 1 0; min-width: 0; max-width: 340px;
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 14px; border-radius: 16px;
  background: rgba(19,35,42,.92); color: #eef6f8;
  border: 1px solid rgba(114,212,224,.30);
  font-weight: 800; font-size: 15px; line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.place-swipe-nav a.ps-next { justify-content: flex-end; text-align: right; margin-left: auto; }
.place-swipe-nav a:hover { border-color: rgba(114,212,224,.6); }
.place-swipe-nav a:active { transform: scale(.98); }
.place-swipe-nav .ps-dir { flex: 0 0 auto; font-size: 26px; line-height: 1; opacity: .9; color: var(--sea-2, #72d4e0); }
.place-swipe-nav .ps-name { white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 420px) { .place-swipe-nav a { font-size: 14px; padding: 8px 10px; gap: 6px; } }
html[data-theme="light"] .place-swipe-nav a { background: rgba(255,255,255,.94); color: #10262c; border-color: rgba(16,90,100,.25); }

/* Свайп между местами: вертикаль — браузеру, горизонталь — нам; без «назад в истории» от трекпада */
html.place-swipeable { overscroll-behavior-x: none; }
html.place-swipeable body { touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; }
html.ps-dragging, html.ps-dragging * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing !important; }
.place-hero, body.place-page > main { will-change: auto; }

/* Кросс-документный View Transition (страницы мест): шапка и фон стоят, содержимое листается */
body.place-page > header { view-transition-name: site-header; }
body.place-page .site-video-bg { view-transition-name: site-bg; }
::view-transition-group(root) { animation-duration: .26s; }
html.vt-next::view-transition-old(root) { animation: vtOutL .26s cubic-bezier(.4,0,.2,1) both; }
html.vt-next::view-transition-new(root) { animation: vtInR .26s cubic-bezier(.2,.8,.2,1) both; }
html.vt-prev::view-transition-old(root) { animation: vtOutR .26s cubic-bezier(.4,0,.2,1) both; }
html.vt-prev::view-transition-new(root) { animation: vtInL .26s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vtOutL { to { transform: translateX(-28%); opacity: 0; } }
@keyframes vtOutR { to { transform: translateX(28%); opacity: 0; } }
@keyframes vtInR { from { transform: translateX(28%); opacity: 0; } }
@keyframes vtInL { from { transform: translateX(-28%); opacity: 0; } }
/* Без View Transitions: новая страница въезжает сама */
html.flip-in-next .place-hero, html.flip-in-next body > main, html.flip-in-next .place-swipe-nav { animation: vtInR .26s cubic-bezier(.2,.8,.2,1) both; }
html.flip-in-prev .place-hero, html.flip-in-prev body > main, html.flip-in-prev .place-swipe-nav { animation: vtInL .26s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.flip-in-next *, html.flip-in-prev * { animation: none !important; }
}

/* Otdyh #bani: native scroll-snap page-flip (snappy) */
.bani-swipe { position: relative; max-width: 520px; margin: 0 auto; }
.bani-shell { position: relative; }
.bani-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  user-select: none;
  outline: none;
  scrollbar-width: none;
}
.bani-viewport::-webkit-scrollbar { display: none; }
.bani-track {
  display: flex;
  width: max-content;
  transform: none !important;
  transition: none !important;
  will-change: auto;
}
.bani-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.bani-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-t);
  font-size: 28px; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.bani-arrow:hover { background: var(--teal); color: #fff; }
.bani-arrow.prev { left: -6px; }
.bani-arrow.next { right: -6px; }
.bani-arrow:disabled { opacity: .35; cursor: default; }
.bani-pos {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 12px;
}
.bani-pos .swipe-dots { margin-top: 0; }
@media (max-width: 560px) {
  .bani-arrow.prev { left: 4px; }
  .bani-arrow.next { right: 4px; }
  .bani-arrow { width: 40px; height: 40px; font-size: 24px; background: rgba(255,255,255,.92); }
}
@media (prefers-reduced-motion: reduce) {
  .bani-viewport { scroll-behavior: auto; }
}


/* Bath card video cover (Panorama) */
.card .cover.photo.has-video {
  background-size: cover;
  background-position: center;
}
.card .cover.photo .cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transform: none !important;
}
.card .cover.photo.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,14,18,.45) 0%, rgba(4,14,18,.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.card .cover.photo.has-video .ph-note {
  z-index: 2;
  bottom: 8px;
  left: 8px;
  top: auto;
}
.card:hover .cover.photo.has-video .cover-video { transform: none !important; }

.card .cover.photo.has-video .cover-sound {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(4,14,18,.78);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.card .cover.photo.has-video .cover-sound:hover,
.card .cover.photo.has-video .cover-sound:focus-visible {
  background: rgba(4,14,18,.92);
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 2px;
}
.card .cover.photo.has-video .cover-sound[aria-pressed="true"] {
  background: var(--teal, #0d7377);
}
.card .cover.photo.has-video .cover-sound-ico { font-size: 16px; line-height: 1; }
@media (max-width: 860px) {
  .card .cover.photo.has-video .cover-sound { top: 8px; right: 8px; padding: 7px 11px; font-size: 12px; }
}



/* Compact 👍/👎 on choosable cards (baths, cafés, shops, lists) */
.card-react {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
  flex-wrap: wrap;
}
.card-react .rx-btn {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
}
.card-react .rx-btn .rx-emo { font-size: 20px; line-height: 1; }
.card-react .rx-btn .rx-n { font-size: 13px; font-weight: 800; color: var(--teal-t); }
.card-react .rx-btn.on { background: var(--teal-soft); border-color: var(--teal-t); }
.swipe-body .card-react { margin: 8px 0 10px; }
.bani-slide .card-react { margin-top: 8px; }
.ad .card-react { margin: 6px 0 0; }
.ad .card-react .rx-btn { min-width: 52px; padding: 4px 8px; }

/* Где закупиться: ближайшая сеть после геолокации — видно сразу */
.shop-card { transition: box-shadow .2s ease, transform .2s ease; }
.shop-card.is-nearest {
  border: 3px solid var(--clay) !important;
  background: linear-gradient(180deg, rgba(194,78,29,.10), rgba(194,78,29,.03) 60%), var(--card, #fff);
  box-shadow: 0 0 0 4px rgba(194,78,29,.18), 0 10px 28px rgba(0,0,0,.14);
  transform: translateY(-2px);
}
.shop-card .near-flag {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 10px; padding: 6px 12px; border-radius: 999px;
  background: var(--clay); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(194,78,29,.35);
}
.shop-card .shop-dist:not([hidden]) { font-weight: 700; opacity: 1; }
.shop-card.is-nearest .shop-dist { color: var(--clay); font-size: 15px; }
#geo-nearest:not([hidden]) {
  border: 3px solid var(--clay); border-radius: 16px; padding: 14px;
  background: rgba(194,78,29,.08);
}
html[data-theme="dark"] .shop-card.is-nearest { background: linear-gradient(180deg, rgba(194,78,29,.22), rgba(194,78,29,.06) 60%); }
html[data-theme="dark"] .shop-card.is-nearest .shop-dist { color: #ff9a6b; }
.shop-card.shop-tap { cursor: pointer; }
.shop-card.shop-tap:focus-visible { outline: 3px solid var(--teal-t); outline-offset: 2px; }
.shop-card.near-pulse { animation: nearPulse .9s ease-out 1; }
@keyframes nearPulse { 0% { box-shadow: 0 0 0 0 rgba(194,78,29,.55); } 100% { box-shadow: 0 0 0 14px rgba(194,78,29,0); } }

/* ===== Меню: одна строка + «Ещё» ===== */
@media (min-width: 861px) {
  header nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
  header nav > ul { flex-wrap: nowrap; min-width: 0; max-width: 100%; align-items: center; }
  header nav > ul > li { flex: 0 0 auto; }
  header nav a { white-space: nowrap; }
  .nav-more { position: relative; display: none; }
  .nav-more.has-items { display: block; }
  .nav-more-btn {
    display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
    font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  }
  .nav-more-btn:hover, .nav-more.open .nav-more-btn, .nav-more-btn.active { background: var(--surface); color: var(--teal-t); }
  .nav-more-caret { font-size: 11px; transition: transform .15s ease; }
  .nav-more.open .nav-more-caret { transform: rotate(180deg); }
  .nav-more-list {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
    min-width: 240px; padding: 8px; list-style: none; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-more.open .nav-more-list { display: grid; gap: 4px; }
  .nav-more-list a { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: 12px; font-size: 16px; font-weight: 700; color: var(--ink); }
  .nav-more-list a:hover, .nav-more-list a.active { background: var(--paper-2); color: var(--teal-t); }
}
@media (max-width: 860px) {
  .nav-more, .nav-more-list { display: contents; }
  .nav-more-btn { display: none; }
}

/* ===== Поиск: список результатов ===== */
.search-hint:has(.search-results) { background: rgba(10,22,27,.82); color: #eef6f8; padding: 10px; }
.search-hint .sr-head { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.search-results .sr-item {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 14px;
  background: rgba(10,22,27,.9); border: 1px solid rgba(233,241,243,.16); color: #eef6f8; font-weight: 800; font-size: 16px; text-decoration: none;
}
.search-results .sr-item:hover, .search-results .sr-item:focus-visible { border-color: var(--teal-t); outline: none; }
.search-results .sr-ico { font-size: 22px; line-height: 1; flex: none; width: 28px; text-align: center; }
.search-results .sr-go { margin-left: auto; color: var(--teal-t); }
html[data-theme="light"] .search-results .sr-item { background: #fff; color: var(--ink); border-color: var(--line); }
html[data-theme="light"] .search-hint:has(.search-results) { background: var(--paper-2); color: var(--ink); }

/* ===== Мелкий серый текст (подписи, источники, «Фото:», подвал): светлее (≥ #a8b5b8) и на 1–2px крупнее ===== */
footer small { opacity: 1; color: #b4c2c6; font-size: 14px; line-height: 1.6; }
footer small a { color: #cfdadd; }
.note { font-size: 14px; }
.sources li { font-size: 14px; }
.month-note, .months-src { font-size: 13px; }
.gal-item figcaption { font-size: 13px; opacity: 1; }
.place-votes .note { font-size: 14px; opacity: 1; }
.photo-credit { font-size: 12px; opacity: 1; }
.hero.hero-photo .photo-credit { font-size: 12px; }
.ph-note { font-size: 11px; }
html[data-theme="dark"] .note, html[data-theme="dark"] .sources li, html[data-theme="dark"] .month-note,
html[data-theme="dark"] .months-src, html[data-theme="dark"] .gal-item figcaption, html[data-theme="dark"] .place-votes .note,
html[data-theme="dark"] .gallery-lead figcaption, html[data-theme="dark"] .fids-meta, html[data-theme="dark"] .nav-fids-meta { color: #b4c2c6; opacity: 1; }
html[data-theme="dark"] .live-strip .lv-dot { color: #a8b5b8; opacity: 1; }

/* ===== Роли цветов: оранжевый — главное действие (кнопка), бирюзовый — ссылка. Вторичные кнопки — нейтральные,
   чтобы пара «бирюзовая рамка + оранжевая кнопка» не повторялась на каждой карточке ===== */
html[data-theme="dark"] .btn.line,
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .page-hero.photo .place-cta .btn.line,
html[data-theme="dark"] .secret-card .card-actions .btn.line { background: rgba(233,241,243,.06); color: #e9f1f3; border: 1px solid rgba(233,241,243,.26); }
html[data-theme="dark"] .btn.line:hover, html[data-theme="dark"] .btn.ghost:hover { background: rgba(233,241,243,.12); border-color: rgba(233,241,243,.45); }
html[data-theme="dark"] .page-hero.photo .place-cta .btn.line { background: rgba(10,22,27,.72); }
/* шапка выше следующих секций (у всех body > * z-index:1) — иначе выпадающее «Ещё» уходит под hero */
body > header:not(.site-video-bg) { z-index: 40; }

/* ===== «Сегодня нельзя» + закат (главная и страницы мест) ===== */
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.today-box, .sunset-box {
  padding: 16px 18px; border-radius: 18px; background: rgba(19, 35, 42, .94);
  border: 1.5px solid rgba(114,212,224,.35); color: var(--ink); box-shadow: 0 12px 36px rgba(0,0,0,.3);
}
.today-box:empty, .sunset-box:empty { display: none; }
.today-box.has-signals { border-color: rgba(232,140,80,.75); }
.today-h { margin: 0 0 10px; font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.today-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.35; }
.today-list li b { font-weight: 800; }
.today-list li small { display: block; font-size: 14px; opacity: .82; margin-top: 2px; font-weight: 600; }
.today-list li a { color: var(--teal-t); font-weight: 800; font-size: 14px; }
.today-ico { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.today-calm { margin: 0; font-size: 16px; font-weight: 800; }
.today-calm > span { color: #7fd8a0; margin-right: 4px; }
.today-src { margin: 8px 0 0; font-size: 13px; opacity: .78; font-weight: 600; }
.today-how { margin-top: 6px; font-size: 13px; opacity: .85; }
.today-how summary { cursor: pointer; font-weight: 800; color: var(--teal-t); min-height: 32px; display: flex; align-items: center; }
.today-how p { margin: 4px 0 0; font-weight: 600; }
.sunset-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sunset-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(114,212,224,.22); color: var(--ink); text-decoration: none;
}
.sunset-list a:hover { border-color: rgba(114,212,224,.6); }
.sunset-list a b { font-weight: 800; }
.sunset-list a span { font-size: 14px; font-weight: 700; color: #ffc58a; text-align: right; }
.place-today { margin-top: 14px; display: grid; gap: 10px; max-width: 640px; }
.place-today .today-box.compact { padding: 12px 14px; box-shadow: none; }
.place-today .today-h { font-size: 16px; margin-bottom: 8px; }
.sunset-slot {
  margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 14px;
  background: rgba(10, 20, 26, .78); border: 1px solid rgba(255,197,138,.45); color: #fff; font-size: 16px; line-height: 1.35;
}
.sunset-slot > span:first-child { font-size: 22px; line-height: 1; }
.sunset-slot b { font-weight: 800; }
.sunset-slot small { display: block; font-size: 13px; opacity: .85; font-weight: 600; margin-top: 3px; }
html[data-theme="light"] .today-box, html[data-theme="light"] .sunset-box { background: rgba(255,255,255,.96); color: #152126; box-shadow: 0 12px 36px rgba(12,40,48,.12); }
html[data-theme="light"] .today-h, html[data-theme="light"] .sunset-list a { color: #152126; }
html[data-theme="light"] .sunset-list a { background: rgba(12,74,86,.05); }
html[data-theme="light"] .sunset-list a span { color: #a2521c; }
@media (max-width: 760px) {
  .today-grid { grid-template-columns: 1fr; }
  .sunset-slot { font-size: 15px; }
}

/* ===== Главная: 8 плиток (Джип-туры, Чиним город). Телефон — 4×2, компьютер — 8 в ряд ===== */
html[data-theme] .rd-tiles .tiles.tiles-8 { grid-template-columns: repeat(8, 1fr); }
html[data-theme] .rd-tiles .tiles.tiles-8.tiles-9 { grid-template-columns: repeat(9, 1fr); }
.tiles-8 .tile span:last-child { text-align: center; line-height: 1.2; }
html[data-theme] .rd-tiles .tiles-8 .tile-jeep { background: rgba(255,255,255,.13) !important; box-shadow: inset 0 -4px 0 #FB9202; }
html[data-theme] .rd-tiles .tiles-8 .tile-jeep:hover, html[data-theme] .rd-tiles .tiles-8 .tile-jeep:focus-visible { background: var(--rd-bg) !important; }
html[data-theme] .rd-tiles .tile-jeep::before { content: ""; position: absolute; top: 9px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #FB9202; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
@media (max-width: 860px) {
  html[data-theme] .rd-tiles .tiles.tiles-8 { grid-template-columns: repeat(4, 1fr); }
  html[data-theme] .rd-tiles .tiles.tiles-8.tiles-9 { grid-template-columns: repeat(3, 1fr); }
  html[data-theme] .rd-tiles .tiles-8 .tile { font-size: 13.5px; min-height: 78px; padding: 8px 2px; }
  html[data-theme] .rd-tiles .tile-jeep::before { top: 7px; right: 8px; }
}

/* ===== Джип-туры (pages/dzhip-tury.html; сборка: tools/jeep/build.py из data/jeep.json) ===== */
.jt-page { --jt-orange: #C2410C; --jt-sand: #FFF4E6; --jt-wa: #15803D; --jt-wa2: #22C55E; --jt-card: var(--surface, #fff); --jt-line: var(--rd-line, #E7E3DD); }
html[data-theme="dark"] .jt-page { --jt-sand: #2a2016; --jt-card: #12222a; }
.jt-hero { position: relative; background-size: cover; background-position: center 40%; padding: 18px 0 30px; color: #fff; }
.jt-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.45)); }
.jt-hero > .wrap { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.jt-hero .crumbs, .jt-hero .crumbs a { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); margin-bottom: auto; }
.jt-hero-box { background: var(--rd-cap, rgba(255,255,255,.94)); color: var(--rd-text, #333); padding: 18px 20px 20px; max-width: 560px; border-top: 6px solid var(--jt-orange); margin-top: 120px; }
.jt-hero-box h1 { font-size: clamp(34px, 6vw, 52px); margin: 2px 0 6px; color: var(--rd-head, #222); }
.jt-kicker { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--jt-orange); }
.jt-lead { font-size: 17px; line-height: 1.5; margin: 0 0 14px; }
.jt-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 10px 18px; background: var(--jt-orange); color: #fff !important; font-weight: 800; font-size: 19px; text-decoration: none !important; }
.jt-cta span { font-size: 26px; }
.jt-cta:hover { background: #9A3412; }
.jt-credit { position: absolute; right: 6px; bottom: 6px; font-size: 11px; line-height: 1.3; padding: 2px 6px; background: rgba(0,0,0,.5); color: #fff; pointer-events: none; }
.jt-credit-hero { right: 0; bottom: -22px; }

.jt-op { padding: 22px 0 10px; }
.jt-opcard { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--jt-card); border: 2px solid var(--jt-line); }
.jt-oppic { position: relative; min-height: 220px; }
.jt-oppic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jt-opbody { padding: 18px 20px 20px; }
.jt-opbody h2 { margin: 2px 0 8px; font-size: 30px; color: var(--rd-head, #222); }
.jt-facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.jt-facts li { padding-left: 26px; position: relative; line-height: 1.4; }
.jt-facts li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--rd-accent, #0B7F87); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.jt-wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 16px; margin: 14px 0 8px; background: linear-gradient(180deg, var(--jt-wa2), var(--jt-wa)); color: #fff !important; font-weight: 800; font-size: 18px; text-decoration: none !important; border-radius: 14px; box-shadow: 0 6px 16px rgba(21,128,61,.3); }
.jt-wa:hover { filter: brightness(1.06); }
.jt-wa-big { min-height: 62px; font-size: 20px; }
.jt-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jt-links .jt-lnk:last-child { grid-column: 1 / -1; }
.jt-lnk { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 2px solid var(--rd-accent, #0B7F87); color: var(--rd-accent, #0B7F87) !important; font-weight: 800; text-decoration: none !important; }
.jt-lnk.jt-ig { border-color: #D6249F; color: #C1177F !important; }
html[data-theme="dark"] .jt-lnk.jt-ig { color: #ff7fcf !important; border-color: #ff7fcf; }
.jt-lnk:hover { background: var(--teal-soft, #E6F3F4); }

.jt-gal { margin: 16px 0 4px; }
.jt-galh { font-size: 22px; margin: 0 0 8px; color: var(--rd-head, #222); }
.jt-galh::before { content: "📸 "; }
.jt-galrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jt-gal-i { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gs); border-bottom: 5px solid var(--jt-orange); }
.jt-gal-i img, .jt-gal-i picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.jt-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 10px; }
.jt-jump a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 86px; padding: 8px 6px; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 14px; line-height: 1.25; }
.jt-jump a b { font-size: 30px; line-height: 1.1; }
.jt-jump a:nth-child(1) { background: var(--jt-orange); }
.jt-jump a:nth-child(2) { background: #5B3CC4; }
.jt-jump a:nth-child(3) { background: var(--rd-accent, #0B7F87); }
html[data-theme="dark"] .jt-jump a:nth-child(3) { color: #06292b !important; }
.jt-pricenote { display: flex; gap: 10px; align-items: flex-start; background: var(--jt-sand); border-left: 5px solid var(--jt-orange); padding: 10px 14px; font-weight: 600; line-height: 1.45; }
.jt-pricenote span { font-size: 20px; }

.jt-h2 { margin: 34px 0 6px; font-size: clamp(24px, 3.4vw, 32px); scroll-margin-top: 84px; }
.jt-h2::before { margin-right: 8px; }
.jt-i-sun::before { content: "☀️"; } .jt-i-moon::before { content: "🌙"; } .jt-i-list::before { content: "📋"; }
.jt-sub { color: var(--rd-muted, #6f6d68); margin: 0 0 14px; line-height: 1.5; }
.jt-group { --g: #C2410C; --gs: #FFF1E6; margin: 18px 0 8px; }
.jt-g-boz { --g: #0B7F87; --gs: #E3F4F5; }
.jt-g-sea { --g: #1D6FD8; --gs: #E6F0FD; }
.jt-g-holy { --g: #7C3AED; --gs: #F1EAFE; }
html[data-theme="dark"] .jt-group, html[data-theme="dark"] .jt-card { --gs: rgba(255,255,255,.06); }
html[data-theme="dark"] .jt-g-west { --g: #FF8A3D; } html[data-theme="dark"] .jt-g-boz { --g: #2BC4C9; } html[data-theme="dark"] .jt-g-sea { --g: #5EA2FF; } html[data-theme="dark"] .jt-g-holy { --g: #B191FF; }
.jt-gh { display: inline-block; margin: 0 0 10px; padding: 6px 14px; background: var(--g); color: #fff; font-size: 17px; }
html[data-theme] .jt-gh { color: #fff; }
html[data-theme="dark"] .jt-gh { color: #0b1519; }
.jt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }

.jt-card { --g: #C2410C; --gs: #FFF1E6; background: var(--jt-card); border: 2px solid var(--jt-line); border-top: 6px solid var(--g); scroll-margin-top: 84px; }
.jt-card.jt-g-boz { --g: #0B7F87; --gs: #E3F4F5; } .jt-card.jt-g-sea { --g: #1D6FD8; --gs: #E6F0FD; } .jt-card.jt-g-holy { --g: #7C3AED; --gs: #F1EAFE; }
.jt-card.jt-multi { --g: #5B3CC4; --gs: #EFEBFD; }
html[data-theme="dark"] .jt-card.jt-multi { --g: #A08BFF; }
.jt-card > summary { list-style: none; cursor: pointer; display: block; -webkit-tap-highlight-color: transparent; }
.jt-card > summary::-webkit-details-marker { display: none; }
.jt-card > summary:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; }
.jt-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gs); }
.jt-pic img, .jt-pic picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.jt-sum { padding: 12px 14px 12px; }
.jt-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jt-num { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; background: var(--g); color: #fff; font-weight: 800; font-size: 20px; border-radius: 50%; }
.jt-num.jt-code { border-radius: 20px; font-size: 18px; }
html[data-theme="dark"] .jt-num { color: #0b1519; }
.jt-badge { padding: 4px 10px; background: var(--gs); color: var(--g); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.jt-badge.jt-top { background: linear-gradient(90deg, #DC2626, #C2410C); color: #fff; }
.jt-badge.jt-top::before { content: "★ "; }
.jt-card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.25; color: var(--rd-head, #222); }
.jt-stops { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.jt-stops li { padding: 3px 9px; background: var(--gs); color: var(--rd-head, #222); font-size: 13.5px; font-weight: 600; line-height: 1.3; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--g) 25%, transparent); }
.jt-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; color: var(--rd-text, #444); }
.jt-meta:empty { display: none; }
.jt-m { display: flex; align-items: center; gap: 6px; }
.jt-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.jt-price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 6px 12px; background: var(--g); color: #fff; }
html[data-theme="dark"] .jt-price { color: #0b1519; }
.jt-price b { font-size: 21px; white-space: nowrap; }
.jt-price div { font-size: 14px; font-weight: 700; opacity: .95; }
.jt-open { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--g); position: relative; }
.jt-open::before, .jt-open::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 3px; background: var(--g); transform: translate(-50%, -50%); transition: transform .2s; }
.jt-open::after { transform: translate(-50%, -50%) rotate(90deg); }
.jt-card[open] .jt-open::after { transform: translate(-50%, -50%) rotate(0deg); }
.jt-card[open] .jt-open { background: var(--gs); }
.jt-body { padding: 4px 14px 16px; border-top: 2px dashed var(--jt-line); }
.jt-body h4 { margin: 12px 0 6px; font-size: 16px; color: var(--g); text-transform: uppercase; letter-spacing: .03em; }
.jt-inc { margin: 0; padding-left: 20px; line-height: 1.45; }
.jt-inc li { margin: 3px 0; }
.jt-extra { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 12px; padding: 8px 12px; background: var(--gs); font-weight: 700; }
.jt-extra b { white-space: nowrap; color: var(--g); font-size: 17px; }
.jt-hint { margin-top: 8px; font-size: 14px; color: var(--rd-muted, #6f6d68); line-height: 1.4; }
.jt-src { display: block; text-align: center; padding: 8px; font-weight: 700; color: var(--rd-accent, #0B7F87) !important; }
.jt-nights { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jt-nights li { display: flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--gs); color: var(--rd-head, #222); font-weight: 700; font-size: 14px; border-radius: 999px; }
.jt-plan { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: d; }
.jt-plan > li { border-left: 4px solid var(--g); padding: 2px 0 2px 12px; }
.jt-dn { font-weight: 800; color: var(--g); margin-bottom: 4px; }
.jt-plan .jt-stops { margin-bottom: 6px; }
.jt-night { font-size: 14px; font-weight: 700; color: var(--rd-text, #444); }
.jt-night::before { content: "🌙 "; }
.jt-night.jt-end::before { content: "🏁 "; }
.jt-terms { display: grid; gap: 8px; }
.jt-term { border: 2px solid var(--jt-line); background: var(--jt-card); }
.jt-term > summary { cursor: pointer; min-height: 54px; display: flex; align-items: center; padding: 8px 48px 8px 14px; font-weight: 800; font-size: 17px; position: relative; list-style: none; }
.jt-term > summary::-webkit-details-marker { display: none; }
.jt-term > summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--rd-accent, #0B7F87); }
.jt-term[open] > summary::after { content: "−"; }
.jt-term > p { margin: 0; padding: 0 14px 14px; line-height: 1.5; }
.jt-src-note { font-size: 14px; color: var(--rd-muted, #6f6d68); margin-top: 14px; }
.jt-foot { padding: 10px 0 40px; }
.jt-more-ops { display: flex; gap: 10px; align-items: center; padding: 14px 16px; margin: 18px 0 12px; background: linear-gradient(90deg, #FFF4E6, #E3F4F5); color: #2f2e2c; font-weight: 700; }
html[data-theme="dark"] .jt-more-ops { background: linear-gradient(90deg, #2a2016, #10303a); color: #f2f7f8; }
.jt-more-ops span { font-size: 26px; }
@media (max-width: 760px) {
  .jt-hero { padding: 10px 0 26px; background-size: auto 360px; background-repeat: no-repeat; background-position: center top; background-color: var(--rd-bg, #fff); }
  .jt-hero::before { bottom: auto; height: 360px; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%); }
  .jt-hero > .wrap { min-height: 0; }
  .jt-hero-box { margin-top: 250px; padding: 14px 16px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
  .jt-credit-hero { top: 34px; bottom: auto; right: 0; }
  .jt-opcard { grid-template-columns: 1fr; }
  .jt-oppic { aspect-ratio: 16 / 10; min-height: 0; }
  .jt-opbody { padding: 14px 14px 16px; }
  .jt-galrow { grid-template-columns: 1fr; gap: 10px; }
  .jt-oppic img { object-position: center 60%; }
  .jt-list { grid-template-columns: 1fr; }
  .jt-jump a { min-height: 84px; font-size: 13px; }
}

/* ===== Ссылка «Джип-туры» на страницах мест ===== */
.jeep-link { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; padding: 14px 16px; min-height: 64px; background: linear-gradient(90deg, #C2410C, #D9480F); color: #fff !important; font-weight: 800; font-size: 17px; line-height: 1.3; text-decoration: none !important; }
.jeep-link > span { font-size: 30px; }
.jeep-link > div { flex: 1; }
.jeep-link::after { content: "→"; font-size: 24px; }
.jeep-link:hover { filter: brightness(1.06); }

/* Видео-петли на карточках (lazy: играют только в кадре) */
.card .cover.photo.lazyvid, .ad .pic.lazyvid { position: relative; overflow: hidden; }
.lazyvid .lazy-card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; z-index: 1; transform: none !important; }
.lazyvid .ph-credit { z-index: 2; top: 8px; bottom: auto; left: 8px; right: auto; }
.secret-card .secret-pic.lazyvid { overflow: hidden; }
.secret-card .secret-pic.lazyvid .ph-note { z-index: 2; }

/* ===== Велотуризм: поднавигация, факты со источником, история и «проверьте» ===== */
.vg-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.vg-subnav a { text-decoration: none; color: inherit; }
.vg-subnav a[aria-current="page"] { background: var(--teal); color: #fff; }
.vg-fact { margin: 0 0 14px; line-height: 1.45; }
.vg-src { font-size: 13px; font-weight: 800; margin-left: 6px; }
.vg-date { font-size: 13px; color: var(--ink-soft); margin-left: 4px; white-space: nowrap; }
.vg-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin: 0 6px 4px 0; vertical-align: 1px; }
.vg-hist { border-left: 4px solid #c9a227; padding: 8px 12px; background: rgba(201, 162, 39, .1); }
.vg-hist .vg-tag { background: #c9a227; color: #1b1205; }
.vg-check { border-left: 4px solid #e07a2f; padding: 8px 12px; background: rgba(224, 122, 47, .12); }
.vg-check .vg-tag { background: #e07a2f; color: #1b1205; }
.vg-report .vg-tag { background: var(--paper-2); color: var(--ink); }
.vg-status { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: #2a1f10; border: 1px solid #6b4a1a; color: #f6e2c2; }
.vg-status p { margin: 0 0 10px; }
.vg-status p:last-child { margin: 0; }
html[data-theme="light"] .vg-status { background: #fff4e5; border-color: #f5c98a; color: #4a2c05; }
.vg-places { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vg-places .btn { min-height: 44px; }
.vg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.vg-cards .card { padding: 0; overflow: hidden; }
.vg-cards .body { padding: 12px 14px 14px; }
.vg-cards h3 { margin: 0 0 8px; font-size: 18px; }
.vg-cards h3 a { text-decoration: none; }
.vg-cover { display: block; aspect-ratio: 16 / 10; background: #12383f; }
.vg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-cap { margin: 0 0 4px; font-size: 14px; font-weight: 800; }
.vg-cards .photo-credit { display: block; margin-top: 0; font-size: 12px; }
.page-hero.vg-hero { overflow: hidden; }
.vg-hero-pic { position: absolute; inset: 0; z-index: 0; display: block; margin: 0; }
.vg-hero-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  html[data-theme] .page-hero.photo.vg-hero > .wrap:first-of-type { padding-top: 16px; }
  html[data-theme] .page-hero.photo.vg-hero::after { content: none; display: none; }
  .page-hero.vg-hero .vg-hero-pic { position: relative; inset: auto; z-index: 1; height: 62vw; min-height: 220px; }
}
.vg-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 78%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; max-width: 100%; padding-bottom: 6px; }
.vg-strip figure { margin: 0; scroll-snap-align: start; }
.vg-strip img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; display: block; }
.vg-strip figcaption, .vg-feature figcaption { font-size: 13px; margin-top: 6px; }
.vg-strip .photo-credit, .vg-feature .photo-credit { display: block; margin-top: 2px; }
.vg-feature { margin: 0; }
.vg-feature img { width: 100%; height: auto; border-radius: 16px; display: block; }
.vg-map { background: #e5f3f6; color: #10282e; border-radius: 18px; padding: 8px 8px 12px; margin: 8px 0 16px; }
.vg-map svg { width: 100%; height: auto; display: block; }
.vg-map .note, .vg-map a { color: #0c4a56; }
.vg-legend { list-style: none; margin: 8px 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; font-weight: 800; }
.vg-legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid; margin-right: 6px; vertical-align: middle; }
.vg-ln-a { border-top-color: #167384; }
.vg-ln-b { border-top-color: #e07a2f; }
.vg-ln-s { border-top-color: #e07a2f; border-top-style: dashed; }
.vg-ln-f { border-top-color: #2f6fbf; border-top-style: dashed; }
.vg-map-src { margin: 6px 4px 0; font-size: 12px; line-height: 1.55; }
.velo-pin { display: block; aspect-ratio: 16 / 10; background: #12383f; }
.velo-pin iframe { width: 100%; height: 100%; border: 0; display: block; }
.vg-pin-note { margin: 0 0 8px; font-size: 12px; line-height: 1.35; }
.vg-embed { aspect-ratio: 16 / 10; background: #12383f; border-radius: 16px; overflow: hidden; margin: 8px 0 12px; }
.vg-embed iframe { width: 100%; height: 100%; min-height: 200px; border: 0; display: block; }
.velo-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; line-height: 1; margin: 0 0 10px; }
.velo-ico-repair { background: #d5eef2; }
.velo-ico-shower { background: #d9ebfb; }
.velo-ico-hostel { background: #ffe4d6; }
.velo-ico-laundry { background: #dff5e8; }
.velo-ico-gear { background: #f8ecd4; }
/* guides 3x3 (preview-guides 2026-10-24) */
#guides .guides-frame{border:3px solid #0B7F87;border-radius:24px;padding:28px 28px 32px;background:#f7fbfb}
#guides h2,#guides .lead{text-shadow:none!important}
#guides .gtiles{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
#guides .gtile,html[data-theme] #guides .gtile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fff!important;border:1px solid rgba(11,127,135,.10);border-radius:18px;box-shadow:0 6px 18px rgba(20,40,45,.10);padding:18px 14px 20px;min-height:150px;color:#1b2a2d!important;text-align:center;text-decoration:none;overflow:hidden}
#guides .gtile span{font-size:19px;font-weight:700;line-height:1.3;color:#1b2a2d;text-shadow:none!important;text-align:center}
#guides .gtile-ico{width:72px;height:54px;flex:none;display:block}
#guides .gtile:hover,#guides .gtile:focus-visible{transform:translateY(-3px);box-shadow:0 10px 24px rgba(11,127,135,.18)}
@media (max-width:640px){#guides .guides-frame{padding:16px 12px 18px;border-radius:18px}#guides .gtiles{grid-template-columns:repeat(2,1fr);gap:10px}#guides .gtile{min-height:120px;padding:12px 8px}#guides .gtile span{font-size:15px}#guides .gtile-ico{width:56px;height:42px}}
html[data-theme="dark"] #guides .guides-frame{background:rgba(10,22,27,.6)}
#guides .guides-frame{border-radius:24px!important}
#guides .gtile,html[data-theme] #guides .gtile{border-radius:18px!important}
@media (max-width:640px){#guides .gtile:last-child{grid-column:1/-1;min-height:100px}}
#guides img.gtile-ico{width:auto;height:64px;max-width:90%;object-fit:contain}
@media (max-width:640px){#guides img.gtile-ico{height:52px}}

/* 10-я плитка «Где закупиться»: на ПК — широкая строка, на телефоне — обычная (сетка 2×5) */
#guides .gtile-shop{grid-column:1/-1;flex-direction:row;min-height:96px}
@media (max-width:640px){#guides .gtile:last-child.gtile-shop{grid-column:auto;flex-direction:column;min-height:120px}}
