/* вечорки: one stylesheet for the public site.
   Tokens come from the design book (kit.py T / DARK, v28). Light is the default; the «Вечер» theme
   follows the system and can be switched with the floor lamp in the header (data-theme on <html>). */

:root {
  --orange: #f45d33;       /* brand: fills, display type, pencil */
  --orange-deep: #c93f18;  /* orange text under 24px */
  --orange-soft: #fde6dc;  /* quiet orange ground */
  --cream: #fffbf8;        /* page */
  --paper: #f5efe9;        /* photo wells, sunken */
  --line: #e7e0d9;         /* quiet rules */
  --rule: #808080;         /* control borders, card top rule */
  --ink: #2a2a28;          /* text */
  --graphite: #4b4b48;     /* secondary text */
  --grey: #808080;
  --on-orange: #fffbf8;
  --map-water: #dfe7ea;
  --map-park: #eaecd9;
  --col: 1312px;
  --gut: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --orange-deep: #ff8a60; --orange-soft: #3a241c; --cream: #1d1a18; --paper: #29241f; --line: #39322c;
    --rule: #7a736c; --ink: #f4ece4; --graphite: #bdb3a9; --grey: #8a837c; --on-orange: #fffbf8;
    --map-water: #232a2d; --map-park: #232820; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --orange-deep: #ff8a60; --orange-soft: #3a241c; --cream: #1d1a18; --paper: #29241f; --line: #39322c;
  --rule: #7a736c; --ink: #f4ece4; --graphite: #bdb3a9; --grey: #8a837c; --on-orange: #fffbf8;
  --map-water: #232a2d; --map-park: #232820; color-scheme: dark;
}

@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 834px) { :root { --gut: 32px; } }
@media (min-width: 1280px) { :root { --gut: 64px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/24px 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-deep); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main { flex: 1; }
.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; color: #fff; }

/* the theme art: drawings with a filled ground have a copy for the dark theme */
.art-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .art-light { display: none; } :root:not([data-theme="light"]) .art-dark { display: block; } }
:root[data-theme="dark"] .art-light { display: none; }
:root[data-theme="dark"] .art-dark { display: block; }

/* ---------------------------------------------------------------- type */
.d1 { font: 400 clamp(36px, 7.4vw, 96px)/1.04 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); letter-spacing: -0.01em; }
.d2 { font: 400 clamp(32px, 5vw, 64px)/1.06 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.d3 { font: 400 clamp(28px, 3.4vw, 40px)/1.1 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.d4 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.t1 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; }
.t2 { font-size: 22px; line-height: 28px; }
.t4 { font-size: 13px; line-height: 18px; }
.soft { color: var(--graphite); }
.s { font-weight: 600; }
.hand { font: 400 26px/1 'Marck Script', 'Caveat', cursive; color: var(--orange); transform: rotate(-5deg); display: inline-block; white-space: nowrap; }

/* ---------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 600 17px/1 'Nunito Sans', sans-serif;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-fill { background: var(--orange); color: #fff; }
.btn-fill:hover { background: #e84f25; color: #fff; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--cream); transform: translateY(-1px); }
.btn-grey { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-grey:hover { color: var(--ink); border-color: var(--ink); }
.btn-l { height: 56px; padding: 0 28px; font-size: 19px; }
.btn-s { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-s svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }

button.chip { font: inherit; font-weight: 600; cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 10px; border-radius: 999px; border: 1.5px solid var(--rule); color: var(--ink);
  text-decoration: none; font-weight: 600; white-space: nowrap; background: var(--cream); }
.chip img { width: 30px; height: 30px; }
.chip:hover { border-color: var(--orange); color: var(--ink); }
.chip[aria-current="page"], .chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip[aria-current="page"] img, .chip.on img { filter: brightness(0) invert(1); }
.chip .n { font-weight: 400; opacity: .75; font-size: 14px; }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--orange); color: var(--orange-deep); font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--cream); }
.badge-soft { border-color: transparent; background: var(--orange-soft); }

.ico { width: 20px; height: 20px; display: inline-block; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .ico { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- header */
.top { padding-top: 20px; position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 24px; }
.logo { color: var(--orange); display: inline-flex; flex-shrink: 0; text-decoration: none; }
.logo svg { height: 28px; width: auto; }
.logo:hover { color: var(--orange); }
.logo-sub { font-weight: 600; color: var(--graphite); font-size: 15px; margin-left: -12px; white-space: nowrap; }
.nav { display: flex; gap: 24px; margin: 0 auto; }
.nav a { color: var(--graphite); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search { position: relative; display: flex; align-items: center; }
.search input { height: 44px; width: 240px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--cream); color: var(--ink); font: inherit; font-size: 15px; padding: 0 16px 0 42px; }
.search input::placeholder { color: var(--graphite); }
.search input:focus { outline: none; border-color: var(--orange); }
.search .ico { position: absolute; left: 14px; color: var(--graphite); pointer-events: none; }
.lamp { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink); }
.lamp img { width: 30px; height: 30px; }
.lamp:hover { border-color: var(--orange); }
.lamp .on { display: none; }
:root[data-theme="dark"] .lamp .on { display: block; }
:root[data-theme="dark"] .lamp .off { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lamp .on { display: block; } :root:not([data-theme="light"]) .lamp .off { display: none; } }
.menu-btn { display: none; }

@media (max-width: 1099px) {
  .search input { width: 180px; }
  .nav { gap: 16px; }
}
@media (max-width: 599px) {
  .top .wrap { gap: 10px; }
  .top .btn-s { padding: 0 14px; }
  .logo svg { height: 24px; }
}
@media (max-width: 899px) {
  .top .wrap { flex-wrap: wrap; row-gap: 12px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .search input { width: 44px; padding: 0; color: transparent; cursor: pointer; }
  .search input:focus { width: min(62vw, 260px); padding: 0 16px 0 42px; color: var(--ink); cursor: text; }
  .search input::placeholder { color: transparent; }
  .search input:focus::placeholder { color: var(--graphite); }
  .logo-sub { display: none; }
}

/* ---------------------------------------------------------------- section heads */
.sec { padding: 64px 0 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head p { margin-top: 4px; }
@media (max-width: 599px) { .sec { padding-top: 48px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--graphite); padding-top: 24px; }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------------------------------------------------------------- pencil lines between sections */
.pencil-line { display: block; width: 100%; height: auto; pointer-events: none; margin: 40px 0 -8px; }
.pencil-line.flip { transform: scaleX(-1); }
.doodle { position: absolute; pointer-events: none; }
@media (max-width: 833px) { .doodle.hide-s { display: none; } }

/* ---------------------------------------------------------------- home hero */
.hero { padding-top: 48px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 32px; }
.hero h1 { position: relative; }
.under { position: relative; display: inline-block; }
.nowrap { white-space: nowrap; }
.under svg { position: absolute; left: -2%; right: -2%; width: 104%; bottom: -0.26em; height: .26em; overflow: visible; }
.under path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.surprise { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; position: relative; padding-top: 44px; }
.surprise .hand { position: absolute; top: 0; right: 150px; }
.surprise .btn img { width: 26px; height: 26px; }
.lead { font-size: 20px; line-height: 30px; color: var(--graphite); max-width: 40ch; }
.hero .lead { grid-column: 1 / -1; }
@media (max-width: 833px) {
  .hero { grid-template-columns: 1fr; }
  .surprise { align-items: flex-start; padding-top: 32px; }
  .surprise .hand { left: 150px; right: auto; }
}

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 24px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- place cards */
.grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; position: relative; }
.card:hover { color: var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.card-top .ico { color: var(--graphite); transition: transform .2s ease, color .2s ease; }
.card:hover .card-top .ico { transform: translateX(4px); color: var(--orange); }
.well { position: relative; border-radius: 16px; background: var(--paper); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.well img { width: 44%; height: auto; transition: transform .35s ease; }
.card:hover .well img { transform: rotate(-4deg) scale(1.04); }
.well .t4 { position: absolute; left: 12px; bottom: 10px; color: var(--graphite); }
.card h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.card .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; line-height: 18px; color: var(--graphite); }
.card .dist { color: var(--orange-deep); font-weight: 600; }

/* compact list rows (sitemap, search) */
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 32px; }
.rows a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rows a:hover { color: var(--orange-deep); }
.rows a span:last-child { color: var(--graphite); font-size: 13px; white-space: nowrap; }

/* ---------------------------------------------------------------- trust band */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust li { border: 1.5px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.trust img { width: 56px; height: 56px; }
.trust h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.trust p { color: var(--graphite); }
.num { font: 400 40px/1 'Dela Gothic One', sans-serif; color: var(--orange); }
@media (max-width: 833px) { .trust { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- map */
.map { position: relative; width: 100%; border-radius: 28px; overflow: hidden; background: var(--paper); border: 1.5px solid var(--line); }
.map-home { height: 460px; }
.map-full { height: calc(100vh - 220px); min-height: 480px; }
.map-mini { height: 240px; border-radius: 20px; }
.map .maplibregl-canvas { outline: none; }
.map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--graphite); font-size: 15px; padding: 24px; text-align: center; }
.maplibregl-popup-content { background: var(--cream); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: 0 8px 28px rgba(0,0,0,.14); font: inherit; font-size: 15px; line-height: 20px; }
.maplibregl-popup-content a { font-weight: 600; text-decoration: none; }
.maplibregl-popup-tip { border-top-color: var(--cream) !important; border-bottom-color: var(--cream) !important; }
.maplibregl-popup-close-button { font-size: 18px; color: var(--graphite); right: 4px; top: 2px; }
.maplibregl-ctrl-attrib { font-size: 11px; background: rgba(255,251,248,.85) !important; }
:root[data-theme="dark"] .maplibregl-ctrl-attrib { background: rgba(29,26,24,.85) !important; }
.maplibregl-ctrl-attrib a { color: var(--graphite) !important; }
.maplibregl-ctrl-group { border-radius: 14px !important; overflow: hidden; }
.map-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------------------------------------------------------------- place page */
.place-head { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.place-head .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.place-head .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; color: var(--graphite); }
.place-head .facts span { display: inline-flex; align-items: center; gap: 6px; }
.place-head .actions { display: flex; gap: 8px; padding-top: 8px; }
.place-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; margin-top: 32px; align-items: start; }
.photo-well { border-radius: 28px; background: var(--paper); min-height: 340px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.photo-well > div { border-radius: 18px; background: var(--cream); opacity: .55; }
.photo-well > div:first-child { grid-row: span 2; }
.photo-note { position: relative; display: flex; gap: 24px; align-items: center; margin-top: -120px; margin-left: 24px; margin-right: 24px; padding: 20px 24px; background: var(--cream); border-radius: 22px; border: 1.5px solid var(--line); }
.photo-note img { width: 88px; height: 88px; flex-shrink: 0; }
.panel { border: 1.5px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--cream); }
.panel h2 { font: 400 24px/28px 'Dela Gothic One', sans-serif; color: var(--orange); }
.panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.panel dt { color: var(--graphite); }
.panel dd { margin: 0; overflow-wrap: anywhere; }
.panel .btn { width: 100%; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.claim { background: var(--orange-soft); border-color: transparent; position: relative; overflow: hidden; }
.claim { padding-right: 120px; }
.claim .char { position: absolute; right: 12px; bottom: -4px; width: 96px; }
.claim p { max-width: 26ch; }
.claim .btn { width: auto; align-self: flex-start; }
.source-note { font-size: 13px; line-height: 18px; color: var(--graphite); border-top: 1px dashed var(--rule); padding-top: 12px; }
@media (max-width: 1023px) { .place-body { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .place-head { grid-template-columns: 1fr; }
  .photo-well { min-height: 220px; }
  .photo-note { margin: -80px 12px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .photo-note img { width: 64px; height: 64px; }
}

/* ---------------------------------------------------------------- business landing */
.biz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-top: 48px; }
.biz-hero .art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; min-height: 360px; }
.biz-hero .art .front { width: min(360px, 60%); }
.biz-hero .art .chef { width: min(180px, 30%); margin-left: -24px; }
.biz-hero .art .hand { position: absolute; top: 8px; right: 12%; }
.biz-hero h1 { font-size: clamp(40px, 5.6vw, 84px); }
.biz-hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.how li { display: flex; flex-direction: column; gap: 6px; }
.how .step { display: flex; align-items: center; gap: 14px; }
.how img { width: 44px; height: 44px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.perk { border: 1.5px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.perk .pic { width: 56px; height: 56px; border-radius: 999px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; }
.perk .pic img { width: 36px; height: 36px; }
.perk h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.perk p { color: var(--graphite); }
.show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.show-card { position: relative; border: 1.5px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.show-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; padding-right: 150px; }
.show-card > p { color: var(--graphite); }
.show-card .hand { position: absolute; right: 20px; top: 22px; font-size: 22px; }
.piece { border-radius: 22px; background: var(--paper); padding: 14px; }
.tg { background: var(--cream); border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; }
.tg .av { width: 32px; height: 32px; border-radius: 10px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font: 400 16px 'Dela Gothic One'; flex-shrink: 0; }
.tg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tg-btns span { height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--cream); }
.tg-btns span.ok { background: var(--orange); color: #fff; }
.stop-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 14px; }
.stop-row + .stop-row { margin-top: 6px; }
.stop-row.off { background: var(--orange-soft); }
.tog { width: 36px; height: 20px; border-radius: 999px; background: var(--grey); position: relative; flex-shrink: 0; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 999px; background: #fff; }
.tog.on { background: var(--orange); }
.tog.on::after { left: 19px; }
.stop-row small { color: var(--graphite); margin-left: auto; margin-right: 10px; font-size: 12px; }
.rev { background: var(--cream); border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 20px; }
.rev .reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--orange-soft); }
.rev .reply b { display: block; color: var(--orange-deep); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; margin-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--graphite); }
.bars i { display: block; width: 100%; max-width: 22px; border-radius: 6px; background: var(--orange-soft); }
.bars div.top i { background: var(--orange); }
.kpis { display: flex; gap: 24px; }
.kpis b { display: block; font: 400 24px/1 'Dela Gothic One'; color: var(--orange); }
.kpis span { font-size: 12px; color: var(--graphite); }
.tariffs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tariff { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 28px; border: 1.5px solid var(--line); background: var(--cream); }
.tariff.hot { border-color: var(--orange); background: var(--orange-soft); }
.tariff-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tariff-top b { font-size: 22px; line-height: 28px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .v { font: 400 clamp(40px, 4vw, 64px)/1 'Dela Gothic One', sans-serif; color: var(--orange); }
.price .pre { font-size: 22px; font-weight: 600; color: var(--orange); }
.price .per { font-size: 13px; color: var(--graphite); }
.promo { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--orange-deep); padding: 2px 10px; border-radius: 999px; background: var(--orange-soft); }
.tariff.hot .promo { background: var(--cream); }
.ticks { display: flex; flex-direction: column; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 21px; }
.ticks img { width: 18px; height: 15px; margin-top: 3px; flex-shrink: 0; }
.notes { border-top: 1px dashed var(--rule); padding-top: 10px; font-size: 12px; line-height: 16px; color: var(--graphite); display: flex; flex-direction: column; gap: 2px; }
.tariff .btn { margin-top: auto; width: 100%; }
@media (max-width: 1199px) { .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tariffs { grid-template-columns: 1fr; } }
.audit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; border-radius: 28px; background: var(--orange-soft); padding: 40px; }
.audit .btn { width: 100%; }
.rules { display: flex; gap: 20px; align-items: center; padding: 24px 0; }
.rules img { width: 72px; flex-shrink: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 9px; height: 9px; border-right: 1.75px solid var(--graphite); border-bottom: 1.75px solid var(--graphite); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 0 18px; color: var(--graphite); max-width: 62ch; }
.faq-art { position: relative; display: flex; justify-content: center; }
.faq-art img.char { width: min(220px, 70%); }
.faq-art .hand { position: absolute; top: -8px; left: 8%; }
@media (max-width: 1023px) {
  .biz-hero, .audit, .faq-wrap { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show { grid-template-columns: 1fr; }
  .faq-art { display: none; }
}
@media (max-width: 599px) {
  .perks, .how { grid-template-columns: 1fr; }
  .biz-hero .art { min-height: 240px; }
  .audit { padding: 24px; }
  .show-card h3 { padding-right: 0; }
  .show-card .hand { position: static; transform: rotate(-4deg); align-self: flex-start; }
}

/* ---------------------------------------------------------------- contact */
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 48px; }
.contact-hero .art { position: relative; width: 240px; }
.contact-hero .art .hand { position: absolute; top: -10px; left: -140px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.way { border: 1.5px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.way img { width: 48px; height: 48px; }
.way h2 { font-size: 22px; line-height: 28px; font-weight: 600; }
.way p { color: var(--graphite); flex: 1; }
.way .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 833px) { .contact-hero { grid-template-columns: 1fr; } .contact-hero .art { width: 180px; margin-left: auto; } }

/* ---------------------------------------------------------------- prose pages */
.prose { max-width: 72ch; }
.prose h2 { font: 400 clamp(24px, 3vw, 32px)/1.15 'Dela Gothic One', sans-serif; color: var(--orange); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.prose li { padding-left: 26px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 13px; background: url(/static/art/ui/tick.svg) no-repeat center / contain; }

/* ---------------------------------------------------------------- pager */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------------------------------------------------------------- empty states */
.empty { border-radius: 28px; background: var(--paper); padding: 40px; display: flex; gap: 24px; align-items: center; }
.empty img { width: 120px; flex-shrink: 0; }
@media (max-width: 599px) { .empty { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 96px; background: var(--orange); color: var(--on-orange); }
.foot .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr) 440px; gap: 40px; padding-top: 32px; padding-bottom: 32px; align-items: start; }
.foot .brand { display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.foot .brand .logo { color: var(--on-orange); }
.foot .brand .logo svg { height: 34px; }
.foot .brand .copy { margin-top: auto; opacity: .75; font-size: 13px; }
.foot .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot .cols h2 { font-size: 17px; font-weight: 600; opacity: .8; margin-bottom: 8px; }
.foot .cols a { display: block; color: var(--on-orange); text-decoration: none; font-size: 14px; line-height: 20px; padding: 3px 0; }
.foot .cols a:hover { text-decoration: underline; }
.foot .cta { background: #fffbf8; color: #2a2a28; border-radius: 24px; padding: 24px 12px 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; min-height: 180px; }
:root[data-theme="dark"] .foot .cta { background: #1d1a18; color: #f4ece4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot .cta { background: #1d1a18; color: #f4ece4; } }
.foot .cta > div:first-child { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; }
.foot .cta b { font: 400 24px/28px 'Dela Gothic One', sans-serif; color: var(--orange); }
.foot .cta p { font-size: 13px; line-height: 18px; opacity: .85; }
.foot .cta .btn { align-self: flex-start; margin-top: auto; }
.foot .cta .char { align-self: end; }
.foot .fine { border-top: 1px solid rgba(255,251,248,.35); }
.foot .fine .wrap { display: block; padding-top: 14px; padding-bottom: 18px; font-size: 12px; line-height: 17px; opacity: .85; }
.foot .fine a { color: var(--on-orange); }
@media (max-width: 1199px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .cta { grid-column: 1 / -1; max-width: 520px; } .foot .brand { min-height: 0; } }
@media (max-width: 599px) { .foot .wrap { grid-template-columns: 1fr; } .foot .cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------------------------------------------------------------- small utilities (no inline styles: CSP) */
.hero.tight { padding-top: 24px; }
.sec.tight { padding-top: 32px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.bars .h14 { height: 14px; } .bars .h18 { height: 18px; } .bars .h22 { height: 22px; } .bars .h30 { height: 30px; }
.bars .h34 { height: 34px; } .bars .h46 { height: 46px; } .bars .h64 { height: 64px; }

/* map controls in the «Вечер» theme */
:root[data-theme="dark"] .maplibregl-ctrl-group { background: #29241f; }
:root[data-theme="dark"] .maplibregl-ctrl-group button + button { border-top-color: #39322c; }
:root[data-theme="dark"] .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .maplibregl-ctrl-group { background: #29241f; }
  :root:not([data-theme="light"]) .maplibregl-ctrl-group button + button { border-top-color: #39322c; }
  :root:not([data-theme="light"]) .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
}

/* ---------------------------------------------------------------- round 2 (29.09 evening, owner's notes) */

/* «Рядом» pill in the header */
.near-pill { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 12px; border-radius: 999px; border: 1.5px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.near-pill .ico { color: var(--orange); }
.near-pill:hover { border-color: var(--orange); color: var(--ink); }
@media (max-width: 899px) { .near-pill { width: 44px; padding: 0; justify-content: center; } .near-pill span { display: none; } }

/* «Удиви меня»: the pencil arrow from the note to the button, and the dice that rolls */
.surprise { padding-top: 72px; }
.surprise .hand { top: 4px; right: 170px; }
.surprise-arrow { position: absolute; top: 28px; right: 118px; width: 60px; height: auto; pointer-events: none; }
.dice { display: inline-flex; width: 26px; height: 26px; }
.dice img { width: 26px; height: 26px; }
[data-surprise]:hover .dice { animation: dice-wiggle .6s ease-in-out; }
[data-surprise].rolling .dice { animation: dice-roll .72s cubic-bezier(.3, .6, .35, 1) forwards; }
@keyframes dice-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 60% { transform: rotate(12deg); } }
@keyframes dice-roll {
  0% { transform: translateY(0) rotate(0) scale(1); }
  30% { transform: translateY(-18px) rotate(200deg) scale(1.15); }
  55% { transform: translateY(0) rotate(400deg) scale(1); }
  70% { transform: translateY(-6px) rotate(560deg); }
  85% { transform: translateY(0) rotate(700deg); }
  100% { transform: translateY(0) rotate(720deg); }
}
@media (max-width: 833px) {
  .surprise { padding-top: 64px; }
  .surprise .hand { left: 110px; right: auto; top: 2px; }
  .surprise-arrow { left: 190px; right: auto; top: 20px; transform: scaleX(-1) rotate(10deg); }
}

/* the weekly report chart */
.kpis { gap: 28px; }
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 10px; height: 150px; margin-top: 16px; padding: 0 4px 0; border-bottom: 1.5px dashed var(--rule); position: relative; }
.chart .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.chart .col b { font-size: 12px; font-weight: 600; color: var(--graphite); line-height: 1; }
.chart .col i { display: block; width: 100%; max-width: 34px; border-radius: 10px 10px 4px 4px; background: #f9cdbb; }
.chart .col span { font-size: 12px; color: var(--graphite); position: absolute; bottom: -22px; }
.chart .col { position: relative; }
.chart .peak i { background: var(--orange); box-shadow: 0 6px 18px rgba(244, 93, 51, .35); }
.chart .peak b { color: var(--orange-deep); font-size: 14px; }
.chart + * { margin-top: 28px; }
.piece:has(.chart) { padding-bottom: 36px; }
:root[data-theme="dark"] .chart .col i { background: #5a3527; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chart .col i { background: #5a3527; } }
:root[data-theme="dark"] .chart .peak i, :root:not([data-theme="light"]) .chart .peak i { background: var(--orange); }
.chart .h16 { height: 16px; } .chart .h24 { height: 24px; } .chart .h32 { height: 32px; } .chart .h48 { height: 48px; } .chart .h64 { height: 64px; } .chart .h96 { height: 96px; }

/* the Telegram avatar is the bagel mark */
.tg .av { background: none; padding: 0; overflow: hidden; }
.tg .av img { width: 32px; height: 32px; border-radius: 10px; }

/* content pages: hero with a drawing, prose with an aside */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 24px; }
.page-art { position: relative; width: 300px; height: 260px; }
.page-art .char { position: absolute; right: 24px; bottom: 0; height: 250px; width: auto; }
.page-art .hand { position: absolute; left: -40px; top: 8px; z-index: 1; }
.page-art .doodle { position: absolute; left: 0; bottom: 6px; width: 110px; height: auto; transform: rotate(-8deg); }
.steps-sec { padding-top: 40px; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 24px; }
.prose > h2:first-child { margin-top: 0; }
.prose-aside { position: sticky; top: 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.prose-aside .char { height: 240px; width: auto; }
.prose-aside .doodle { position: static; width: 120px; transform: rotate(6deg); }
.note-card { border: 1.5px dashed var(--orange); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--orange-soft); transform: rotate(-1.5deg); }
.note-card img { width: 48px; height: 48px; }
.note-card .hand { font-size: 24px; transform: rotate(-4deg); }
@media (max-width: 1023px) { .prose-grid { grid-template-columns: 1fr; } .prose-aside { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; } }
@media (max-width: 833px) { .page-hero { grid-template-columns: 1fr; } .page-art { width: 100%; max-width: 320px; height: 220px; margin-left: auto; } .page-art .char { height: 210px; } }
.near-status:empty { display: none; }
