/* «Гарден Сити» — мир «Маршрут по пути».
   Светлая плоская карта северного побережья: суша, залив, белые дороги,
   тёмно-синий маршрут фирменного цвета. Жёлтый — только «сейчас / вы здесь / найдено». */

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

:root {
  --navy: #283070;
  --ink: #1f2558;
  --muted: #535a77;
  --blue: #1d47cd;
  --green: #108838;
  --green-ink: #0b6b2b;
  --lime: #90c838;
  --yellow: #f8e80a;
  --yellow-soft: #fdf7a8;

  --ground: #fbfcf8;
  --surface: #ffffff;
  --land: #eef2e7;
  --land-2: #e2e9d6;
  --park: #d7e8c4;
  --water: #d6e6f0;
  --water-2: #c4dbe9;
  --water-ink: #4a6d86;
  --line: #dde2d4;
  --line-2: #c9d0c0;

  --shadow-s: 0 1px 2px rgb(31 37 88 / .06), 0 2px 8px -2px rgb(31 37 88 / .10);
  --shadow: 0 1px 2px rgb(31 37 88 / .05), 0 12px 32px -12px rgb(31 37 88 / .24);
  --shadow-l: 0 2px 4px rgb(31 37 88 / .05), 0 24px 56px -20px rgb(31 37 88 / .30);

  --r: 14px;
  --r-s: 10px;
  --r-pill: 999px;

  --font-display: "Geologica", "Golos Text", system-ui, sans-serif;
  --font-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 16px;
  --wrap: 1280px;
  --header-h: 64px;
  --bar-h: 0px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }
@media (max-width: 899px) { :root { --bar-h: 68px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--line-2) var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-text);
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  caret-color: var(--navy);
  overflow-x: clip;
  padding-bottom: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--land); }
img[src$=".svg"], .logo-img, .shop-logo img { background: transparent; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r-s);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 3px solid var(--ground); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-weight: 850; font-size: clamp(2.125rem, 1.1rem + 4.8vw, 4.75rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-weight: 750; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.875rem); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-weight: 700; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.22; letter-spacing: -0.012em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--ink); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.tnum { font-variant-numeric: tabular-nums; }
.slant { font-style: oblique 10deg; font-variation-settings: "slnt" -10; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
/* то, что отдаёт редактор акций: картинки, цитаты, таблицы, разделитель */
.prose h4 { margin-top: 1.6em; }
.prose-img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.prose blockquote { margin-inline: 0; padding-inline: 1.25em; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: .5em .75em; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 4rem + 4vw, 128px); }
.section--tight { padding-block: clamp(40px, 2.5rem + 2vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); max-width: 52rem; }
.section-head p { color: var(--muted); font-size: 1.0625rem; max-width: 40em; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.section-head--row > div:not(.rail-ctrl) { display: grid; gap: 14px; max-width: 46rem; }

/* ------------------------------------------------------------------ icons */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--s { width: 20px; height: 20px; }
.i--l { width: 28px; height: 28px; }
.i-fill { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 1rem/1.15 var(--font-text); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 6px 14px -8px rgb(16 18 40 / .45); }
.btn--primary:hover { background: #1f2660; }
.btn--ghost { background: var(--surface); color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--quiet { background: transparent; color: var(--navy); padding-inline: 10px; }
.btn--quiet:hover { background: var(--land); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .i { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .i { transition: transform .25s var(--ease-out); width: 20px; height: 20px; }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover { color: var(--blue); }

/* ------------------------------------------------------------------ chips & status */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px;
  border-radius: var(--r-pill); background: var(--surface); color: var(--navy);
  font: 600 .9375rem/1.2 var(--font-text); box-shadow: var(--shadow-s); white-space: nowrap;
}
.chip b { font: 800 1.0625rem/1 var(--font-display); letter-spacing: -0.01em; }
.chip--navy { background: var(--navy); color: #fff; box-shadow: none; }
.chip--flat { box-shadow: none; background: var(--land); }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--line-2); box-shadow: 0 0 0 3px rgb(201 208 192 / .35);
}
.status[data-state="open"]::before { background: var(--green); box-shadow: 0 0 0 3px rgb(16 136 56 / .18); }
.status[data-state="closed"] { color: var(--muted); }
.status[data-state="soon"]::before { background: #d89b00; box-shadow: 0 0 0 3px rgb(216 155 0 / .2); }
.status--pill { background: var(--surface); border-radius: var(--r-pill); padding: 8px 14px 8px 12px; box-shadow: var(--shadow-s); min-height: 40px; }
.status--now { background: var(--yellow); color: var(--ink); box-shadow: none; }

.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--land); color: var(--navy); font: 600 .875rem/1.2 var(--font-text); }
.badge--found { background: var(--yellow); color: var(--ink); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgb(251 252 248 / .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(251 252 248 / .96); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { width: 118px; height: auto; }
@media (min-width: 768px) { .brand img { width: 136px; } }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .9688rem; text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--land); color: var(--navy); }
/* текущий раздел: тёмно-синяя плашка и жёлтая точка «вы здесь», как на карте */
.nav a[aria-current="page"], .nav a[aria-current="page"]:hover { gap: 8px; background: var(--navy); color: #fff; }
.nav a[aria-current="page"]::before, .menu-list a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--yellow); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-status { font-size: .875rem; min-height: 40px; padding: 6px 12px 6px 10px; border: 0; cursor: pointer; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: transparent; color: var(--navy); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--land); }
.icon-btn--solid { background: var(--navy); color: #fff; }
.icon-btn--solid:hover { background: #1f2660; }
@media (max-width: 359px) { .header-status { display: none; } }
@media (min-width: 900px) { .header-status { font-size: .9375rem; } }
.hs-compact { display: none; }
@media (max-width: 599px) { .header-status .hs-full { display: none; } .header-status .hs-compact { display: inline; } .header-tools { gap: 6px; } .header-tools .icon-btn { width: 44px; height: 44px; } }
@media (min-width: 1100px) {
  .nav { display: block; margin-left: 4px; }
  .menu-toggle { display: none !important; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav a { padding: 0 8px; font-size: .9375rem; } .brand img { width: 120px; } }
@media (max-width: 389px) { .header-status { font-size: .8125rem; padding-inline: 8px 10px; } .brand img { width: 104px; } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ground);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .42s var(--ease-out), visibility 0s linear .42s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .42s var(--ease-out); }
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); flex: none; }
.menu-list { list-style: none; margin: 8px 0 0; padding: 0 var(--gutter); }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none;
  font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.015em;
}
.menu-list a .i { color: var(--muted); }
.menu-list a[aria-current="page"] { justify-content: flex-start; gap: 12px; margin: 4px -14px; padding-inline: 14px; border-bottom: 0; border-radius: 12px; background: var(--navy); color: #fff; }
.menu-list a[aria-current="page"] .i { margin-left: auto; color: #fff; }
.menu-foot { padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 12px; margin-top: auto; }
.menu-foot .status { margin-bottom: 4px; }
.menu-foot address { font-style: normal; color: var(--muted); }

/* ------------------------------------------------------------------ bottom action bar (phones) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgb(255 255 255 / .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.action-bar a, .action-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; border: 0; background: transparent; border-radius: 12px;
  color: var(--navy); font: 600 .8125rem/1.1 var(--font-text); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.action-bar a:active, .action-bar button:active { background: var(--land); }
.action-bar .is-primary { background: var(--navy); color: #fff; }
.action-bar .is-primary:active { background: #1f2660; }
@media (min-width: 900px) { .action-bar { display: none; } }

.hours-pop {
  margin: 0; inset: auto 8px calc(var(--bar-h) + 8px + env(safe-area-inset-bottom)) 8px; width: auto; max-width: 420px;
  border: 0; border-radius: 18px; padding: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-l);
}
.hours-pop::backdrop { background: rgb(31 37 88 / .18); }
@media (min-width: 900px) { .hours-pop { inset: calc(var(--header-h) + 8px) var(--gutter) auto auto; } }
.hours-pop h2 { font-size: 1.25rem; margin-bottom: 12px; }

/* hours list */
.hours { list-style: none; margin: 0; padding: 0; display: grid; }
.hours li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours .h-name { font-weight: 600; color: var(--navy); }
.hours .h-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours .status { grid-column: 1 / -1; font-size: .875rem; font-weight: 500; }

/* ------------------------------------------------------------------ breadcrumbs & page head */
.crumbs { padding-top: 20px; font-size: .9375rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); padding-right: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-head { padding-block: 12px clamp(28px, 1.5rem + 2vw, 56px); display: grid; gap: 16px; }
.page-head .lead { color: var(--muted); }
.page-head__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* coastal map */
.cmap .water { fill: var(--water); }
.cmap .water-2 { fill: var(--water-2); }
.cmap .land { fill: var(--land); }
.cmap .park { fill: var(--park); }
.cmap .road-case { fill: none; stroke: var(--line-2); stroke-linecap: round; stroke-linejoin: round; }
.cmap .road { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.cmap .road-minor { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.cmap .rail { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.cmap .route-case { fill: none; stroke: #fff; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.cmap .route { fill: none; stroke: var(--navy); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.cmap .route-next { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; opacity: .55; }
.cmap .stop { fill: #fff; stroke: var(--navy); stroke-width: 4; }
.cmap .stop--metro { stroke: var(--navy); }
.cmap .lbl { font: 600 15px/1 var(--font-text); fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 5px; stroke-linejoin: round; }
.cmap .lbl--muted { fill: var(--muted); font-weight: 500; font-size: 13.5px; }
.cmap .lbl--area { font: 700 13px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; fill: #8a937d; stroke: none; }
.cmap .lbl--water { font: 500 17px/1 var(--font-display); font-style: oblique 10deg; font-variation-settings: "slnt" -10; fill: var(--water-ink); stroke: none; letter-spacing: .02em; }
.cmap .lbl--road { font: 600 11.5px/1 var(--font-text); fill: #7f8973; stroke: none; letter-spacing: .04em; }
.cmap .pin-halo { fill: var(--yellow); opacity: .9; }
.cmap .tower { fill: var(--water-ink); }
.split > *, .way-panel > *, .plan-layout > *, .form-wrap > *, .article > *, .shop-hero > *, .foot-top > *, .plan-teaser > * { min-width: 0; }
.cmap .pin { transform-box: fill-box; transform-origin: 50% 100%; }

/* режим работы списком */
.today-list { list-style: none; margin: 0; padding: 0 0 8px; display: grid; }
.today-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.today-list .t-name { font-weight: 700; color: var(--navy); }
.today-list .t-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.today-list .status { font-size: .875rem; font-weight: 500; grid-column: 1 / -1; }

/* ------------------------------------------------------------------ scenarios (home) */
.scen-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.scen-rail::-webkit-scrollbar { display: none; }
.scen { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.scen-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; background: var(--land); }
.scen-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.18); will-change: transform; }
.scen h3 a { color: var(--navy); text-decoration: none; }
.scen h3 a::after { content: ""; position: absolute; inset: 0; }
.scen { position: relative; }
.scen h3 a:hover { color: var(--blue); }
.scen-shops { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.scen-shops span:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--line-2); }
.scen-col { display: contents; }
.rail-ctrl { display: flex; gap: 8px; }
@media (max-width: 699px) { .rail-ctrl { display: none; } }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--navy); display: grid; place-items: center; }
.rail-ctrl button:hover { border-color: var(--navy); }
.rail-ctrl button[disabled] { opacity: .35; cursor: default; }
.rail-progress { height: 4px; background: var(--line); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: var(--w, 30%); background: var(--navy); border-radius: 4px; transform: translateX(var(--x, 0)); transition: transform .2s linear; }
@media (min-width: 1000px) {
  .scen-rail { display: flex; gap: 28px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; align-items: flex-start; }
  .scen-col { display: flex; flex-direction: column; gap: 56px; flex: 1 1 0; min-width: 0; }
  .scen-col:nth-child(2) { padding-top: 128px; }
  .scen-col:nth-child(3) { padding-top: 48px; }
  .scen--sq .scen-media { aspect-ratio: 1 / 1; }
  .rail-ui { display: none !important; }
}
@media (hover: hover) and (pointer: fine) { .can-drag { cursor: grab; } }
.is-dragging, .is-dragging a, .is-dragging button { cursor: grabbing; }
.is-dragging { user-select: none; -webkit-user-select: none; }
.is-gliding { scroll-snap-type: none !important; }
.js .scen-media { clip-path: inset(0 0 0 0 round var(--r)); }
.js .scen-media.reveal-wait { clip-path: inset(14% 8% 14% 8% round var(--r)); }
.js .scen-media { transition: clip-path 1.1s var(--ease-out); }

/* ------------------------------------------------------------------ anchors (home) */
.anchors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.anchor { display: grid; }
.anchor-body { display: grid; gap: 10px; align-content: start; padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-s); position: relative; }
.anchor-body .shop-logo { width: 128px; height: 48px; }
.anchor-name { font: 700 1.25rem/1.2 var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.anchor-name a { color: inherit; text-decoration: none; }
.anchor-name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.anchor-body:hover { box-shadow: var(--shadow); }
.anchor-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .anchors { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
/* «Соседи по галерее» на странице аренды: восемь арендаторов, логотип во всю ширину карточки, на телефоне по два в ряд */
.anchors--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.anchors--logos .anchor-body { padding: 12px; gap: 8px; }
.anchors--logos .anchor-body .shop-logo { width: 100%; height: 64px; }
.anchors--logos .anchor-name { font-size: 1rem; }
.anchors--logos .anchor-meta { font-size: .875rem; gap: 2px 12px; }
@media (min-width: 900px) {
  .anchors--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .anchors--logos .anchor-body { padding: 16px 18px; gap: 10px; }
  .anchors--logos .anchor-body .shop-logo { height: 72px; }
  .anchors--logos .anchor-name { font-size: 1.125rem; }
}

/* ------------------------------------------------------------------ promo */
.promo-legal { font-size: .875rem; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.promo-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 1.5rem + 1.5vw, 48px); padding-top: 8px; }
.promo-page .side-links { margin-top: 0; }

.side-links { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 900px) { .side-links { grid-template-columns: 1fr 1fr; } }
.side-link {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; min-height: 76px;
  border-radius: var(--r); background: var(--land); color: var(--navy); text-decoration: none;
}
.side-link:hover { background: var(--land-2); }
.side-link strong { display: block; font: 700 1.0625rem/1.25 var(--font-display); }
.side-link span { color: var(--muted); font-size: .9375rem; }

/* ------------------------------------------------------------------ plan teaser + plan */
.plan-teaser { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1000px) { .plan-teaser { grid-template-columns: 4fr 7fr; gap: 56px; } }
.plan-card { position: relative; border-radius: 22px; background: var(--land); overflow: hidden; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.plan-card > .plan { width: 100%; height: auto; }
.plan-card .chip { position: absolute; left: 16px; top: 16px; }

.searchbox { position: relative; }
.searchbox input {
  width: 100%; min-height: 56px; padding: 0 16px 0 52px; border-radius: 14px; border: 1.5px solid var(--line-2);
  background: var(--surface); font-size: 1.0625rem; color: var(--ink); appearance: none;
}
.searchbox input::placeholder { color: #6b7290; }
.searchbox input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(40 48 112 / .12); }
.searchbox > .i { position: absolute; left: 16px; top: 16px; color: var(--muted); pointer-events: none; }
.searchbox .clear { position: absolute; right: 4px; top: 4px; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-l); max-height: 340px; overflow-y: auto;
}
.suggest[hidden] { display: none; }
.suggest li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--land); }
.suggest .s-name { font-weight: 600; color: var(--navy); }
.suggest .s-name mark { background: var(--yellow); color: inherit; border-radius: 3px; }
.suggest .s-meta { margin-left: auto; color: var(--muted); font-size: .875rem; white-space: nowrap; }

.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--land); gap: 2px; }
.seg button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent;
  font-weight: 600; color: var(--ink); white-space: nowrap;
}
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-s); }

.plan-app { display: grid; gap: 16px; }
.plan-tools { display: grid; gap: 12px; }
@media (min-width: 900px) { .plan-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.plan-stage {
  position: relative; border-radius: 22px; background: var(--land); overflow: hidden; touch-action: none;
  /* схема двигается сдвигом viewBox: без этого браузер принимает сдвиг SVG за смещение вёрстки и сам прокручивает страницу */
  overflow-anchor: none;
  height: min(72svh, 720px); min-height: 380px; box-shadow: inset 0 0 0 1px var(--line); cursor: grab; user-select: none;
}
.plan-stage.is-dragging { cursor: grabbing; }
.plan-stage .plan { width: 100%; height: 100%; display: block; }
.plan-zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.plan-zoom button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--surface); color: var(--navy); box-shadow: var(--shadow-s); display: grid; place-items: center; }
.plan-floor { position: absolute; inset: 0; }
.plan-floor[hidden] { display: none; }
.plan-hint { position: absolute; left: 12px; bottom: 12px; font-size: .8125rem; color: var(--muted); background: rgb(255 255 255 / .85); padding: 6px 10px; border-radius: 8px; }
.plan .bld { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.plan .bld-2 { fill: #f6f8f2; stroke: none; }
.plan .lawn { fill: var(--park); opacity: .55; }
.plan .road { fill: none; stroke: #aeb9a0; stroke-width: 1.4; stroke-linejoin: round; pointer-events: none; }
.plan .sign { pointer-events: none; }
.plan .sign path { stroke-width: .6; }
.plan .unit { fill: #f2f4ee; stroke: #c3cbb8; stroke-width: 1; transition: fill .25s, stroke .25s; }
.plan .unit[data-slug] { fill: #e6ecf7; stroke: #a9b5d4; cursor: pointer; }
.plan .unit[data-slug]:hover { fill: #d3ddf3; }
.plan .unit.is-anchor { fill: #d8def2; }
.plan .unit.is-dim { fill: #f2f4ee; stroke: #d5dbcd; }
.plan .unit.is-cat { fill: #cfe6bf; stroke: var(--green); }
.plan .unit.is-found, .plan .unit[data-slug].is-found:hover { fill: var(--yellow); stroke: var(--navy); stroke-width: 2.5; }
/* прямоугольная рамка фокуса вокруг помещения не нужна: выбранное и так подсвечено; при навигации с клавиатуры обводим сам контур */
.plan .unit:focus { outline: none; }
.plan .unit[data-slug]:focus-visible { stroke: var(--navy); stroke-width: 2.5; }
.plan .ulabel { font: 600 9px/1 var(--font-text); fill: var(--navy); pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.plan .ulabel.is-big { font-size: 13px; font-weight: 700; }
.plan .picto { pointer-events: none; }
.plan .ulabel { transition: opacity .2s; }
.plan .ulabel.is-tiny { opacity: 0; }
/* на интерактивной схеме подписи сидят на плотных помещениях: светлая обводка держит их читаемыми на краях */
.plan-stage .ulabel { paint-order: stroke; stroke: rgb(255 255 255 / .75); stroke-width: .18em; stroke-linejoin: round; }
.mini-plan { position: relative; display: block; margin-top: 14px; border-radius: 12px; overflow: hidden; background: var(--land); box-shadow: inset 0 0 0 1px var(--line); }
.mini-plan .plan { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; }
.mini-plan .chip { position: absolute; left: 10px; top: 10px; z-index: 1; min-height: 30px; font-size: .8125rem; }
.mini-plan .unit.is-found { stroke-width: 3; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.plan .entrance { fill: var(--green); }
.plan-card .unit[data-slug] { cursor: default; }
@media (max-width: 559px) { .plan-card .ulabel { display: none; } }

.plan-side { display: grid; gap: 12px; align-content: start; }
.unit-card {
  position: fixed; left: 8px; right: 8px; bottom: calc(var(--bar-h) + 8px + env(safe-area-inset-bottom)); z-index: 30;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-l); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  transform: translateY(calc(100% + 120px)); transition: transform .42s var(--ease-out);
}
.unit-card.is-open { transform: none; }
/* шапка: сверху логотип и крестик, под ними название и рубрика; без логотипа крестик справа от названия */
.unit-card .uc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo close" "text text"; gap: 8px 12px; align-items: start; }
.unit-card .uc-top:not(.has-logo) { grid-template-areas: "text close"; }
.unit-card .uc-top:not(.has-logo) > [data-uc-logo] { display: none; }
.unit-card .uc-top > [data-uc-logo] { grid-area: logo; justify-self: start; }
.unit-card .uc-top > .uc-text { grid-area: text; min-width: 0; display: grid; gap: 4px; }
.unit-card .uc-top > .icon-btn { grid-area: close; margin: -4px -4px 0 0; }
.unit-card .shop-logo { width: 88px; height: 44px; }
.unit-card h2 { font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.unit-card .uc-meta { color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.unit-card .uc-status { display: grid; gap: 2px; }
.unit-card .uc-status .muted { font-size: .875rem; }
/* две кнопки рядом, только если им хватает места, иначе одна под другой на всю ширину карточки */
.unit-card .uc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.unit-card .uc-actions .btn { min-width: 0; width: 100%; }
@media (min-width: 900px) {
  .plan-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
  .unit-card { position: sticky; top: calc(var(--header-h) + 16px); left: auto; right: auto; bottom: auto; transform: none; box-shadow: var(--shadow); }
  .unit-card:not(.is-open) .uc-filled { display: none; }
}
.unit-card .uc-filled { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.unit-card .uc-empty { color: var(--muted); }
.unit-card.is-open .uc-empty { display: none; }
@media (max-width: 899px) { .unit-card .uc-empty { display: none; } }
.floor-list { columns: 2 240px; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.floor-list li { break-inside: avoid; }
.floor-list button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--navy); font-weight: 600;
}
.floor-list button span { color: var(--muted); font-weight: 400; font-size: .875rem; }
.floor-list button:hover { color: var(--blue); }

/* ------------------------------------------------------------------ photo band (parallax) */
.band { position: relative; overflow: hidden; min-height: clamp(420px, 60vw, 720px); display: grid; align-items: end; isolation: isolate; color: #fff; }
.band-media { position: absolute; inset: -14% 0; z-index: -2; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(20 26 66 / .72) 0%, rgb(20 26 66 / .28) 42%, rgb(20 26 66 / 0) 70%); }
.band .wrap { padding-block: 48px; display: grid; gap: 18px; }
.band h2 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 4vw, 4.5rem); font-weight: 850; letter-spacing: -0.035em; max-width: 14em; }
.band p { font-size: 1.125rem; max-width: 34em; color: rgb(255 255 255 / .92); }
.band .btn--ghost { background: #fff; border-color: #fff; }
@media (max-width: 999px) {
  .band::after { background: linear-gradient(to top, rgb(20 26 66 / .88) 0%, rgb(20 26 66 / .66) 58%, rgb(20 26 66 / .3) 100%); }
  .band-media img { object-position: 64% 80%; }
}

/* ------------------------------------------------------------------ getting here */
.ways { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.way-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: var(--land); border-radius: 16px; justify-self: start; max-width: 100%; }
.way-tabs::-webkit-scrollbar { display: none; }
.way-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent;
  font-weight: 600; color: var(--ink); white-space: nowrap;
}
.way-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-s); }
@media (max-width: 699px) {
  .way-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: stretch; }
  .way-tabs [role="tab"] { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 4px; white-space: normal; text-align: center; font-size: .8125rem; line-height: 1.2; }
}
.way-panel { display: grid; gap: 24px; }
.way-panel[hidden] { display: none; }
@media (min-width: 1000px) { .way-panel { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.way-text { display: grid; gap: 16px; align-content: start; }
.way-text ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.map-load { position: relative; border-radius: 22px; overflow: hidden; background: var(--land); aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 1px var(--line); }
/* Дробный масштаб карты (13,8 = z14 · --mz): виджет Яндекса знает только целый z, поэтому iframe рисуется крупнее плашки
   в 1/--mz раза и ужимается обратно. На узком экране без ужатия (см. MAP_WIDGET_NARROW в scripts/site_html.py). */
.map-load { --mz: .87; }
.map-load iframe { position: absolute; left: 0; top: 0; width: calc(100% / var(--mz)); height: calc(100% / var(--mz)); border: 0; transform: scale(var(--mz)); transform-origin: 0 0; background: var(--land); }
@media (max-width: 560px) { .map-load { --mz: 1; } }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.copy-line address { font-style: normal; font-weight: 600; color: var(--navy); }
.copy-ok { color: var(--green-ink); font-weight: 600; font-size: .9375rem; }

.bus-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .bus-grid { grid-template-columns: 1fr 1fr; } }
.bus { border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; display: grid; }
.bus figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.bus figure img { width: 100%; height: 100%; object-fit: cover; }
.bus-body { padding: 18px; display: grid; gap: 10px; }
.bus-times { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bus-times li { font-variant-numeric: tabular-nums; font-weight: 600; background: var(--land); color: var(--navy); border-radius: 8px; padding: 4px 9px; font-size: .9375rem; }
.bus-times li.is-next { background: var(--yellow); color: var(--ink); }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: #fffbe0; color: var(--ink); font-size: .9688rem; box-shadow: inset 0 0 0 1px #efe39a; }
.notice .i { color: #8a6d00; }

/* ------------------------------------------------------------------ business fork (home) */
.fork { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fork a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 26px 0; min-height: 96px;
  border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; position: relative;
}
.fork h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; letter-spacing: -0.02em; transition: transform .35s var(--ease-out); }
.fork p { color: var(--muted); grid-column: 1; max-width: 40em; }
.fork .fork-arrow { grid-row: 1 / span 2; grid-column: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--land); transition: background-color .25s, color .25s, transform .35s var(--ease-out); }
.fork a:hover .fork-arrow { background: var(--navy); color: #fff; transform: translateX(4px); }
.fork a:hover h3 { transform: translateX(6px); }
.fork-facts { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }

/* ------------------------------------------------------------------ shops catalog */
.filters {
  position: sticky; top: var(--header-h); z-index: 20; background: rgb(251 252 248 / .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.filters .wrap { display: grid; gap: 10px; }
.filters-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filters-row::-webkit-scrollbar { display: none; }
.fchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; flex: none;
  border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.fchip:hover { border-color: var(--navy); }
.fchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.fchip--open[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.fchip .i { width: 18px; height: 18px; }
.filters-top { display: grid; gap: 10px; }
@media (min-width: 900px) { .filters-top { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; } }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: var(--muted); }
.result-line [hidden] { display: none; }

.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px 14px; padding: 14px; border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-s); height: 100%; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.shop-card:hover { box-shadow: var(--shadow); }
.shop-card .shop-logo { width: 88px; height: 64px; grid-row: 1 / span 3; }
.shop-card h3 { font-size: 1.125rem; }
.shop-card h3 a { color: var(--navy); text-decoration: none; }
.shop-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.shop-card .sc-kind { color: var(--muted); font-size: .9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card .sc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .875rem; grid-column: 2; }
.shop-card .status, .anchor .status, .unit-card .status { white-space: normal; }
.shop-card .sc-actions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; position: relative; z-index: 1; }
.shop-card .sc-actions .btn { flex: 1; }
@media (min-width: 700px) {
  .shop-card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 18px; gap: 10px; }
  .shop-card .shop-logo { grid-row: auto; width: 100%; height: 92px; }
  .shop-card .sc-meta { grid-column: auto; }
}
.shop-logo { position: relative; display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.shop-logo img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.shop-logo .mono { font: 800 1.125rem/1 var(--font-display); color: var(--navy); letter-spacing: -0.02em; text-align: center; padding: 4px; }
.shop-grid > li[hidden] { display: none; }
.empty { padding: 48px 0; text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.empty[hidden] { display: none; }
.more-row { display: flex; justify-content: center; padding: 28px 0 8px; }
.more-row[hidden] { display: none; }

/* ------------------------------------------------------------------ shop page */
.shop-hero { display: grid; gap: 24px; padding-bottom: clamp(32px, 2rem + 2vw, 64px); }
@media (min-width: 1000px) { .shop-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.shop-hero .shop-logo { width: 168px; height: 84px; }
.info-card { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 8px 20px 20px; display: grid; }
@media (min-width: 1000px) { .info-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.info-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; overflow-wrap: anywhere; }
.info-row .i { color: var(--navy); margin-top: 1px; }
.info-row dt { font-size: .875rem; color: var(--muted); }
.info-row dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.info-row dd a { font-weight: 600; }
.info-card dl { margin: 0; }
.info-card .btn-col { display: grid; gap: 8px; margin-top: 16px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 520px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--land); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom { position: relative; display: block; height: 100%; cursor: zoom-in; }
.gallery-zoom img { transition: transform .6s var(--ease-out); }
.gallery-zoom:hover img { transform: scale(1.03); }
.gallery-zoom:focus-visible { outline-offset: -4px; border-radius: var(--r); }
.zoom-mark { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--navy); box-shadow: var(--shadow-s); transition: background-color .2s, color .2s; }
.gallery-zoom:hover .zoom-mark { background: var(--navy); color: #fff; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gallery-tools { display: flex; align-items: center; gap: 16px; }
.gallery-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }

/* лайтбокс: тёмное поле тонировано фирменным синим, фото целиком; стрелки на телефоне под кадром, на широких экранах по бокам */
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border: 0; background: rgb(14 16 38 / .95); color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; gap: 10px; grid-template: "count close" auto "stage stage" minmax(0, 1fr) "prev next" auto "cap cap" auto / 1fr 1fr; animation: lb-in .24s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lb-count { grid-area: count; align-self: center; font-weight: 600; color: rgb(255 255 255 / .82); }
.lb-stage { grid-area: stage; min-width: 0; min-height: 0; display: grid; place-items: center; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; cursor: grab; }
.lb-stage.is-dragging { cursor: grabbing; }
.lb-img { width: min(100%, 1288px, calc((100svh - 212px) * var(--ar, 1.33))); height: auto; aspect-ratio: var(--ar, 1.33); border-radius: 12px; background: #1d2048; transform: translate3d(var(--dx, 0), 0, 0); pointer-events: none; }
.lb-img.is-moving { transition: transform .28s var(--ease-out), opacity .28s var(--ease-out); }
.lb-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); color: #fff; }
.lb-btn:hover { background: rgb(255 255 255 / .24); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-close { grid-area: close; justify-self: end; }
.lb-prev { grid-area: prev; justify-self: end; }
.lb-next { grid-area: next; }
.lb-cap { grid-area: cap; text-align: center; font-size: .9375rem; color: rgb(255 255 255 / .82); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-count { display: none; }
@media (min-width: 700px) {
  .lightbox[open] { grid-template: "count close" auto "stage stage" minmax(0, 1fr) "cap cap" auto / 1fr 1fr; }
  .lb-stage { padding-inline: 64px; }
  .lb-img { width: min(100%, 1288px, calc((100svh - 156px) * var(--ar, 1.33))); }
  .lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; }
  .lb-prev { left: var(--gutter); }
  .lb-next { right: var(--gutter); }
}

/* ------------------------------------------------------------------ news */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { position: relative; display: grid; gap: 10px; align-content: start; }
.news-card figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--land); }
.news-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.news-card:hover figure img { transform: scale(1.03); }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: .875rem; align-items: center; }

.article { display: grid; gap: 28px; }
@media (min-width: 1000px) { .article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.article figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--land); }
.article-aside { display: grid; gap: 14px; align-content: start; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ------------------------------------------------------------------ business pages */
.split { display: grid; gap: 28px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .split--wide-left { grid-template-columns: 7fr 5fr; } }
.photo { margin: 0; border-radius: 22px; overflow: hidden; background: var(--land); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgb(255 255 255 / .9); color: var(--ink); font-size: .8125rem; padding: 5px 10px; border-radius: 8px; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts b { font: 800 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1 var(--font-display); color: var(--navy); letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.bars { display: grid; gap: 18px; }
.bar { display: grid; gap: 8px; }
.bar-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.bar-top b { font: 800 1.5rem/1 var(--font-display); color: var(--navy); font-variant-numeric: tabular-nums; }
.bar-track { height: 12px; border-radius: 12px; background: var(--land); overflow: hidden; }
.bar-track span { display: block; height: 100%; width: var(--v); background: var(--navy); border-radius: 12px; transform-origin: left; }
.js .bar-track span { transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.js .bars.is-in .bar-track span { transform: scaleX(1); }
.bar:nth-child(2) .bar-track span { transition-delay: .1s; } .bar:nth-child(3) .bar-track span { transition-delay: .2s; } .bar:nth-child(4) .bar-track span { transition-delay: .3s; }

.paths { display: grid; gap: 16px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-s); transition: box-shadow .25s; }
.path-card:hover { box-shadow: var(--shadow); }
.path-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--land); }
.path-card figure img { width: 100%; height: 100%; object-fit: cover; }
.path-card .pc-body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.path-card h3 a { color: var(--navy); text-decoration: none; }
.path-card h3 a::after { content: ""; position: absolute; inset: 0; }
.path-card .pc-foot { padding: 0 20px 20px; display: flex; gap: 8px; flex-wrap: wrap; }

.formats { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; }
@media (min-width: 700px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { display: grid; gap: 10px; align-content: start; }
.format figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--land); }
.format figure img { width: 100%; height: 100%; object-fit: cover; }
.format .badge { justify-self: start; }

.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--muted); padding-right: 24px; width: 55%; }
.spec td { font-weight: 700; color: var(--navy); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-pill); padding: 8px 14px; font-size: .9375rem; color: var(--ink); }

.person { display: grid; gap: 6px; padding: 20px; border-radius: var(--r); background: var(--land); }
.person strong { font: 700 1.125rem/1.2 var(--font-display); color: var(--navy); }

/* ------------------------------------------------------------------ forms */
.form-wrap { display: grid; gap: 28px; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 18px; background: var(--surface); border-radius: 22px; padding: clamp(20px, 1rem + 2vw, 36px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field > label, .field legend { font-weight: 600; color: var(--navy); font-size: .9688rem; padding: 0; }
.field .hint { font-size: .875rem; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--ground);
  font-size: 1.0625rem; color: var(--ink); appearance: none;
}
textarea.input { min-height: 112px; resize: vertical; }
.input::placeholder { color: #6b7290; }
.input:hover { border-color: #aab3a0; }
.input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgb(40 48 112 / .12); }
.field.is-invalid .input { border-color: #c62828; background: #fff7f7; }
.field .error { color: #b3261e; font-size: .9375rem; font-weight: 500; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--ground); font-weight: 600; font-size: .9688rem; color: var(--ink);
}
.choice input:checked + span { border-color: var(--navy); background: #eef0fa; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { font-size: .875rem; color: var(--muted); line-height: 1.45; }
/* согласие на обработку ПДн: обязательный чекбокс, по умолчанию пустой */
.check, .field > .check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; cursor: pointer; font-size: .9375rem; font-weight: 400; line-height: 1.5; color: var(--ink); }
.check input {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--ground); display: grid; place-content: center;
  transition: background-color .15s, border-color .15s;
}
.check input::after {
  content: ""; width: 13px; height: 7px; margin-top: -2px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .18s var(--ease-out);
}
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:hover { border-color: var(--navy); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.field.is-invalid .check input { border-color: #c62828; background: #fff7f7; }
.field--consent { gap: 6px; }
.form-error { margin: 0; color: #b3261e; font-size: .9375rem; font-weight: 500; }
.form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.form-success[hidden] { display: none; }
.form-success .i { width: 44px; height: 44px; color: var(--green); }
.form.is-sending .btn[type="submit"] { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--land); margin-top: clamp(40px, 3rem + 3vw, 96px); position: relative; overflow: hidden; }
.foot-top { display: grid; gap: 36px; padding-block: 48px 32px; }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 5fr 7fr; gap: 64px; padding-block: 72px 40px; } }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { width: 168px; }
.foot-slogan { font: 900 clamp(2.5rem, 1.6rem + 3.4vw, 4rem)/.95 var(--font-display); color: var(--navy); letter-spacing: -0.04em; }
.foot-slogan .slant { font-variation-settings: "slnt" -12; font-style: oblique 12deg; }
.foot-cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 6px; font-weight: 700; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-cols a:hover { color: var(--blue); text-decoration: underline; }
.foot-contacts { display: grid; gap: 10px; }
.foot-contacts .btn { justify-content: flex-start; }
.foot-contacts address { font-style: normal; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-block: 20px 28px; color: var(--muted); font-size: .9375rem;
  background: linear-gradient(var(--line-2), var(--line-2)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.foot-bottom a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.foot-req { margin: 0; line-height: 1.55; max-width: 62ch; }
.foot-req a { min-height: 0; text-decoration: underline; text-underline-offset: 2px; }
.foot-docs { list-style: none; margin: 0; padding: 0; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot-docs a { text-decoration: underline; text-underline-offset: 2px; }
.foot-docs a:hover { color: var(--navy); }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 12px; border-radius: 12px; background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 600; }
.social a:hover { background: #fff; box-shadow: var(--shadow-s); }
.social .i { color: #07f; }

/* ------------------------------------------------------------------ документы 152-ФЗ и баннер cookie */
.doc-title { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; max-width: 26em; text-wrap: balance; }
.doc-meta { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; max-width: 62ch; }
.prose.legal { max-width: 74ch; font-size: 1rem; line-height: 1.6; }
.prose.legal h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose.legal h3 { font-size: 1.0625rem; line-height: 1.35; margin-top: 1.6em; }
.prose.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose.legal li > ul { margin-top: .4em; }
.doc-more { margin-top: 48px; padding: 20px 24px; border-radius: var(--r); background: var(--land); max-width: 74ch; }
.doc-more h2 { font-size: 1.0625rem; margin-bottom: 8px; }
.doc-more ul { list-style: none; margin: 0; padding: 0; }
.doc-more a { display: flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 500; }

.cookie-banner {
  position: fixed; z-index: 46; left: 8px; right: 8px; bottom: calc(var(--bar-h) + 8px + env(safe-area-inset-bottom));
  display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-l); outline: 1px solid var(--line); max-height: 70svh; overflow-y: auto;
  font-size: .8125rem; line-height: 1.5;
  transform: translateY(calc(100% + 60px)); opacity: 0; transition: transform .42s var(--ease-out), opacity .25s;
}
.cookie-banner.is-in { transform: none; opacity: 1; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .btn { min-height: 48px; }
@media (min-width: 900px) {
  .cookie-banner { left: var(--gutter); right: auto; bottom: 16px; width: min(760px, calc(100% - var(--gutter) * 2)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 20px; font-size: .875rem; }
}
.shot .cookie-banner { display: none; }

/* ------------------------------------------------------------------ misc */
.notfound { min-height: 60svh; display: grid; align-content: center; gap: 22px; padding-block: 64px; }
.notfound .big { font: 900 clamp(5rem, 3rem + 10vw, 9rem)/.85 var(--font-display); color: var(--navy); letter-spacing: -0.05em; }
.toc { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; align-content: start; }
.toc a { display: flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.toc a:hover { color: var(--navy); }
.doc-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 24px; }
.steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 1.0625rem/1 var(--font-display); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 0; width: 4px; background: var(--line-2); border-radius: 4px; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; margin: 8px 0 4px; }

.shot *, .shot *::before, .shot *::after { animation: none !important; transition: none !important; }
.shot .scen-media.reveal-wait { clip-path: inset(0 0 0 0 round var(--r)) !important; }
.shot .bar-track span { transform: none !important; }
.shot [data-parallax] { --py: 0px !important; }

/* ------------------------------------------------------------------ вариант Б: акции на первом экране
   Карусель акций и событий арендаторов: текст в вёрстке, край следующего слайда виден,
   индикатор-сегменты заполняются во время автопрокрутки, пауза по наведению, фокусу и кнопке. */
.phero { padding-block: 16px 28px; }
.phero-grid { display: grid; gap: 16px; grid-template-areas: "intro" "slider" "today" "quick"; }
.phero-intro { grid-area: intro; padding-top: 8px; }
.phero-intro h1 { display: grid; gap: 6px; }
.ph-slogan { font: 900 clamp(2.5rem, 1.6rem + 3.4vw, 3.75rem)/.95 var(--font-display); letter-spacing: -0.035em; color: var(--navy); }
.ph-slogan .slant { font-variation-settings: "slnt" -12; font-style: oblique 12deg; }
.ph-sub { font: 600 1.0625rem/1.35 var(--font-text); color: var(--muted); letter-spacing: 0; }

.pslider { grid-area: slider; position: relative; min-width: 0; }
.pslides {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.pslides::-webkit-scrollbar { display: none; }
.pslides:focus-visible { outline-offset: -3px; }
.pslide {
  scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); min-width: 0;
}
.pslide-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--land); }
.pslide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pslide.is-active .pslide-media img { transform: scale(1.03); }
.pslide-body { padding: 18px 18px 22px; display: grid; gap: 10px; align-content: start; }
.pslide-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); font-size: .9375rem; }
.pslide-title { font: 850 clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem)/1.06 var(--font-display); letter-spacing: -0.03em; color: var(--navy); }
.ps-num { white-space: nowrap; font-weight: 900; }
.pslide-where { font-weight: 600; color: var(--ink); }
.pslide-text { color: var(--muted); max-width: 38em; }
.pslide .btn-row { margin-top: 6px; }
.pslide .promo-legal { margin-top: 4px; }

.pslider-ui { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.psegs { display: flex; gap: 6px; flex: 1; }
.pseg { flex: 1; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; cursor: pointer; }
.pseg span { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.pseg span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.pseg.is-done span::after { transform: scaleX(1); }
.pseg.is-active span::after { transform: scaleX(var(--fill, 1)); }
.pslider.is-playing .pseg.is-active span::after { animation: segfill var(--dur, 7s) linear forwards; }
.pslider.is-paused .pseg.is-active span::after { animation-play-state: paused; }
@keyframes segfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pcount { color: var(--muted); font-weight: 600; min-width: 3.2em; text-align: center; }
.pcount b { color: var(--navy); }
.pbtn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--navy); display: grid; place-items: center; }
.pbtn:hover { border-color: var(--navy); }
.pbtn .i { width: 20px; height: 20px; }
@media (max-width: 599px) { .pslider-ui [data-dir] { display: none; } }

.phero-today { grid-area: today; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-s); padding: 18px; display: grid; gap: 4px; align-content: start; }
.pt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; }
.pt-head h2 { font-size: 1.375rem; }
.pt-hours li { padding: 10px 0; }
.pt-hours li:first-child { border-top: 0; }
.pt-actions { display: grid; gap: 8px; margin-top: 10px; }
.pt-addr { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .9375rem; margin-top: 8px; }
.pt-addr .i { margin-top: 2px; color: var(--navy); }

.phero-quick { grid-area: quick; display: grid; gap: 8px; min-width: 0; }
.pq-label { font-weight: 700; color: var(--navy); }
.fchip--all { border-color: var(--navy); color: var(--navy); }

@media (min-width: 700px) {
  .pslides { grid-auto-columns: 100%; margin: 0; padding: 0; scroll-padding: 0; border-radius: 22px; }
  .pslide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: none; min-height: 440px; }
  .pslide-media { aspect-ratio: auto; order: 2; }
  .pslide-body { padding: clamp(24px, 1rem + 2vw, 44px); align-content: center; }
}
@media (min-width: 1000px) {
  .phero { padding-block: 20px 32px; }
  .phero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3.4fr); grid-template-rows: auto 1fr auto; column-gap: 24px; row-gap: 16px;
    grid-template-areas: "slider intro" "slider today" "quick quick"; }
  .phero-intro { padding-top: 0; }
  .ph-slogan { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.5rem); }
  .ph-sub { font-size: .9688rem; }
  .pslide { min-height: min(calc(100svh - var(--header-h) - 190px), 560px); }
  .phero-quick { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 4px; }
  .phero-quick .filters-row { margin: 0; padding: 0; }
}

.phero-today .pt-hours { grid-template-columns: 1fr !important; padding: 0; }
.phero-today .pt-hours li { grid-template-columns: 1fr auto !important; border-right: 0 !important; border-top: 1px solid var(--line); padding: 10px 0 !important; }
.phero-today .pt-hours .status { grid-column: 1 / -1 !important; }
.phero-quick .fchip { text-decoration: none; }
@media (max-width: 699px) { .pslide-text { display: none; } .pslide-media { aspect-ratio: 16 / 10; } .pslide-title { font-size: 1.625rem; } }
@media (min-width: 700px) { .pslide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
@media (min-width: 1000px) { .pslide-title { font-size: clamp(1.875rem, 1rem + 1.6vw, 2.625rem); } }

/* ------------------------------------------------------------------ v2: шапка и первый экран по референсу
   Служебная строка в фирменном тёмно-синем, белая шапка, лаймовая кнопка маршрута (лайм — цвет знака логотипа),
   белые карточки на светлом поле, мягкие тени, крупные скругления. */
body.v2 { background: #f4f6f2; }
.topbar { background: var(--navy); color: #fff; font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; gap: 4px 20px; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #fff; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; white-space: nowrap; }
.tb-item .i { opacity: .8; }
.topbar .status { color: #fff; font-weight: 500; }
.topbar .status::before { display: none; }
.topbar .status[data-state="open"] { color: #d8f0b6; }
.tb-links { display: none; margin-left: auto; }
.tb-links a { color: #fff; text-decoration: none; padding: 0 12px; min-height: 40px; display: inline-flex; align-items: center; border-left: 1px solid rgb(255 255 255 / .25); }
.tb-links a:first-child { border-left: 0; }
.tb-links a:hover, .tb-phone:hover { text-decoration: underline; }
.tb-phone { margin-left: auto; }
.tb-search { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; border-radius: 8px; }
.tb-search:hover { background: rgb(255 255 255 / .12); }
.tb-addr { display: none; }
@media (min-width: 700px) { .tb-addr { display: inline-flex; } }
@media (min-width: 1100px) { .tb-links { display: flex; } .tb-phone { margin-left: 0; } }
.site-header--v2 { background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); }
.site-header--v2.is-scrolled { background: #fff; }
.btn--lime { background: var(--lime); color: var(--navy); border-radius: var(--r-pill); font-weight: 700; }
.btn--lime:hover { background: #a2d64f; }
.header-cta { min-height: 44px; padding: 0 18px; }
@media (max-width: 420px) { .header-cta { padding: 0 14px; font-size: .9375rem; } .header-cta .i { display: none; } }
.btn--white { background: #fff; color: var(--navy); border-radius: var(--r-pill); }
.btn--white:hover { background: #eef0fa; }
.btn--glass { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .4); border-radius: var(--r-pill); }
.btn--glass:hover { background: rgb(255 255 255 / .22); }

.v2-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 20px 8px; }
.v2-top > * { min-width: 0; }
.v2-block { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-s); min-width: 0; }
.v2-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.v2-head h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }

/* баннер акции: на телефоне кадр сверху и текст на тёмном поле, как в креативе 286×338; от 900 px кадр на весь блок */
.banner { --banner-bg: #0c0304; --sale: #dc0f26; position: relative; isolation: isolate; border-radius: 26px; overflow: hidden; background: var(--banner-bg); color: #fff; }
.banner-media { position: relative; z-index: -1; aspect-ratio: 1 / 1; margin-bottom: -96px; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 62%; background: var(--banner-bg); }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--banner-bg) 6%, rgb(12 3 4 / 0) 46%), linear-gradient(to bottom, rgb(12 3 4 / .72), rgb(12 3 4 / 0) 30%); }
.banner-body { padding: 0 20px 24px; display: grid; gap: 14px; max-width: 44rem; }
.banner-brand { position: absolute; top: 8px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: flex-start; gap: 12px 16px; flex-wrap: wrap; }
.banner-brand a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.banner-brand a:hover { text-decoration: underline; }
.banner-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 12px; background: #fff; }
.banner-chip img { display: block; height: 28px; width: auto; max-width: 150px; object-fit: contain; }
/* несколько акций с галкой «Баннер на главной»: лента со свайпом, стрелками на широких экранах и полоской прогресса */
.banner-slider { display: grid; gap: 10px; min-width: 0; }
.banner-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.banner-rail::-webkit-scrollbar { display: none; }
.banner-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.banner-ui { display: flex; align-items: center; gap: 16px; }
.banner-ui .rail-progress { flex: 1; margin-top: 0; }
.banner-tag { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .9375rem; color: rgb(255 255 255 / .86); }
.banner-title { display: grid; gap: 8px; color: #fff; font: 850 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.04 var(--font-display); letter-spacing: -0.035em; }
.bt-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.bt-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: clamp(3.75rem, 1.9rem + 7.6vw, 7.25rem); line-height: .95; letter-spacing: -0.04em; }
.bt-num small { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .24em; font-weight: 750; letter-spacing: 0; line-height: 1; }
.bt-on { padding: 8px 14px 9px; border-radius: 14px; background: var(--sale); font-size: clamp(1.125rem, .95rem + .8vw, 1.625rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }
.banner-text { font-size: 1.0625rem; color: rgb(255 255 255 / .9); max-width: 32em; }
.banner-legal { font-size: .8125rem; color: rgb(255 255 255 / .72); overflow-wrap: anywhere; }
@media (min-width: 560px) and (max-width: 899px) { .banner-media { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) {
  .banner { display: grid; align-items: center; min-height: min(calc(100svh - var(--header-h) - 200px), 620px); }
  .banner-media { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; }
  .banner-media img { object-position: 100% 62%; }
  .banner-media::after { background: linear-gradient(to right, rgb(12 3 4 / .86) 0%, rgb(12 3 4 / .62) 42%, rgb(12 3 4 / 0) 68%); }
  .banner-body { padding: clamp(28px, 1.5rem + 1.6vw, 48px) clamp(32px, 2rem + 2vw, 64px); }
  .banner-brand { position: static; margin-bottom: 6px; }
  .banner-chip img { height: 32px; }
}

/* карточки-ярлыки */
.shortcuts { display: grid; gap: 12px; }
@media (min-width: 800px) { .shortcuts { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.shortcut { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); color: var(--ink); text-decoration: none; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.shortcut:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #eef0fa; color: var(--navy); }
.sc-ico.is-lime { background: var(--lime); color: var(--navy); }
.sc-txt { display: grid; gap: 2px; }
.sc-txt b { font: 750 1.1875rem/1.2 var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.sc-txt span { font-size: .9375rem; color: var(--muted); line-height: 1.35; }
.sc-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef0fa; color: var(--navy); flex: none; transition: background-color .2s, color .2s; }
a:hover .sc-go { background: var(--navy); color: #fff; }

/* популярные категории */
.cat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 42%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-row li { scroll-snap-align: start; }
@media (min-width: 900px) { .cat-row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.cat-tile { display: grid; gap: 10px; color: var(--navy); text-decoration: none; }
.cat-media { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--land); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-tile:hover .cat-media img { transform: scale(1.05); }
.cat-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 28px; font-weight: 600; font-size: .9688rem; }
.cat-tile:hover .cat-name { color: var(--blue); }

/* 02: без баннера — заголовок, поиск, предложения */
.sfirst { background: #fff; border-radius: 26px; padding: clamp(22px, 1rem + 3vw, 56px); box-shadow: var(--shadow-s); display: grid; gap: 20px; }
.sfirst { grid-template-columns: minmax(0, 1fr); }
.sfirst > * { min-width: 0; }
.sf-search input { width: 100%; }
@media (max-width: 420px) { .sf-search { padding-left: 14px; } .sf-search .btn { padding: 0 18px; } }
.sfirst-head { display: grid; gap: 14px; }
@media (min-width: 1000px) { .sfirst-head { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 40px; } .sf-lead { border-left: 2px solid var(--line); padding-left: 24px; } }
.sf-title { display: block; font: 900 clamp(2.75rem, 1.6rem + 5vw, 5.5rem)/.98 var(--font-display); letter-spacing: -0.04em; color: var(--navy); }
.sf-accent { color: var(--green); font-variation-settings: "slnt" -12; font-style: oblique 12deg; }
.sf-lead { color: var(--muted); font-size: 1.0625rem; max-width: 30em; }
.sf-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line-2); box-shadow: var(--shadow-s); }
.sf-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgb(40 48 112 / .12); }
.sf-search > .i { color: var(--muted); flex: none; }
.sf-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; min-height: 48px; font-size: 1.0625rem; color: var(--ink); }
.sf-search input::placeholder { color: #6b7290; }
.sf-search .btn { border-radius: var(--r-pill); min-height: 48px; padding: 0 26px; }
.sf-search .suggest { top: calc(100% + 8px); }
.sf-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.ex-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: #eef0fa; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .875rem; }
.ex-chip:hover { background: var(--navy); color: #fff; }
@media (max-width: 599px) { .ex-chip { min-height: 44px; } }

.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 78%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.offers::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .offers { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }
@media (min-width: 1100px) { .offers { grid-template-columns: repeat(4, 1fr); } }
.offer { scroll-snap-align: start; }
.offer a { display: grid; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.offer a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--land); overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-tag { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: var(--r-pill); background: #fff; color: var(--navy); font: 700 .8125rem/1.2 var(--font-text); box-shadow: var(--shadow-s); }
.offer-tag.is-now { background: var(--yellow); color: var(--ink); }
.offer-body { position: relative; display: grid; gap: 6px; padding: 16px 64px 18px 18px; }
.offer-body b { font: 750 1.0625rem/1.25 var(--font-display); color: var(--navy); }
.offer-body b .ps-num { font-weight: 900; }
.offer-shop { font-size: .875rem; color: var(--muted); }
.offer-body .sc-go { position: absolute; right: 14px; bottom: 14px; }

/* parallax helper */
[data-parallax]:not(img) { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-parallax] { transform: none !important; }
  .cookie-banner { transition: none; }
  .js .scen-media.reveal-wait { clip-path: inset(0 0 0 0 round var(--r)); }
  .js .bar-track span { transform: none; }
}

@media print {
  .site-header, .action-bar, .site-footer, .menu, .filters, .cookie-banner { display: none !important; }
  body { padding: 0; background: #fff; }
}
