/* «Петергоф-гид» — путеводитель. Зелень парка, золото статуй, светлая бумага. */
@font-face { font-family: "PT Serif"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/ptserif-700-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/ptserif-700-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/ptserif-400i-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
	--paper: #fbfaf4; --card: #fff; --wash: #f1eedf; --ink: #22261c; --ink2: #40463a; --muted: #70766a; --line: #e4e0cd;
	--brand: #1f5b4a; --brand2: #164537; --brick: #b07a12; --gold: #d9b441; --ok: #3a7d4f;
	--serif: "PT Serif", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--r: 14px; --r2: 10px; --shadow: 0 1px 2px rgba(27, 34, 48, .06), 0 8px 24px -12px rgba(27, 34, 48, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.62 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(30px, 5.2vw, 48px); }
h2 { font-size: clamp(23px, 3.4vw, 30px); margin-top: 1.6em; }
h3 { font-size: 20px; margin-top: 1.4em; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ── шапка ── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 244, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__t { font: 700 21px/1 var(--serif); letter-spacing: -.01em; }
.logo__t i, .foot__logo i { font-weight: 400; color: var(--brick); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink2); font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav > a:hover { background: var(--wash); color: var(--ink); }
.nav > a.is-on { background: var(--brand); color: #fff; }
.find { display: flex; align-items: center; margin-left: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.find input { border: 0; background: transparent; font: inherit; font-size: 15px; width: 190px; outline: none; padding: 6px 0; }
.find button { border: 0; background: transparent; color: var(--muted); padding: 6px 8px; cursor: pointer; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
@media (max-width: 960px) {
	.burger { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: var(--shadow); }
	.nav.is-open { display: flex; }
	.nav > a { border-radius: var(--r2); padding: 12px 12px; font-size: 17px; }
	.find { margin: 8px 0 0; }
	.find input { width: 100%; }
	.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── крошки и шапки страниц ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brick); }
.phead { padding: 22px 0 18px; max-width: 860px; }
.phead h1 { margin-bottom: .35em; }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.kicker a { color: var(--brick); text-decoration: none; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink2); margin: 0; }
.byline, .stat { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.tmeta { color: var(--ink2); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }

/* ── большие фото ── */
.hero-pic { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; background: var(--wash); position: relative; }
.hero-pic img { width: 100%; max-height: 560px; object-fit: cover; }
.hero-pic figcaption { padding: 8px 14px; font-size: 13px; color: var(--muted); background: #fff; }
.hero-pic figcaption a, .gallery small a { color: var(--muted); }

/* ── макет: текст + колонка ── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1060px) {
	.layout { grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; }
	.layout--text { grid-template-columns: minmax(0, 820px); }
	.side .toc { position: sticky; top: 84px; }
	.prose > .toc { display: none; }
}
@media (max-width: 1059px) { .side .toc { display: none; } }

/* ── текст ── */
.prose { min-width: 0; }
.prose > p, .prose li { color: var(--ink); }
.prose h2 { padding-top: .2em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--brick); }
.prose blockquote { border-left: 3px solid var(--gold); margin-left: 0; padding: 4px 0 4px 18px; font: italic 19px/1.55 var(--serif); color: var(--ink2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; border-radius: var(--r2); overflow: hidden; box-shadow: 0 0 0 1px var(--line); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--wash); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose .tip, .prose .note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r2); padding: 14px 16px; margin: 1.2em 0; }
.prose .tip > :last-child, .prose .note > :last-child { margin-bottom: 0; }
.prose .warn { background: #fff7ef; border: 1px solid #f0d9c4; border-left: 4px solid var(--brick); border-radius: var(--r2); padding: 14px 16px; margin: 1.2em 0; }
.updated { margin-top: 28px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ── «Коротко» ── */
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 14px; margin: 0 0 26px; box-shadow: var(--shadow); }
.facts__title { font: 700 18px/1.2 var(--serif); margin: 0 0 10px; }
.facts dl { margin: 0; }
.facts__row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 16px; }
.facts__row:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts__cta { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .facts__row { grid-template-columns: 1fr; gap: 2px; } }

/* ── оглавление ── */
.toc { background: var(--wash); border-radius: var(--r); padding: 16px 18px; margin: 0 0 24px; font-size: 15.5px; }
.toc__title { font-weight: 700; margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink2); text-decoration: none; }
.toc a:hover { color: var(--brick); }

/* ── вопросы ── */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font: 400 24px/1 var(--sans); color: var(--brick); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 16px 6px; }

/* ── блоки страниц ── */
.band { padding: 34px 0 6px; }
.band--tight { padding-top: 18px; }
.band--wash { background: var(--wash); margin: 26px -16px 0; padding: 30px 16px 22px; border-radius: 0; }
@media (min-width: 1212px) { .band--wash { margin-left: calc((1180px - 100vw) / 2 + 0px); margin-right: calc((1180px - 100vw) / 2); padding-left: calc((100vw - 1180px) / 2 + 16px); padding-right: calc((100vw - 1180px) / 2 + 16px); } }
.band h2 { margin-top: 0; }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.band__head h2 { margin: 0; }
.band__head a { white-space: nowrap; font-weight: 600; text-decoration: none; font-size: 15px; }
.block { margin-top: 34px; }
.notice { background: #fff7ef; border: 1px solid #f0d9c4; border-radius: var(--r2); padding: 14px 16px; }

/* ── карточки мест ── */
.pgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pgrid--inset { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 14px 0 22px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 2px 4px rgba(27, 34, 48, .06), 0 14px 30px -14px rgba(27, 34, 48, .3); }
.pcard__pic { aspect-ratio: 3 / 2; background: linear-gradient(135deg, #d7cfc1, #ece5d9); overflow: hidden; }
.pcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.pcard__ph { display: block; width: 100%; height: 100%; }
.pcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.pcard__type { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brick); font-weight: 600; }
.pcard__title { font: 700 18.5px/1.25 var(--serif); }
.pcard__sub { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ── карточки путеводителя ── */
.ggrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gcard { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; background: var(--card); border-radius: var(--r); padding: 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.gcard:hover { color: var(--ink); box-shadow: 0 2px 4px rgba(27, 34, 48, .06), 0 14px 30px -14px rgba(27, 34, 48, .3); }
.gcard--plain { grid-template-columns: 1fr; padding: 16px 18px; border-left: 4px solid var(--gold); }
.gcard__pic { border-radius: var(--r2); overflow: hidden; aspect-ratio: 1; background: var(--wash); }
.gcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.gcard__body { display: flex; flex-direction: column; gap: 3px; }
.gcard__sec { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); font-weight: 600; }
.gcard__title { font: 700 18px/1.25 var(--serif); }
.gcard__sub { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── карточки экскурсий ── */
.tgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.tgrid--inset { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tcard { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tcard__pic { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--wash); overflow: hidden; }
.tcard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tcard:hover .tcard__pic img { transform: scale(1.03); }
.tcard__kind { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.tcard__title { font: 600 16.5px/1.35 var(--sans); margin: 0 0 6px; }
.tcard__title a { color: var(--ink); text-decoration: none; }
.tcard__title a:hover { color: var(--brick); }
.tcard__meta { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.tcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.rate { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.rate svg { fill: var(--gold); }
.rate__n { font-weight: 400; color: var(--muted); }
.price { font-size: 14px; color: var(--muted); text-align: right; }
.price b { font-size: 17px; color: var(--ink); }
.price s { color: var(--muted); }
.price__u { white-space: nowrap; }

/* ── вставки в тексте ── */
.inset { margin: 22px 0 26px; padding: 16px; background: var(--wash); border-radius: var(--r); }
.inset__title { font: 700 18px/1.3 var(--serif); margin: 0 0 12px; }
.inset__more { margin: 12px 0 0; font-weight: 600; }
.inset__more a { text-decoration: none; }
.inset--places { background: transparent; padding: 0; }

/* ── фильтры, метки ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chip { display: inline-block; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink2); text-decoration: none; font-size: 15px; line-height: 1.2; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 20px; }
.filters__l { color: var(--muted); font-size: 14px; margin-left: 4px; }
.filters__l:not(:first-child) { margin-left: 14px; }
.cols { display: grid; gap: 16px 28px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); margin: 0 0 22px; }
.cols__h { font: 700 17px/1.2 var(--serif); margin: 0 0 8px; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 15.5px; }
.cols li span { color: var(--muted); font-size: 14px; }
.cols a { text-decoration: none; color: var(--ink2); }
.cols a:hover { color: var(--brick); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 10px; }
.pager .page-numbers { min-width: 42px; text-align: center; padding: 9px 12px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink2); }
.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.more summary { cursor: pointer; display: inline-block; margin: 16px 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--brand); color: var(--brand); font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
.links { columns: 2 300px; column-gap: 32px; list-style: none; padding: 0; }
.links li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); }
.links a { text-decoration: none; color: var(--ink2); font-weight: 500; }
.links a:hover { color: var(--brick); }
.types { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.types__i { background: #fff; border-radius: var(--r2); padding: 14px 16px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.types__i b { font: 700 17px/1.2 var(--serif); }
.types__i span { color: var(--muted); font-size: 14px; }
.types__i:hover { border-color: var(--brand); color: var(--ink); }

/* ── главная ── */
.hero { position: relative; background: var(--brand2); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 69, 55, .15), rgba(22, 69, 55, .8)); }
.hero__in { position: relative; z-index: 1; padding: 64px 16px 46px; }
.hero h1 { color: #fff; max-width: 760px; font-size: clamp(34px, 6vw, 58px); }
.hero__lead { font-size: 19px; max-width: 640px; color: rgba(255, 255, 255, .92); margin: 0 0 22px; }
.hero__find { display: flex; max-width: 560px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.hero__find input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; padding: 10px 16px; border-radius: 999px; }
.hero__find button { border: 0; background: var(--brick); color: #fff; font: 600 16px var(--sans); padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.hero__find--plain { box-shadow: none; border: 1px solid var(--line); margin: 0 0 20px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.hero__chips a { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 13px; border-radius: 999px; font-size: 15px; }
.hero__chips a:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.hero__credit { display: block; margin-top: 28px; font-size: 12px; opacity: .7; }
.hero__credit a { color: #fff; }

/* ── экскурсия ── */
.tgal { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; border-radius: var(--r); overflow: hidden; margin: 0 0 26px; }
.tgal__i { display: block; overflow: hidden; background: var(--wash); }
.tgal__i img { width: 100%; height: 100%; object-fit: cover; }
.tgal__i--big { grid-row: span 2; }
.tgal__i:nth-child(n+6) { display: none; }
@media (max-width: 700px) { .tgal { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; } .tgal__i:nth-child(n+4) { display: none; } .tgal__i--big { grid-column: span 2; grid-row: span 2; } }
@media (min-width: 1060px) { .layout--tour { grid-template-columns: minmax(0, 740px) 340px; } .side--book .book { position: sticky; top: 84px; } }
.book { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.book__price .price { text-align: left; font-size: 15px; }
.book__price .price b { font-size: 28px; font-family: var(--serif); }
.book__h { font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
.book__dates { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.book__dates li { background: var(--wash); border-radius: 8px; padding: 4px 9px; font-size: 14px; }
.btn { display: inline-block; text-align: center; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 13px 18px; }
.btn--book { display: block; background: var(--brick); color: #fff; font-size: 17px; }
.btn--book:hover { background: #8f620c; color: #fff; }
.book__note { font-size: 14px; color: var(--muted); margin: 10px 0 6px; }
.adnote { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.book__guide { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.book__guide img { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }
.incl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.incl > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 16px; font-size: 15.5px; }
.incl > div > :last-child { margin-bottom: 0; }
.incl__h { font-weight: 700; margin: 0 0 6px; }
.incl__yes { border-top: 3px solid var(--ok) !important; }
.incl__no { border-top: 3px solid var(--brick) !important; }
.where div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.where dt { color: var(--muted); }
.where dd { margin: 0; }
@media (max-width: 560px) { .where div { grid-template-columns: 1fr; gap: 2px; } }
.rsum { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 0 0 16px; }
.rsum__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 16px; font-size: 15.5px; }
.rsum__col ul { margin: 0; padding-left: 1.1em; }
.rsum__col--plus { border-top: 3px solid var(--ok); }
.rsum__col--minus { border-top: 3px solid var(--gold); }
.rsum__h { font-weight: 700; margin: 0 0 6px; }
.reviews { display: grid; gap: 12px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; font: 16px/1.55 var(--sans) !important; color: var(--ink) !important; border-left: 1px solid var(--line) !important; }
.review p { margin: 0 0 8px; }
.review footer { font-size: 14px; color: var(--muted); }
.mbar { display: none; }
@media (max-width: 1059px) {
	.mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, .3); }
	.mbar .price { text-align: left; }
	.mbar .btn--book { padding: 11px 18px; }
	body.single-tour { padding-bottom: 70px; }
}

/* ── галерея места ── */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin: 26px 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r2); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 13.5px; color: var(--ink2); margin-top: 5px; line-height: 1.4; }
.gallery small { display: block; color: var(--muted); font-size: 12px; }
.zoom { position: fixed; inset: 0; z-index: 60; background: rgba(10, 16, 24, .92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.zoom img { max-height: 92vh; max-width: 96vw; border-radius: 8px; }

/* ── подвал ── */
.foot { margin-top: 56px; background: var(--brand2); color: rgba(255, 255, 255, .82); font-size: 15px; }
.foot a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__in { display: grid; gap: 26px; grid-template-columns: 1fr; padding-top: 38px; padding-bottom: 20px; }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot__logo { font: 700 22px/1 var(--serif); color: #fff; margin: 0 0 12px; }
.foot__logo i { color: var(--gold); }
.foot__h { color: #fff; font-weight: 700; margin: 0 0 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 3px 0; }
.foot__small { font-size: 13.5px; opacity: .8; }
.foot__base { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; padding-bottom: 24px; font-size: 13px; opacity: .8; }

@media (max-width: 560px) {
	body { font-size: 16.5px; }
	.lead { font-size: 17.5px; }
	.pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.pcard__title { font-size: 16px; }
	.pcard__sub { display: none; }
	.gcard { grid-template-columns: 84px 1fr; }
	.hero__in { padding: 44px 16px 34px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── страница места: верхний блок, продажа ── */
.ptop { display: grid; gap: 0; grid-template-columns: 1fr; margin: 0 0 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.ptop .facts { margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 20px 22px 18px; }
.ptop .hero-pic { margin: 0; border-radius: 0; height: 100%; }
.ptop .hero-pic img { width: 100%; height: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; }
.ptop .hero-pic figcaption { display: none; }
@media (min-width: 900px) {
	.ptop { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
	.ptop .hero-pic { order: 2; }
	.ptop .hero-pic img { aspect-ratio: auto; min-height: 100%; }
	.ptop .facts dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
	.ptop .facts__row { grid-template-columns: 1fr; gap: 2px; border-top: 1px dashed var(--line); padding: 9px 0; }
	.ptop .facts__row:nth-child(-n+2) { border-top: 0; }
	.ptop .facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
	.ptop .facts dd { font-size: 15px; line-height: 1.45; }
	.ptop--noimg { grid-template-columns: 1fr; }
}
@media (max-width: 899px) { .ptop .hero-pic { order: -1; } }
.facts__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.facts__btns .btn { display: inline-block; font-size: 15.5px; padding: 11px 16px; }
.btn--line { border: 1.5px solid var(--brand); color: var(--brand); background: #fff; }
.btn--line:hover { background: var(--brand); color: #fff; }
.sell .muted { margin: -6px 0 14px; }
.tgrid--row { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 700px) {
	.tgrid--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
	.tgrid--row .tcard { flex: 0 0 78%; scroll-snap-align: start; }
}
.sidecta { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; position: sticky; top: 84px; }
.sidecta__h { font: 700 17px/1.25 var(--serif); margin: 0 0 4px; }
.sidecta .btn { display: block; font-size: 15.5px; padding: 11px 14px; }
.mbar--place .mbar__t { font: 700 16px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1059px) { body.single-place { padding-bottom: 70px; } }

/* ── кнопка «наверх» ── */
.totop { position: fixed; right: 18px; bottom: 22px; z-index: 24; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .92); color: var(--brand); border: 1px solid var(--line); box-shadow: 0 4px 14px -6px rgba(27, 34, 48, .35);
	opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
@media (max-width: 1059px) { body.single-tour .totop, body.single-place .totop { bottom: 84px; } }

/* ровные ряды по 4 на компьютере */
@media (min-width: 1100px) { .pgrid, .ggrid, .tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pgrid--inset, .tgrid--inset { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .pgrid, .ggrid, .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard__type--guide { color: var(--brand); }
.pcard__sub--clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .pcard--guide .pcard__sub { display: none; } }
/* закреплённый продающий блок в колонке */
.side .toc { position: static !important; }
.sidecta { position: sticky; top: 84px; }
.sidecta__sub { margin: -2px 0 6px; color: var(--muted); font-size: 14.5px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 6px 0; border-top: 1px dashed var(--line); }
.mini img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.mini b { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini small { color: var(--muted); font-size: 13px; }
.mini:hover b { color: var(--brick); }
.sidecta .btn:first-of-type { margin-top: 6px; }
.prose td:last-child, .prose th:last-child { white-space: nowrap; }
@media (max-width: 560px) { .prose td:last-child { white-space: normal; } }

@media (min-width: 1100px) { .types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.types__i--all { background: var(--brand); border-color: var(--brand); color: #fff; }
.types__i--all b, .types__i--all span { color: #fff; }
.types__i--all:hover { background: var(--brand2); color: #fff; }

/* ── планировщик «Куда сходить сегодня» ── */
.kicker span { color: var(--brick); }
.dstrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 0 0 14px; scrollbar-width: thin; }
.dstrip a { flex: 0 0 auto; min-width: 62px; text-align: center; text-decoration: none; color: var(--ink2); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 6px 6px; display: grid; gap: 1px; }
.dstrip a b { font: 700 19px/1.1 var(--serif); color: var(--ink); }
.dstrip a small { font-size: 12px; color: var(--muted); }
.dstrip a.is-wknd small:first-child { color: var(--brick); }
.dstrip a:hover { border-color: var(--brand); }
.dstrip a.is-on { background: var(--brand); border-color: var(--brand); }
.dstrip a.is-on b, .dstrip a.is-on small { color: #fff; }
.dgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 0 0 16px; }
@media (min-width: 1100px) { .dgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 12px; box-shadow: var(--shadow); font-size: 15.5px; }
.dcard h2 { font-size: 18px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.dcard p { margin: 0 0 8px; }
.dcard__big { font: 700 26px/1.15 var(--serif); margin: 0 0 6px !important; color: var(--brand); }
.dlist { list-style: none; margin: 0 0 8px; padding: 0; }
.dlist li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px dashed var(--line); }
.dlist li:first-child { border-top: 0; }
.dlist b { font-weight: 600; white-space: nowrap; text-align: right; }
.dlist--plain b { white-space: normal; }
.dadvice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r2); padding: 14px 18px; margin: 0 0 14px; }
.devent { background: var(--wash); border-radius: var(--r2); padding: 12px 18px; margin: 0 0 10px; }
.dslots { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; }
.dslots a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--ink2); display: grid; gap: 1px; }
.dslots a b { font: 700 24px/1.1 var(--serif); color: var(--brand); }
.dslots a small { color: var(--muted); font-size: 13px; }
.dslots a:hover { border-color: var(--brand); }
.dslots a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.dslots a.is-on b, .dslots a.is-on small { color: #fff; }
@media (max-width: 560px) { .dslots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tcard__start { font-size: 13.5px; color: var(--brand); font-weight: 600; margin: -4px 0 10px; }
.dlist b { white-space: normal; max-width: 62%; }

/* мини-сайт: разделы мест в три колонки */
@media (min-width: 700px) { .types--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
