:root {
  --dark: #15171C;
  --light: #F0EDE6;
  --card: #FFFFFF;
  --line: #E3DED4;
  --text: #1B1D22;
  --muted: #5A564F;
  --accent: #E2702B;
  --accent-dark: #B8561C;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 96px; /* место под закреплённую кнопку */
}
img { display: block; max-width: 100%; }
.px { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* Первый экран: фото, заголовок, одна кнопка */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #F3F0EA; background: linear-gradient(160deg, #2B2F3A 0%, var(--dark) 70%); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-emoji { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; font-size: 140px; line-height: 1; opacity: 0.9; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,28,0.05) 0%, rgba(21,23,28,0.45) 40%, rgba(21,23,28,0.96) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 36px; width: 100%; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #F7B07E; margin-bottom: 12px; }
h1 { font-size: 38px; line-height: 1.1; font-weight: 800; margin-bottom: 14px; }
.lead { font-size: 19px; color: #ECE7DF; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips span { font-size: 15px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(243,240,234,0.16); border: 1px solid rgba(243,240,234,0.3); }

/* Кнопка оплаты: одна на странице, большая, оранжевая */
.pay { display: block; width: 100%; text-align: center; text-decoration: none; background: var(--accent); color: #fff; font-weight: 800; font-size: 21px; padding: 20px; border-radius: 16px; box-shadow: 0 10px 26px rgba(226,112,43,0.4); }
.pay:active { transform: scale(0.99); }
.pay small { display: block; font-size: 14px; font-weight: 600; opacity: 0.92; margin-top: 3px; }

section { padding: 40px 0; }
h2 { font-size: 27px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
h2.mt { margin-top: 30px; }

/* Три шага */
.steps-wrap { background: var(--dark); color: #F3F0EA; }
.steps { list-style: none; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 600; }
.steps b { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }

/* Карточки маршрута с фото */
.cards { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card div { padding: 16px 18px 18px; }
.card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 17px; }

.list { list-style: none; display: grid; gap: 10px; }
.list li { padding-left: 32px; position: relative; font-size: 18px; }
.list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.list.no li::before { content: "–"; background: #BDB6AA; }

.me { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.me img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 66% 40%; }
.me p { color: var(--muted); font-size: 16px; }
.me b { color: var(--text); font-size: 18px; display: block; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faq details p { color: var(--muted); margin-top: 8px; }

.final { background: var(--dark); color: #F3F0EA; text-align: center; }
.final .price { font-size: 46px; font-weight: 800; }
.final .note { color: #BDB6AA; margin-bottom: 20px; }
footer { padding: 24px 20px 32px; font-size: 13px; color: var(--muted); text-align: center; }
footer a { color: var(--muted); }

/* Закреплённая кнопка внизу экрана: видна всегда */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(21,23,28,0.97); color: #F3F0EA; box-shadow: 0 -6px 20px rgba(0,0,0,0.25); }
.sticky-price { flex: 1; min-width: 0; }
.sticky-price b { display: block; font-size: 21px; line-height: 1.1; }
.sticky-price span { display: block; font-size: 13px; color: #BDB6AA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-sm { width: auto; flex: none; font-size: 18px; padding: 15px 22px; box-shadow: none; }

/* Страница после нажатия «Оплатить» */
.thanks { min-height: 100vh; display: flex; align-items: center; background: var(--dark); color: #F3F0EA; }
.thanks h1 { font-size: 30px; }
.thanks p { color: #D6D1C7; margin-bottom: 14px; }
.btn2 { display: inline-block; margin-top: 8px; padding: 16px 24px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; font-size: 19px; }

@media (min-width: 760px) {
  h1 { font-size: 52px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .sticky { justify-content: center; }
  .sticky-price { flex: none; }
}

/* Каталог /lp/ */
a.card.hub { display: block; color: inherit; text-decoration: none; }
.hub-price { display: block; margin-top: 10px; color: var(--accent-dark); font-size: 17px; }

/* Выбор из двух вариантов */
.tiers { display: grid; gap: 14px; }
.tier { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 20px; }
.tier:last-child { border-color: var(--accent); }
.tier h3 { font-size: 20px; }
.tier-price { font-size: 32px; font-weight: 800; margin: 4px 0 8px; }
.tier p { color: var(--muted); margin-bottom: 14px; }
.tier .tier-price { color: var(--text); }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; } }

/* Переключатель языка */
.lang { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; background: rgba(21,23,28,0.55); border: 1px solid rgba(243,240,234,0.35); border-radius: 999px; overflow: hidden; }
.lang a { color: #F3F0EA; text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 14px; }
.lang a.on { background: var(--accent); color: #fff; }

/* Страница-ответ (статья) */
.article { background: var(--card); }
.article .wrap { padding-top: 28px; padding-bottom: 28px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.article h1 { color: var(--text); font-size: 34px; }
.byline { display: flex; gap: 12px; align-items: center; margin: 14px 0 22px; font-size: 15px; color: var(--muted); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--text); }
.tldr { background: #FFF4EC; border: 2px solid var(--accent); border-radius: 16px; padding: 18px 20px; margin: 8px 0 28px; }
.tldr h2 { font-size: 20px; margin-bottom: 10px; }
.tldr ul { padding-left: 20px; display: grid; gap: 6px; }
.article h2 { margin-top: 34px; }
.article h3 { font-size: 20px; margin: 20px 0 6px; }
.article p, .article li { font-size: 18px; line-height: 1.6; }
.article p { margin-bottom: 12px; }
.article ul.plain, .article ol.plain { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 12px; }
.tbl { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--light); font-weight: 800; }
.tbl-wrap { overflow-x: auto; }
.note-box { background: var(--light); border-radius: 14px; padding: 14px 16px; margin: 12px 0 18px; font-size: 16px; }
.cta-box { background: var(--dark); color: #F3F0EA; border-radius: 18px; padding: 22px 20px; margin: 30px 0; }
.cta-box h2 { color: #F3F0EA; margin-top: 0; }
.cta-box p { color: #D6D1C7; }
.cta-box .pay { margin-top: 10px; }
.cta-box .pay.ghost { background: transparent; border: 2px solid #F3F0EA; box-shadow: none; }
.fig { margin: 16px 0 20px; }
.fig img { width: 100%; border-radius: 16px; max-height: 460px; object-fit: cover; }
.fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* длинные слова в заголовках статей не раздвигают страницу на телефоне */
.article h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 420px) { .article h1 { font-size: 29px; } }

/* chrome: общая шапка и «Другие прогулки» (site_chrome.py) */
.sitebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; background: var(--dark); color: #F3F0EA; font-size: 14px; font-weight: 600; }
.sitebar a { color: #F3F0EA; text-decoration: none; }
.sitebar a:hover { text-decoration: underline; }
.sb-brand { display: flex; align-items: center; gap: 9px; }
.sb-mark { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #E2B26B; color: #E2B26B; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.sb-links { display: flex; gap: 18px; }
.others { padding: 52px 0 12px; }
.others h2 { font-size: 28px; line-height: 1.15; font-weight: 800; margin-bottom: 6px; }
.others .sub { color: var(--muted); margin-bottom: 20px; }
.others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.oc { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.oc:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.oc img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.oc .oc-t { padding: 12px 14px 14px; }
.oc small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .3px; }
.oc b { display: block; font-size: 17px; line-height: 1.2; margin: 5px 0 8px; }
.oc .oc-p { font-weight: 800; color: var(--accent-dark); font-size: 15px; }
.others-all { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--accent-dark); }
@media (max-width: 560px) {
  .sb-name { display: none; }
  .others-grid { grid-template-columns: 1fr; }
  .oc { display: grid; grid-template-columns: 116px 1fr; }
  .oc img { height: 100%; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) { .oc { transition: none; } }
/* /chrome */
