/* Датский квартал — партнёрский сайт.
   Типографика и палитра сняты с hrustalnipark.ru: Manrope, фиолетовый #53358B,
   графит #262D36, светло-серые подложки. */

:root {
  --c-bg:      #FFFFFF;
  --c-bg-2:    #F7F7F7;
  --c-ink:     #262D36;
  --c-ink-2:   #5D5D5D;
  --c-line:    #E6E6E6;
  --c-line-2:  #D2D2D2;
  --c-brand:   #53358B;
  --c-brand-d: #3E2769;
  --c-hot:     #F25830;
  --c-ok:      #2E7D5B;

  --f: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(48px, 7vh, 88px);
  --r: 8px;
  --sh: 0 2px 14px rgba(38,45,54,.06);
  --sh-2: 0 10px 34px rgba(38,45,54,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-d); text-decoration: underline; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }
h4 { margin: 0 0 .4em; font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--c-ink-2); max-width: 62ch; line-height: 1.6; }
.eyebrow { font-size: .8125rem; font-weight: 600; color: var(--c-brand); margin: 0 0 10px; }
.small { font-size: .8125rem; color: var(--c-ink-2); }
.n { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 780px; }
main { min-height: 60vh; padding-bottom: 80px; }
.section { padding-block: var(--gap); }
.section + .section { padding-top: 0; }
.section--alt { background: var(--c-bg-2); margin-block: var(--gap); padding-block: var(--gap); }
.section + .section--alt { padding-top: var(--gap); }
.section--dark { background: var(--c-ink); color: #fff; margin-block: var(--gap); padding-block: var(--gap); }
.section--dark .lead, .section--dark .small { color: rgba(255,255,255,.72); }
.section--dark .eyebrow { color: #B9A3E0; }
.section--dark a { color: #C3AEE8; }
.section--dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark blockquote { background: rgba(255,255,255,.07); border-left-color: #C3AEE8; color: #fff; }
.section--dark .note { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); border-left-color: #C3AEE8; }
.section--dark .note p { color: rgba(255,255,255,.75); }
.section--dark .note__t { color: #fff; }
.filmbox { margin: 26px 0 0; }
.filmbox video { width: 100%; display: block; border-radius: 14px; background: #000; aspect-ratio: 16/9; }
.filmbox figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--c-ink-2); }
.section--dark .filmbox figcaption { color: rgba(255,255,255,.75); }
.lead--big { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.45; color: var(--c-ink); font-weight: 500; }
.section--dark .pill { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.8); }
.section--dark .badge--bron { background: rgba(255,255,255,.14); color: rgba(255,255,255,.86); }
.section--dark table.tbl { background: transparent; color: #fff; }
.section--dark table.tbl thead th { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.section--dark table.tbl th, .section--dark table.tbl td { border-bottom-color: rgba(255,255,255,.14); }
.section--dark table.tbl tbody tr:hover { background: rgba(255,255,255,.05); }
.section--dark .tbl-scroll { border-color: rgba(255,255,255,.16); }
.section--dark .list-a li::before { color: #C3AEE8; }
.section--dark .fld > label, .section--dark .consent { color: rgba(255,255,255,.72); }
.section--dark .form__ok { background: rgba(255,255,255,.07); border-color: #C3AEE8; }
.section--dark .payload { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo__img { height: 31px; width: auto; flex: none; }
.logo__t { display: block; padding-left: 11px; margin-left: 3px; border-left: 1px solid var(--c-line-2); white-space: nowrap; }
.logo b { font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.logo span { display: block; font-size: 11px; color: var(--c-ink-2); font-weight: 500; margin-top: -2px; }
.nav { display: none; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-size: .8125rem; font-weight: 500; color: var(--c-ink-2); padding: 9px 8px; border-radius: 6px; text-decoration: none; white-space: nowrap; flex: none; }
.nav a:hover { background: var(--c-bg-2); color: var(--c-ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--c-brand); background: rgba(83,53,139,.08); }
.hdr .hdr__cta { display: none; margin-left: 10px; flex: none; white-space: nowrap; }
.burger { margin-left: auto; width: 42px; height: 38px; border: 1px solid var(--c-line-2); background: #fff; border-radius: 6px; display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 17px; height: 2px; background: var(--c-ink); border-radius: 2px; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.drawer { display: none; border-top: 1px solid var(--c-line); background: #fff; padding-bottom: 12px; }
.drawer.is-open { display: block; }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-weight: 500; text-decoration: none; }
.drawer a:last-child { border-bottom: 0; }
@media (max-width: 1559px) { .logo .logo__t { display: none; } }
@media (min-width: 1140px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hdr .hdr__cta { display: inline-flex; }
  .drawer { display: none !important; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 6px;
  background: var(--c-brand); color: #fff; font-weight: 600; font-size: .9375rem;
  cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s;
}
.btn:hover { background: var(--c-brand-d); color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(83,53,139,.28); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px; font-size: .875rem; }
.btn--ghost { background: #fff; border-color: var(--c-line-2); color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-bg-2); color: var(--c-ink); border-color: var(--c-ink-2); box-shadow: none; }
.section--dark .btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--c-brand); font: inherit; text-decoration: underline; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
.g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) { .g2 { grid-template-columns: repeat(2,1fr); } .g3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4,1fr); } }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 22px; }
.card--pad { padding: 26px; }
.stat { background: var(--c-bg-2); border-radius: var(--r); padding: 20px 22px; }
.section--dark .stat { background: rgba(255,255,255,.06); }
.stat__n { display: block; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.stat__l { display: block; font-size: .8125rem; color: var(--c-ink-2); margin-top: 6px; }
.section--dark .stat__l { color: rgba(255,255,255,.65); }

/* ---------- Бейджи ---------- */
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.badge--sale { background: var(--c-bg-2); color: var(--c-ink-2); }
.badge--akciya { background: rgba(242,88,48,.12); color: var(--c-hot); }
.badge--sub { background: rgba(83,53,139,.1); color: var(--c-brand); }
.badge--bron { background: rgba(38,45,54,.08); color: var(--c-ink-2); }

/* ---------- Заметки ---------- */
.note { border: 1px solid var(--c-line); border-left: 3px solid var(--c-brand); border-radius: var(--r); padding: 16px 18px; margin: 0 0 20px; background: var(--c-bg-2); }
.note--warn { border-left-color: var(--c-hot); background: rgba(242,88,48,.05); }
.note__t { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 4px; }
.note p:last-child { margin: 0; }
.note p { font-size: .9375rem; color: var(--c-ink-2); }

/* ---------- Таблицы ---------- */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; border: 1px solid var(--c-line); border-radius: var(--r); }
table.tbl { width: 100%; min-width: 520px; font-size: .9375rem; background: #fff; }
table.tbl th, table.tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
table.tbl thead th { background: var(--c-bg-2); font-size: .8125rem; font-weight: 600; color: var(--c-ink-2); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #FBFAFD; }
table.tbl td.n, table.tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Генплан ---------- */
.gp { position: relative; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; background: #fff; }
.gp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gp__stage { position: relative; min-width: 720px; }
@media (min-width: 780px) { .gp__stage { min-width: 0; } }
.gp__swipe { display: block; padding: 0 16px 10px; font-size: .8125rem; color: var(--c-ink-2); }
@media (min-width: 780px) { .gp__swipe { display: none; } }
.gp__img { width: 100%; height: auto; }
.gp__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-h { cursor: pointer; }
.gp-h rect { fill: rgba(83,53,139,.12); stroke: rgba(83,53,139,.45); stroke-width: 6; transition: fill .18s, stroke .18s; }
.gp-h:hover rect, .gp-h:focus-visible rect { fill: rgba(83,53,139,.32); stroke: #53358B; stroke-width: 10; }
.gp-h.is-active rect { fill: rgba(83,53,139,.42); stroke: #53358B; }
.gp-h.is-sold { cursor: default; }
.gp-h.is-sold rect { fill: rgba(38,45,54,.22); stroke: rgba(38,45,54,.35); stroke-width: 4; }
.gp-pin { fill: #53358B; stroke: #fff; stroke-width: 5; }
.gp-pin--sold { fill: #9aa0a8; }
.gp-pin__t { fill: #fff; font-family: var(--f); font-weight: 700; text-anchor: middle; }
.gp__bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--c-line); font-size: .8125rem; color: var(--c-ink-2); background: var(--c-bg-2); }
.gp__bar b { color: var(--c-ink); }
.gp__lg { display: inline-flex; align-items: center; gap: 7px; }
.gp__lg i { width: 12px; height: 12px; border-radius: 3px; display: block; flex: none; }
.gp__tabs { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.gp__tab { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--c-line-2); background: #fff; font-size: .875rem; font-weight: 500; cursor: pointer; }
.gp__tab[aria-selected="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.gp__hint { padding: 12px 16px 0; font-size: .875rem; color: var(--c-ink-2); }

/* ---------- Фильтры ---------- */
.filters { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(4, 1fr); } }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f > label { font-size: .8125rem; font-weight: 600; color: var(--c-ink-2); }
.f select, .f input {
  appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235D5D5D' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--c-line-2); border-radius: 6px; padding: 11px 32px 11px 12px; font: inherit; font-size: .9375rem; color: var(--c-ink); width: 100%; min-width: 0;
}
.f input { background-image: none; padding-right: 12px; }
.f select:focus, .f input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(83,53,139,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--c-line-2); background: #fff; padding: 9px 14px; border-radius: 20px; font-size: .875rem; cursor: pointer; }
.chip:hover { border-color: var(--c-ink-2); }
.chip[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.result-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-bottom: 16px; font-size: .9375rem; color: var(--c-ink-2); }
.result-bar b { color: var(--c-ink); font-size: 1.0625rem; }

/* ---------- Карточки лотов ---------- */
.lots { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lots { grid-template-columns: repeat(3, 1fr); } }
.lot {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden;
  text-align: left; padding: 0; cursor: pointer; width: 100%; display: block;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.lot:hover { box-shadow: var(--sh-2); border-color: var(--c-line-2); transform: translateY(-2px); }
.lot__ph { display: block; position: relative; aspect-ratio: 16/10; background: var(--c-bg-2); overflow: hidden; }
.lot__ph img { width: 100%; height: 100%; object-fit: cover; }
.lot__ph--empty { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #F7F7F7, #F7F7F7 12px, #F1F1F1 12px, #F1F1F1 24px); }
.lot__noph { font-size: .8125rem; color: var(--c-ink-2); }
.lot__ph .badge { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); box-shadow: var(--sh); }
.lot__ph .badge--akciya { background: var(--c-hot); color: #fff; }
.lot__ph .badge--sub { background: var(--c-brand); color: #fff; }
.lot__b { display: block; padding: 16px 18px 18px; }
.lot__where { display: block; font-size: .8125rem; color: var(--c-ink-2); margin-bottom: 6px; }
.lot__title { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.lot__sub { display: block; font-size: .8125rem; color: var(--c-ink-2); margin-bottom: 14px; }
.lot__price { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.lot__price s { display: block; font-size: .8125rem; font-weight: 500; color: var(--c-ink-2); }
.lot__m2 { display: block; font-size: .8125rem; color: var(--c-ink-2); margin-top: 4px; }
.lot__com { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: .875rem; color: var(--c-ink-2); }
.lot__com b { color: var(--c-brand); font-weight: 700; }

/* ---------- Галерея ---------- */
.gal { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: 22px; }
@media (min-width: 700px) { .gal { grid-template-columns: repeat(4, 1fr); } }
.gal button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--c-bg-2); position: relative; aspect-ratio: 4/3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal button:hover img { transform: scale(1.04); }
.gal figcaption, .gal .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 7px; font-size: .75rem; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.gal--wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gal--wide { grid-template-columns: repeat(3, 1fr); } }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20,20,24,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(255,255,255,.85); font-size: .875rem; }
.lightbox__x { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; }
.lightbox__nav--p { left: 14px; } .lightbox__nav--n { right: 14px; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: none; }
.modal.is-open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(38,45,54,.55); }
.modal__win { position: absolute; inset: auto 0 0 0; max-height: 93vh; overflow-y: auto; background: #fff; border-radius: 14px 14px 0 0; padding: 22px var(--pad) 40px; }
@media (min-width: 900px) { .modal__win { inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: min(920px, 94vw); max-height: 90vh; border-radius: 12px; padding: 32px 36px 36px; } }
.modal__close { position: sticky; top: 0; float: right; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; z-index: 2; }
.kv { display: grid; grid-template-columns: 1fr auto; margin: 0 0 22px; }
.kv dt, .kv dd { padding: 11px 0; border-bottom: 1px solid var(--c-line); margin: 0; font-size: .9375rem; }
.kv dt { color: var(--c-ink-2); }
.kv dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.kv--wide { grid-template-columns: 1fr; }
.kv--wide dd { text-align: left; font-weight: 400; padding-top: 0; border-bottom: 0; }
.kv--wide dt { border-bottom: 0; padding-bottom: 2px; font-size: .8125rem; font-weight: 600; }
@media (min-width: 700px) { .kv--wide { grid-template-columns: 180px 1fr; column-gap: 22px; } .kv--wide dt, .kv--wide dd { border-bottom: 1px solid var(--c-line); padding: 11px 0; } }

/* ---------- Формы ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > label { font-size: .8125rem; font-weight: 600; color: var(--c-ink-2); }
.fld input, .fld textarea { border: 1px solid var(--c-line-2); border-radius: 6px; padding: 12px 14px; font: inherit; font-size: .9375rem; background: #fff; color: var(--c-ink); }
.fld textarea { min-height: 92px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(83,53,139,.12); }
.fld.is-err input, .fld.is-err textarea { border-color: var(--c-hot); }
.fld__err { font-size: .8125rem; color: var(--c-hot); display: none; }
.fld.is-err .fld__err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--c-ink-2); line-height: 1.5; }
.consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--c-brand); flex: none; }
.form__ok { border: 1px solid var(--c-brand); border-radius: var(--r); padding: 24px; background: rgba(83,53,139,.04); }
.payload { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 14px; margin: 14px 0; max-height: 220px; overflow: auto; }

/* ---------- Статьи ---------- */
.article { max-width: 68ch; }
.article h2 { margin-top: 1.7em; }
.article ul { padding-left: 1.15em; margin: 0 0 1.3em; }
.article li { margin-bottom: .45em; }
.article blockquote, blockquote { margin: 0 0 1.3em; padding: 16px 20px; overflow-wrap: break-word; border-left: 3px solid var(--c-brand); background: var(--c-bg-2); border-radius: 0 6px 6px 0; font-size: 1.05rem; }
.list-a { list-style: none; padding: 0; margin: 0 0 1.3em; }
.list-a li { padding-left: 24px; position: relative; margin-bottom: .55em; }
.list-a li::before { content: "→"; position: absolute; left: 0; color: var(--c-brand); font-weight: 600; }
.rows { display: grid; gap: 12px; }
.rows > a, .rows > div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px 22px; color: inherit; text-decoration: none; display: block; }
.rows > a:hover { border-color: var(--c-brand); box-shadow: var(--sh); text-decoration: none; }
.rows .row__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.rows .soon { opacity: .6; }

/* ---------- Видео ---------- */
.vids { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .vids { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vids { grid-template-columns: repeat(3, 1fr); } }
.vid { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 18px 20px; color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.vid:hover { border-color: var(--c-brand); box-shadow: var(--sh); text-decoration: none; }
.vid__top { display: flex; align-items: center; gap: 9px; }
.vid__dur { background: var(--c-brand); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.vid__t { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.vid__n { font-size: .8125rem; color: var(--c-ink-2); }
.vid__m { font-size: .75rem; color: var(--c-ink-2); margin-top: auto; padding-top: 6px; }
.section--dark .vid { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark .vid__n, .section--dark .vid__m { color: rgba(255,255,255,.6); }

.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: .75rem; font-weight: 600; border: 1px solid var(--c-line-2); border-radius: 20px; padding: 4px 10px; color: var(--c-ink-2); text-decoration: none; }
a.pill:hover { border-color: var(--c-brand); color: var(--c-brand); text-decoration: none; }

.hero-img { border-radius: var(--r); overflow: hidden; margin-bottom: 28px; }
.hero-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--c-ink); color: #fff; display: flex; align-items: center; gap: 14px; padding: 10px var(--pad); transform: translateY(110%); transition: transform .35s; }
.sticky-cta.is-on { transform: none; }
.sticky-cta p { margin: 0; font-size: .8125rem; color: rgba(255,255,255,.7); }
.sticky-cta .btn { margin-left: auto; flex: none; background: #fff; color: var(--c-ink); }
.sticky-cta .btn:hover { background: #fff; color: var(--c-brand); }
@media (max-width: 560px) { .sticky-cta p { display: none; } .sticky-cta .btn { width: 100%; margin: 0; } }

.ftr { background: var(--c-ink); color: rgba(255,255,255,.68); padding: 52px 0 96px; font-size: .875rem; }
.ftr a { color: rgba(255,255,255,.9); }
.ftr__grid { display: grid; gap: 26px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 2fr 1fr 1fr; } }
.ftr h4 { color: #fff; font-size: .8125rem; margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 8px; }
.ftr__legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .75rem; line-height: 1.6; color: rgba(255,255,255,.45); }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 700px; margin-inline: auto; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 16px 18px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .8125rem; }
.cookie.is-on { display: flex; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.loading { padding: 70px 0; text-align: center; color: var(--c-ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print { .hdr, .sticky-cta, .cookie, .modal, .lightbox, .ftr { display: none !important; } }

/* ---------- Образ жизни ---------- */
.year { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .year { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .year { grid-template-columns: repeat(3, 1fr); } }
.mon { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px; }
.mon__m { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--c-brand); background: rgba(83,53,139,.09); padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }
.mon h4 { margin-bottom: 6px; }
.mon p { margin-bottom: 10px; }
.tg-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tg-links a {
  font-size: .75rem; font-weight: 600; border: 1px solid var(--c-line-2); border-radius: 20px;
  padding: 4px 11px 4px 24px; color: var(--c-ink-2); text-decoration: none; position: relative;
}
.tg-links a::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  background: var(--c-brand); border-radius: 2px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.8 16.2 9.6 20c.4 0 .6-.2.8-.4l1.9-1.8 3.9 2.9c.7.4 1.2.2 1.4-.7l2.6-12.1c.2-1-.4-1.4-1-1.2L2.6 10.3c-1 .4-1 .9-.2 1.2l4.4 1.4 10.2-6.4c.5-.3.9-.1.6.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.8 16.2 9.6 20c.4 0 .6-.2.8-.4l1.9-1.8 3.9 2.9c.7.4 1.2.2 1.4-.7l2.6-12.1c.2-1-.4-1.4-1-1.2L2.6 10.3c-1 .4-1 .9-.2 1.2l4.4 1.4 10.2-6.4c.5-.3.9-.1.6.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tg-links a:hover { border-color: var(--c-brand); color: var(--c-brand); text-decoration: none; }
.section--dark .tg-links a { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.85); }
.section--dark .tg-links a::before { background: #C3AEE8; }
.section--dark .tg-links a:hover { border-color: #C3AEE8; color: #fff; }

.feed { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .feed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .feed { grid-template-columns: repeat(3, 1fr); } }
.fp {
  display: block; background: #fff; border: 1px solid var(--c-line); border-left: 3px solid var(--c-brand);
  border-radius: var(--r); padding: 16px 18px; color: inherit; text-decoration: none;
}
.fp:hover { box-shadow: var(--sh); text-decoration: none; border-left-color: var(--c-hot); }
.fp__d { display: block; font-size: .75rem; color: var(--c-ink-2); margin-bottom: 5px; }
.fp__t { display: block; font-weight: 600; line-height: 1.3; margin-bottom: 5px; }
.fp__n { display: block; font-size: .8125rem; color: var(--c-ink-2); }

/* ---------- Онлайн-тур ---------- */
.tour { border: 1px solid var(--c-brand); border-radius: var(--r); background: linear-gradient(180deg, rgba(83,53,139,.05), rgba(83,53,139,.01)); margin: 0 0 24px; }
.tour__b { padding: 24px 26px; }
.tour__b h3 { margin-bottom: 6px; }
.tour__b .small { color: var(--c-ink-2); margin: 0; }

/* ---------- Сценарий разговора и маршрут показа ---------- */
.step { margin-bottom: 30px; }
.step__h { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.step__n {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.step__h h3 { margin-bottom: 4px; }
.route { display: grid; gap: 0; margin-bottom: 26px; }
.rstep { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.rstep:last-child { border-bottom: 0; }
.rstep__n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--c-brand);
  color: var(--c-brand); display: grid; place-items: center; font-weight: 700; font-size: .875rem;
}
.rstep__b { min-width: 0; }
.rstep__b h4 { margin-bottom: 6px; }
.rstep__say { margin: 0 0 6px; font-size: 1.0625rem; color: var(--c-ink); border-left: 2px solid var(--c-brand); padding-left: 14px; }

/* ---------- Фотоэкскурсия ---------- */
.stop { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.stop__n {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem;
}
.section--alt .stop__n { background: var(--c-ink); }

/* ---------- Журнал обновлений ---------- */
.upd { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 22px; }
@media (min-width: 760px) { .upd { grid-template-columns: repeat(3, 1fr); } }
.up {
  display: block; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r);
  padding: 16px 18px; color: inherit; text-decoration: none;
}
.up:hover { border-color: var(--c-brand); box-shadow: var(--sh); text-decoration: none; }
.up__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.up__d { font-size: .75rem; color: var(--c-ink-2); }
.up__r { font-size: .75rem; font-weight: 600; color: var(--c-brand); }
.up__t { display: block; font-weight: 600; line-height: 1.3; margin-bottom: 5px; }
.up__n { display: block; font-size: .8125rem; color: var(--c-ink-2); }
.section--alt .up { background: #fff; }

/* ---------- Награды ---------- */
.award { background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-brand); border-radius: var(--r); padding: 22px; }
.award__y { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: var(--c-brand); padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }
.award h3, .award h4 { margin-bottom: 4px; }
.award__n { font-size: .9375rem; font-weight: 600; color: var(--c-ink); margin: 0 0 8px; }
.award--sm .award__n { font-size: .8125rem; font-weight: 500; color: var(--c-ink-2); margin: 0; }
.section--alt .award { background: #fff; }
