/* ============================================================
   Внутренние страницы: посёлок, все локации, о компании,
   контакты, большая карта. Токены и база — в main.css
   ============================================================ */

/* ---------- 1. Хлебные крошки ---------- */
.crumbs {
  padding-top: 108px;
  padding-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: .04em;
}
.crumbs a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.crumbs a:hover { color: var(--ink); border-color: var(--line-l2); }
.crumbs span { color: var(--muted); opacity: .6; }
.crumbs__cur { color: var(--ink); }

/* крошки на тёмной секции */
.crumbs--dark { padding-top: 0; padding-bottom: 20px; color: rgba(239, 237, 229, .45); }
.crumbs--dark a { color: rgba(239, 237, 229, .6); }
.crumbs--dark a:hover { color: var(--bone); border-color: var(--line-d2); }
.crumbs--dark span { color: rgba(239, 237, 229, .3); }
.crumbs--dark .crumbs__cur { color: rgba(239, 237, 229, .85); }

/* ---------- 2. Шапка посёлка ---------- */
.pk-head { padding: 28px 0 44px; }
.pk-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--s8);
  align-items: start;
}
.pk-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 16px 0 22px;
}
.pk-lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--muted-2);
  max-width: 52ch;
  margin: 0;
}
.pk-facts {
  display: flex;
  gap: var(--s7);
  flex-wrap: wrap;
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--line-l);
}
.pk-facts span {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.pk-facts b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.01em;
}

.pk-offer {
  border: 1px solid var(--line-l);
  background: var(--bone);
  padding: var(--s5);
  display: grid;
  gap: var(--s3);
}
.pk-offer__price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.pk-offer__price small {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.pk-offer__sub { font-size: var(--fs-sm); color: var(--muted-2); margin-bottom: var(--s2); }
.pk-offer .btn { margin-top: var(--s2); }
.pk-offer__tel {
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line-l2);
  padding-bottom: 3px;
  justify-self: start;
}
.pk-offer__note {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--muted-2);
  margin-top: var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--line-l);
}

/* ---------- 3. Медиа и плейсхолдер фото ---------- */
.pk-media { margin-bottom: var(--s8); }
.pk__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.92);
}
.ph {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  background-image: repeating-linear-gradient(135deg, rgba(239, 237, 229, .05) 0 1px, transparent 1px 14px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--bone);
  padding: var(--s6);
  overflow: hidden;
}
.ph__tag {
  position: absolute;
  top: var(--s5); left: var(--s5);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}
.ph__name {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: rgba(239, 237, 229, .78);
}
.ph__note {
  position: absolute;
  bottom: var(--s5); left: var(--s5);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: rgba(239, 237, 229, .38);
}
.ph--sm { aspect-ratio: 4 / 3; padding: var(--s4); }
.ph--sm .ph__name { font-size: 22px; }

/* ---------- 4. Тело страницы посёлка ---------- */
.pk-body { padding-bottom: var(--s9); }
.pk-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--s9);
  align-items: start;
}
.pk-text p { font-size: 16px; line-height: 1.72; color: var(--muted-3); max-width: 62ch; }
.pk-text > p:first-child { font-size: 18px; color: var(--ink); }
.pk-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: var(--s7) 0 var(--s4);
}
.pk-list { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
.pk-list li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line-l);
  position: relative;
  font-size: 15px;
}
.pk-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
}
.pk-comms { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-comm {
  padding: 9px 14px;
  border: 1px solid var(--line-l2);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pk-comm.is-on { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.pk-muted { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s4); max-width: 58ch; }

.pk-docs { border-top: 1px solid var(--line-l2); max-width: 62ch; }
.pk-docs div {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 14px;
}
.pk-docs span { color: var(--muted-2); }
.pk-docs b { font-weight: 500; }

/* ---------- 5. Мини-карта ---------- */
.pk-map { position: sticky; top: 104px; }
.pk-map__caption {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.minimap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--paper-2);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-l);
  overflow: hidden;
}
.minimap__pin {
  position: absolute;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(244, 242, 236, .85), 0 0 0 5px rgba(13, 15, 13, .25);
}
.minimap--off { display: grid; place-items: center; padding: var(--s5); text-align: center; }
.minimap--off span { font-size: var(--fs-xs); color: var(--muted); max-width: 20ch; }
.pk-map__coords {
  font-family: ui-monospace, Consolas, monospace;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin: var(--s3) 0 var(--s4);
}

/* ---------- 6. Карточки «похожие» ---------- */
.cards { gap: var(--s6); }
.pcard { display: grid; gap: 10px; }
.pcard__media { overflow: hidden; }
.pcard__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__name { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin-top: 4px; }
.pcard__meta { font-size: var(--fs-sm); color: var(--muted-2); }
.pcard__price { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- 7. Индекс всех локаций ---------- */
.idx-group { margin-bottom: var(--s8); }
.idx-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line-l2);
}
.idx-group__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -.01em;
}
.idx-group__head span { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.idx-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 180px;
  gap: var(--s4);
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-l);
  transition: padding .25s var(--ease), color .25s;
}
.idx-row:hover { padding-left: 8px; color: var(--brass); }
.idx-row__name { font-family: var(--serif); font-size: 21px; }
.idx-row__meta { font-size: var(--fs-sm); color: var(--muted-2); }
.idx-row__price { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ---------- 8. О компании ---------- */
.ab-hero { background: var(--ink); color: var(--bone); padding: var(--s9) 0 var(--s8); }
.ab-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s8);
  align-items: end;
}
.ab-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 18px 0 0;
  max-width: 16ch;
}
.ab-hero h1 em { font-style: italic; color: var(--brass-l); }
.ab-hero__side p { color: rgba(239, 237, 229, .62); max-width: 40ch; }
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
  margin-top: var(--s7);
}
.ab-stats div { padding: var(--s5) var(--s5) var(--s5) 0; }
.ab-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}
.ab-stats span { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.ab-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s9); }
.ab-body__side { position: sticky; top: 120px; align-self: start; }
.ab-body__side h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin-bottom: var(--s4); }
.ab-body p { font-size: 16px; line-height: 1.75; color: var(--muted-3); max-width: 64ch; }

.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s8); }
.legal-grid div {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 14px;
}
.legal-grid span { color: var(--muted-2); }
.legal-grid b { font-weight: 500; text-align: right; }

/* ---------- 9. Контакты ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s9); align-items: start; }
.ct-block + .ct-block { margin-top: var(--s7); }
.ct-block h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: var(--s4); }
.ct-row { padding: 13px 0; border-bottom: 1px solid var(--line-l); display: flex; justify-content: space-between; gap: var(--s4); font-size: 14px; }
.ct-row span { color: var(--muted-2); }
.ct-row b { font-weight: 500; text-align: right; }
.ct-card { border: 1px solid var(--line-l); background: var(--bone); padding: var(--s5); }
.ct-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: var(--s3); }
.ct-card p { font-size: var(--fs-sm); color: var(--muted-2); }

/* форма на светлом фоне */
.form--light .field label { color: var(--muted-3); }
.form--light .field input,
.form--light .field select { color: var(--ink); border-bottom-color: var(--line-l2); }
.form--light .field input::placeholder { color: var(--muted); }
.form--light .field select option { background: var(--bone); color: var(--ink); }
.form--light .check { color: var(--muted-2); }
.form--light .check a { color: var(--ink); border-bottom-color: var(--line-l2); }

/* ---------- 10. Большая карта ---------- */
.map-page__head { background: var(--ink); color: var(--bone); padding: 128px 0 var(--s6); }
.map-page__head h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 16px 0 0;
}
.map-stage { background: var(--paper-2); padding: var(--s5) 0 var(--s8); }
.map-big {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 683 / 670;
  background: url('../img/map-europe.png') center / cover no-repeat, var(--paper-2);
  border: 1px solid var(--line-l);
  overflow: hidden;
}
.map-big .map__pin,
.map-big .map__region { position: absolute; }
.map-big .map__pin { transform: translate(-50%, -50%); }
.map-legend { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s4); font-size: var(--fs-xs); color: var(--muted); }
.map-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s7); }
.map-region-card {
  border-top: 1px solid var(--line-l2);
  padding-top: var(--s3);
  display: grid;
  gap: 4px;
}
.map-region-card b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.map-region-card span { font-size: var(--fs-sm); color: var(--muted-2); }

/* ---------- 11. Фильтры коммуникаций ---------- */
.filters--sub {
  border-top: 0;
  margin-top: 4px;
  padding-top: 0;
  gap: 10px;
  align-items: center;
}
.filters__caption {
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(239, 237, 229, .38);
  margin-right: 6px;
}
.chip--comm {
  border: 1px solid rgba(239, 237, 229, .22);
  padding: 7px 14px;
  color: rgba(239, 237, 229, .56);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.chip--comm:hover { border-color: rgba(239, 237, 229, .5); color: var(--bone); }
.chip--comm.is-active { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chip--comm.is-active::after { display: none; }

/* ---------- 12. Адаптив ---------- */
@media (max-width: 1180px) {
  .pk-head__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s6); }
  .pk-body__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); }
  .ct-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); }
}

@media (max-width: 960px) {
  .crumbs { padding-top: 96px; }
  .pk-head__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .pk-body__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .pk-map { position: static; }
  .minimap { aspect-ratio: 16 / 10; }
  .ab-hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-body { grid-template-columns: 1fr; gap: var(--s6); }
  .ab-body__side { position: static; }
  .ct-grid { grid-template-columns: 1fr; }
  .map-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-page__head { padding-top: 116px; }
  .map-big { max-height: none; }
}

@media (max-width: 620px) {
  .idx-row { grid-template-columns: 1fr auto; }
  .idx-row__meta { display: none; }
  .idx-row__price { text-align: right; }
  .pk-title { font-size: 36px; }
  .pk-facts { gap: var(--s5); }
  .ph { aspect-ratio: 4 / 3; }
  .ph__tag, .ph__note { position: static; display: block; margin-top: 8px; }
  .legal-grid { grid-template-columns: 1fr; }
  .map-regions { grid-template-columns: 1fr; }
}

/* акцентный абзац «почему это интересно» */
.pk-text p.pk-prospects {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--brass);
  padding-left: var(--s5);
  max-width: 56ch;
  margin: 0;
}
/* ============================================================
   Калькулятор ипотеки и рассрочки
   ============================================================ */
.mort { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s8); align-items: start; }
.mort__row { margin-bottom: var(--s5); }
.mort__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.mort__label span { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(239, 237, 229, .5); }
.mort__label b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--bone); }
.mort input[data-m-price], .mort input[data-m-rate] {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-d2);
  color: var(--bone); font-size: 20px; font-family: var(--serif); padding: 8px 0 10px;
  outline: none; appearance: textfield;
}
.mort input[data-m-price]:focus, .mort input[data-m-rate]:focus { border-color: var(--brass); }
.mort input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-d2);
  outline: none; margin: 14px 0 4px; cursor: pointer;
}
.mort input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bone); border: 0; cursor: pointer; box-shadow: 0 0 0 4px rgba(239, 237, 229, .12);
}
.mort input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--bone); cursor: pointer;
}
.mort__scale { display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(239, 237, 229, .35); letter-spacing: .08em; }
.mort__result {
  border: 1px solid var(--line-d);
  padding: var(--s6);
  background: rgba(239, 237, 229, .03);
}
.mort__pay { font-family: var(--serif); font-weight: 300; font-size: 58px; line-height: 1; letter-spacing: -.02em; color: var(--bone); }
.mort__pay small { display: block; font-family: var(--sans); font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(239, 237, 229, .45); margin-bottom: 14px; }
.mort__pay em { font-style: normal; font-size: 20px; color: rgba(239, 237, 229, .5); margin-left: 6px; }
.mort__rows { margin-top: var(--s5); border-top: 1px solid var(--line-d); }
.mort__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: var(--fs-sm); }
.mort__rows span { color: rgba(239, 237, 229, .5); }
.mort__rows b { font-weight: 500; color: var(--bone); }
.mort__form { margin-top: var(--s6); display: grid; gap: var(--s3); }
.mort__note { font-size: 11.5px; color: rgba(239, 237, 229, .4); line-height: 1.5; }

@media (max-width: 960px) {
  .mort { grid-template-columns: 1fr; gap: var(--s6); }
  .mort__pay { font-size: 46px; }
}

/* ============================================================
   Фильтры: цена и площадь
   ============================================================ */
.filters--range { border-top: 0; margin-top: 4px; padding-top: 0; gap: var(--s6); align-items: center; }
.range-field { display: flex; align-items: center; gap: 8px; }
.range-field > span { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 237, 229, .38); white-space: nowrap; }
.range-field input {
  width: 74px; background: transparent; border: 0; border-bottom: 1px solid var(--line-d2);
  color: var(--bone); font-size: 13px; padding: 6px 2px; outline: none; text-align: center;
  appearance: textfield;
}
.range-field input:focus { border-color: var(--brass); }
.range-field input::placeholder { color: rgba(239, 237, 229, .3); }
.range-sep { color: rgba(239, 237, 229, .3); font-size: 12px; }
.filters__reset {
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(239, 237, 229, .45); border-bottom: 1px solid var(--line-d2); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.filters__reset:hover { color: var(--bone); border-color: var(--bone); }
.filter-hint { font-size: 11.5px; color: var(--muted); margin-top: -12px; margin-bottom: var(--s4); }

/* ============================================================
   Отзывы
   ============================================================ */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }
.rev-nav { display: flex; gap: 8px; }
.rev-btn {
  width: 46px; height: 46px; border: 1px solid var(--line-l2); display: grid; place-items: center;
  color: var(--ink); transition: background .25s, color .25s, border-color .25s; background: transparent;
}
.rev-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.rev-track {
  display: flex; gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 8px; margin-top: var(--s6); scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 calc((100% - 2 * var(--s5)) / 3); scroll-snap-align: start;
  border: 1px solid var(--line-l); padding: var(--s6); background: var(--paper);
  display: flex; flex-direction: column; gap: var(--s4);
}
.rev-stars { color: var(--brass); letter-spacing: .18em; font-size: 13px; }
.rev-text { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); flex: 1; }
.rev-author { font-size: var(--fs-sm); color: var(--muted-2); border-top: 1px solid var(--line-l); padding-top: var(--s3); }
.rev-author b { color: var(--ink); font-weight: 500; }
.rev-dots { display: flex; gap: 6px; margin-top: var(--s4); }
.rev-dot { width: 26px; height: 2px; background: var(--line-l2); border: 0; cursor: pointer; transition: background .25s; }
.rev-dot.is-active { background: var(--ink); }

@media (max-width: 1100px) { .rev-card { flex-basis: calc((100% - var(--s5)) / 2); } }
@media (max-width: 720px) { .rev-card { flex-basis: 100%; } }

/* ============================================================
   Блог
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--s6) var(--s5); max-width: 1100px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card__media { overflow: hidden; background: var(--paper-2); }
.post-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__cat { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.post-card__title { font-family: var(--serif); font-size: 25px; line-height: 1.15; letter-spacing: -.01em; }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted-2); line-height: 1.6; }
.post-card__meta { font-size: 11.5px; color: var(--muted); margin-top: auto; display: flex; gap: 10px; }

.article { max-width: 68ch; padding: 32px 0 96px; }
.article__meta { display: flex; gap: 14px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.article h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; }
.article__lead { font-size: 19px; line-height: 1.6; color: var(--muted-3); margin-bottom: 32px; }
.article__cover { margin: 0 0 40px; }
.article__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; margin: 44px 0 14px; }
.article p { font-size: 17px; line-height: 1.75; color: var(--muted-3); margin: 0 0 18px; }
.article ul { margin: 0 0 22px; padding-left: 20px; }
.article li { font-size: 17px; line-height: 1.7; color: var(--muted-3); margin-bottom: 8px; }
.article__back { display: inline-flex; margin-top: 40px; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters--range { flex-wrap: wrap; gap: var(--s4); }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article p, .article li { font-size: 16px; }
}
/* ============================================================
   Юридические страницы, 404, «Спасибо», cookie-баннер, мобильная панель
   ============================================================ */

/* ---------- юридический текст ---------- */
.legal { max-width: 78ch; padding: 140px 0 96px; }
.legal h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -.015em; margin: 14px 0 24px;
}
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--muted-3); }
.legal ul { padding-left: 18px; }
.legal li { margin-bottom: 8px; }
.legal a { border-bottom: 1px solid var(--line-l2); }
.legal__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }

/* ---------- страница «Спасибо» ---------- */
.thanks {
  min-height: 88vh; display: grid; place-items: center; text-align: center;
  padding: 140px 0 96px; background: var(--ink); color: var(--bone);
}
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__mark {
  width: 64px; height: 64px; border: 1px solid var(--brass); border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 32px; color: var(--brass);
  font-size: 26px;
}
.thanks h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 20px;
}
.thanks h1 em { font-style: italic; color: var(--brass-l); }
.thanks p { color: rgba(239, 237, 229, .66); font-size: 17px; line-height: 1.65; margin: 0 auto 32px; max-width: 44ch; }
.thanks__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks p.thanks__note { margin-top: 44px; font-size: var(--fs-sm); color: rgba(239, 237, 229, .4); }
.thanks__note a { border-bottom: 1px solid var(--line-d2); color: rgba(239, 237, 229, .7); }

/* ---------- 404 ---------- */
.err {
  min-height: 86vh; display: grid; place-items: center; padding: 128px 0 96px;
  background: var(--paper);
}
.err__inner { max-width: 620px; margin: 0 auto; }
.err__code {
  font-family: var(--serif); font-size: clamp(72px, 12vw, 160px); line-height: .9;
  letter-spacing: -.04em; color: var(--paper-2); -webkit-text-stroke: 1px var(--line-l2);
  margin-bottom: 8px;
}
.err h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px;
}
.err p { color: var(--muted-2); font-size: 16px; line-height: 1.65; margin: 0 0 32px; max-width: 44ch; }
.err__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- cookie-баннер ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%);
  width: min(920px, calc(100% - 32px));
  background: var(--ink); color: var(--bone);
  border: 1px solid var(--line-d2);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  z-index: 60;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  opacity: 0;
}
.cookie.is-open { transform: translate(-50%, 0); opacity: 1; }
.cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(239, 237, 229, .72); flex: 1 1 320px; }
.cookie a { color: var(--bone); border-bottom: 1px solid var(--line-d2); }
.cookie .btn { padding: 12px 26px; font-size: 12px; flex: 0 0 auto; }
@media (max-width: 620px) {
  .cookie { bottom: 78px; padding: 16px; gap: 12px; }
  .cookie .btn { width: 100%; }
}

/* ---------- мобильная панель связи ---------- */
.mbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(13, 15, 13, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-d);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 58px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone); border-right: 1px solid var(--line-d);
}
.mbar a:last-child { border-right: 0; background: var(--brass); color: var(--ink); }
.mbar a:active { opacity: .85; }
.mbar svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .mbar { display: flex; }
  body { padding-bottom: 58px; }
  .ftr__legal { padding-bottom: 12px; }
}
/* ошибка отправки формы: сообщение + повтор без потери данных */
.form__error {
  border-left: 2px solid #C0564C;
  padding: 10px 0 10px 14px;
  margin: 2px 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: inherit;
  opacity: .92;
}
/* ============================================================
   Демонстрационный режим (тестовый адрес)
   ============================================================ */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--brass);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  padding: 7px 16px;
}
.demo-bar b { font-weight: 600; }
.demo-bar a { color: var(--ink); border-bottom: 1px solid rgba(13, 15, 13, .45); }

body.has-demo-bar { padding-top: var(--demo-bar-h, 32px); }
body.has-demo-bar .hdr { top: var(--demo-bar-h, 32px); }

.form__demo {
  border-left: 2px solid var(--brass);
  background: rgba(168, 133, 90, .10);
  padding: 11px 14px;
  margin: 2px 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
}