@import url('/fonts/fonts.css');

/* Пансионика — дизайн A «Маркер». Телефон — основа, компьютер — от 900px. */
:root {
  --side: 20px;
  --ink: #0E0F12;
  --muted: #5B6070;
  --soft: #3d4250;
  --plate: #F5F6F8;
  --line: #E3E5EA;
  --accent: #C8FA00;
  --r: 16px;
  --gut: 20px;
  --wrap: 1168px;
  --head: 'Unbounded', sans-serif;
  --text: 'Inter Tight', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/normal var(--text); accent-color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: normal; margin: 0; }
h1 { font-size: 26px; }
h2 { font-size: 19px; }
h3 { font-size: 17px; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.mark { background: var(--accent); padding: 1px 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.section { padding: 0 0 40px; }
.section > h2 { margin-bottom: 14px; }

/* Логотип */
.logo { font-family: var(--head); font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.logo span { background: var(--accent); padding: 0 3px; }

/* Кнопки */
.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; border-radius: 12px; font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-soft { background: var(--plate); color: var(--ink); }
.btn-block { width: 100%; }
.ibtn, .hicon { border: 0; background: none; padding: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; color: var(--ink); }
.ibtn svg, .hicon svg { width: 22px; height: 22px; }
.only-d { display: none !important; }

/* Шапка — телефон (H-home-m) */
.header { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 20px; position: sticky; top: 0; z-index: 40; background: #fff; transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 8px 24px -12px rgba(14, 15, 18, .18); }
.nav { display: none; }
.header-right { display: flex; align-items: center; }
.city { border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); padding: 10px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.city .city-pin { display: none; }
.city .city-chev { width: 14px; height: 14px; }
.hicon-fav { display: none; }
.burger-ico { width: 24px !important; height: 24px !important; }
.podbor { display: none; }

/* Меню — телефон (H-menu-m) */
.menu { position: fixed; inset: 0; background: #fff; z-index: 50; overflow-y: auto; display: none; flex-direction: column; }
.menu.open { display: flex; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 10px 20px; }
.menu-city { padding: 8px 20px 32px; }
.menu-city .city { padding: 6px 0; gap: 10px; font-family: var(--head); font-weight: 500; font-size: 21px; line-height: 1; }
.menu-city .city svg:first-child { width: 26px; height: 26px; }
.menu-city .city svg:last-child { width: 16px; height: 16px; }
.menu-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 20px 20px; }
.menu-nav a { display: flex; gap: 16px; align-items: center; padding: 9px 0; text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 21px; }
.menu-nav svg { width: 26px; height: 26px; }
.menu-cta { padding: 0 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.menu-cta .btn { padding: 17px 20px; }
.menu-cta .note { font-size: 14px; line-height: 1.45; }
.menu-extra { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; font-size: 17px; }
.menu-extra a { text-decoration: none; display: flex; justify-content: space-between; }
.menu-cab { margin: auto 20px 20px; padding: 15px 18px; background: var(--plate); border-radius: 12px; display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: 16px; font-weight: 500; }
.menu-cab svg { width: 22px; height: 22px; }
.menu-extra + .menu-cab { margin-top: 32px; }

/* Подвал (как на макетах) */
.footer { background: var(--plate); padding: 32px 20px 28px; display: flex; flex-direction: column; gap: 24px; }
.footer .logo { font-size: 18px; }
.footer a { font-size: 15px; text-decoration: none; color: var(--soft); }
.footer a:hover { color: var(--ink); }
.footer-cols { display: flex; flex-direction: column; gap: 24px; }
.footer-about > span { display: none; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col > b { display: none; }
.footer-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.footer-docs { gap: 10px; }
.footer-docs a { font-size: 14px; }
.footer small { font-size: 13px; line-height: 1.5; color: var(--muted); display: block; }

/* Плашки и карточки списка */
.plate { background: var(--plate); border-radius: var(--r); padding: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: var(--plate); padding: 8px 12px; border-radius: 10px; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--accent); }
.chip svg { width: 14px; height: 14px; }
.tag { display: inline-block; background: var(--accent); padding: 1px 6px; font-size: 14px; }

.org-list { display: flex; flex-direction: column; gap: 28px; }
.org { display: flex; flex-direction: column; gap: 10px; }
.org-photo { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--plate); position: relative; }
.org-photo img, .org-photo svg { width: 100%; height: 100%; object-fit: cover; }
.org-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.org-name { font-size: 19px; font-weight: 600; text-decoration: none; }
.org-rating { font-weight: 600; white-space: nowrap; }
.org-meta { font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.org-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-size: 20px; font-weight: 600; white-space: nowrap; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }

/* Кнопка телефона: номер скрыт до нажатия */
.phone-btn { border: 0; background: var(--plate); padding: 11px 16px; border-radius: 10px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; cursor: pointer; font-size: 15px; flex-shrink: 0; text-decoration: none; }
.phone-btn svg { width: 18px; height: 18px; }
.phone-btn.icon-only { padding: 12px; }

/* Страница города */
.page-head { padding: 8px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.filters { margin-bottom: 24px; }

/* Карточка пансионата */
.gallery { position: relative; height: 280px; margin: 0 calc(-1 * var(--gut)); overflow: hidden; background: var(--plate); }
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > * { flex: 0 0 100%; scroll-snap-align: start; height: 100%; }
.gallery-track img, .gallery-track svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; background: rgba(14, 15, 18, .7); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.card-head { padding: 20px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.card-cta { display: flex; gap: 10px; margin: 0 0 32px; }
.card-cta .btn { flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--plate); border-radius: 14px; padding: 14px; }
.tile b { display: block; font-size: 16px; }
.tile span { font-size: 14px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ''; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0F12' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dots { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--plate); border-radius: 14px; padding: 16px; }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 8px; }
.staff { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.staff-item { flex: 0 0 120px; display: flex; flex-direction: column; gap: 6px; }
.staff-photo { width: 120px; height: 160px; border-radius: 12px; overflow: hidden; background: var(--plate); }
.staff-item b { font-size: 14px; }
.staff-item span { font-size: 13px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.map-box { height: 220px; border-radius: var(--r); overflow: hidden; background: #EEF4DE; position: relative; }

/* Главная */
.hero { padding: 16px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: 28px; }
.search { display: flex; flex-direction: column; gap: 10px; }
.search select { font: inherit; border: 0; background: var(--plate); border-radius: 12px; padding: 15px 16px; appearance: none; }
.cards-grid { display: grid; gap: 12px; }
.link-plate { background: var(--plate); border-radius: var(--r); padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; }
.link-plate b { display: block; font-size: 17px; }
.link-plate span { font-size: 15px; color: var(--muted); }
.link-plate svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (min-width: 900px) {
  :root { --gut: 56px; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .section { padding-bottom: 64px; }
  .section > h2 { margin-bottom: 22px; }
  .org-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .org { flex-direction: row; gap: 24px; }
  .org-photo { flex: 0 0 240px; aspect-ratio: auto; height: 170px; }
  .org-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .gallery { height: 420px; margin: 0; border-radius: 18px; }
  .gallery-track > * { flex-basis: 50%; }
  .card-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .card-aside { position: sticky; top: 20px; background: var(--plate); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
  .card-cta { display: none; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 44px; max-width: 760px; }
  .search { flex-direction: row; max-width: 640px; }
  .search select { flex: 1; }
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  :root { --side: max(56px, calc((100vw - 1168px) / 2)); }
  .only-d { display: revert !important; }
  .only-m { display: none !important; }
  /* Шапка — компьютер (H-home-d) */
  .header { justify-content: flex-start; gap: 28px; padding: 22px var(--side); }
  .logo { font-size: 20px; }
  .nav { display: flex; gap: 16px; white-space: nowrap; font-size: 15px; }
  .nav a { text-decoration: none; }
  .nav a.on { font-weight: 600; }
  .header-right { margin-left: auto; gap: 6px; font-size: 15px; }
  .city .city-pin { display: block; width: 18px; height: 18px; }
  .city .city-chev { width: 12px; height: 12px; color: var(--muted); stroke-width: 2.2; }
  .hicon-fav { display: flex; }
  .burger { display: none; }
  .podbor { display: inline-block; margin-left: 8px; background: var(--ink); color: #fff; text-decoration: none; padding: 13px 20px; border-radius: 10px; font-size: 15px; font-weight: 500; white-space: nowrap; }
  /* Подвал — компьютер */
  .footer { padding: 44px var(--side) 36px; gap: 28px; }
  .footer .logo { font-size: 18px; }
  .footer a { font-size: 14px; }
  .footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.6fr; gap: 40px; }
  .footer-about { display: flex; flex-direction: column; gap: 14px; }
  .footer-about > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
  .footer-col > b { display: block; font-size: 14px; }
  .footer-sections { display: flex; flex-direction: column; gap: 12px; }
}
@media (max-width: 899px) { .card-aside { display: none; } }

/* Выбор города */
.city-dialog { border: 0; border-radius: 18px; padding: 20px; width: min(420px, calc(100% - 32px)); }
.city-dialog::backdrop { background: rgba(14, 15, 18, .35); }
.city-dialog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* Главная — телефон (H-home-m) */
.h-hero { padding: 28px 20px 40px; display: flex; flex-direction: column; gap: 14px; }
.h-hero h1 { font-size: 27px; line-height: 1.2; }
.h-hero-text { display: flex; flex-direction: column; gap: 14px; }
.h-lead { font-size: 17px; color: var(--muted); line-height: 1.5; }
.h-search { margin: 14px 0 0; background: var(--plate); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.h-search label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.select { position: relative; display: flex; }
.select select { font: inherit; font-size: 17px; color: var(--ink); padding: 14px 44px 14px 12px; border: 0; border-radius: 12px; background: #fff; appearance: none; -webkit-appearance: none; width: 100%; }
.select svg { position: absolute; right: 16px; top: 50%; margin-top: -7px; width: 14px; height: 14px; color: var(--muted); pointer-events: none; }
.h-search button { border: 0; font: inherit; font-size: 16px; font-weight: 500; background: var(--ink); color: #fff; padding: 16px; border-radius: 12px; cursor: pointer; }
.h-podbor { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px 0; font-size: 16px; font-weight: 600; text-decoration: none; }
.h-podbor svg { width: 18px; height: 18px; }
.h-podbor-note { font-size: 14px; color: var(--muted); line-height: 1.45; padding: 0 2px; }
.h-sec { padding: 0 20px 44px; display: flex; flex-direction: column; gap: 14px; }
.h-sec h2 { font-size: 19px; }
.h-sections { gap: 16px; }
.h-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h-tile { background: var(--plate); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.h-tile svg { width: 28px; height: 28px; }
.h-tile b { font-size: 17px; }
.h-tile span { font-size: 14px; color: var(--muted); }
.h-check { gap: 44px; }
.h-steps { display: flex; flex-direction: column; gap: 18px; }
.h-step { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.h-num { background: var(--accent); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 14px; flex-shrink: 0; }
.h-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h-stat { background: var(--plate); border-radius: 16px; padding: 16px; }
.h-stat div { font-family: var(--head); font-size: 22px; }
.h-stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.h-situations { display: flex; flex-direction: column; gap: 14px; }
.h-sit { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.h-sit b { font-size: 17px; }
.h-sit span { font-size: 15px; color: var(--muted); }
.h-funds { gap: 12px; }
.h-funds-lead { font-size: 15px; color: var(--muted); line-height: 1.5; }
.h-fund-list { display: flex; flex-direction: column; gap: 12px; }
.h-fund { background: var(--plate); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; }
.h-fund > span { display: flex; flex-direction: column; gap: 4px; }
.h-fund b { font-size: 16px; }
.h-fund > span > span { font-size: 14px; color: var(--muted); }
.h-fund svg { width: 18px; height: 18px; flex-shrink: 0; }
.h-funds-all { font-size: 15px; font-weight: 500; color: var(--ink); }
.h-cities { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.h-cities a { background: var(--plate); padding: 10px 14px; border-radius: 10px; text-decoration: none; }

@media (min-width: 900px) {
  /* Главная — компьютер (H-home-d) */
  .h-hero { padding: 64px var(--side) 56px; flex-direction: row; gap: 56px; align-items: center; }
  .h-hero-text { flex: 1; gap: 20px; }
  .h-hero h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1px; }
  .h-lead { font-size: 20px; }
  .h-search { width: 528px; flex-shrink: 0; margin: 0; border-radius: 20px; padding: 24px; gap: 14px; }
  .select select { padding: 15px 44px 15px 14px; }
  .h-search button { font-size: 17px; }
  .h-sec { padding: 0 var(--side) 72px; gap: 22px; }
  .h-sec h2 { font-size: 28px; }
  .h-tiles { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 14px; }
  .h-tile { border-radius: 18px; padding: 20px; gap: 12px; }
  .h-tile svg { width: 30px; height: 30px; }
  .h-tile b { font-size: 18px; }
  .h-check { flex-direction: row; gap: 56px; }
  .h-steps { flex: 1; gap: 22px; }
  .h-step { gap: 16px; font-size: 17px; }
  .h-num { width: 36px; height: 36px; font-size: 15px; }
  .h-stats { width: 480px; gap: 14px; align-content: start; }
  .h-stat { border-radius: 18px; padding: 22px; }
  .h-stat div { font-size: 30px; }
  .h-stat span { font-size: 15px; margin-top: 6px; }
  .h-situations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .h-sit { border-radius: 18px; padding: 22px; gap: 8px; }
  .h-sit-img { height: 120px; border-radius: 12px; overflow: hidden; margin-bottom: 6px; position: relative; }
  .h-sit-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .h-sit b { font-size: 18px; }
  .h-sec-head { display: flex; justify-content: space-between; align-items: baseline; }
  .h-sec-head a { font-size: 16px; font-weight: 500; color: var(--ink); white-space: nowrap; }
  .h-funds { gap: 22px; }
  .h-fund-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .h-fund { border-radius: 18px; padding: 22px; }
  .h-fund > span { gap: 8px; }
  .h-fund b { font-size: 18px; }
  .h-fund > span > span { font-size: 15px; }
  .h-cities { gap: 10px; font-size: 16px; }
  .h-cities a { padding: 12px 18px; border-radius: 12px; }
}

/* Список пансионатов — телефон (Main) */
.c-head { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.c-title { display: flex; flex-direction: column; gap: 14px; }
.c-title h1 { font-size: 25px; line-height: 1.22; }
.c-count { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.c-count > span:first-child { color: var(--muted); }
.c-podbor { margin: 14px 0 0; background: var(--ink); color: #fff; text-decoration: none; padding: 18px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.c-podbor svg { width: 20px; height: 20px; }
.c-stats { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c-stat { background: var(--plate); border-radius: 14px; padding: 16px; }
.c-stat div { font-size: 13px; color: var(--muted); }
.c-stat b { display: block; font-size: 19px; font-weight: 600; margin-top: 4px; }
.c-chips { display: flex; gap: 8px; padding: 0 20px 32px; overflow-x: auto; scrollbar-width: none; }
.c-chip { border: 0; font: inherit; font-size: 15px; background: var(--plate); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; white-space: nowrap; text-decoration: none; cursor: pointer; }
.c-chip.on { background: var(--accent); }
.c-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.c-chip-icon { padding: 10px 12px; }
.c-chip-icon svg { width: 20px; height: 20px; }
.c-filters { display: none; padding: 0 20px 32px; flex-direction: column; gap: 28px; font-size: 15px; }
.c-filters.open { display: flex; }
.c-filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.c-filters legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.c-check { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.c-check input { margin: 0; pointer-events: none; }
.c-list { display: flex; flex-direction: column; }
.c-empty { margin: 0 20px 44px; background: var(--plate); border-radius: 14px; padding: 18px; }
.li { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 44px; position: relative; }
.li-photo { height: 190px; border-radius: 14px; overflow: hidden; position: relative; display: block; }
.li-photo img, .li-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.li-body { display: flex; flex-direction: column; gap: 6px; }
.li-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.li-name { font-size: 20px; font-weight: 600; text-decoration: none; }
.li-name::after { content: ''; position: absolute; inset: 0; } /* на телефоне вся карточка — ссылка */
.li-rating { font-size: 16px; font-weight: 600; white-space: nowrap; }
.li-place { font-size: 15px; color: var(--muted); }
.li-tag { font-size: 15px; }
.li-price { font-size: 22px; font-weight: 600; margin-top: 6px; white-space: nowrap; }
.li-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.li-price-none { font-size: 15px; font-weight: 400; color: var(--muted); }
.c-map-box { height: 620px; background: var(--plate); border-radius: 18px; position: relative; overflow: hidden; }
.c-map-box > svg { position: absolute; inset: 0; }
.c-pin { position: absolute; background: #fff; font-size: 13px; padding: 5px 9px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.c-pin.dark { background: var(--ink); color: #fff; }
.c-pin.accent { background: var(--accent); }

@media (min-width: 900px) {
  /* Список пансионатов — компьютер (A-desktop) */
  .c-head { padding: 28px var(--side) 36px; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .c-title { max-width: 640px; }
  .c-title h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.5px; }
  .c-count { display: block; font-size: 17px; color: var(--muted); }
  .c-count .mark { color: var(--ink); }
  .c-stats { margin: 0; display: flex; gap: 10px; }
  .c-stat { padding: 16px 20px; }
  .c-layout { display: flex; gap: 40px; padding: 0 var(--side) 72px; }
  .c-filters { display: flex; width: 210px; flex-shrink: 0; padding: 0; }
  .c-list { flex-grow: 1; min-width: 0; gap: 36px; }
  .li { flex-direction: row; gap: 24px; padding: 0; }
  .li-photo { width: 220px; height: 150px; flex-shrink: 0; }
  .li-body { flex-grow: 1; gap: 8px; }
  .li-name { font-size: 21px; }
  .li-name::after { display: none; }
  .li-rating { font-size: 17px; }
  .li-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 12px; }
  .li-price { margin-top: 0; }
  .c-map { width: 360px; flex-shrink: 0; }
  .c-empty { margin: 0; }
}

/* Карточка пансионата — телефон (A-card) */
.page-card .header { display: none; }
.k-crumbs { padding: 8px var(--side) 20px; font-size: 14px; color: var(--muted); }
.k-crumbs a { color: var(--muted); text-decoration: none; }
.k-gallery { height: 280px; position: relative; overflow: hidden; }
.k-ph { position: absolute; inset: 0; overflow: hidden; }
.k-ph img, .k-ph > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-ph-1, .k-ph-2, .k-ph-3, .k-ph-4 { display: none; }
.k-back { position: absolute; left: 8px; top: 8px; padding: 10px; display: flex; color: var(--ink); }
.k-gtools { position: absolute; right: 8px; top: 8px; display: flex; }
.k-gbtn { border: 0; background: none; padding: 10px; display: flex; cursor: pointer; color: var(--ink); }
.k-back svg, .k-gbtn svg { width: 22px; height: 22px; background: rgba(255,255,255,.85); border-radius: 50%; padding: 5px; box-sizing: content-box; }
.k-gtabs { position: absolute; left: 20px; right: 20px; bottom: 14px; display: flex; gap: 8px; font-size: 13px; overflow: hidden; }
.k-gtabs span { background: #fff; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.k-more { position: absolute; left: 12px; bottom: 12px; font-size: 16px; color: var(--muted); background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 8px; }
.k-head { padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.k-head h1 { font-size: 23px; line-height: 1.22; }
.k-kind { font-size: 16px; color: var(--muted); }
.k-addr { font-size: 16px; display: flex; gap: 6px; align-items: center; text-decoration: none; }
.k-addr svg { width: 18px; height: 18px; flex-shrink: 0; }
.k-place { font-size: 15px; color: var(--muted); }
.k-rate { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.k-rate > span:last-child:not(:first-child) { margin-top: 4px; }
.k-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 0 8px 28px; }
.k-actions a, .k-actions button { border: 0; background: none; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; padding: 8px 0; color: var(--ink); text-decoration: none; cursor: pointer; text-align: center; }
.k-actions svg { width: 26px; height: 26px; }
.k-tiles { margin: 0 20px 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-tile { background: var(--plate); border-radius: 14px; padding: 16px; }
.k-tile.hl { background: var(--accent); }
.k-tile div { font-size: 13px; color: var(--muted); }
.k-tile.hl div { color: var(--ink); }
.k-tile b { display: block; font-size: 18px; font-weight: 600; margin-top: 4px; }
.k-cta { margin: 0 20px 36px; display: flex; gap: 10px; }
.k-cta-phone { background: var(--plate); padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.k-cta-phone svg { width: 22px; height: 22px; }
.k-cta-main { flex-grow: 1; background: var(--ink); color: #fff; text-decoration: none; padding: 17px 18px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.k-cta-main svg { width: 20px; height: 20px; }
.k-sec { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 12px; }
.k-sec h2, .k-prices h2 { font-size: 18px; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.k-chips > * { background: var(--plate); padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.k-prices { margin: 0 20px 36px; background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.k-row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; }
.k-note { font-size: 15px; color: var(--muted); line-height: 1.5; }
.k-calc { border: 0; font: inherit; font-size: 16px; font-weight: 500; background: #fff; padding: 14px; border-radius: 12px; color: var(--ink); cursor: pointer; }
.k-fund { background: var(--plate); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; line-height: 1.45; }
.k-fund svg { width: 18px; height: 18px; flex-shrink: 0; }
.k-docs { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.k-docs > div { display: flex; gap: 12px; }
.k-docs span { font-family: var(--head); font-size: 14px; width: 20px; flex-shrink: 0; }
.k-sec:has(.k-rooms), .k-sec:has(.k-staff), .k-sec:has(.k-fun), .k-sec:has(.k-schedule) { gap: 14px; }
.k-img { position: relative; overflow: hidden; border-radius: 12px; }
.k-img img, .k-img > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-rooms { display: flex; gap: 10px; }
.k-room { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.k-room .k-img { height: 120px; }
.k-room b { font-size: 15px; }
.k-staff { display: flex; gap: 14px; overflow: hidden; }
.k-person { width: 96px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.k-portrait { width: 96px; height: 128px; border-radius: 12px; overflow: hidden; }
.k-portrait img, .k-portrait svg { width: 100%; height: 100%; object-fit: cover; }
.k-person b { font-size: 14px; }
.k-person span { font-size: 13px; color: var(--muted); }
.k-fun { display: flex; gap: 8px; }
.k-fun .k-img { flex: 1; height: 100px; }
.k-plus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); background: rgba(255,255,255,.55); }
.k-text { font-size: 16px; line-height: 1.55; }
.k-schedule { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.k-schedule > div { display: flex; gap: 16px; }
.k-schedule b { width: 52px; flex-shrink: 0; }
.k-map { height: 220px; border-radius: 16px; background: var(--plate); position: relative; overflow: hidden; }
.k-map > svg { position: absolute; inset: 0; }
.k-pin { position: absolute; left: 50%; top: 82px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.k-pin div { background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.k-pin i { width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); margin-top: -5px; }
.k-addr-big { font-size: 17px; font-weight: 600; }
.k-qa { background: var(--plate); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.k-qa b { font-size: 16px; }
.k-qa > span { font-size: 15px; line-height: 1.5; }
.k-reviews { gap: 10px; }
.k-reviews a { font-size: 16px; }
.k-rev-author { font-size: 14px; color: var(--muted); }
.k-similar { padding: 0 0 36px; gap: 14px; }
.k-similar h2 { margin: 0 20px; }
.k-sim-list { display: flex; gap: 12px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
.k-sim { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.k-sim .k-img { height: 130px; }
.k-sim b { font-size: 16px; }
.k-sim span { font-size: 14px; color: var(--muted); }
.k-rights { padding: 0 20px 36px; font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

@media (min-width: 900px) {
  /* Карточка пансионата — компьютер (D-card) */
  .page-card .header { display: flex; }
  .k-gallery { height: auto; margin: 0 var(--side) 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; overflow: visible; }
  .k-ph { position: relative; inset: auto; border-radius: 18px; display: block !important; }
  .k-ph-0 { grid-row: span 2; }
  .k-gtabs { left: 16px; right: auto; bottom: 16px; font-size: 14px; }
  .k-gtabs span { padding: 7px 12px; }
  .k-layout { display: flex; gap: 56px; padding: 0 var(--side) 72px; align-items: flex-start; }
  .k-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
  .k-head { padding: 0; gap: 10px; }
  .k-head h1 { font-size: 34px; line-height: 1.15; }
  .k-kind, .k-addr { font-size: 17px; }
  .k-rate { flex-direction: row; gap: 14px; align-items: center; font-size: 17px; }
  .k-rate > span:last-child:not(:first-child) { margin-top: 0; }
  .k-sec { padding: 0; gap: 14px; }
  .k-sec h2, .k-prices h2 { font-size: 20px; }
  .k-chips { font-size: 16px; }
  .k-chips > * { padding: 9px 14px; }
  .k-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .k-pair-gap { gap: 32px; }
  .k-prices { margin: 0; border-radius: 18px; padding: 24px; }
  .k-pay { padding: 24px 0; }
  .k-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; font-size: 17px; }
  .k-docs > div { gap: 14px; }
  .k-docs span { font-size: 15px; }
  .k-sec:has(.k-rooms), .k-sec:has(.k-staff), .k-sec:has(.k-fun) { gap: 16px; }
  .k-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .k-room .k-img { height: 150px; border-radius: 14px; }
  .k-room b { font-size: 16px; }
  .k-staff { gap: 28px; }
  .k-person { width: 120px; }
  .k-portrait { width: 120px; height: 160px; }
  .k-person b { font-size: 15px; }
  .k-person span { font-size: 14px; }
  .k-note { font-size: 16px; }
  .k-prices .k-note, .k-pay .k-note, .k-fund { font-size: 15px; }
  .k-fun { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .k-fun .k-img { height: 130px; border-radius: 14px; }
  .k-text { font-size: 17px; }
  .k-reviews .k-text { font-size: 16px; }
  .k-schedule { font-size: 17px; }
  .k-schedule b { width: 56px; }
  .k-map { height: 320px; border-radius: 18px; }
  .k-pin { top: 120px; }
  .k-pin div { font-size: 14px; padding: 7px 12px; }
  .k-addr-big { font-size: 18px; }
  .k-qa { padding: 18px; }
  .k-reviews { gap: 12px; }
  .k-similar { padding: 0; gap: 16px; }
  .k-similar h2 { margin: 0; }
  .k-sim-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; }
  .k-sim { width: auto; }
  .k-sim .k-img { height: 140px; border-radius: 14px; }
  .k-rights { padding: 0; }
  .k-aside { width: 340px; flex-shrink: 0; position: sticky; top: 104px; background: var(--plate); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
  .k-aside-label { font-size: 14px; color: var(--muted); }
  .k-aside-price { font-size: 28px; font-weight: 600; margin-top: 4px; }
  .k-free { background: var(--accent); padding: 3px 8px; font-size: 15px; }
  .k-aside-phone { background: #fff; font-size: 16px; padding: 15px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); white-space: nowrap; }
  .k-aside-phone svg { width: 20px; height: 20px; }
  .k-aside-main { background: var(--ink); color: #fff; text-decoration: none; padding: 16px 18px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
  .k-aside-main svg { width: 20px; height: 20px; }
  .k-aside-icons { display: flex; justify-content: space-around; }
  .k-aside-icons a, .k-aside-icons button { border: 0; background: none; padding: 10px; display: flex; cursor: pointer; color: var(--ink); }
  .k-aside-icons svg { width: 24px; height: 24px; }
}
[data-fav].on svg, [data-compare].on svg { color: var(--ink); fill: var(--accent); }

/* ——— Движение и отклик (27.09.2026): мягко, в духе «Маркера» ——— */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
a, button { -webkit-tap-highlight-color: transparent; }

/* Плитки и плашки: приподнимаются, фон чуть темнеет */
.h-tile, .h-sit, .h-fund, .h-stat, .k-fund, .k-tile, .c-stat, .h-cities a, .k-chips > a, .c-chip, .k-sim, .menu-cab {
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
}
@media (hover: hover) {
  .h-tile:hover, .h-sit:hover, .h-fund:hover, .k-fund:hover { transform: translateY(-4px); background: #EEF0F3; box-shadow: 0 14px 30px -18px rgba(14, 15, 18, .35); }
  .h-tile:hover svg { transform: scale(1.12) rotate(-4deg); }
  .h-cities a:hover, .k-chips > a:hover, .c-chip:not(.on):hover { background: #E9EBEF; }
  .h-stat:hover, .c-stat:hover, .k-tile:hover { transform: translateY(-2px); }

  /* Фото в списках: плавное увеличение */
  .li-photo img, .li-photo svg, .k-img img, .k-sim .k-img img, .k-ph img, .h-sit-img svg, .gl-cover img { transition: transform .7s var(--ease); }
  .li:hover .li-photo img, .li:hover .li-photo svg, .k-sim:hover img, .k-ph:hover img, .h-sit:hover .h-sit-img svg, .h-sit:hover .gl-cover img { transform: scale(1.06); }
  .li:hover .li-name, .k-sim:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }

  /* Стрелки в кнопках сдвигаются вправо */
  .h-podbor svg, .c-podbor svg, .k-cta-main svg, .k-aside-main svg, .h-fund svg, .k-fund svg, .menu-cta svg { transition: transform .3s var(--ease); }
  .h-podbor:hover svg, .c-podbor:hover svg, .k-cta-main:hover svg, .k-aside-main:hover svg, .h-fund:hover svg, .k-fund:hover svg, .menu-cta a:hover svg { transform: translateX(5px); }

  /* Кнопки */
  .podbor, .h-search button, .c-podbor, .k-cta-main, .k-aside-main, .btn-dark { transition: background-color .25s, transform .2s var(--ease), box-shadow .3s; }
  .podbor:hover, .h-search button:hover, .c-podbor:hover, .k-cta-main:hover, .k-aside-main:hover, .btn-dark:hover { background: #262830; box-shadow: 0 10px 24px -14px rgba(14, 15, 18, .6); }
  .phone-btn, .k-aside-phone, .k-cta-phone, .k-calc, .hicon, .k-gbtn, .k-aside-icons > * { transition: background-color .25s, transform .2s var(--ease); }
  .phone-btn:hover, .k-cta-phone:hover { background: var(--accent); }
  .k-aside-phone:hover, .k-calc:hover { background: var(--accent); }
  .hicon:hover svg, .k-aside-icons > *:hover svg { transform: scale(1.12); }
  .hicon svg, .k-aside-icons svg { transition: transform .25s var(--ease); }

  /* Пункты меню: салатовая полоска выезжает снизу */
  .nav a { position: relative; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

  .footer a { transition: color .2s; }
  .menu-nav a { transition: transform .25s var(--ease); }
  .menu-nav a:hover { transform: translateX(6px); }
}
.h-tile svg { transition: transform .35s var(--ease); }
button:active, .btn:active, .podbor:active, .k-cta-main:active, .c-chip:active, .h-tile:active { transform: scale(.98); }

/* Маркер в заголовке главной: подсветка «проводится» слева направо */
.h-mark { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 0% 42% no-repeat; padding: 0 2px; transition: background-size 1s var(--ease) .35s; }
.is-ready .h-mark { background-size: 100% 42%; }

/* Появление блоков при прокрутке (только если работает JS — без него всё видно сразу) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Кнопка «в избранное»: сердце отпрыгивает */
[data-fav].on svg { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }

/* Меню на телефоне выезжает */
.menu { transition: opacity .25s, transform .3s var(--ease); }
.menu.open { animation: menu-in .3s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .h-mark { background-size: 100% 42%; }
}

/* Первый экран главной: цветной блок с живой иллюстрацией (просьба Юлии 27.09) */
.h-hero { position: relative; margin: 4px 12px 36px; padding: 28px 16px 20px; background: #EEF4DE; border-radius: 24px; overflow: hidden; isolation: isolate; }
.h-hero-text, .h-search { position: relative; z-index: 1; }
.h-search { background: #fff; box-shadow: 0 18px 40px -24px rgba(40, 60, 10, .35); }
.h-search .select select { background: var(--plate); }
.h-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h-art-svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 260px; }
.h-sun { position: absolute; right: 22px; top: 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 14px rgba(200, 250, 0, .18); animation: sun 6s ease-in-out infinite; }
.h-cloud-1 { animation: drift 38s linear infinite; }
.h-cloud-2 { animation: drift 52s linear infinite reverse; }
.h-tree { transform-origin: 690px 299px; animation: sway 5s ease-in-out infinite; }
.h-house { animation: rise 1.2s var(--ease) both; }
@keyframes sun { 50% { transform: translateY(8px) scale(1.04); box-shadow: 0 0 0 22px rgba(200, 250, 0, .12); } }
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(1300px); } }
@keyframes sway { 50% { transform: rotate(3deg); } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.h-hero h1, .h-lead { text-shadow: 0 1px 0 rgba(238, 244, 222, .6); }
.h-hero-text { padding: 0 4px; }

@media (min-width: 900px) {
  .h-hero { margin: 8px var(--side) 64px; padding: 56px 48px 56px 56px; border-radius: 32px; gap: 40px; }
  .h-hero h1 { font-size: 46px; }
  .h-hero .h-search { width: 460px; }
  .h-art-svg { top: auto; bottom: 0; height: 100%; }
  .h-sun { right: auto; left: 50%; top: 40px; width: 88px; height: 88px; }
  .h-hero-text { padding: 0 0 90px; }
  .h-sections { padding-top: 0; }
}
@media (max-width: 899px) {
  .h-art-svg { height: 100%; opacity: .55; }
  .h-sun { width: 52px; height: 52px; }
}

/* Список: на средних экранах карта не должна наезжать на телефоны (замечание Юлии 27.09) */
@media (min-width: 900px) {
  .c-list, .li-body { min-width: 0; }
  .li-foot { flex-wrap: wrap; row-gap: 10px; }
  .c-map { position: sticky; top: 104px; align-self: flex-start; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  .c-map { display: none !important; }
}
@media (min-width: 900px) and (max-width: 1059px) {
  .c-layout { gap: 28px; }
  .c-filters { width: 170px; }
  .li-photo { width: 180px; height: 130px; }
}
@media (min-width: 900px) and (max-width: 1119px) {
  .podbor { display: none; }
  .header { gap: 20px; }
  .nav { gap: 12px; }
}

/* Блок «Связаться» в карточке: больше воздуха (замечание Юлии 27.09) */
@media (min-width: 900px) {
  .k-aside { padding: 28px; gap: 0; }
  .k-aside > div:first-child { margin-bottom: 14px; }
  .k-aside-price { font-size: 30px; line-height: 1.1; margin-top: 6px; }
  .k-aside .k-free { display: inline-block; margin-bottom: 22px; padding: 5px 10px; border-radius: 8px; }
  .k-aside > div:has(.k-free) { margin-bottom: 0; }
  .k-aside-phone, .k-aside-main { justify-content: center; padding: 16px 18px; border-radius: 14px; }
  .k-aside-main { gap: 10px; margin-top: 12px; }
  .k-aside-icons { margin-top: 16px; justify-content: space-between; }
  .k-aside-icons > * { border-radius: 12px; }
  .k-aside-icons > *:hover { background: #fff; }
  .k-aside-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
}
/* На телефоне: кнопки звонка и записи не слипаются */
.k-cta { gap: 12px; }
.k-cta-phone { padding: 16px 18px; }

/* Карта поверх страницы (Яндекс Карты по кнопке) */
.mapx { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; animation: menu-in .3s var(--ease); }
.mapx[hidden] { display: none; }
.mapx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 8px 10px 20px; }
.mapx-top b { font-family: var(--head); font-weight: 500; font-size: 16px; line-height: 1.25; }
.mapx-map { flex: 1; min-height: 0; background: var(--plate); }
.c-chip-map svg { width: 18px; height: 18px; }
.c-mapbtn { border: 0; cursor: pointer; font: inherit; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14px; line-height: 1.25; transition: background-color .25s, transform .2s var(--ease); }
.c-mapbtn svg { width: 26px; height: 26px; flex-shrink: 0; }
.c-mapbtn:hover { background: #262830; transform: translateY(-2px); }
.k-map-open { position: absolute; right: 12px; bottom: 12px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 6px 16px -8px rgba(14,15,18,.4); }
.k-map-open svg { width: 18px; height: 18px; }
.k-map-open:hover { background: var(--accent); }
@media (min-width: 900px) {
  .mapx { inset: 24px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(14,15,18,.45); }
  .mapx-top { padding: 14px 16px 14px 28px; }
  .mapx-top b { font-size: 20px; }
  .c-stats { align-items: stretch; }
}

/* «Для пансионатов» — телефон (P-owners-m) */
.o-page { display: flex; flex-direction: column; }
.o-hero { padding: 20px 20px 32px; display: flex; flex-direction: column; gap: 14px; order: 1; }
.o-hero-text { display: flex; flex-direction: column; gap: 14px; }
.o-kicker { font-size: 14px; color: var(--muted); }
.o-hero h1 { font-size: 25px; line-height: 1.22; }
.o-lead { font-size: 17px; line-height: 1.5; color: var(--soft); }
.o-stats { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.o-stat { background: var(--plate); border-radius: 14px; padding: 16px; }
.o-stat.hl { background: var(--accent); }
.o-stat div { font-size: 20px; font-weight: 600; }
.o-stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.o-stat.hl span { color: var(--ink); }
.o-sec { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 12px; }
.o-sec h2 { font-size: 19px; margin-bottom: 4px; }
.o-tariffs { order: 2; }
.o-plans { display: flex; flex-direction: column; gap: 12px; }
.o-plan { background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.o-plan.hl { background: var(--accent); }
.o-plan b { font-size: 17px; }
.o-price { font-size: 22px; font-weight: 600; }
.o-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.o-plan.hl .o-price span { color: var(--ink); }
.o-muted { font-size: 15px; color: var(--muted); line-height: 1.5; }
.o-text { line-height: 1.5; }
.o-feat { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.o-tick { background: var(--accent); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.o-tick svg { width: 13px; height: 13px; }
.o-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.o-cta-m { order: 3; display: flex; flex-direction: column; padding: 0 20px 28px; }
.o-btn-m { background: var(--ink); color: #fff; text-decoration: none; padding: 18px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.o-btn-m svg { width: 20px; height: 20px; }
.o-link { font-size: 15px; color: var(--ink); padding: 10px 0; text-align: center; display: block; }
.o-extra, .o-how-faq { display: contents; }
.o-box { margin: 0 20px 36px; background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.o-box h3 { font-size: 17px; }
.o-box-nurse { order: 4; }
.o-box-fund { order: 5; }
.o-how { order: 6; padding: 0 20px 36px; display: flex; flex-direction: column; gap: 16px; }
.o-box-ads { order: 7; }
.o-faq { order: 8; padding: 0 20px 36px; display: flex; flex-direction: column; gap: 10px; }
.o-form-wrap { order: 9; margin: 0 20px 48px; }
.o-soft { font-size: 15px; line-height: 1.5; color: var(--soft); }
.o-line { font-size: 16px; }
.o-small { font-size: 13px; color: var(--muted); }
.o-box-ads .o-small:last-of-type { font-size: 14px; }
.o-alink { font-size: 15px; font-weight: 500; color: var(--ink); }
.o-how h2, .o-faq h2 { font-size: 19px; }
.o-step { display: flex; gap: 14px; }
.o-step > span:first-child { font-family: var(--head); font-size: 18px; width: 24px; flex-shrink: 0; }
.o-step > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.o-step b { font-size: 16px; }
.o-step > span:last-child > span { font-size: 15px; color: var(--muted); }
.o-q { background: var(--plate); border-radius: 14px; padding: 16px; }
.o-q summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.o-q summary::-webkit-details-marker { display: none; }
.o-q summary b { font-size: 16px; }
.o-q summary svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.o-q[open] summary svg { transform: rotate(180deg); }
.o-q > span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; }
.o-form { background: var(--plate); border-radius: 18px; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.o-form h2 { font-size: 20px; line-height: 1.25; }
.o-form p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.o-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.o-kind input { position: absolute; opacity: 0; pointer-events: none; }
.o-kind span { display: inline-flex; font-size: 15px; background: #fff; padding: 9px 12px; border-radius: 10px; cursor: pointer; transition: background-color .2s; }
.o-kind input:checked + span { background: var(--accent); }
.o-kind input:checked + span::before { content: '✓\00a0'; }
.o-kind input:focus-visible + span { outline: 2px solid var(--ink); }
.o-fields { display: grid; grid-template-columns: 1fr; gap: 14px; }
.o-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.o-field input, .o-field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 12px; border: 0; border-radius: 10px; background: #fff; resize: none; width: 100%; }
.o-field input:focus, .o-field textarea:focus { outline: 2px solid var(--accent); }
.o-field em, .o-err { font-style: normal; font-weight: 400; font-size: 13px; color: #C2410C; }
.o-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.o-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.o-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; }
.o-submit { border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 500; background: var(--ink); color: #fff; padding: 17px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; transition: background-color .25s; }
.o-submit svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.o-submit:hover { background: #262830; }
.o-submit:hover svg { transform: translateX(5px); }
.o-sent { background: #fff; border-radius: 12px; padding: 16px; font-size: 15px; line-height: 1.5; }

@media (min-width: 900px) {
  /* «Для пансионатов» — компьютер (P-owners-d) */
  .o-page { display: block; }
  .o-hero { padding: 56px var(--side); flex-direction: row; gap: 64px; align-items: center; }
  .o-hero-text { flex-grow: 1; gap: 20px; max-width: 620px; }
  .o-kicker { font-size: 15px; }
  .o-hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -.5px; }
  .o-lead { font-size: 19px; }
  .o-hero-cta { display: flex !important; gap: 12px; margin-top: 8px; align-items: center; }
  .o-btn { background: var(--ink); color: #fff; text-decoration: none; padding: 16px 24px; border-radius: 12px; font-size: 16px; font-weight: 500; transition: background-color .25s; }
  .o-btn:hover { background: #262830; }
  .o-stats { margin: 0; width: 440px; flex-shrink: 0; gap: 12px; }
  .o-stat { border-radius: 16px; padding: 22px; }
  .o-stat div { font-size: 30px; }
  .o-stat span { font-size: 15px; margin-top: 6px; }
  .o-sec { padding: 0 var(--side) 56px; gap: 24px; }
  .o-sec h2 { font-size: 26px; margin: 0; }
  .o-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .o-plan { border-radius: 18px; padding: 28px; gap: 12px; font-size: 16px; }
  .o-plan b { font-size: 19px; }
  .o-price { font-size: 30px; }
  .o-price span { font-size: 16px; }
  .o-muted { font-size: 16px; line-height: 1.55; }
  .o-text { line-height: 1.55; }
  .o-feat { gap: 10px; font-size: 16px; }
  .o-note { font-size: 15px; margin-top: -8px; }
  .o-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 var(--side) 56px; margin-top: -32px; }
  .o-box { margin: 0; border-radius: 18px; padding: 28px; }
  .o-box h3 { font-size: 19px; }
  .o-box-nurse { order: 1; } .o-box-ads { order: 2; } .o-box-fund { order: 3; }
  .o-soft { font-size: 16px; }
  .o-line { font-size: 17px; }
  .o-small { font-size: 14px; }
  .o-box-ads .o-small:last-of-type { font-size: 15px; }
  .o-alink { font-size: 16px; }
  .o-how-faq { display: flex; flex-direction: row; gap: 64px; padding: 0 var(--side) 64px; }
  .o-how { flex: 1; padding: 0; gap: 22px; }
  .o-faq { flex: 1; padding: 0; gap: 12px; }
  .o-how h2, .o-faq h2 { font-size: 26px; }
  .o-faq h2 { margin-bottom: 10px; }
  .o-step { gap: 18px; }
  .o-step > span:first-child { font-size: 22px; width: 28px; }
  .o-step > span:last-child { gap: 4px; }
  .o-step b { font-size: 18px; }
  .o-step > span:last-child > span { font-size: 16px; }
  .o-q { padding: 18px; }
  .o-q summary b { font-size: 17px; }
  .o-q > span { font-size: 16px; }
  .o-form-wrap { margin: 0 var(--side) 48px; }
  .o-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o-submit { align-self: flex-start; min-width: 320px; }
}

/* Фонды — раздел города (C-hub-m / CD-hub) */
.f-head { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.f-title { display: flex; flex-direction: column; gap: 14px; }
.f-title h1 { font-size: 25px; line-height: 1.22; }
.f-back, .fc-back { font-size: 15px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.f-back svg, .fc-back svg { width: 18px; height: 18px; }
.f-count { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.f-count > span:first-child { color: var(--muted); }
.f-sec { padding: 0 20px 40px; display: flex; flex-direction: column; gap: 16px; }
.f-sec h2, .f-orgs-title { font-size: 20px; line-height: 1.25; }
.f-dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.f-dir { background: var(--plate); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .35s var(--ease), background-color .25s; }
.f-dir.wide { grid-column: span 2; }
.f-dir svg { width: 26px; height: 26px; }
.f-dir > span { display: flex; flex-direction: column; gap: 10px; }
.f-dir-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.f-dir-count { font-size: 14px; color: var(--muted); }
.f-dir-all { background: var(--accent); justify-content: space-between; }
.f-sits { display: flex; flex-direction: column; gap: 10px; }
.f-sit { background: var(--plate); border-radius: 14px; padding: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; text-decoration: none; transition: transform .35s var(--ease), background-color .25s; }
.f-sit-text { font-size: 16px; line-height: 1.4; }
.f-sit-dir { font-size: 14px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.f-sit-dir svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); transition: transform .3s var(--ease); }
@media (max-width: 899px) {
  .f-sit { flex-direction: column; align-items: flex-start; gap: 6px; position: relative; padding-right: 48px; }
  .f-sit-dir svg { position: absolute; right: 16px; top: 50%; margin-top: -10px; }
}
@media (hover: hover) {
  .f-dir:hover, .f-sit:hover { transform: translateY(-4px); background: #EEF0F3; }
  .f-dir-all:hover { background: #D6FF33; }
  .f-sit:hover .f-sit-dir svg { transform: translateX(5px); }
}
.f-orgs-title { padding: 0 20px 16px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 8px; }
.f-filters { display: none; }
.f-list { display: flex; flex-direction: column; }
.f-org { padding: 24px 20px 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.f-org-logo { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; position: relative; flex-shrink: 0; }
.f-org-logo img, .f-org-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-org-body { display: contents; }
.f-org-name { position: absolute; left: 90px; top: 24px; right: 20px; min-height: 56px; display: flex; align-items: center; font-size: 19px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.f-org-dirs { font-size: 15px; margin-top: 6px; }
.f-org-helps, .f-org-geo { font-size: 15px; color: var(--muted); }
.f-org-geo .mark { color: var(--ink); }
.f-org-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.f-org-free { font-size: 15px; font-weight: 600; }
.f-org .phone-btn { padding: 12px; border-radius: 12px; }
.f-org .phone-btn svg { width: 22px; height: 22px; }
.f-bottom { display: flex; flex-direction: column; }
.f-note { margin: 24px 20px 16px; background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.f-note + .f-note { margin: 0 20px 40px; }
.f-note h2 { font-size: 18px; }
.f-note span { font-size: 16px; line-height: 1.55; }
.f-note a { font-size: 16px; font-weight: 500; }

@media (min-width: 900px) {
  /* Фонды — компьютер (CD-hub) */
  .f-head { padding: 28px var(--side) 44px; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .f-title { max-width: 700px; }
  .f-title h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.5px; }
  .f-count { display: block; font-size: 17px; color: var(--muted); }
  .f-count .mark { color: var(--ink); }
  .f-free { background: var(--plate); border-radius: 16px; padding: 18px 22px; display: flex !important; flex-direction: column; gap: 8px; width: 380px; flex-shrink: 0; }
  .f-free b { font-size: 16px; }
  .f-free span { font-size: 15px; line-height: 1.5; color: var(--muted); }
  .f-sec { padding: 0 var(--side) 56px; gap: 20px; }
  .f-sec h2, .f-orgs-title { font-size: 26px; line-height: 1.2; }
  .f-dirs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .f-dir { border-radius: 16px; padding: 22px; gap: 14px; }
  .f-dir.wide { grid-column: auto; }
  .f-dir svg { width: 28px; height: 28px; }
  .f-dir > span { gap: 4px; }
  .f-dir-name { font-size: 17px; }
  .f-sits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .f-sit { border-radius: 16px; padding: 22px; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 18px; }
  .f-sit-text { font-size: 17px; }
  .f-sit-dir { justify-content: space-between; }
  .f-orgs-title { padding: 0 var(--side) 24px; }
  .f-layout { display: flex; gap: 40px; padding: 0 var(--side) 56px; }
  .f-filters { display: flex; width: 210px; flex-shrink: 0; padding: 0; }
  .f-list { flex-grow: 1; min-width: 0; gap: 36px; }
  .f-org { flex-direction: row; gap: 24px; padding: 0; }
  .f-org-logo { width: 120px; height: 120px; border-radius: 16px; }
  .f-org-body { display: flex; flex-direction: column; gap: 7px; flex-grow: 1; min-width: 0; }
  .f-org-name { position: static; min-height: 0; font-size: 21px; }
  .f-org-dirs { margin-top: 0; }
  .f-org-geo { color: var(--ink); }
  .f-org-foot { margin-top: 4px; }
  .f-org-free { font-size: 17px; }
  .f-org .phone-btn { padding: 11px 16px; border-radius: 10px; }
  .f-org .phone-btn svg { width: 18px; height: 18px; }
  .f-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 var(--side) 64px; }
  .f-note, .f-note + .f-note { margin: 0; padding: 26px; }
  .f-note h2 { font-size: 20px; }
}

/* Карточка фонда (C-card-m / CD-card) */
.fc-back { padding: 6px 20px 0; }
.fc-head { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.fc-logo { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; position: relative; flex-shrink: 0; }
.fc-logo img, .fc-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-head-text { display: flex; flex-direction: column; gap: 14px; }
.fc-head h1 { font-size: 25px; line-height: 1.22; }
.fc-dirs { font-size: 16px; }
.fc-meta { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.fc-free { font-weight: 600; }
.fc-cta { padding: 0 20px 40px; display: flex; gap: 10px; }
.fc-phone { flex-grow: 1; background: var(--ink); color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; padding: 17px 20px; border-radius: 12px; display: flex; gap: 10px; align-items: center; justify-content: center; white-space: nowrap; transition: background-color .25s; }
.fc-phone svg { width: 20px; height: 20px; }
.fc-phone:hover { background: #262830; }
.fc-sec { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 14px; }
.fc-sec h2 { font-size: 20px; line-height: 1.25; }
.fc-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fc-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.fc-ticks li > span:first-child { flex-shrink: 0; margin-top: 2px; display: flex; }
.fc-ticks svg { width: 18px; height: 18px; }
.fc-small li { font-size: 15px; }
.fc-dots { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.fc-dots li { font-size: 16px; line-height: 1.45; }
.fc-when { margin: 0 20px 36px; background: var(--plate); border-radius: 16px; padding: 20px; gap: 12px; }
.fc-when-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; }
.fc-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.fc-steps li { display: flex; gap: 14px; align-items: flex-start; }
.fc-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--plate); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.fc-num.on { background: var(--accent); }
.fc-step-text { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.fc-step-text b { font-size: 16px; }
.fc-step-text span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.fc-important { margin: 0 20px 36px; background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.fc-important b { font-size: 17px; }
.fc-important span { font-size: 16px; line-height: 1.5; }
.fc-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.fc-addr svg { width: 20px; height: 20px; flex-shrink: 0; }
.fc-pans { display: flex; flex-direction: column; gap: 12px; }
.fc-pan { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.fc-pan .k-img { width: 110px; height: 72px; flex-shrink: 0; }
.fc-pan > span { display: flex; flex-direction: column; gap: 4px; }
.fc-pan b { font-size: 16px; }
.fc-pan > span > span { font-size: 14px; color: var(--muted); }
.fc-guides { display: flex; flex-direction: column; gap: 10px; }
.fc-guide { background: var(--plate); border-radius: 14px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; transition: transform .35s var(--ease), background-color .25s; }
.fc-guide svg { width: 18px; height: 18px; flex-shrink: 0; }
.fc-guide:hover { transform: translateY(-3px); background: #EEF0F3; }
.fc-disclaimer { padding: 0 20px 40px; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (min-width: 900px) {
  .fc-back { padding: 8px var(--side) 0; }
  .fc-head { padding: 24px var(--side) 44px; flex-direction: row; gap: 28px; align-items: center; }
  .fc-logo { width: 112px; height: 112px; border-radius: 18px; }
  .fc-head-text { gap: 12px; }
  .fc-head h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.5px; }
  .fc-dirs { font-size: 17px; }
  .fc-layout { display: flex; gap: 56px; padding: 0 var(--side) 56px; align-items: flex-start; }
  .fc-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
  .fc-sec { padding: 0; gap: 16px; }
  .fc-sec h2 { font-size: 22px; line-height: 1.2; }
  .fc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
  .fc-small.fc-2col { gap: 12px 32px; }
  .fc-when { margin: 0; background: none; padding: 0; gap: 16px; }
  .fc-when-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fc-when-list div { background: var(--plate); border-radius: 14px; padding: 18px; }
  .fc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .fc-steps li { flex-direction: column; gap: 10px; }
  .fc-num { width: 34px; height: 34px; font-size: 16px; }
  .fc-step-text { padding: 0; gap: 10px; }
  .fc-step-text b { line-height: 1.35; }
  .fc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .fc-important { margin: 0; padding: 22px 24px; gap: 8px; }
  .fc-pans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fc-pan { flex-direction: column; align-items: stretch; gap: 8px; }
  .fc-pan .k-img { width: 100%; height: 140px; border-radius: 14px; }
  .fc-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fc-disclaimer { padding: 0; }
  .fc-aside { width: 360px; flex-shrink: 0; position: sticky; top: 104px; background: var(--plate); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
  .fc-aside-geo { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
  .fc-aside-free { font-size: 20px; font-weight: 600; }
  .fc-addr-sm { font-size: 15px; }
  .fc-aside .fc-phone { padding: 16px 18px; }
}

/* Подбор — телефон (F-pick-1…3) */
.page-podbor .header { display: none; }
.page-podbor .footer { display: none; }
.pb { display: flex; flex-direction: column; min-height: 100vh; }
.pb-top { display: flex; align-items: center; gap: 4px; padding: 8px 8px 0; font-size: 16px; font-weight: 600; }
.pb-top .hicon svg { width: 24px; height: 24px; }
.pb-main { display: flex; flex-direction: column; flex: 1; }
.pb-progress { padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.pb-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pb-bars i { height: 6px; border-radius: 3px; background: #E6E8EC; transition: background-color .3s; }
.pb-bars i.on { background: var(--ink); }
.pb-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pb-step[hidden] { display: none; }
.pb-step h1, .pb-step h2 { padding: 0 20px 16px; font-size: 23px; line-height: 1.25; }
.pb-group { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 14px; }
.pb-q { font-size: 18px; font-weight: 600; }
.pb-care { display: flex; flex-direction: column; gap: 10px; }
.pb-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pb-opt > span { display: inline-flex; align-items: center; gap: 6px; background: var(--plate); color: var(--ink); padding: 11px 14px; border-radius: 10px; font-size: 16px; cursor: pointer; transition: background-color .2s, transform .15s; }
.pb-opt > span svg { width: 14px; height: 14px; display: none; flex-shrink: 0; }
.pb-opt input:checked + span { background: var(--accent); }
.pb-opt input:checked + span svg { display: block; }
.pb-opt input:focus-visible + span { outline: 2px solid var(--ink); }
.pb-opt:active > span { transform: scale(.98); }
.pb-opt-big > span { display: flex; justify-content: space-between; font-size: 17px; padding: 16px; border-radius: 14px; width: 100%; }
.pb-opt-big > span svg { width: 18px; height: 18px; order: 2; }
.pb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-budget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pb-opt-mid > span { justify-content: center; padding: 14px; border-radius: 12px; width: 100%; }
.pb-field { padding: 0 20px 32px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.pb-field select { background: var(--plate) !important; font-weight: 400; padding: 15px 44px 15px 14px; }
.pb-info { margin: 0 20px 20px; background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.pb-info b { font-size: 16px; }
.pb-info .muted { font-size: 14px; }
.pb-actions { margin: auto 20px 28px; padding-top: 8px; display: flex; gap: 10px; }
.pb-next { flex: 1; border: 0; cursor: pointer; font: inherit; background: var(--ink); color: #fff; padding: 18px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; transition: background-color .25s; }
.pb-next svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.pb-next:hover { background: #262830; }
.pb-next:hover svg { transform: translateX(5px); }
.pb-next[hidden], .pb-prev[hidden], .hicon[hidden] { display: none !important; }
.pb:not(.pb-js) [data-pb-next], .pb:not(.pb-js) [data-pb-back] { display: none; }
.pb-prev { border: 0; cursor: pointer; font: inherit; background: var(--plate); color: var(--ink); padding: 16px 24px; border-radius: 12px; font-size: 16px; font-weight: 500; }

/* Результат подбора (F-pick-done) */
.pr-head { padding: 20px 20px 32px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.pr-head h1 { font-size: 25px; line-height: 1.22; }
.pr-edit { font-size: 15px; color: var(--muted); }
.pr-list { display: flex; flex-direction: column; }
.pr-item { padding: 0 20px 40px; display: flex; flex-direction: column; gap: 12px; }
.pr-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.pr-photo { height: 170px; border-radius: 14px; overflow: hidden; position: relative; }
.pr-photo img, .pr-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pr-link:hover .pr-photo img { transform: scale(1.05); }
.pr-name { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 600; }
.pr-name span:last-child { font-size: 16px; }
.pr-place { font-size: 15px; color: var(--muted); }
.pr-price { font-size: 22px; font-weight: 600; }
.pr-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.pr-why { background: var(--plate); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; }
.pr-why b { font-size: 14px; color: var(--muted); font-weight: 500; }
.pr-why > span { display: flex; gap: 8px; align-items: flex-start; }
.pr-tick { background: var(--accent); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.pr-tick svg { width: 12px; height: 12px; }
.pr-actions { display: flex; gap: 10px; }
.pr-phone { flex-grow: 1; background: var(--plate); font-size: 15px; padding: 13px 16px; border-radius: 12px; display: flex; gap: 8px; align-items: center; justify-content: center; text-decoration: none; transition: background-color .25s; }
.pr-phone svg, .pr-fav svg { width: 20px; height: 20px; }
.pr-phone:hover { background: var(--accent); }
.pr-fav { border: 0; cursor: pointer; background: var(--plate); padding: 13px; border-radius: 12px; display: flex; color: var(--ink); }
.pr-bottom { margin: 8px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.pr-all { text-align: center; font-size: 15px; padding: 8px; }

@media (min-width: 900px) {
  /* Подбор — компьютер (FD-pick) */
  .page-podbor .header, .page-podbor .footer { display: flex; }
  .pb { flex-direction: row; gap: 48px; padding: 28px var(--side) 72px; min-height: 0; }
  .pb-steps { width: 250px; flex-shrink: 0; display: flex !important; flex-direction: column; gap: 10px; align-self: flex-start; position: sticky; top: 104px; }
  .pb-stepcard { background: var(--plate); border-radius: 14px; padding: 16px 18px; transition: background-color .3s; }
  .pb-stepcard div { font-size: 13px; color: var(--muted); }
  .pb-stepcard b { font-size: 16px; }
  .pb-stepcard .pb-now { display: none; }
  .pb-stepcard.on { background: var(--accent); }
  .pb-stepcard.on div { color: var(--ink); }
  .pb-stepcard.on .pb-now { display: inline; }
  .pb-main { flex-grow: 1; min-width: 0; gap: 0; }
  .pb-step { gap: 28px; }
  .pb-step h1, .pb-step h2 { padding: 0; font-size: 30px; line-height: 1.2; }
  .pb-group { padding: 0; gap: 12px; }
  .pb-q { font-size: 17px; }
  .pb-care { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .pb-opt > span { font-size: 16px; padding: 14px 18px; border-radius: 12px; }
  .pb-opt-big > span { justify-content: flex-start; font-size: 16px; padding: 14px 18px; border-radius: 12px; }
  .pb-opt-big > span svg { order: -1; width: 14px; height: 14px; }
  .pb-chips { gap: 10px; }
  .pb-budget { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .pb-field { padding: 0; max-width: 420px; }
  .pb-hint { background: var(--plate); border-radius: 14px; padding: 16px 18px; font-size: 15px; display: block !important; }
  .pb-info { margin: 0; max-width: 560px; }
  .pb-actions { margin: 28px 0 0; padding: 0; }
  .pb-next { flex: 0 0 auto; gap: 16px; padding: 16px 28px; }
  .pb-side { width: 320px; flex-shrink: 0; display: flex !important; flex-direction: column; gap: 14px; align-self: flex-start; position: sticky; top: 104px; }
  .pb-side-card { background: var(--plate); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
  .pb-side-card b { font-family: var(--head); font-weight: 500; font-size: 17px; }
  .pr-head { padding: 28px var(--side) 36px; }
  .pr-head h1 { font-size: 36px; }
  .pr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0 var(--side) 36px; }
  .pr-item { padding: 0; }
  .pr-bottom { margin: 0 var(--side) 72px; flex-direction: row; align-items: center; gap: 24px; }
  .pr-bottom .pb-next { flex: 0 0 auto; gap: 16px; }
}
.pb-side-li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pb-side-li .pr-tick svg { width: 12px; height: 12px; }
.pb-side-note { font-size: 13px; color: var(--muted); line-height: 1.5; padding: 0 4px; }
.pr-name > span:first-child { font-size: 20px; font-weight: 600; }

/* Кнопка телефона: иконка и текст не слипаются; круглая иконка в списках (27.09) */
.phone-btn { gap: 10px; }
.phone-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.phone-btn.icon-only { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.phone-btn.icon-only:not(.shown) svg { width: 20px; height: 20px; }
.phone-btn[data-shown] { width: auto; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--accent); font-weight: 600; }

/* Список пансионатов — плитка: 1 колонка на телефоне, 2 на ноутбуке, 3 на широком */
.li-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.li-foot .li-price { margin-top: 0; }
.li-phone { flex-shrink: 0; }
.li-name::after { z-index: 0; }
.li-phone, .li-name { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .c-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; align-content: start; }
  .li { flex-direction: column; gap: 14px; padding: 0; }
  .li-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .li-body { gap: 6px; }
  .li-name { font-size: 18px; line-height: 1.3; }
  .li-rating { font-size: 16px; }
  .li-foot { margin-top: auto; padding-top: 8px; }
  .li-price { font-size: 20px; }
  .li-name::after { display: block; }
  .c-empty { grid-column: 1 / -1; }
}
@media (min-width: 1240px) {
  .c-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Фонды и подборка: те же кнопки с воздухом */
.f-org-foot { gap: 12px; }
.pr-actions { gap: 12px; }
.pr-phone { gap: 10px; }
/* Плашки над списком: значения и подписи не переносятся (замечание 27.09) */
.c-stat div, .c-stat b, .o-stat div, .k-tile b, .h-stat div { white-space: nowrap; }
@media (min-width: 900px) {
  .c-head { align-items: flex-end; }
  .c-title { flex: 1; min-width: 0; }
  .c-stats { flex-shrink: 0; }
  .c-stat { padding: 14px 18px; }
  .c-stat div { font-size: 13px; }
  .c-mapbtn { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  .c-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 899px) { .c-chips { flex-wrap: wrap; overflow: visible; } }

/* Блоки «связаться» справа — единый ритм на всех карточках (пансионат, фонд): воздух между группами */
@media (min-width: 900px) {
  .fc-aside { padding: 28px; gap: 0; border-radius: 20px; }
  .fc-aside-geo { gap: 6px; margin-bottom: 18px; }
  .fc-aside-free { font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
  .fc-aside-geo span:not(.fc-aside-free) { font-size: 15px; color: var(--soft); }
  .fc-aside .fc-addr-sm { margin-bottom: 18px; }
  .fc-aside .fc-phone { padding: 16px 18px; border-radius: 14px; }
  .fc-aside .k-aside-note { margin: 14px 0 0; }
  .pb-side-card { gap: 16px; padding: 26px; }
  .f-free { gap: 10px; padding: 20px 24px; }
}
/* Карточка фонда на телефоне: строки под названием и кнопка не слипаются */
.fc-meta { gap: 8px; }
.fc-head-text > span:last-child:has(.mark) { margin-top: 2px; }
.fc-cta { padding-top: 4px; }

/* Отзывы — список (R-list / RD-list) */
.page-reviews .header, .page-rform .header, .page-rform .footer { display: none; }
.rv-top { display: flex; align-items: center; gap: 4px; padding: 6px 8px; font-size: 16px; font-weight: 600; }
.rv-top .hicon svg { width: 24px; height: 24px; }
.rv-layout { display: flex; flex-direction: column; gap: 12px; padding-bottom: 40px; }
.rv-side { display: flex; flex-direction: column; gap: 12px; }
.rv-summary { margin: 0 12px; background: var(--plate); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.rv-score { display: flex; align-items: center; gap: 14px; }
.rv-big { font-family: var(--head); font-size: 40px; font-weight: 500; }
.rv-stars { font-size: 18px; letter-spacing: 2px; }
.rv-stars span { color: #D5D8DE; }
.rv-score .muted { font-size: 14px; }
.rv-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 15px; }
.rv-scores div { display: flex; justify-content: space-between; }
.rv-tags-line { font-size: 14px; color: var(--muted); line-height: 1.5; }
.rv-tags-line b { color: var(--ink); }
.rv-empty-sum { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.rv-empty-sum b { font-size: 17px; }
.rv-main { display: flex; flex-direction: column; gap: 12px; }
.rv-add-m { margin: 0 12px; background: var(--ink); color: #fff; text-decoration: none; padding: 17px 18px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.rv-add-m svg { width: 20px; height: 20px; }
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px; }
.rv-item { margin: 0 12px; background: var(--plate); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rv-item-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.rv-item-head span { font-size: 15px; }
.rv-meta { font-size: 13px; color: var(--muted); }
.rv-meta span { color: var(--ink); }
.rv-ok { background: var(--accent); padding: 2px 6px; font-size: 13px; }
.rv-text { font-size: 16px; line-height: 1.5; white-space: pre-line; }
.rv-reply { background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }
.rv-reply b { font-size: 13px; }
@media (min-width: 900px) {
  .page-reviews .header { display: flex; }
  .rv-head { padding: 20px var(--side) 32px; display: flex !important; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .rv-head > div { display: flex; flex-direction: column; gap: 10px; }
  .rv-back { font-size: 15px; color: var(--muted); text-decoration: none; }
  .rv-head h1 { font-size: 34px; }
  .rv-add { background: var(--ink); color: #fff; text-decoration: none; padding: 15px 22px; border-radius: 12px; font-size: 16px; font-weight: 500; white-space: nowrap; transition: background-color .25s; }
  .rv-add:hover { background: #262830; }
  .rv-layout { flex-direction: row; gap: 48px; padding: 0 var(--side) 72px; align-items: flex-start; }
  .rv-side { width: 380px; flex-shrink: 0; gap: 16px; position: sticky; top: 104px; }
  .rv-summary { margin: 0; padding: 24px; gap: 20px; }
  .rv-score { gap: 16px; }
  .rv-big { font-size: 48px; }
  .rv-stars { font-size: 20px; }
  .rv-score .muted { font-size: 15px; }
  .rv-scores { grid-template-columns: 1fr; gap: 12px; font-size: 16px; }
  .rv-tags { gap: 14px; }
  .rv-tags .muted { font-size: 14px; }
  .rv-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
  .rv-chips span { background: #fff; padding: 6px 10px; border-radius: 8px; }
  .rv-chips span.hl { background: var(--accent); }
  .rv-note { font-size: 14px; color: var(--muted); line-height: 1.5; padding: 0 4px; margin: 0; }
  .rv-note a { color: var(--muted); }
  .rv-main { flex-grow: 1; min-width: 0; gap: 20px; }
  .rv-filters { padding: 0; }
  .rv-item { margin: 0; background: none; border-radius: 0; padding: 8px 0 28px; }
  .rv-item-head b { font-size: 18px; }
  .rv-item-head span { font-size: 17px; font-weight: 600; }
  .rv-meta { font-size: 15px; }
  .rv-ok { font-size: 14px; padding: 2px 8px; }
  .rv-text { font-size: 17px; line-height: 1.55; max-width: 720px; }
  .rv-reply { background: var(--plate); padding: 16px 18px; gap: 6px; max-width: 720px; }
}

/* Форма отзыва (R-form1…3 / RD-form) */
.rf { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; }
.rf-top { padding: 6px 8px 12px; display: flex; flex-direction: column; gap: 8px; }
.rf-top-row { display: flex; align-items: center; gap: 4px; }
.rf-top-row .hicon svg { width: 24px; height: 24px; }
.rf-top h1 { font-family: var(--text); font-size: 16px; font-weight: 600; }
.rf-progress { padding: 0 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.rf-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.rf-bars i { height: 4px; background: #E3E5EA; transition: background-color .3s; }
.rf-bars i.on { background: var(--ink); }
.rf-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rf-step[hidden] { display: none; }
.rf-box { margin: 0 12px; background: var(--plate); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.rf-overall { align-items: center; padding: 20px 16px; }
.rf-overall.shake { animation: shake .45s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.rf-h1 { font-family: var(--head); font-weight: 500; font-size: 19px; text-align: center; }
.rf-h1.rf-left { text-align: left; line-height: 1.3; }
.rf-h2 { font-family: var(--text); font-size: 17px; font-weight: 600; }
.rf-h2 small { font-weight: 400; color: var(--muted); font-size: 14px; }
.rf-gap { margin-top: 6px; }
.rf-stars { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.rf-stars label, .rf-mini label { cursor: pointer; }
.rf-stars input, .rf-mini input { position: absolute; opacity: 0; pointer-events: none; }
.rf-stars label span { display: block; padding: 6px; font-size: 36px; line-height: 1; color: #D5D8DE; transition: color .15s, transform .15s; }
.rf-stars label.on span { color: var(--ink); }
.rf-stars label:hover span { transform: scale(1.12); }
.rf-stars input:focus-visible + span, .rf-mini input:focus-visible + span { outline: 2px solid var(--ink); border-radius: 6px; }
.rf-word { flex-basis: 100%; text-align: center; font-size: 15px; }
.rf-word:not([hidden]) { display: block; }
.rf-word::before { content: ''; }
.rf-stars .rf-word { background: none; }
.rf-stars .rf-word:not([hidden]) { display: inline; flex-basis: auto; background: var(--accent); padding: 1px 6px; }
.rf-scores { display: flex; flex-direction: column; gap: 14px; }
.rf-score { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.rf-mini { display: flex; }
.rf-mini label span { display: block; padding: 0 2px; font-size: 22px; line-height: 1; color: #D5D8DE; transition: color .15s; }
.rf-mini label.on span { color: var(--ink); }
.rf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-opt > span { background: #fff; font-size: 15px; padding: 9px 12px; }
.rf-field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.rf-field .select select, .rf-box input[type=email], .rf-box input#rn, .rf-box textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 12px; border: 0; border-radius: 10px; background: #fff; width: 100%; resize: none; line-height: 1.45; }
.rf-box textarea:focus, .rf-box input:focus, .rf-field select:focus { outline: 2px solid var(--accent); }
.rf-hint { font-size: 13px; color: var(--muted); line-height: 1.5; }
.rf-soft { font-size: 15px; line-height: 1.5; color: var(--soft); margin: 0; }
.rf-consents { gap: 14px; }
.rf-small { margin: 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.rf-actions { margin: 8px 12px 0; display: flex; gap: 10px; }
.rf:not(.pb-js) [data-rf-next], .rf:not(.pb-js) [data-rf-back] { display: none; }

/* Отзыв отправлен (R-done) */
.rd { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 48px; }
.rd-box { margin: 0 12px; background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.rd-hello { padding: 28px 20px; gap: 14px; align-items: flex-start; }
.rd-mark { width: 52px; height: 52px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.rd-mark svg { width: 26px; height: 26px; }
.rd h1 { font-size: 22px; line-height: 1.25; }
.rd-hello p { font-size: 16px; line-height: 1.5; color: var(--soft); margin: 0; }
.rd h2 { font-family: var(--text); font-size: 17px; font-weight: 600; }
.rd-step { display: flex; gap: 12px; }
.rd-step span { font-family: var(--head); font-size: 15px; width: 22px; flex-shrink: 0; }
.rd-step p { margin: 0; font-size: 15px; line-height: 1.45; }
.rd-back { margin: 4px 12px 0; font-size: 16px; padding: 12px 4px; }

@media (min-width: 900px) {
  .page-rform { background: var(--plate); }
  .page-rform .header, .page-rform .footer { display: flex; }
  .page-rform main { padding: 40px var(--side) 72px; }
  .rf { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 32px 36px; gap: 24px; }
  .rf-top { padding: 0; gap: 20px; }
  .rf-top-row { justify-content: space-between; flex-direction: row-reverse; align-items: flex-start; }
  .rf-top-row > div { display: flex; flex-direction: column; gap: 6px; }
  .rf-org { font-size: 15px; color: var(--muted); }
  .rf-top h1 { font-family: var(--head); font-weight: 500; font-size: 24px; }
  .rf-top-row [data-rf-back] { display: none !important; }
  .rf-chipsteps { display: flex !important; gap: 8px; font-size: 14px; }
  .rf-chipsteps span { background: var(--plate); color: var(--muted); padding: 8px 12px; border-radius: 10px; transition: background-color .25s; }
  .rf-chipsteps span.on { background: var(--accent); color: var(--ink); font-weight: 600; }
  .rf-step { gap: 20px; }
  .rf-box { margin: 0; padding: 0; background: none; border-radius: 0; }
  .rf-overall { align-items: flex-start; padding: 0; }
  .rf-h1 { text-align: left; font-family: var(--text); font-size: 17px; font-weight: 600; }
  .rf-h1.rf-left { font-family: var(--head); font-weight: 500; font-size: 20px; }
  .rf-stars { justify-content: flex-start; gap: 4px; }
  .rf-stars label span { padding: 4px; font-size: 38px; }
  .rf-stars .rf-word:not([hidden]) { margin-left: 12px; }
  .rf-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
  .rf-opt > span { background: var(--plate); }
  .rf-field .select select, .rf-box input[type=email], .rf-box input#rn, .rf-box textarea { background: var(--plate); }
  .rf-small { margin: 0; }
  .rf-actions { margin: 8px 0 0; }
  .rf-actions .pb-next { flex: 0 0 auto; gap: 16px; padding: 16px 28px; }
  .rd { max-width: 640px; margin: 0 auto; padding: 48px 0 72px; }
  .rd-box, .rd-back { margin-left: 0; margin-right: 0; }
}
.rf-aside { display: none; }
@media (min-width: 900px) {
  .rf { max-width: 900px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "top aside" "steps aside" "actions aside"; gap: 0; overflow: hidden; align-items: start; }
  .rf-top { grid-area: top; padding: 32px 36px 24px; }
  .rf-step { grid-area: steps; padding: 0 36px; }
  .rf-actions { grid-area: actions; padding: 8px 36px 32px; margin: 0; }
  .rf-aside { grid-area: aside; align-self: stretch; display: flex !important; flex-direction: column; gap: 12px; background: var(--plate); padding: 32px 24px; font-size: 14px; line-height: 1.5; color: var(--soft); }
  .rf-aside b { font-size: 16px; color: var(--ink); }
  .rf-aside a { color: var(--ink); }
  .rf-mark { width: 34px; height: 34px; margin-bottom: 4px; }
  .rf-mark svg { width: 18px; height: 18px; }
}
@media (min-width: 900px) {
  .page-rform { background: #E6E8EC; }
  .page-rform .header { background: #fff; }
  .rf { box-shadow: 0 30px 70px -30px rgba(14, 15, 18, .35); border-radius: 20px; }
}

/* Гид — телефон (G-guide-m) */
.g-main { display: flex; flex-direction: column; }
.g-crumbs { padding: 16px 20px 0; font-size: 14px; color: var(--muted); }
.g-crumbs a { color: var(--muted); text-decoration: none; }
.g-main > h1 { padding: 14px 20px 0; font-size: 24px; line-height: 1.25; }
.g-byline { margin: 16px 20px 32px; background: var(--plate); border-radius: 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.g-author { display: flex; gap: 14px; align-items: center; }
.g-who { display: flex; flex-direction: column; gap: 4px; line-height: 1.3; }
.g-author b { font-size: 15px; }
.g-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 600; font-size: 16px; flex-shrink: 0; }
.g-logo span { background: var(--accent); padding: 0 2px; }
.g-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.g-meta > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.g-meta svg { width: 18px; height: 18px; flex-shrink: 0; }
.g-checked { color: var(--ink, #111); }
.g-checked mark { background: var(--accent); color: inherit; padding: 1px 5px; border-radius: 4px; }
.g-time { font-size: 14px; }
.g-review { margin: 0 20px 24px; background: #FFE3D6; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.g-key { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 12px; }
.g-key h2 { font-size: 18px; }
.g-key-item { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.g-key-item i { background: var(--accent); width: 8px; height: 8px; margin-top: 8px; flex-shrink: 0; }
.g-sec { padding: 0 20px 32px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.g-step { font-family: var(--head); font-size: 14px; color: var(--muted); }
.g-sec h2 { font-size: 18px; line-height: 1.3; }
.g-text { font-size: 16px; line-height: 1.6; }
.g-text p { margin: 0 0 12px; }
.g-text p:last-child { margin-bottom: 0; }
.g-text ul, .g-text ol { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.g-text strong { font-weight: 600; }
.g-tip { background: var(--plate); border-radius: 16px; padding: 18px; font-size: 15px; line-height: 1.55; margin: 8px 0 12px; }
.g-tip p { margin: 0; }
.g-pans { padding: 0 0 36px; display: flex; flex-direction: column; gap: 14px; }
.g-pans h2 { margin: 0 20px; font-size: 18px; line-height: 1.3; }
.g-all { margin: 0 20px; font-size: 16px; }
.g-fund { margin: 0 20px 36px; background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.g-fund b { font-size: 17px; color: var(--ink); }
.g-fund a { font-weight: 500; color: var(--ink); }
.g-faq { padding: 0 20px 36px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.g-faq h2, .g-sources h2, .g-related h2 { font-size: 18px; margin-bottom: 4px; }
.g-sources { padding: 0 20px 32px; }
.g-sources ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.g-related { padding: 0 20px 44px; display: flex; flex-direction: column; gap: 10px; }
.gl-head { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.gl-head h1 { font-size: 25px; }
.gl-grid { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 44px; }
.gl-cover { aspect-ratio: 1200 / 630; border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: #fff; }
.gl-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-fig { margin: 20px 0; }
.g-fig img { display: block; width: 100%; height: auto; border-radius: 16px; }
.g-fig figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

@media (min-width: 900px) {
  /* Гид — компьютер (GD-guide) */
  .g-layout { display: flex; gap: 72px; padding: 32px var(--side) 72px; align-items: flex-start; }
  .g-main { width: 720px; flex-shrink: 0; gap: 28px; }
  .g-crumbs, .g-main > h1 { padding: 0; }
  .g-main > h1 { font-size: 36px; line-height: 1.18; }
  .g-byline { margin: 0; background: none; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
  .g-logo { background: var(--plate); }
  .g-review { margin: 0; }
  .g-key { background: var(--plate); border-radius: 16px; padding: 24px; }
  .g-key h2 { font-family: var(--text); font-size: 18px; font-weight: 600; }
  .g-key-item { font-size: 17px; }
  .g-key-item i { width: 10px; height: 10px; }
  .g-sec { padding: 0; gap: 14px; }
  .g-sec h2 { font-size: 22px; }
  .g-text { font-size: 18px; }
  .g-tip { font-size: 16px; }
  .g-fund { margin: 0; padding: 22px 24px; font-size: 16px; }
  .g-fund b { font-size: 19px; }
  .g-faq, .g-sources, .g-related { padding: 0; }
  .g-faq h2, .g-sources h2, .g-related h2 { font-size: 22px; }
  .g-aside { flex-grow: 1; display: flex !important; flex-direction: column; gap: 20px; padding-top: 44px; position: sticky; top: 90px; }
  .g-toc { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
  .g-toc .muted { font-size: 13px; }
  .g-toc a { text-decoration: none; transition: color .2s; }
  .g-toc a:hover { color: var(--muted); }
  .g-side-pans { background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
  .g-side-pans > b { font-size: 17px; line-height: 1.3; }
  .g-side-pan { display: flex; gap: 12px; text-decoration: none; align-items: center; }
  .g-side-pan .k-img { width: 72px; height: 72px; border-radius: 10px; flex-shrink: 0; }
  .g-side-pan > span { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
  .g-side-pan small { font-size: 14px; color: var(--muted); }
  .g-side-podbor { background: var(--ink); color: #fff; text-decoration: none; padding: 14px 16px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; }
  .g-side-podbor svg { width: 18px; height: 18px; }
  .gl-head { padding: 32px var(--side) 32px; }
  .gl-head h1 { font-size: 36px; }
  .gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 var(--side) 72px; }
}

/* Сравнение (G-compare-m / GD-compare) и избранное */
.cmp-head { padding: 12px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.cmp-head h1 { font-size: 23px; line-height: 1.25; }
.cmp-head .muted { font-size: 15px; }
.cmp-empty { margin: 0 20px 48px; line-height: 1.55; }
.cmp-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(220px, 1fr)); gap: 12px; padding: 0 20px 44px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cmp-col { background: var(--plate); border-radius: 18px; padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.cmp-photo { height: 120px; border-radius: 12px; overflow: hidden; position: relative; display: block; }
.cmp-photo img, .cmp-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-name { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cmp-name a { font-size: 17px; font-weight: 600; text-decoration: none; line-height: 1.3; }
.cmp-remove { padding: 4px; }
.cmp-remove svg { width: 18px; height: 18px; }
.cmp-label { font-size: 13px; color: var(--muted); }
.cmp-val { font-size: 16px; margin-top: 2px; }
.cmp-phone { margin-top: auto; background: #fff; font-size: 15px; padding: 13px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: center; justify-content: center; text-decoration: none; transition: background-color .25s; }
.cmp-phone svg { width: 18px; height: 18px; }
.cmp-phone:hover { background: var(--accent); }
.fav-list { padding: 0 0 44px; }
@media (min-width: 900px) {
  .cmp-head { padding: 20px var(--side) 28px; }
  .cmp-head h1 { font-size: 32px; }
  .cmp-empty { margin: 0 var(--side) 72px; }
  .cmp-grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; padding: 0 var(--side) 72px; max-width: calc(1168px + 2 * var(--side)); }
  .cmp-col { padding: 16px 20px 24px; gap: 18px; }
  .cmp-photo { height: 140px; }
  .cmp-name a { font-size: 19px; }
  .cmp-val { font-size: 16px; }
  .fav-list { padding: 0 var(--side) 72px; }
}
.cmp-thumbs { display: flex; gap: 10px; padding: 0 20px 28px; overflow-x: auto; scrollbar-width: none; }
.cmp-thumb { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.cmp-thumb .cmp-photo { height: 96px; }
.cmp-thumb b { font-size: 15px; line-height: 1.3; }
.cmp-out { align-self: flex-start; border: 0; background: var(--plate); font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.cmp-crit { margin: 0 20px 12px; background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cmp-crit h2 { font-family: var(--text); font-size: 15px; font-weight: 500; color: var(--muted); }
.cmp-line { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.cmp-line b { font-weight: 600; text-align: right; }
.cmp-line.long { flex-direction: column; gap: 2px; }
.cmp-line.long b { font-weight: 400; font-size: 15px; color: var(--muted); text-align: left; }
.cmp-m { padding-bottom: 36px; }
@media (min-width: 900px) { .page-reviews .rv-top { display: none; } }
.cmp-check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.cmp-check input { width: 18px; height: 18px; margin: 0; }

/* Вход в кабинет */
.lg { padding: 24px 20px 56px; display: flex; justify-content: center; }
.lg-box { width: 100%; max-width: 440px; background: var(--plate); border-radius: 18px; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.lg-box h1 { font-size: 24px; }
.lg-box .muted { font-size: 15px; line-height: 1.5; margin: -6px 0 0; }
.lg-box .o-submit { justify-content: center; gap: 12px; }
.lg-note { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
@media (min-width: 900px) { .lg { padding: 64px var(--side) 96px; } .lg-box { padding: 32px; } }

/* ===== Панели: модератор (AD-*) и кабинет (O-cabinet, CAB-pansion-m) ===== */
.panel-body { background: #fff; }
.pn { display: flex; flex-direction: column; min-height: 100vh; }
.pn-side { background: var(--plate); padding: 14px 16px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; position: sticky; top: 0; z-index: 20; }
.pn-logo { font-family: Unbounded, sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); }
.pn-logo span { background: var(--accent); padding: 0 3px; }
.pn-role { font-size: 13px; color: var(--muted); flex: 1; }
.pn-nav { order: 3; width: 100%; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 6px -16px 0; padding: 0 16px; }
.pn-nav::-webkit-scrollbar { display: none; }
.pn-nav a { flex-shrink: 0; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 10px; font-size: 15px; display: flex; gap: 10px; align-items: center; justify-content: space-between; transition: background-color .2s; }
.pn-nav a:hover { background: rgba(255,255,255,.6); }
.pn-nav a.on { background: #fff; font-weight: 600; }
.pn-n { color: var(--muted); font-size: 13px; font-weight: 400; }
.pn-n.hot { background: var(--accent); color: var(--ink); padding: 0 7px; }
.pn-out { margin-left: auto; }
.pn-main { flex: 1; min-width: 0; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.pn-flash { background: var(--accent); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.pn-head { display: flex; flex-direction: column; gap: 14px; }
.pn-head h1 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 500; font-size: 22px; }
.pn-sub { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.pn-search { display: flex; align-items: center; gap: 8px; background: var(--plate); border-radius: 10px; padding: 10px 12px; max-width: 320px; margin: 0 0 14px; }
.pn-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.pn-search input { border: 0; background: none; font: inherit; font-size: 15px; outline: none; width: 100%; color: var(--ink); }
.pn-tabs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.pn-tab { background: var(--plate); color: var(--ink); text-decoration: none; padding: 9px 12px; border-radius: 10px; display: inline-flex; gap: 6px; align-items: center; transition: background-color .2s; }
.pn-tab:hover { background: #ECEEF2; }
.pn-tab.on { background: var(--accent); }
.pn-tab svg { width: 14px; height: 14px; }
.pn-cols { display: flex; flex-direction: column; gap: 20px; }
.pn-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pn-card { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 120px; }
.pn-card-top { display: flex; flex-direction: column; gap: 10px; }
.pn-card-title { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); }
.pn-card-meta { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.pn-card-id { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.pn-card-id a, .pn-card-meta a { color: var(--muted); }
.pn-card-text { font-size: 16px; line-height: 1.55; white-space: pre-line; }
.pn-badge { align-self: flex-start; background: #fff; padding: 3px 8px; font-size: 13px; border-radius: 6px; white-space: nowrap; }
.pn-badge.hot { background: var(--accent); border-radius: 0; }
.pn-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.pn-chips:empty { display: none; }
.pn-chip { background: #fff; padding: 6px 10px; border-radius: 8px; }
.pn-chip.warn { background: #FDEBD3; }
.pn-note { background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.pn-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.pn-actions, .pn-inline, .pn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pn-btn { border: 0; cursor: pointer; font: inherit; font-size: 15px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; transition: background-color .2s; white-space: nowrap; }
.pn-btn:hover { background: #262830; }
.pn-btn.soft { background: var(--accent); color: var(--ink); padding: 11px 16px; }
.pn-btn.soft:hover { background: #BBEA00; }
.pn-ibtn { border: 0; cursor: pointer; background: #fff; color: var(--ink); padding: 11px; border-radius: 10px; display: inline-flex; transition: background-color .2s, transform .2s; }
.pn-ibtn:hover { background: #ECEEF2; transform: translateY(-1px); }
.pn-ibtn svg { width: 20px; height: 20px; }
.pn-side .pn-ibtn { background: none; padding: 8px; }
.pn-reason { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-left: auto; }
.pn-reason .select, .pn-city .select { position: relative; display: inline-flex; }
.pn-reason select, .pn-city select { font: inherit; font-size: 14px; padding: 10px 32px 10px 10px; border: 0; border-radius: 10px; background: #fff; appearance: none; color: var(--ink); }
.pn-city select { background: var(--plate); padding: 9px 32px 9px 10px; }
.pn-reason .select svg, .pn-city .select svg { position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.pn-sub-box { background: #fff; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pn-sub-box[hidden] { display: none; }
.pn-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; flex: 1; }
.pn-label textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 10px; border: 0; border-radius: 10px; background: var(--plate); resize: vertical; color: var(--ink); }
.pn-label textarea:focus { outline: 2px solid var(--accent); }
.pn-row { gap: 14px; }
.pn-hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.pn-pad { padding: 0 20px; }
.pn-aside { display: flex; flex-direction: column; gap: 14px; }
.pn-box { background: var(--plate); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pn-box h2 { margin: 0; font-size: 17px; font-weight: 600; }
.pn-mail { font-size: 15px; word-break: break-all; }
.pn-mail a { color: var(--ink); }
.pn-muted { font-size: 14px; color: var(--muted); }
.pn-facts { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pn-rule { font-size: 14px; line-height: 1.5; color: #3d4250; }
.pn-empty { background: var(--plate); border-radius: 16px; padding: 22px; font-size: 15px; color: var(--muted); }
.pn-sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 120px; }
.pn-sec h2 { margin: 0; font-size: 18px; font-weight: 600; }
.pn-row-card { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pn-row-card b { font-size: 16px; }
.pn-grow { flex: 1 1 280px; min-width: 0; }
.pn-fix { background: var(--plate); border-radius: 16px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.pn-fix textarea { background: #fff; }
.pn-fix.inner { background: none; padding: 0; }
.pn-fix-side { display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.pn-fix-side .pn-hint { font-size: 12px; }
.pn-change { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pn-change-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.pn-change-top b { font-size: 16px; }
.pn-change-top .pn-card-id { margin: 0; font-size: 14px; }
.pn-diff { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 15px; align-items: center; }
.pn-diff > svg { width: 20px; height: 20px; flex-shrink: 0; }
.pn-val { background: #fff; border-radius: 10px; padding: 10px 14px; line-height: 1.4; }
.pn-val span { color: var(--muted); }
.pn-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; font-size: 14px; }
.pn-filters .pn-search { margin: 0; width: 280px; padding: 9px 12px; }
.pn-city { display: flex; gap: 8px; align-items: center; }
.pn-reg { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pn-reg.line { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pn-reg b { font-size: 17px; line-height: 1.5; }
.pn-reg b a { color: var(--ink); text-decoration: none; }
.pn-reg b a:hover { text-decoration: underline; }
.pn-reg-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pn-id { font-family: Unbounded, sans-serif; font-size: 13px; font-weight: 500; background: #fff; padding: 4px 8px; border-radius: 6px; margin-right: 10px; white-space: nowrap; }
.pn-reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.pn-reg-cell { background: #fff; border-radius: 12px; padding: 12px; line-height: 1.45; }
.pn-reg-cell .pn-muted:last-child { margin-top: 4px; }
.pn-reg-foot { display: flex; gap: 10px; align-items: center; }
.pn-reg-note { font-size: 14px; color: #3d4250; flex: 1; }
.pn-reg.line .pn-reg-note { flex: 0 1 auto; }

@media (min-width: 900px) {
  .pn { flex-direction: row; }
  .pn-side { width: 260px; flex-shrink: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 24px 16px; height: 100vh; box-sizing: border-box; }
  .pn-logo { font-size: 18px; padding: 0 12px; }
  .pn-role { flex: 0; padding: 4px 12px 20px; }
  .pn-nav { order: 0; flex-direction: column; overflow: visible; margin: 0; padding: 0; width: auto; }
  .pn-out { margin: auto 0 0; padding: 0 4px; }
  .pn-main { padding: 28px 32px 48px; max-width: 1200px; }
  .pn-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .pn-head.center { align-items: center; }
  .pn-head.center .pn-search { margin: 0; width: 320px; }
  .pn-head h1 { font-size: 26px; }
  .pn-search { width: 320px; box-sizing: border-box; }
  .pn-cols { flex-direction: row; }
  .pn-aside { width: 300px; flex-shrink: 0; }
  .pn-card { padding: 22px; }
  .pn-card-top { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .pn-row-card { padding: 18px 20px; flex-wrap: nowrap; }
  .pn-fix { padding: 14px 20px; flex-wrap: nowrap; }
  .pn-change, .pn-reg { padding: 20px; }
  .pn-reg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pn-reg.line { flex-wrap: nowrap; }
}
.pn-row { flex-wrap: nowrap; }
.pn-row .pn-hint { flex: 1; min-width: 0; }
@media (max-width: 899px) { .pn-row { flex-wrap: wrap; } .pn-reason { margin-left: 0; } }

/* Подтверждение карточки владельцем (O-claim / OD-claim) */
.cl { padding: 6px 12px 28px; display: flex; flex-direction: column; gap: 12px; }
.cl-back { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 4px 0 8px; }
.cl-back svg { width: 24px; height: 24px; }
.cl-intro { background: var(--plate); border-radius: 16px; padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.cl-intro h1 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 500; font-size: 21px; line-height: 1.25; }
.cl-intro p { margin: 0; font-size: 15px; line-height: 1.5; color: #3d4250; }
.cl-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.cl-list div { display: flex; gap: 10px; align-items: center; }
.cl-tick { background: var(--accent); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cl-tick svg { width: 13px; height: 13px; }
.cl-note { background: #fff; border-radius: 14px; padding: 18px; font-size: 15px; line-height: 1.5; color: #3d4250; }
.cl-form { background: var(--plate); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.cl-form h2 { margin: 0; font-size: 17px; font-weight: 600; }
.cl-method { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 14px; cursor: pointer; transition: background-color .2s; }
.cl-method:has(input:checked) { background: var(--accent); }
.cl-method input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.cl-method > span { display: flex; flex-direction: column; gap: 3px; }
.cl-method b { font-size: 15px; }
.cl-method span span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.cl-method:has(input:checked) span span { color: var(--ink); }
.cl-box[hidden] { display: none; }
.cl-box-row { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 16px; }
.cl-box-row input { flex: 1; }
.cl-fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cl-opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.cl-tariff { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cl-submit { margin-top: 8px; }
.cl-one { max-width: 640px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.cl-h1 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 500; font-size: 22px; line-height: 1.25; }
.cl-lead { margin: 0; font-size: 15px; line-height: 1.5; color: #3d4250; }
.cl-find { display: flex; gap: 10px; align-items: stretch; }
.cl-find .o-field { flex: 1; }
.cl-find-btn { border: 0; cursor: pointer; background: var(--ink); color: #fff; border-radius: 10px; padding: 0 14px; display: flex; align-items: center; transition: background-color .2s; }
.cl-find-btn:hover { background: #262830; }
.cl-find-btn svg { width: 22px; height: 22px; }
.cl-found { background: #fff; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease); }
.cl-found:hover { transform: translateY(-2px); }
.cl-found > span { display: flex; flex-direction: column; gap: 4px; }
.cl-found > span span { font-size: 14px; color: var(--muted); }
.cl-found svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s var(--ease); }
.cl-found:hover svg { transform: translateX(4px); }
.cl-empty { font-size: 15px; line-height: 1.5; }
.cl-done { align-items: flex-start; gap: 16px; padding: 28px 20px; }

@media (min-width: 900px) {
  .cl { flex-direction: row; gap: 56px; padding: 28px var(--side) 72px; align-items: flex-start; }
  .cl-intro { width: 480px; flex-shrink: 0; background: none; padding: 0; gap: 20px; }
  .cl-intro h1 { font-size: 32px; line-height: 1.2; }
  .cl-intro p { font-size: 18px; }
  .cl-list { gap: 14px; font-size: 17px; }
  .cl-tick { width: 26px; height: 26px; }
  .cl-tick svg { width: 14px; height: 14px; }
  .cl-form { flex: 1; border-radius: 20px; padding: 28px; gap: 16px; }
  .cl-form h2 { font-size: 20px; }
  .cl-method { border-radius: 14px; padding: 16px; gap: 14px; }
  .cl-method input { margin-top: 2px; }
  .cl-method b { font-size: 16px; }
  .cl-method span span { font-size: 15px; }
  .cl-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-submit { align-self: flex-end; min-width: 0; gap: 16px; padding: 15px 24px; }
  .cl-one { max-width: none; justify-content: center; }
  .cl-one .cl-form { max-width: 640px; }
  .cl-h1 { font-size: 28px; }
}
.cl-list div.cl-desk { display: none; }
@media (min-width: 900px) { .cl-list div.cl-desk { display: flex; } .cl-note { background: var(--plate); } }
.cl-wrap { display: flex; flex-direction: column; gap: 12px; }
.cl-form h2 { font-family: 'Inter Tight', sans-serif; }
.cl-wrap .cl-tariff { padding: 0; }
@media (min-width: 900px) {
  .cl-wrap { flex: 1; background: var(--plate); border-radius: 20px; padding: 28px; gap: 16px; }
  .cl-wrap .cl-form { background: none; padding: 0; border-radius: 0; }
}

/* Кабинет пансионата */
.has-bottom .pn-nav { display: none; }
.has-bottom .pn-main { padding-bottom: 110px; }
.pn-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; box-shadow: 0 -8px 24px rgba(14,15,18,.06); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 8px 4px calc(14px + env(safe-area-inset-bottom)); }
.pn-bottom a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; text-decoration: none; color: var(--ink); padding: 6px 0; }
.pn-bottom a.on { font-weight: 600; }
.pn-bottom svg { width: 24px; height: 24px; }
.cb-head { display: flex; flex-direction: column; gap: 10px; }
.cb-head h1 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 500; font-size: 22px; line-height: 1.25; }
.cb-sub { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.cb-sub .mark { color: var(--ink); }
.cb-link { font-size: 15px; color: var(--ink); }
.cb-switch label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.cb-switch .select { position: relative; display: inline-flex; }
.cb-switch select { font: inherit; font-size: 14px; padding: 9px 32px 9px 10px; border: 0; border-radius: 10px; background: var(--plate); appearance: none; color: var(--ink); max-width: 260px; }
.cb-switch .select svg { position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.cb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cb-tile { background: var(--plate); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; text-decoration: none; color: var(--ink); box-sizing: border-box; height: 124px; padding: 14px; transition: transform .3s var(--ease), background-color .25s; }
a.cb-tile:hover { transform: translateY(-3px); background: #EEF0F3; }
.cb-num { font-family: Unbounded, sans-serif; font-weight: 500; line-height: 1; font-size: 30px; }
.cb-cap { font-size: 13px; color: var(--muted); line-height: 1.3; }
.cb-cap-ink { font-size: 13px; }
.cb-small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cb-places .cb-small { text-decoration: underline; }
.cb-flag { font-size: 12px; margin-top: 2px; background: var(--accent); padding: 1px 6px; border-radius: 6px; }
.cb-plan { background: var(--accent); }
.cb-plan .cb-small { color: var(--ink); margin: 0; }
.cb-plan-name { font-family: Unbounded, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.2; }
.cb-grid, .cb-list, .cb-form { display: flex; flex-direction: column; gap: 16px; }
.cb-box { background: var(--plate); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cb-box h2 { margin: 0; font-family: 'Inter Tight', sans-serif; font-size: 17px; font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cb-badge { font-size: 12px; font-weight: 400; background: #fff; padding: 2px 8px; border-radius: 6px; }
.cb-bar { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; }
.cb-bar i { display: block; height: 6px; background: var(--ink); border-radius: 3px; }
.cb-todo { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.cb-todo a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 6px 0; }
.cb-todo svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease); }
.cb-todo a:hover svg { transform: translateX(4px); }
.cb-hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
.cb-muted { font-size: 13px; color: var(--muted); line-height: 1.4; }
.cb-empty { font-size: 15px; color: var(--muted); }
.cb-plan-m { font-size: 17px; }
.cb-rv { background: #fff; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cb-list .cb-rv { background: none; padding: 0; }
.cb-rv-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 14px; }
.cb-rv-top b { font-size: 16px; }
.cb-rv-top .mark { font-size: 13px; }
.cb-rv-text { font-size: 15px; line-height: 1.5; white-space: pre-line; }
.cb-rv-form { display: flex; flex-direction: column; gap: 10px; }
.cb-list .cb-rv-form textarea { background: #fff; }
.cb-rv-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pn-ibtn.soft { background: var(--plate); }
.cb-list .pn-ibtn.soft { background: #fff; }
.cb-reply { background: var(--plate); border-radius: 10px; padding: 12px; font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.cb-list .cb-reply { background: #fff; }
.cb-reply b { font-size: 13px; }
.cb-form input:not([type=checkbox]), .cb-form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; resize: vertical; }
.cb-form input:focus, .cb-form textarea:focus { outline: 2px solid var(--accent); }
.cb-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.cb-narrow { flex: 0 0 180px; }
.cb-check { padding-bottom: 12px; }
.cb-two { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cb-save { align-self: stretch; }
.cb-price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.cb-price > span:first-child { display: flex; flex-direction: column; gap: 3px; font-size: 15px; }
.cb-price-in { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.cb-form .cb-price-in input { width: 120px; background: var(--plate); text-align: right; }
.cb-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-form input[type=file] { background: #fff; padding: 10px; font-size: 14px; }
.cb-form .select select, .cb-photo .select select { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 40px 12px 12px; border: 0; border-radius: 10px; background: #fff; appearance: none; -webkit-appearance: none; width: 100%; color: var(--ink); }
.cb-checks { display: flex; flex-direction: column; gap: 10px; }
.cb-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cb-photo { background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cb-photo .select select { background: var(--plate); font-size: 14px; padding: 9px 34px 9px 10px; }
.cb-photo-img { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--plate); }
.cb-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-photo-img .cb-flag { position: absolute; left: 6px; top: 6px; margin: 0; }
.cb-photo-act { display: flex; gap: 10px; }
.cb-photo-act .pn-ibtn { padding: 8px; }
.cb-photo-act .pn-ibtn:disabled { opacity: .35; cursor: default; transform: none; }
.cb-photo.is-off img { opacity: .5; }
@media (min-width: 900px) { .cb-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cb-chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; }
.cb-chart span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.cb-chart i { display: block; width: 100%; background: var(--ink); border-radius: 3px 3px 0 0; transition: background-color .2s; }
.cb-chart span:hover i { background: var(--accent); }
.cb-chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

@media (min-width: 900px) {
  .has-bottom .pn-nav { display: flex; }
  .has-bottom .pn-main { padding-bottom: 48px; }
  .pn-bottom { display: none; }
  .has-bottom .pn-main { padding: 28px 40px 48px; }
  .cb-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .cb-head h1 { font-size: 26px; }
  .cb-sub { font-size: 14px; margin-top: 6px; }
  .cb-head .cb-link { white-space: nowrap; }
  .cb-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cb-tile { height: 132px; }
  .cb-num { font-size: 36px; }
  .cb-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; }
  .cb-box { padding: 20px; gap: 14px; }
  .cb-box h2 { font-size: 18px; }
  .cb-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-save { align-self: flex-start; min-width: 240px; gap: 16px; }
  .cb-form, .cb-list { max-width: 820px; }
}
.cb-dsk { display: none; }
@media (min-width: 900px) { .cb-dsk { display: flex; } .cb-mob { display: none; } }
.pn-brand { display: flex; flex-direction: column; }
.pn-kind { font-size: 12px; color: var(--muted); margin-top: 2px; }
.has-bottom .pn-side { background: #fff; padding: 10px 8px 0 20px; }
.has-bottom .pn-role { display: none; }
.cb-rvbox { order: 3; }
@media (min-width: 900px) {
  .pn-kind { display: none; }
  .has-bottom .pn-side { background: var(--plate); padding: 24px 16px; }
  .has-bottom .pn-role { display: block; }
  .cb-rvbox { order: 0; }
}
.cb-gap { margin-top: 8px; }
.g-src { font-size: 13px; color: var(--muted); }
.pn-cands { display: flex; flex-direction: column; gap: 8px; }
.pn-cand { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 12px; padding: 8px 8px 8px 14px; font-size: 14px; }
.pn-cand .pn-ibtn { background: var(--plate); padding: 8px; }
.pn-cand .pn-ibtn svg { width: 18px; height: 18px; }

/* Служебные страницы (О проекте, Как мы проверяем, Контакты, документы) — одна колонка по центру */
.info-layout { display: block; padding-bottom: 48px; }
.info-layout .g-main { max-width: 760px; margin: 0 auto; }
@media (min-width: 900px) { .info-layout { padding-bottom: 80px; } }
/* Живая карта в карточке: рисунок-заглушка виден, пока карта не загрузилась */
.k-map-live { position: absolute; inset: 0; z-index: 1; }
.k-map.is-live > svg, .k-map.is-live .k-pin { display: none; }
.k-map .k-map-open { z-index: 2; padding: 10px; }

/* Плашка про cookie */
.ck { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 32px -12px rgba(14,15,18,.5); }
.ck[hidden] { display: none; }
.ck a { color: #fff; }
.ck-btns { display: flex; gap: 10px; }
.ck-btns button { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 10px; }
.ck-no { background: rgba(255,255,255,.12); color: #fff; }
.ck-ok { background: var(--accent); color: var(--ink); }
@media (min-width: 900px) { .ck { left: auto; right: 24px; bottom: 24px; max-width: 460px; flex-direction: row; align-items: center; } .ck-btns { flex-shrink: 0; } }
footer small a { font-size: inherit; color: inherit; }

/* Защищённые реквизиты: текст рисуется из атрибута, не выделяется и не копируется */
.pr { -webkit-user-select: none; user-select: none; }
.pr::after { content: attr(data-p); direction: rtl; unicode-bidi: isolate-override; }
a.pr { color: inherit; text-decoration: underline; cursor: pointer; }
