/* Ушки по ветру. Значения перенесены из макета: Jost, чёрное на белом, рамки 1 px, без скруглений. */

:root {
  --ink: #0E0E0E;
  --muted: #55554F;
  --text2: #44443F;
  --paper: #FFFFFF;
  --soft: #F3F3F0;
  --line: #E2E2DC;
  --line2: #D6D6D0;
  --frame: #EFEFEC;
  --frame-line: #DCDCD7;
  --ph: #7A7A73;
  --on-dark: #D8D8D2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Jost', 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: var(--ph); }
[hidden] { display: none !important; }

:root { --block-gap: 56px; }
.wrap { --gut: 32px; max-width: 1304px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); width: 100%; }
@media (max-width: 560px) { .wrap { --gut: 16px; } }

.muted { color: var(--muted); }
.text2 { color: var(--text2); }
.small { font-size: 15px; }
.strong { font-weight: 500; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.lead { margin: 0; font-size: 20px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.h1 { margin: 0; font-weight: 400; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h1-page { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; }
.h1-post { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; }
.h2 { margin: 0; font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.h2-sm { font-size: clamp(28px, 3vw, 40px); }

.pop { animation: pop .35s ease-out both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } }

/* ---------- кнопки ---------- */
.btn {
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2A2A27; }
.btn-outline { background: #fff; color: var(--ink); padding: 0 20px; }
.btn-outline:hover { background: var(--soft); color: var(--ink); }
.btn-md { min-height: 54px; padding: 0 26px; font-size: 14px; letter-spacing: .12em; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 14px; }
.btn-xl { min-height: 64px; padding: 0 36px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- шапка и подвал ---------- */
.site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 28px; padding-top: 20px; padding-bottom: 20px; }
.site-header .brand { grid-column: 1; grid-row: 1; }
.site-header .nav { grid-column: 2; grid-row: 1; justify-content: flex-end; }
.header-cta { grid-column: 3; grid-row: 1; }
.phone-short { display: none; }
/* Не влезает в строку: логотип и кнопка сверху, меню под ними */
@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .site-header .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .header-cta { grid-column: 2; }
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); min-height: 48px; }
.brand:hover { color: var(--ink); }
.brand img { display: block; width: 104px; height: auto; aspect-ratio: 630 / 212; }
.brand span { font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 17px; }
.nav > a:not(.btn) { text-decoration: none; padding: 12px 0; }

.site-footer { margin-top: var(--block-gap); border-top: 1px solid var(--ink); }
.site-footer-in { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 16px; }
.footer-links a { text-decoration: none; padding: 12px 0; }

/* ---------- общие блоки ---------- */
.section { padding-top: var(--block-gap); display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.frame { border: 10px solid var(--ink); background: var(--frame); padding: 18px; }
.frame-in { position: relative; background: #fff; border: 1px solid var(--frame-line); aspect-ratio: 4 / 3; overflow: hidden; }
.frame-in .cover, .gal-view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--muted); font-size: 17px; }

.page { padding-top: 32px; display: flex; flex-direction: column; gap: 40px; }
.page-post { padding-top: 24px; gap: 56px; }
.page-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }

.cta-banner { border: 1px solid var(--ink); padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-banner > img { display: block; width: 150px; height: auto; aspect-ratio: 630 / 212; }
.cta-banner-text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; }
.cta-banner-title { font-size: 24px; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: 16px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; background: #fff; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- главная: первый экран ---------- */
.hero { padding-top: 48px; display: flex; flex-direction: column; gap: var(--block-gap); }
.hero-text { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.features { list-style: none; margin: 0 calc(-1 * var(--gut, 32px)); padding: 0 var(--gut, 32px) 12px; margin-bottom: -12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut, 32px); scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.features > li { scroll-snap-align: start; }
.features:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.feature { border: 1px solid var(--ink); display: flex; flex-direction: column; background: #fff; }
.feature-img { background: var(--soft); border-bottom: 1px solid var(--ink); padding: 14px 16px; display: flex; align-items: center; justify-content: center; }
.feature-img img { display: block; width: 100%; max-width: 170px; height: auto; aspect-ratio: 180 / 100; }
.feature-text { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.feature-text strong { font-weight: 500; font-size: 19px; line-height: 1.25; }
.feature-text span { font-size: 15px; color: var(--muted); line-height: 1.35; }
.feature-dark { background: var(--ink); color: #fff; }
.feature-dark .feature-img { background: transparent; border-bottom-color: var(--muted); }
.feature-dark .feature-text span { color: var(--on-dark); }
.feature-text .feature-zero { font-weight: 400; font-size: 30px; line-height: 1; }

/* ---------- калькулятор ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; scroll-margin-top: 16px; }
.narrow-only { display: none; }
@media (max-width: 1080px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .wide-only { display: none; }
  .narrow-only { display: block; }
}
.calc-form { border: 1px solid var(--ink); display: flex; flex-direction: column; min-width: 0; }
.calc-noscript { padding: 32px; font-size: 20px; }
.calc-body { padding: clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 30px; }
.calc-aside { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.calc-steps { display: flex; flex-direction: column; gap: 30px; }
.calc-narrow-receipt { scroll-margin-top: 12px; }

/* плашка с ценой: только когда чек не стоит сбоку от формы */
.calc-bar { display: none; }
@media (max-width: 1080px) {
  .calc-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    display: flex; align-items: stretch; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-right));
    background: var(--ink); color: #fff;
    transform: translateY(110%); visibility: hidden;
    transition: transform .22s ease-out, visibility 0s linear .22s;
  }
  .calc-bar-on { transform: none; visibility: visible; transition: transform .22s ease-out, visibility 0s; }
  .calc-bar-sum { flex: 1; min-width: 0; font: inherit; color: #fff; background: transparent; border: 0; padding: 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: center; }
  .calc-bar-label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
  .calc-bar-total { font-weight: 300; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
  .calc-bar-btn { flex: none; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; min-height: 48px; padding: 0 20px; border: 0; border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) { .calc-bar, .calc-bar-on { transition: none; } }

.seg { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.seg button { font: inherit; font-size: 17px; height: 50px; border: 0; border-radius: 0; cursor: pointer; background: #fff; color: var(--ink); padding: 0 6px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg-modes { border: 0; border-bottom: 1px solid var(--ink); }
.seg-modes button { font-size: 20px; height: 64px; }
.seg-picks { width: min(360px, 100%); }
.seg-picks button { font-size: 16px; height: 44px; }
.seg-when { max-width: 520px; }
.seg-walk button { min-height: 64px; height: auto; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; }
.seg-walk button span + span { font-weight: 500; }
.seg-contacts { grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); }

.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fs > legend { padding: 0 0 12px; font-size: 22px; font-weight: 500; }
.grid-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input { font: inherit; font-size: 18px; color: var(--ink); width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: #fff; }
.input-date { width: auto; font-size: 17px; padding: 0 12px; }
.input-err { border-width: 3px; }
.textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.45; }

.stepper { height: 52px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; }
.stepper button { font: inherit; font-size: 24px; width: 52px; height: 50px; border: 0; border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; flex: none; }
.stepper button:first-child { border-right: 1px solid var(--ink); }
.stepper button:last-child { border-left: 1px solid var(--ink); }
.stepper span { font-size: 19px; }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 18px; }
.check input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--ink); }

.toggles { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.toggle { font: inherit; font-size: 17px; color: var(--ink); text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; padding: 14px 0; min-height: 60px; display: flex; align-items: center; gap: 16px; cursor: pointer; }
.toggle-track { flex: none; width: 46px; height: 26px; border: 1px solid var(--ink); border-radius: 13px; background: #fff; display: flex; align-items: center; padding: 0 3px; justify-content: flex-start; }
.toggle-knob { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 1px solid var(--ink); }
.toggle[aria-pressed="true"] .toggle-track { background: var(--ink); justify-content: flex-end; }
.toggle[aria-pressed="true"] .toggle-knob { background: #fff; }
.toggle-label { flex: 1; }
.toggle-price { flex: none; font-weight: 500; }

.dark-note { background: var(--ink); color: #fff; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.dark-note strong { font-size: 20px; font-weight: 500; }
.dark-note span { color: var(--on-dark); }

.map-box { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: #ECECE8; cursor: crosshair; }
.map-box > img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 360; }
.map-box > svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.osm-map { width: 100%; aspect-ratio: 640 / 360; min-height: 300px; border: 1px solid var(--ink); background: #F1F1ED; font: inherit; }
.osm-map .maplibregl-canvas { cursor: crosshair; }
.osm-map .maplibregl-ctrl-group { border-radius: 0; box-shadow: none; border: 1px solid var(--ink); }
.osm-map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.osm-map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--line2); }
.osm-map .maplibregl-ctrl-attrib { font-size: 11px; }
.osm-map .maplibregl-cooperative-gesture-screen { font-size: 17px; background: rgba(14, 14, 14, .72); }
.map-pin { cursor: grab; line-height: 0; }
.map-pin:active { cursor: grabbing; }
.map-pin svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }

/* подсказки адресов */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--ink); box-shadow: 0 12px 28px rgba(14, 14, 14, .1); max-height: min(360px, 60vh); overflow-y: auto; }
.ac-list[hidden] { display: none; }
.ac-opt { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; cursor: pointer; }
.ac-opt[aria-selected="true"], .ac-opt:hover { background: var(--soft); }
.ac-label { font-size: 16px; line-height: 1.3; }
.ac-sub { font-size: 13px; color: var(--muted); }
.map-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.map-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.map-note { font-size: 13px; color: #6B6B64; }

.form-error { margin: 0; font-size: 16px; font-weight: 500; }
.form-ok { margin: 0; background: var(--ink); color: #fff; padding: 12px 16px; }
.submit { font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; min-height: 64px; padding: 0 24px; border: 0; border-radius: 0; background: var(--ink); color: #fff; cursor: pointer; }
.submit:disabled { opacity: .6; cursor: progress; }

.thanks { display: flex; flex-direction: column; gap: 18px; padding: 8px 0 12px; }
.thanks img { display: block; width: 200px; height: auto; aspect-ratio: 630 / 212; }
.thanks h2 { margin: 0; font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.thanks p { margin: 0; }
.thanks .lead { max-width: 620px; }

/* чек */
.receipt { border: 1px solid var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.narrow-only .receipt { padding: 22px; }
.receipt-title { font-size: 22px; font-weight: 500; }
.receipt-lines { display: flex; flex-direction: column; }
.receipt-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.receipt-line > span:first-child { display: flex; flex-direction: column; }
.receipt-line .dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; flex: none; }
.receipt-line.extra .dot { background: var(--ink); }
.receipt-line.extra .rl-label, .receipt-line.extra .rl-sum { font-weight: 500; }
.rl-head { display: flex; align-items: center; gap: 8px; }
.rl-note { font-size: 14px; color: var(--muted); padding-left: 16px; }
.rl-sum { white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--ink); }
.receipt-total-sum { font-weight: 300; font-size: 48px; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.narrow-only .receipt-total-sum { font-size: 44px; }
.far-note { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--ink); padding: 12px 14px; font-size: 16px; }
.far-note img { flex: none; width: 64px; height: 64px; }
.far-note strong { font-weight: 500; }

/* услуги */
.services { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.services > .eyebrow { padding-top: 8px; }
.service-card { border: 1px solid var(--ink); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.service-card h3 { margin: 0; font-size: 22px; font-weight: 500; }
.service-card p { margin: 0; font-size: 16px; color: var(--text2); }
.price-list { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; flex-direction: column; }
.price-list li, .price-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 8px 0; }
.price-row { margin-top: auto; padding: 12px 0 0; }

/* ---------- отзывы ---------- */
.reviews { gap: 40px; }
.rv { overflow: hidden; padding: 4px 0; }
.rv-track { display: flex; gap: 24px; width: max-content; animation: rv 80s linear infinite; }
.rv:hover .rv-track, .rv:focus-within .rv-track, .rv:focus .rv-track { animation-play-state: paused; }
@keyframes rv { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .rv { overflow-x: auto; } .rv-track { animation: none; } }
.review { flex: none; width: 360px; max-width: 86vw; min-height: 260px; border: 1px solid var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.review-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.review p { margin: 0; font-size: 17px; flex: 1; }
.review-who { font-weight: 500; }

/* ---------- галерея на главной ---------- */
.gal { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gal-th { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .gal { grid-template-columns: minmax(0, 1fr); } .gal-th { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gal-th { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gal-main { margin: 0; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gal-caption { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; }
.gal-caption-text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; min-width: 0; }
.gal-caption h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.gal-caption p { margin: 0; }
.gal-controls { display: flex; align-items: center; gap: 14px; flex: none; font-size: 16px; }
.pager { display: flex; border: 1px solid var(--ink); }
.pager button { font: inherit; font-size: 22px; width: 52px; height: 52px; border: 0; border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; }
.pager button:first-child { border-right: 1px solid var(--ink); }
.pager .pager-dark { background: var(--ink); color: #fff; }
.gal-thumb { font: inherit; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: #fff; cursor: pointer; display: flex; flex-direction: column; text-align: left; min-width: 0; color: var(--ink); }
.gal-thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.gal-thumb-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--soft); border-bottom: 1px solid var(--ink); overflow: hidden; }
.gal-thumb[aria-pressed="true"] .gal-thumb-img { background: #E4E4DF; }
.gal-thumb-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gal-thumb-title { padding: 8px 10px; font-size: 14px; line-height: 1.3; }
.gal-thumb[aria-pressed="true"] .gal-thumb-title { font-weight: 500; }

/* ---------- карточки статей ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.post-grid-fill { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.post-card { text-decoration: none; color: var(--ink); border: 1px solid var(--ink); display: flex; flex-direction: column; background: #fff; min-width: 0; }
.post-card:hover { color: var(--ink); background: #FAFAF8; }
.post-card-img { background: var(--soft); border-bottom: 1px solid var(--ink); padding: 22px 24px; }
.post-card-img img { display: block; width: 100%; max-width: 250px; margin: 0 auto; height: auto; aspect-ratio: 180 / 100; }
.post-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-card-title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.25; }
.post-card-ex { font-size: 16px; color: var(--text2); }
.post-card-foot { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.post-card-comments { display: inline-flex; align-items: center; gap: 6px; }
.ico-comment { width: 16px; height: auto; flex: none; }

/* ---------- как мы работаем ---------- */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 72px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; border-top: 1px solid var(--ink); padding: 18px 0; }
.step:last-child { border-bottom: 1px solid var(--ink); }
@media (max-width: 480px) { .step { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } }
.step-img { height: 104px; padding: 8px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.step-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: 100%; }
.step-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.step-num { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.step-text h3 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.25; }
.step-text p { margin: 0; font-size: 16px; color: var(--muted); }
.safety { background: var(--ink); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.safety > div { display: flex; flex-direction: column; gap: 10px; }
.safety h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.safety p { margin: 0; color: var(--line2); }
.safety-sep { border-top: 1px solid #4A4A46; padding-top: 28px; }

/* ---------- о нас ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px 72px; align-items: center; }
.about-photo { margin: 0; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p { margin: 0; }
.facts { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts li span:last-child { font-size: 14px; line-height: 1.3; color: var(--muted); }
.fact-num { font-weight: 300; font-size: 30px; line-height: 1.1; }

/* ---------- картина ---------- */
.picture { padding-top: var(--block-gap); display: flex; flex-direction: column; align-items: center; gap: 40px; }
.picture figure { margin: 0; width: min(860px, 100%); display: flex; flex-direction: column; gap: 16px; }
.picture-frame { border: 18px solid var(--ink); background: var(--frame); padding: clamp(16px, 3.4vw, 48px); }
.picture-in { background: #fff; border: 1px solid var(--frame-line); padding: 16% 9% 14%; }
.picture-in img { display: block; width: 100%; height: auto; aspect-ratio: 630 / 212; }
.picture figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: 15px; color: var(--muted); }

/* ---------- статья ---------- */
.draft-banner { margin: 0; background: var(--ink); color: #fff; padding: 12px 16px; }
.article { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.article > p { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article-head { display: flex; flex-direction: column; gap: 14px; }
.article-cover { margin: 0; }
.article-cover-in { aspect-ratio: auto; padding: 8% 12%; }
.article-cover-in img { display: block; width: 100%; height: auto; aspect-ratio: 180 / 100; }
.prose { display: flex; flex-direction: column; gap: 28px; }
.prose > * { margin: 0; }
.prose > p:first-child { font-size: 22px; line-height: 1.45; }
.prose h2 { margin-top: 16px; font-weight: 500; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.prose h3 { margin-top: 8px; font-weight: 500; font-size: 24px; line-height: 1.2; }
.prose ol { padding: 0 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.prose ul { padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li > p { margin: 0; }
.prose strong { font-weight: 500; }
.prose blockquote { background: var(--soft); border: 1px solid var(--ink); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote p { margin: 0; }
.prose blockquote p:first-child > strong:only-child { display: block; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prose img { display: block; max-width: 100%; height: auto; border: 1px solid var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line2); padding: 8px 10px; text-align: left; }
.prose pre { background: var(--ink); color: var(--soft); padding: 14px; overflow-x: auto; font-size: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--ink); width: 100%; }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-top: 18px; font-size: 16px; }
.article-foot > * { min-height: 44px; display: inline-flex; align-items: center; }
.article-foot a { text-decoration: none; }

/* комментарии */
.comments { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 16px; }
.comments-title { margin: 0 0 8px; font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; }
.comments-title span { font-size: 24px; }
.comment { border-top: 1px solid var(--ink); padding: 18px 0; display: flex; gap: 16px; }
.comment-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: var(--soft); display: flex; align-items: center; justify-content: center; font-weight: 500; }
.comment-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.comment-head strong { font-weight: 500; }
.comment-text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.comment-badge { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); padding: 2px 8px; }
.comment-reply { margin-top: 8px; background: var(--soft); border: 1px solid var(--ink); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.comment-reply-who { font-size: 14px; font-weight: 500; }
.comment-form { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.comment-form-title { font-size: 22px; font-weight: 500; }
.comment-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.comment-form-foot .small { font-size: 14px; flex: 1 1 280px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.related { display: flex; flex-direction: column; gap: 28px; }

/* ---------- страница галереи ---------- */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry > * { break-inside: avoid; margin-bottom: 16px; }
.masonry-item { font: inherit; display: block; width: 100%; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: #fff; cursor: zoom-in; text-align: left; color: var(--ink); }
.masonry-img { position: relative; display: block; width: 100%; background: var(--soft); border-bottom: 1px solid var(--ink); overflow: hidden; }
.masonry-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.masonry-cap { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 15px; }

.lightbox { position: fixed; inset: 0; z-index: 10; background: rgba(14, 14, 14, .94); color: #fff; display: flex; flex-direction: column; padding: 20px clamp(16px, 4vw, 48px) 28px; gap: 18px; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox-counter { font-size: 16px; color: #C9C9C3; }
.lightbox-close { font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; min-height: 48px; padding: 0 20px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lightbox-arrow { flex: none; font: inherit; font-size: 24px; width: 56px; height: 56px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox-arrow-light { border: 0; background: #fff; color: var(--ink); }
.lightbox-frame-wrap { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-frame { border: 10px solid #fff; background: var(--frame); padding: 14px; max-width: 100%; max-height: 100%; display: flex; }
.lightbox-photo { position: relative; height: min(68vh, 720px); max-width: 100%; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--frame-line); overflow: hidden; }
.lightbox-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lightbox-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; text-align: center; font-size: 22px; }
.lightbox-caption span:first-child { font-weight: 500; }
.lightbox-cat { color: #C9C9C3; }
@media (max-width: 640px) {
  .lightbox-stage { gap: 8px; }
  .lightbox-arrow { width: 44px; height: 44px; font-size: 20px; }
  .lightbox-frame { border-width: 6px; padding: 8px; }
  .lightbox-photo { height: auto; width: 100%; max-height: 60vh; }
}

/* ---------- телефон: всё плотнее ---------- */
@media (max-width: 560px) {
  :root { --block-gap: 32px; }
  .calc-steps { gap: 24px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .eyebrow { font-size: 12px; letter-spacing: .14em; }
  .h1 { font-size: 32px; }
  .h1-page { font-size: 34px; }
  .h1-post { font-size: 30px; }
  .h2 { font-size: 28px; }
  .small { font-size: 14px; }
  .btn-xl { min-height: 54px; padding: 0 20px; font-size: 13px; width: 100%; }
  .chips { gap: 8px; }
  .chip { min-height: 40px; padding: 0 14px; font-size: 15px; }

  /* шапка: логотип и кнопка в одной строке, меню в одну строку под ними */
  .site-header { padding-top: 10px; padding-bottom: 4px; column-gap: 12px; row-gap: 0; }
  .brand { gap: 10px; min-height: 44px; }
  .brand img { width: 64px; }
  .brand span { font-size: 11px; letter-spacing: .16em; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; }
  .site-header .nav { flex-wrap: nowrap; gap: 0 18px; font-size: 15px; overflow-x: auto; scrollbar-width: none; }
  .site-header .nav > a:not(.btn) { padding: 10px 0; white-space: nowrap; }
  .phone-full { display: none; }
  .phone-short { display: inline; }

  .site-footer-in { padding-top: 18px; padding-bottom: 22px; gap: 6px; }
  .footer-links { gap: 0 18px; font-size: 15px; }
  .footer-links a { padding: 8px 0; }

  .section { gap: 20px; }
  .section-head { gap: 10px 16px; align-items: center; }
  .section-head .btn { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: .1em; }
  .frame { border-width: 6px; padding: 8px; }
  .photo-ph { gap: 8px; padding: 14px; font-size: 14px; }

  /* первый экран */
  .hero { padding-top: 16px; }
  .hero-text { gap: 12px; }
  .features { grid-auto-columns: minmax(136px, 1fr); gap: 10px; }
  .feature-img { padding: 10px 12px; }
  .feature-img img { max-width: 120px; }
  .feature-text { padding: 10px 12px 12px; gap: 2px; }
  .feature-text strong { font-size: 16px; }
  .feature-text span { font-size: 13px; }
  .feature-text .feature-zero { font-size: 26px; }

  /* калькулятор */
  .calc-grid { gap: 28px; }
  .seg-modes button { font-size: 18px; height: 52px; }
  .calc-body { padding: 18px 16px 20px; gap: 24px; }
  .fs { gap: 12px; }
  .fs > legend { padding-bottom: 8px; font-size: 20px; }
  .grid-fit { gap: 12px; }
  .field { gap: 4px; }
  .label { font-size: 11px; }
  .input { font-size: 16px; height: 46px; padding: 0 12px; }
  .seg button { font-size: 15px; height: 44px; }
  .seg-picks button { height: 40px; font-size: 15px; }
  .seg-walk button { min-height: 52px; padding: 6px; }
  .stepper { height: 46px; }
  .stepper button { width: 46px; height: 44px; font-size: 22px; }
  .stepper span { font-size: 17px; }
  .check { gap: 10px; font-size: 16px; }
  .check input { width: 20px; height: 20px; margin-top: 2px; }
  .toggle { font-size: 15px; min-height: 52px; padding: 10px 0; gap: 12px; }
  .map-note { font-size: 12px; }
  .osm-map { aspect-ratio: 4 / 3.4; min-height: 280px; }
  .ac-opt { padding: 12px 14px; }
  .dark-note { padding: 16px 18px; }
  .dark-note strong { font-size: 18px; }
  .receipt, .narrow-only .receipt { padding: 16px; gap: 10px; }
  .receipt-title { font-size: 20px; }
  .receipt-line { padding: 8px 0; gap: 12px; }
  .rl-note { font-size: 13px; }
  .narrow-only .receipt-total-sum, .receipt-total-sum { font-size: 38px; }
  .far-note { gap: 10px; padding: 10px 12px; font-size: 15px; }
  .far-note img { width: 48px; height: 48px; }
  .submit { min-height: 54px; font-size: 14px; padding: 0 16px; }
  .thanks h2 { font-size: 30px; }
  .thanks img { width: 150px; }
  .calc-noscript { padding: 18px; font-size: 17px; }

  /* услуги */
  .calc-aside { gap: 16px; }
  .services { gap: 10px; }
  .services > .eyebrow { padding-top: 0; }
  .service-card { padding: 16px 16px 12px; gap: 8px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 15px; }
  .price-list { padding-top: 6px; }
  .price-list li { padding: 6px 0; }
  .price-row { padding-top: 8px; }

  /* отзывы: карточки уже, лента та же */
  .reviews { gap: 20px; }
  .rv-track { gap: 12px; animation-name: rv-m; }
  .review { width: 270px; min-height: 0; padding: 16px; gap: 10px; }
  .review p { font-size: 15px; }
  .review-head { font-size: 13px; }

  /* галерея на главной: миниатюры одной лентой вбок */
  .gal { gap: 14px; }
  .gal-main { gap: 12px; }
  .gal-caption { gap: 10px 16px; }
  .gal-caption h3 { font-size: 20px; }
  .gal-caption p { font-size: 15px; }
  .gal-controls { gap: 10px; font-size: 14px; }
  .pager button { width: 44px; height: 44px; font-size: 18px; }
  .gal-th { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 112px; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut); scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .gal-thumb { scroll-snap-align: start; }
  .gal-thumb-title { padding: 5px 8px; font-size: 12px; }

  /* статьи */
  .post-grid, .post-grid-fill { gap: 12px; }
  .post-card-img { padding: 12px 16px; }
  .post-card-img img { max-width: 170px; }
  .post-card-body { padding: 12px 14px 14px; gap: 6px; }
  .post-card-meta { font-size: 11px; }
  .post-card-title { font-size: 18px; }
  .post-card-ex { font-size: 14px; }
  .post-card-foot { padding-top: 6px; font-size: 13px; }

  /* как мы работаем */
  .how { gap: 20px; }
  .step { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .step-img { height: 72px; padding: 6px; }
  .step-num { font-size: 11px; }
  .step-text h3 { font-size: 17px; }
  .step-text p { font-size: 14px; }
  .safety { padding: 18px; gap: 16px; }
  .safety > div { gap: 6px; }
  .safety h3 { font-size: 21px; }
  .safety p { font-size: 15px; }
  .safety-sep { padding-top: 16px; }

  /* о нас */
  .about { gap: 20px; }
  .about-text { gap: 12px; }
  .about-text p { font-size: 15px; }
  .about-text p.lead { font-size: 17px; }
  .facts { margin-top: 4px; padding-top: 12px; gap: 10px; }
  .fact-num { font-size: 26px; }
  .facts li span:last-child { font-size: 12px; }

  /* картина */
  .picture { gap: 20px; }
  .picture figure { gap: 10px; }
  .picture-frame { border-width: 8px; padding: 10px; }
  .picture figcaption { font-size: 13px; }

  /* внутренние страницы */
  .page { padding-top: 12px; gap: 24px; }
  .page-post { gap: 32px; }
  .page-head { gap: 8px; }
  .page-head-row { gap: 12px 20px; }
  .cta-banner { padding: 16px; gap: 12px; }
  .cta-banner > img { display: none; }
  .cta-banner-title { font-size: 19px; }
  .cta-banner-text .text2 { font-size: 14px; }
  .cta-banner .btn { width: 100%; min-height: 44px; }
  .article { gap: 18px; }
  .article-head { gap: 10px; }
  .crumbs { font-size: 13px; }
  .article-cover-in { padding: 6% 8%; }
  .prose { gap: 16px; }
  .prose > p:first-child { font-size: 18px; }
  .prose h2 { margin-top: 8px; font-size: 23px; }
  .prose h3 { margin-top: 4px; font-size: 19px; }
  .prose ol, .prose ul { gap: 8px; }
  .prose blockquote { padding: 14px 16px; }
  .article-foot { padding-top: 10px; font-size: 15px; }
  .comments-title span { font-size: 20px; }
  .comment { padding: 14px 0; gap: 12px; }
  .comment-avatar { width: 36px; height: 36px; font-size: 15px; }
  .comment-form { padding-top: 16px; gap: 12px; }
  .comment-form-title { font-size: 19px; }
  .related { gap: 18px; }

  /* страница галереи: две колонки */
  .masonry { columns: 2; column-gap: 10px; }
  .masonry > * { margin-bottom: 10px; }
  .masonry-cap { flex-direction: column; gap: 0; padding: 6px 8px; font-size: 13px; line-height: 1.3; }
  .masonry-cap span + span { color: var(--muted); font-size: 12px; }
  .lightbox-caption { font-size: 17px; }
}
@keyframes rv-m { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- вход в админку ---------- */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--soft); }
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.login-card > img { width: 120px; height: auto; aspect-ratio: 630 / 212; }

/* ---------- админка ---------- */
.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; }
.admin { font-size: 17px; line-height: 1.45; display: flex; flex-wrap: wrap; min-height: 100vh; }
.adm-side { flex: 1 1 240px; max-width: 100%; border-right: 1px solid var(--ink); background: var(--soft); padding: 24px 20px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .adm-side { position: sticky; top: 0; height: 100vh; } }
.adm-brand { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.adm-brand img { width: 120px; height: auto; aspect-ratio: 630 / 212; }
.adm-brand span { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.adm-nav { display: flex; flex-direction: column; gap: 6px; }
.adm-tab { font: inherit; font-size: 17px; min-height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.adm-tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.adm-badge { font-size: 14px; font-weight: 500; }
.adm-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.adm-side-foot a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.adm-logout { font: inherit; font-size: 15px; color: var(--muted); background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; text-decoration: underline; }
.adm-main { flex: 999 1 640px; min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 60px; display: flex; flex-direction: column; gap: 28px; }
.adm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; font-size: 16px; }
.adm-title { display: flex; flex-direction: column; gap: 6px; }
.adm-title h1 { margin: 0; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.02em; }
.adm-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.adm-split > * { flex: 1 1 380px; min-width: 0; }
.adm-split > .adm-table:first-child { flex: 999 1 560px; }
.adm-col { display: flex; flex-direction: column; gap: 14px; }
.adm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-actions-sm { gap: 6px; }
.adm-table { border: 1px solid var(--ink); min-width: 0; }
.adm-table-head { padding: 12px 16px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.adm-card { border: 1px solid var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.adm-empty { min-height: 200px; align-items: center; justify-content: center; }
.adm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-card-head h2 { margin: 0; font-size: 26px; font-weight: 500; }
.adm-dl { margin: 0; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px 14px; font-size: 16px; }
.adm-dl dt { color: var(--muted); }
.adm-dl dd { margin: 0; overflow-wrap: anywhere; }
.adm-receipt { background: var(--soft); padding: 14px 16px; display: flex; flex-direction: column; }
.adm-receipt-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.adm-receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; }
.adm-receipt-total span:last-child { font-weight: 300; font-size: 32px; line-height: 1; white-space: nowrap; }
.st { justify-self: start; font-size: 13px; font-weight: 500; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--ink); white-space: nowrap; }
.chip-sm { font-size: 15px; padding: 0 16px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; letter-spacing: .1em; }
.btn-plain { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; padding: 0 14px; }
.btn-mini { font: inherit; font-size: 14px; min-height: 36px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; }
.btn-mini:disabled { opacity: .5; }
.input-sm { flex: 1 1 260px; min-width: 0; font-size: 16px; height: 44px; padding: 0 12px; }

.ord-row { display: grid; grid-template-columns: 64px 104px minmax(0, 1.1fr) minmax(0, 1.6fr) 96px 120px; gap: 12px; align-items: center; }
.adm-split > .adm-table:first-child { container-type: inline-size; }
@container (max-width: 820px) { .ord-row { grid-template-columns: 56px minmax(0, 1fr) 96px 116px; } .ord-hide { display: none; } }
.ord-head { padding: 10px 16px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ord-item { font: inherit; font-size: 16px; width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.ord-item[aria-pressed="true"] { background: var(--soft); }
.ord-client { display: flex; flex-direction: column; min-width: 0; }
.ord-client .muted { font-size: 14px; }
.ord-route { font-size: 15px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.drop { position: relative; border: 1px dashed var(--ink); background: var(--soft); padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; cursor: pointer; }
.drop-over { background: #E4E4DF; }
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.drop-title { font-size: 22px; font-weight: 500; }
.adm-details { border: 1px solid var(--ink); padding: 14px 16px; }
.adm-details summary { cursor: pointer; font-weight: 500; min-height: 28px; }
.adm-details pre { margin: 0; background: var(--ink); color: var(--soft); padding: 14px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; }
.adm-placeholder { border: 1px solid var(--line); min-height: 180px; padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.adm-preview { border: 1px solid var(--ink); display: flex; flex-direction: column; }
.adm-preview-head { padding: 14px 18px; border-bottom: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.adm-preview-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; max-height: 520px; overflow: auto; }
.adm-preview-title { margin: 0; font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.adm-preview-foot { padding: 14px 18px; border-top: 1px solid var(--ink); }
.prose-sm { gap: 12px; font-size: 17px; }
.prose-sm > p:first-child { font-size: 19px; }
.prose-sm h2 { font-size: 22px; margin-top: 6px; }
.prose-sm blockquote { padding: 12px 14px; }
.adm-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px 124px 140px 64px; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.adm-list-row > * { min-width: 0 !important; }
@media (max-width: 1100px) { .adm-list-row { grid-template-columns: minmax(0, 1fr) auto auto; } .adm-list-row > :nth-child(2), .adm-list-row > :nth-child(3) { display: none; } .adm-list-row > :first-child { grid-column: 1 / -1; } }
.adm-comment { padding: 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.adm-reply { margin: 0; background: var(--soft); padding: 10px 14px; font-size: 16px; }

.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.adm-photo { border: 1px solid var(--ink); display: flex; flex-direction: column; min-width: 0; }
.adm-photo-img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); border-bottom: 1px solid var(--ink); overflow: hidden; }
.adm-photo-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adm-photo-img .photo-ph { gap: 6px; padding: 12px; font-size: 14px; }
.adm-new { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; }
.adm-photo-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.adm-inline { font: inherit; width: 100%; border: 0; border-bottom: 1px solid transparent; padding: 2px 0; background: transparent; color: var(--ink); }
.adm-inline:hover { border-bottom-color: var(--line2); }
.adm-inline:focus { border-bottom-color: var(--ink); outline: none; }

.adm-code { flex: 1 1 260px; min-width: 0; background: var(--soft); border: 1px solid var(--ink); padding: 0 14px; min-height: 48px; display: flex; align-items: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; overflow-wrap: anywhere; }
.adm-code-wrap { padding: 10px 14px; font-size: 13px; }
.adm-tool { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.adm-tool code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; font-weight: 600; }
.adm-tool span { flex: 1 1 240px; }
.dot-on { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; }
